# Acquition commands

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!

- 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!

- status `returns` the detector status (string)- can be: `running`, `error`, `transmitting`, `finished`, `waiting` or `idle`; `put` can be `start` or `stop`

- busy returns `1` if the acquisition is active, `0` otherwise. Works when the acquisition is started in non-blocking mode. 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 ????