# PSD-TRICS Count and Tricsscan Command

Two special commands have been defined for TRICS with a PSD:

count `mode preset`
  counts with all three detectors. The parameter mode defines which counting mode is used, supported are preset for counting up to a preset monitor or timer for counting for a specified time intervall. The second prameter preset is either the preset monitor or the preset counting time, depending on the mode choosen. Both parameters are optional, if they are notc specified values from the last run will be used. count does not store any data.
tricsscan `start step np mode preset`
  This command creates a new data file and then performs a scan in omega, storing meausured data after each step. `start step np` define the scan range in omega. Start is the start position, step the step width to use and np is the number of steps to do. The optional parameters mode and preset have the same meaning as in the count command described above. Mode and preset how data is collected at each step in omega.
psdrefscan filename step np mode preset
  reads reflection HKL values from file filename and performs tricsscans for each reflection. These will be done eith step width step, the number of steps np with counting mode mode and a preset of preset. These parameters have the same meaning as described above. If the {\bf hkl nb 1} command has been given before the invocation of this scan, reflections will be searched in normal beam geometry. psdrefscan, however, will only print the normal four circle angles, though.
detscan start step np mode preset
  Detscan performs a scan in two theta. This may be useful for detector calibrations. Arguments as described above.
phscan start step np mode preset
  Phscan performs a scan in phi. This can be usefule for orienting a crystal. Arguments as described above.
o2tscan2d start step np mode preset
  O2tscan2d performs a omega - two-theta scan with the PSD. Arguments as described above.
hklscan2d
  For a scan in reciprocal space with the PSD, see the documentation for hklscan. Please note that for a PSD HKL scan, all commans have to start with hklscan2d.