romainbrette / clampy

4 stars 0 forks source link

Continuous acquisition #3

Open romainbrette opened 5 years ago

romainbrette commented 5 years ago

We would like to be able to make a long recording (and maybe sending directly to disk?). I think this requires some other commands with the NI board.

romainbrette commented 5 years ago

This might be relevant: https://nidaqmx-python.readthedocs.io/en/latest/_modules/nidaqmx/task.html#Task.register_every_n_samples_acquired_into_buffer_event

romainbrette commented 5 years ago

Actually there's some info on github, eg: https://github.com/ni/nidaqmx-python/issues/50 and examples: https://github.com/ni/nidaqmx-python/tree/master/nidaqmx_examples Especially this one: https://github.com/ni/nidaqmx-python/blob/master/nidaqmx_examples/every_n_samples_event.py

romainbrette commented 5 years ago

The docs are here: http://zone.ni.com/reference/en-XX/help/370471AM-01/