Commands to control the acquisition
- acquire blocking acquisition (like calling sls_detector_acquire). Starts receiver and detector, writes and processes the data, stops detector. Only get!
Returns
(string)"acquire unsuccessful"
if fails, else "" for MYTHEN, "Acquired (int)"
for others, where int is number of frames caught.
- busy i sets/gets acquiring flag.
1
the acquisition is active, 0
otherwise. Acquire command will set this flag to 1 at the beginning and to 0 at the end. Use this to clear flag if acquisition terminated unexpectedly. Returns
(int)
- status [s] starts or stops acquisition in detector in non blocking mode. When using stop acquisition and if acquisition is done, it will restream the stop packet from receiver (if data streaming in receiver is on). Eiger can also provide an internal software trigger.
s:
[start
, stop
, trigger(EIGER only)
]. Returns
the detector status: [running
, error
, transmitting
, finished
, waiting
, idle
]. Returns
(string)
- data gets all data from the detector (if any) processes them and writes them to file according to the preferences already setup (MYTHEN only). Only get!
- frame gets a single frame from the detector (if any) processes it and writes it to file according to the preferences already setup (MYTHEN only). Only get!
- readctr Reads the counters from the detector memory (analog detector returning values translated into number of photons - only GOTTHARD). Cannot put.
- resetctr i Resets counter in detector, restarts acquisition if i=1(analog detector returning values translated into number of photons - only GOTTHARD). Cannot put.
- resmat i sets/resets counter bit in detector.gets the counter bit in detector ????