NI-9381 Vendor Configuration Extensions
- Updated2024-09-13
- 2 minute(s) read
NI-9381 Vendor Configuration Extensions
The following table lists the vendor configuration extensions for the NI-9381.
Index | Sub | Type | R/W | Description |
---|---|---|---|---|
0x2100 | 0 | U32 | R/W | Digital Channel Direction Control, default = 0 |
0 | ARR:U16 | — | Calibration = 64 | |
1 | R | AI0 Offset | ||
2 | R | AI0 Gain | ||
... | — | — | ||
15 | R | AI7 Offset | ||
16 | R | AI7 Gain | ||
17 | R | AO0 Offset | ||
18 | R | AO0 Gain | ||
... | — | — | ||
31 | R | AO7 Offset | ||
32 | R | AO7 Gain | ||
33 | R | External AI0 Offset | ||
... | — | — |
NI-9381 Calibration Data
The NI-9381 has either input channels or output channels with a nominal range of 0 V to 5 V. Each channel has an associated LSB weight, which is the number of volts per bit, and an offset, which is the number of volts per bit measured when the inputs are grounded.
The NI-9381 EEPROM stores two constants for each channel. The host takes the constants and adjusts the raw data in calibrated data. The calibration data is stored in a U16 array.
Coefficient | Representation | Units |
---|---|---|
LSB Weight | Unsigned | 100 nV/LSB |
Offset | Signed | 10 µV |
Use the calibration coefficients with the following equation to generate corrected data.
where Raw represents raw data returned by the NI-9381 and Vcorrected represents the corrected voltage value
NI-9381 Digital Channel Direction Control
Bits | Field |
---|---|
3 |
0: data bit as input 1: data bit as output |
2 | |
1 | |
0 |