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 returns
1
if the acquisition is active, 0
otherwise. Works when the acquisition is started in blocking mode. Only get! Returns
(int)
- status [s] starts or stops acquisition in detector in non blocking mode.
s:
[start
, stop
]. 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 ????