USB DAQ Physical Channels

Dev1 in physical channel names is the default device name for USB Series DAQ devices. You can change these names in MAX.

Analog Input

The following table lists the number and naming of analog input physical channels for USB DAQ devices.

Device Number of Channels Naming
NI USB-9211A, NI USB-9215A, NI USB-9219, NI USB-9229, NI USB-9234, NI USB-9237, NI USB-9239 4 cDAQ1Mod1/ai0 to cDAQ1Mod1/ai3
NI USB-9201, NI USB-9221 8 cDAQ1Mod1/ai0 to cDAQ1Mod1/ai7
NI USB-9213 16 cDAQ1Mod1/ai0 to cDAQ1Mod1/ai15

Strain and Wheatstone Bridge Measurements

The NI 9235, NI 9236, and NI 9237 support only the AI Strain Gage, AI Force Bridge, AI Pressure Bridge, AI Torque Bridge, AI Bridge (V/V), and AI Custom Voltage With Excitation channel types.

When using the NI USB-9219 or I USB-9237 with an AI Custom Voltage With Excitation channel, you must set the AI.Excit.UseForScaling attribute/property to true. This attribute/property causes the channel to return ratiometric data: Vin/Vex. The NI USB-9219 and NI USB-9237 modules perform this division in hardware.

For the NI USB-9219, NI-DAQmx requires the AI.Excit.Val attribute/property to be set to 2.5 V for AI Strain Gage and AI Custom Voltage With Excitation channel types and to 500 µA for resistance and RTD measurements. The actual excitation voltage or current output by the NI USB-9219 varies with the sensor resistance or the load being measured.

NI USB-9219 and NI USB-9237 devices return a voltage ratio rather than a voltage. Therefore, use the AI.Bridge.InitialRatio attribute/property to specify the initial voltage ratio, or set the AI.Bridge.InitialVoltage attribute/property to the ratio Vin/Vex returned by the device, multiplied by Vex.

The NI USB-9219 does not have quarter bridge completion circuitry, which affects AI Strain Gage Quarter Bridge I channels and AI Custom Voltage With Excitation Quarter Bridge channels (but not AI Strain Gage Quarter Bridge II channels). With these channels, the NI USB-9219 performs a 2-wire resistance measurement on the active gage element, then NI-DAQmx uses software scaling to convert the resistance measurement into a bridge ratio. For these channels, the polynomial coefficients specified by the AI.DevScalingCoeff attribute/property convert unscaled data into Ohms, not into V/V. Likewise, the AI.Rng.High/AI.Rng.Low attributes/properties should be specified in units of Ohms, not V/V.

When the NI USB-9219 is in quarter bridge mode, you need to use the AI.Bridge.NomResistance attribute/property to control whether the channel uses the 120 Ω range or the 350 Ω range.

Analog Output

The following table lists the number and naming of analog output physical channels for USB DAQ devices.

Device Number of Channels Naming
NI USB-9263, NI USB-9265 4 cDAQ1Mod1/ao0 to cDAQ1Mod1/ao3
NI USB-9264 16 cDAQ1Mod1/ao0 to cDAQ1Mod1/ao15

When using the NI USB-9263, NI-USB 9264, or NI USB-9265, you can run only one type of timing at a time. You can have one software-timed task per channel or one hardware-timed task running on a device at one time, but you cannot have a combination of timing on that device. For instance, you can run up to four software-timed tasks on an the NI USB-9263 concurrently, but running one hardware-timed task with one software-timed task generates an error. Additionally, the NI USB-9263, NI-USB 9264, and NI USB-9265 can run only one hardware-timed analog output task per device at a given time.