daq#
- class mesofield.devices.daq.Nidaq[source]#
Bases:
objectNIDAQ hardware control device.
This class implements the ControlDevice protocol via duck typing, providing all the necessary methods and attributes without inheritance.
- test_connection()[source]#
Pulse the configured DO line high for ~3 s as a connectivity test.
Logs the outcome; does not raise on failure (errors are surfaced via the logger).
- start()[source]#
Begin counting edges on
ctrand pulsinglinesfrom a thread.Configures both a counter-input task (rising-edge counts) and a digital-output task (camera trigger), then launches a worker thread that drives them on the configured
poll_interval.