ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable auto zero in Python (DaqMX / USB-6009)?

Solved!
Go to solution

Hey,

 

I'm trying to get the DAQ to auto zero before each sample.

For the sake of simplicity I have the following code:

 

import nidaqmx
from nidaqmx.constants import TerminalConfiguration, AutoZeroType

with nidaqmx.Task() as task:
ai = task.ai_channels.add_ai_voltage_chan("Dev1/ai3", terminal_config = TerminalConfiguration.DIFFERENTIAL , min_val = -1, max_val = 1)
print (task.read(number_of_samples_per_channel = 10))
task.stop()

0 Kudos
Message 1 of 2
(1,614 Views)
Solution
Accepted by topic author tstern

Seems this mode in not supported on the USB-6009.

0 Kudos
Message 2 of 2
(1,521 Views)