muyichun
muyichun
### Thank you very much for your prompt reply! **Above is a screenshot of LabVIew, which is one that collects data and then saves it to disk. The sampling frequency...
**It still doesn't seem to work.**
Yes.It's too hard for me. **Finite Retriggered Acquisition** should be used, but how do you guarantee that he is infinitely acquiring? Right now it stops the task automatically after it...
``` python import nidaqmx from nidaqmx.constants import AcquisitionType, Edge, TerminalConfiguration, OverwriteMode def main(): with nidaqmx.Task() as task: def callback(task_handle, every_n_samples_event_type, number_of_samples, callback_data): arr = task.read(number_of_samples_per_channel=400) print(arr[0]) return 0 task.ai_channels.add_ai_voltage_chan("Dev1/ai0",terminal_config=TerminalConfiguration.DIFF, min_val=-10.0,...