Acquisition
Sardana provides advanced solutions for data acqusition. In the data acquisition process controlled by sardana there is always involved at least one experimental channel.
Two different ways of acquisition exists in Sardana Experimental channel acquisition and Measurement group acquisition.
Experimental channel acquisition
Counter/timer, 1D and 2D experimental channels can be directly involved in data acquisition without being included in a measurement group acquisition. This can be useful for simple use cases like a single image capture, testing purposes or for implementation of your own measurement procedures. The relevant API for this feature is documented in the API of each of the elements, for example, Counter/Timer API reference.
The single acquisition of these channels can be also done with the macro
ct
, giving the name of the channel as last argument.
Measurement group acquisition
Measurement group acquisition allows much more complex measurement processes than the Experimental channel acquisition. These could be, for example, multiple channel, multiple repetitions or hardware synchronized acquisitions.
Important
Sardana does not allow that the elements involved in one operation are used in another one simultaneously. This rule applies to the data acqusition operations as well. For example, if you try to use a channel or synchronizer element that is participating in another acquisition sardana will raise an error. So elements can not participate concurrently in two measurement group acquisitions neither in experimental channel acquisition.
Other acquisition features:
synchronized start of multiple axes acquisition
hardware/software synchronized acquisition
measurement preparation