The command for reading an ion chamber or chambers is
read_ion_chambers time detectorName1 [detectorName2 [...]]
All of the detectors must be associated with the same timer at the hardware
level. After the command is issued, the wait_for_devices
command can
be issued to wait for the detectors to count over the requested time. After
the wait_for_devices
is issued, each of the readings for the ion
chambers can be acquired individually using the get_ion_chamber_counts
command in the following format:
get_ion_chamber_counts detectorName
Examples:
read_ion_chambers 2.5 i2 i5 wait_for_devices i2 #print the results to the log window log_note [get_ion_chamber_counts i2] log_note [get_ion_chamber_counts i5]