Commands to configure the detector. these commands are often left to the configuration file.
- datastream enables/disables the 0MQ data stream (0MQ threads created) from receiver to client.
- free Free shared memory on the control PC
- add Adds a detector at the end of the multi-detector structure.
put
argument is the hostname or IP adress. Returns the chained list of detector hostnames.
- remove i Removes controller
i
from the multi-detector structure. Can be used for partial readout of the detector.
- type Sets/gets detector type (string).
- hostname
put
adds the hostname (ot IP adress) at the end of the multi-detector structure. If used for a single controlled (i:) replaces the current hostname. Returns the list of the hostnames of the multi-detector structure.
- id[:i] Returns the id of the detector structure. i is the detector position in a multi detector system. If used a
put
, configures the id of the detector structure. i is the detector position in a multi detector system and l is the id of the detector to be added.
- master i
put
sets the position of the master of the acquisition (-1 if none). Returns the position of the master of the detector structure (-1 if none).
- sync Sets/gets the synchronization mode of the detectors in the multi-detector structure. Can be:
none
, gating
, trigger
, complementary
. Mainly used by MYTHEN/GOTTHARD.
- online [i] sets the detector in online (1) or offline (0) mode
- checkonline returns the hostnames of all detectors without connecting to them
- activate Activates/Deactivates the detector. Deactivated detector does not send data. Used for EIGER only.
- lock [i] Locks/Unlocks the detector to communicate with this client. 1 locks, 0 unlocks.
- nmod [i] sets/gets the number of modules of the detector. Used for MYTHEN only.
- maxmod Gets the maximum number of modules of the detector. Used for MYTHEN only. Cannot put!
- dr [i] sets/gets the dynamic range of detector. Mythen [4,8,16,24]. Eiger [4,8,16,32]. Others cannot put!
- roi [i] [xmin] [xmax] [ymin] [ymax] sets region of interest of the detector, where i is number of rois;i=0 to clear rois. Used for GOTTHARD only.
- detsizechan [xmax] [ymax] sets the maximum number of channels in each dimension for complete detector set; -1 is no limit. Use for multi-detector system as first command in config file.
- flippeddatax [i] enables/disables data being flipped across x axis. 1 enables, 0 disables. Used for EIGER only. 1 for bottom half-module, 0 for top-half module.
- flags [flag] sets/gets the readout flags to mode. Options: none, storeinram, tot, continous, parallel, nonparallel, safe, digital, analog_digital, unknown. Used for MYTHEN and EIGER only.
- extsig:[i] [flag] sets/gets the mode of the external signal i. Options:
off
, gate_in_active_high
, gate_in_active_low
, trigger_in_rising_edge
, trigger_in_falling_edge
, ro_trigger_in_rising_edge
, ro_trigger_in_falling_edge
, gate_out_active_high
, gate_out_active_low
, trigger_out_rising_edge
, trigger_out_falling_edge
, ro_trigger_out_rising_edge
, ro_trigger_out_falling_edge
.
Used in MYTHEN, GOTTHARD, PROPIX only.
- programfpga [file] programs the FPGA with file f (with .pof extension). Used for JUNGFRAU, MOENCH only. Only put!
- resetfpga [f] resets FPGA, where f can be any value. Used for JUNGFRAU only. Only put!
- powerchip [i] Powers on/off the chip. 1 powers on, 0 powers off. Can also get the power status. Used for JUNGFRAU only.
- led [i] sets/gets the led status. 1 on, 0 off. Used for MOENCH only ??
- moduleversion:[i] Gets the firmware version of module i. Used for MYTHEN only. Only get!
- detectornumber Gets the serial number or MAC of detector. Only get!
- modulenumber:[i] Gets the serial number of module i. Used for MYTHEN only. Only get!
- detectorversion Gets the firmware version of detector. Only get!
- softwareversion Gets the software version of detector server. Only get!
- thisversion Gets the software version of this client software. Only get!
- receiverversion Gets the software version of receiver. Only get!