Skip to content

NI DAQMX Device Attributes

Greg Stoll edited this page Sep 9, 2021 · 3 revisions

Device Attributes

DAQmx_Dev_IsSimulated

Data Type: bool32
Description: Indicates if the device is a simulated device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Identification

DAQmx_Dev_ProductCategory

Data Type: int32
Description: Indicates the product category of the device. This category corresponds to the category displayed in MAX when creating NI-DAQmx simulated devices.
Restrictions: Not Settable

Valid values

DAQmx_Val_MSeriesDAQ 14643 M Series DAQ.
DAQmx_Val_XSeriesDAQ 15858 X Series DAQ.
DAQmx_Val_ESeriesDAQ 14642 E Series DAQ.
DAQmx_Val_SSeriesDAQ 14644 S Series DAQ.
DAQmx_Val_BSeriesDAQ 14662 B Series DAQ.
DAQmx_Val_SCSeriesDAQ 14645 SC Series DAQ.
DAQmx_Val_USBDAQ 14646 USB DAQ.
DAQmx_Val_AOSeries 14647 AO Series.
DAQmx_Val_DigitalIO 14648 Digital I/O.
DAQmx_Val_TIOSeries 14661 TIO Series.
DAQmx_Val_DynamicSignalAcquisition 14649 Dynamic Signal Acquisition.
DAQmx_Val_Switches 14650 Switches.
DAQmx_Val_CompactDAQChassis 14658 CompactDAQ chassis.
DAQmx_Val_CompactRIOChassis 16144 CompactRIO Chassis.
DAQmx_Val_CSeriesModule 14659 C Series I/O module.
DAQmx_Val_SCXIModule 14660 SCXI module.
DAQmx_Val_SCCConnectorBlock 14704 SCC Connector Block.
DAQmx_Val_SCCModule 14705 SCC Module.
DAQmx_Val_NIELVIS 14755 NI ELVIS.
DAQmx_Val_NetworkDAQ 14829 Network DAQ.
DAQmx_Val_SCExpress 15886 SC Express.
DAQmx_Val_FieldDAQ 16151 FieldDAQ.
DAQmx_Val_Unknown 12588 Unknown category.

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_ProductType

Data Type: char*
Description: Indicates the product name of the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_ProductNum

Data Type: uInt32
Description: Indicates the unique hardware identification number for the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_SerialNum

Data Type: uInt32
Description: Indicates the serial number of the device. This value is zero if the device does not have a serial number.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Accessory

DAQmx_Dev_Accessory_ProductTypes

Data Type: char*
Description: Indicates the model names of accessories connected to the device. Each array element corresponds to a connector. For example, index 0 corresponds to connector 0. The array contains an empty string for each connector with no accessory connected.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_Accessory_ProductNums

Data Type: uInt32*
Description: Indicates the unique hardware identification number for accessories connected to the device. Each array element corresponds to a connector. For example, index 0 corresponds to connector 0. The array contains 0 for each connector with no accessory connected.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_Accessory_SerialNums

Data Type: uInt32*
Description: Indicates the serial number for accessories connected to the device. Each array element corresponds to a connector. For example, index 0 corresponds to connector 0. The array contains 0 for each connector with no accessory connected.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Carrier_SerialNum

Data Type: uInt32
Description: Indicates the serial number of the device carrier. This value is zero if the carrier does not have a serial number.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Fielddaq

DAQmx_FieldDAQ_DevName

Data Type: char*
Description: Indicates the parent device which this bank is located in.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_FieldDAQ_BankDevNames

Data Type: char*
Description: Indicates an array containing the names of the banks in the FieldDAQ.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Chassis

DAQmx_Dev_Chassis_ModuleDevNames

Data Type: char*
Description: Indicates an array containing the names of the modules in the chassis.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Triggering

DAQmx_Dev_AnlgTrigSupported

Data Type: bool32
Description: Indicates if the device supports analog triggering.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_DigTrigSupported

Data Type: bool32
Description: Indicates if the device supports digital triggering.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_TimeTrigSupported

Data Type: bool32
Description: Indicates whether the device supports time triggering.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

I/O Type

Analog Input

DAQmx_Dev_AI_PhysicalChans

Data Type: char*
Description: Indicates an array containing the names of the analog input physical channels available on the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AI_SupportedMeasTypes

Data Type: int32*
Description: Indicates the measurement types supported by the physical channels of the device. Refer to DAQmx_PhysicalChan_AI_SupportedMeasTypes for information on specific channels.
Restrictions: Not Settable

Valid values

DAQmx_Val_Voltage 10322 Voltage measurement.
DAQmx_Val_VoltageRMS 10350 Voltage RMS measurement.
DAQmx_Val_Current 10134 Current measurement.
DAQmx_Val_CurrentRMS 10351 Current RMS measurement.
DAQmx_Val_Voltage_CustomWithExcitation 10323 Voltage measurement with an excitation source. You can use this measurement type for custom sensors that require excitation, but you must use a custom scale to scale the measured voltage.
DAQmx_Val_Bridge 15908 Measure voltage ratios from a Wheatstone bridge.
DAQmx_Val_Freq_Voltage 10181 Frequency measurement using a frequency to voltage converter.
DAQmx_Val_Resistance 10278 Resistance measurement.
DAQmx_Val_Temp_TC 10303 Temperature measurement using a thermocouple.
DAQmx_Val_Temp_Thrmstr 10302 Temperature measurement using a thermistor.
DAQmx_Val_Temp_RTD 10301 Temperature measurement using an RTD.
DAQmx_Val_Temp_BuiltInSensor 10311 Temperature measurement using a built-in sensor on a terminal block or device. On SCXI modules, for example, this could be the CJC sensor.
DAQmx_Val_Strain_Gage 10300 Strain measurement.
DAQmx_Val_Rosette_Strain_Gage 15980 Strain measurement using a rosette strain gage.
DAQmx_Val_Position_LVDT 10352 Position measurement using an LVDT.
DAQmx_Val_Position_RVDT 10353 Position measurement using an RVDT.
DAQmx_Val_Position_EddyCurrentProximityProbe 14835 Position measurement using an eddy current proximity probe.
DAQmx_Val_Accelerometer 10356 Acceleration measurement using an accelerometer.
DAQmx_Val_Acceleration_Charge 16104 Acceleration measurement using a charge-based sensor.
DAQmx_Val_Acceleration_4WireDCVoltage 16106 Acceleration measurement using a 4 wire DC voltage based sensor.
DAQmx_Val_Velocity_IEPESensor 15966 Velocity measurement using an IEPE Sensor.
DAQmx_Val_Force_Bridge 15899 Force measurement using a bridge-based sensor.
DAQmx_Val_Force_IEPESensor 15895 Force measurement using an IEPE Sensor.
DAQmx_Val_Pressure_Bridge 15902 Pressure measurement using a bridge-based sensor.
DAQmx_Val_SoundPressure_Microphone 10354 Sound pressure measurement using a microphone.
DAQmx_Val_Torque_Bridge 15905 Torque measurement using a bridge-based sensor.
DAQmx_Val_TEDS_Sensor 12531 Measurement type defined by TEDS.
DAQmx_Val_Charge 16105 Charge measurement.

You can get this attribute using:   DAQmxGetDeviceAttribute

Analog Input Timing

DAQmx_Dev_AI_MaxSingleChanRate

Data Type: float64
Description: Indicates the maximum rate for an analog input task if the task contains only a single channel from this device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AI_MaxMultiChanRate

Data Type: float64
Description: Indicates the maximum sampling rate for an analog input task from this device. To find the maximum rate for the task, take the minimum of DAQmx_Dev_AI_MaxSingleChanRate or the indicated sampling rate of this device divided by the number of channels to acquire data from (including cold-junction compensation and autozero channels).
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AI_MinRate

Data Type: float64
Description: Indicates the minimum rate for an analog input task on this device. NI-DAQmx returns a warning or error if you attempt to sample at a slower rate.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AI_SimultaneousSamplingSupported

Data Type: bool32
Description: Indicates if the device supports simultaneous sampling.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AI_NumSampTimingEngines

Data Type: uInt32
Description: Indicates the number of Analog Input sample timing engines supported by the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AI_SampModes

Data Type: int32*
Description: Indicates sample modes supported by devices that support sample clocked analog input.
Restrictions: Not Settable

Valid values

DAQmx_Val_FiniteSamps 10178 Acquire or generate a finite number of samples.
DAQmx_Val_ContSamps 10123 Acquire or generate samples until you stop the task.
DAQmx_Val_HWTimedSinglePoint 12522 Acquire or generate samples continuously using hardware timing without a buffer. Hardware timed single point sample mode is supported only for the sample clock and change detection timing types.

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AI_NumSyncPulseSrcs

Data Type: uInt32
Description: Indicates the number of Analog Input synchronization pulse sources supported by the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Analog Input Trigger

DAQmx_Dev_AI_TrigUsage

Data Type: int32
Description: Indicates the triggers supported by this device for an analog input task.
Restrictions: Not Settable
Valid values
DAQmx_Val_Bit_TriggerUsageTypes_Advance 1 Device supports advance triggers
DAQmx_Val_Bit_TriggerUsageTypes_Pause 2 Device supports pause triggers
DAQmx_Val_Bit_TriggerUsageTypes_Reference 4 Device supports reference triggers
DAQmx_Val_Bit_TriggerUsageTypes_Start 8 Device supports start triggers
DAQmx_Val_Bit_TriggerUsageTypes_Handshake 16 Device supports handshake triggers
DAQmx_Val_Bit_TriggerUsageTypes_ArmStart 32 Device supports arm start triggers

You can get this attribute using:   DAQmxGetDeviceAttribute

Analog Input Voltage

DAQmx_Dev_AI_VoltageRngs

Data Type: float64*
Description: Indicates pairs of input voltage ranges supported by this device. Each pair consists of the low value, followed by the high value.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Voltage Internal Excitation

DAQmx_Dev_AI_VoltageIntExcitDiscreteVals

Data Type: float64*
Description: Indicates the set of discrete internal voltage excitation values supported by this device. If the device supports ranges of internal excitation values, use DAQmx_Dev_AI_VoltageIntExcitRangeVals to determine supported excitation values.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AI_VoltageIntExcitRangeVals

Data Type: float64*
Description: Indicates pairs of internal voltage excitation ranges supported by this device. Each pair consists of the low value, followed by the high value. If the device supports a set of discrete internal excitation values, use DAQmx_Dev_AI_VoltageIntExcitDiscreteVals to determine the supported excitation values.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Charge

DAQmx_Dev_AI_ChargeRngs

Data Type: float64*
Description: Indicates in coulombs pairs of input charge ranges for the device. Each pair consists of the low value followed by the high value.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Analog Input Current

DAQmx_Dev_AI_CurrentRngs

Data Type: float64*
Description: Indicates the pairs of current input ranges supported by this device. Each pair consists of the low value, followed by the high value.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Current Internal Excitation

DAQmx_Dev_AI_CurrentIntExcitDiscreteVals

Data Type: float64*
Description: Indicates the set of discrete internal current excitation values supported by this device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Bridge

DAQmx_Dev_AI_BridgeRngs

Data Type: float64*
Description: Indicates pairs of input voltage ratio ranges, in volts per volt, supported by devices that acquire using ratiometric measurements. Each pair consists of the low value followed by the high value.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Resistance

DAQmx_Dev_AI_ResistanceRngs

Data Type: float64*
Description: Indicates pairs of input resistance ranges, in ohms, supported by devices that have the necessary signal conditioning to measure resistances. Each pair consists of the low value followed by the high value.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Frequency

DAQmx_Dev_AI_FreqRngs

Data Type: float64*
Description: Indicates the pairs of frequency input ranges supported by this device. Each pair consists of the low value, followed by the high value.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AI_Gains

Data Type: float64*
Description: Indicates the input gain settings supported by this device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AI_Couplings

Data Type: int32
Description: Indicates the coupling types supported by this device.
Restrictions: Not Settable
Valid values
DAQmx_Val_Bit_CouplingTypes_AC 1 Device supports AC coupling
DAQmx_Val_Bit_CouplingTypes_DC 2 Device supports DC coupling
DAQmx_Val_Bit_CouplingTypes_Ground 4 Device supports ground coupling
DAQmx_Val_Bit_CouplingTypes_HFReject 8 Device supports High Frequency Reject coupling
DAQmx_Val_Bit_CouplingTypes_LFReject 16 Device supports Low Frequency Reject coupling
DAQmx_Val_Bit_CouplingTypes_NoiseReject 32 Device supports Noise Reject coupling

You can get this attribute using:   DAQmxGetDeviceAttribute

Filter

Analog Low Pass

Analog Cutoff Frequency

DAQmx_Dev_AI_LowpassCutoffFreqDiscreteVals

Data Type: float64*
Description: Indicates the set of discrete lowpass cutoff frequencies supported by this device. If the device supports ranges of lowpass cutoff frequencies, use DAQmx_Dev_AI_LowpassCutoffFreqRangeVals to determine supported frequencies.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AI_LowpassCutoffFreqRangeVals

Data Type: float64*
Description: Indicates pairs of lowpass cutoff frequency ranges supported by this device. Each pair consists of the low value, followed by the high value. If the device supports a set of discrete lowpass cutoff frequencies, use DAQmx_Dev_AI_LowpassCutoffFreqDiscreteVals to determine the supported frequencies.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Digital Filter

DAQmx_AI_DigFltr_Types

Data Type: int32*
Description: Indicates the AI digital filter types supported by the device.
Restrictions: Not Settable

Valid values

DAQmx_Val_Lowpass 16071 Lowpass filter.
DAQmx_Val_Highpass 16072 Highpass filter.
DAQmx_Val_Bandpass 16073 Bandpass filter.
DAQmx_Val_Notch 16074 Notch filter.
DAQmx_Val_Custom 10137 Custom filter.

You can get this attribute using:   DAQmxGetDeviceAttribute

Low Pass

Digital Cutoff Frequency

DAQmx_Dev_AI_DigFltr_LowpassCutoffFreqDiscreteVals

Data Type: float64*
Description: Indicates the set of discrete lowpass cutoff frequencies supported by this device. If the device supports ranges of lowpass cutoff frequencies, use AI.DigFltr.Lowpass.CutoffFreq.RangeVals to determine supported frequencies.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AI_DigFltr_LowpassCutoffFreqRangeVals

Data Type: float64*
Description: Indicates pairs of lowpass cutoff frequency ranges supported by this device. Each pair consists of the low value, followed by the high value. If the device supports a set of discrete lowpass cutoff frequencies, use AI.DigFltr.Lowpass.CutoffFreq.DiscreteVals to determine the supported frequencies.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Analog Output

DAQmx_Dev_AO_PhysicalChans

Data Type: char*
Description: Indicates an array containing the names of the analog output physical channels available on the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AO_SupportedOutputTypes

Data Type: int32*
Description: Indicates the generation types supported by the physical channels of the device. Refer to DAQmx_PhysicalChan_AO_SupportedOutputTypes for information on specific channels.
Restrictions: Not Settable

Valid values

DAQmx_Val_Voltage 10322 Voltage generation.
DAQmx_Val_Current 10134 Current generation.
DAQmx_Val_FuncGen 14750 Function generation.

You can get this attribute using:   DAQmxGetDeviceAttribute

Analog Output Timing

DAQmx_Dev_AO_MaxRate

Data Type: float64
Description: Indicates the maximum analog output rate of the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AO_MinRate

Data Type: float64
Description: Indicates the minimum analog output rate of the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AO_SampClkSupported

Data Type: bool32
Description: Indicates if the device supports the sample clock timing type for analog output tasks.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AO_NumSampTimingEngines

Data Type: uInt32
Description: Indicates the number of Analog Output sample timing engines supported by the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AO_SampModes

Data Type: int32*
Description: Indicates sample modes supported by devices that support sample clocked analog output.
Restrictions: Not Settable

Valid values

DAQmx_Val_FiniteSamps 10178 Acquire or generate a finite number of samples.
DAQmx_Val_ContSamps 10123 Acquire or generate samples until you stop the task.
DAQmx_Val_HWTimedSinglePoint 12522 Acquire or generate samples continuously using hardware timing without a buffer. Hardware timed single point sample mode is supported only for the sample clock and change detection timing types.

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AO_NumSyncPulseSrcs

Data Type: uInt32
Description: Indicates the number of Analog Output synchronization pulse sources supported by the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Analog Output Trigger

DAQmx_Dev_AO_TrigUsage

Data Type: int32
Description: Indicates the triggers supported by this device for analog output tasks.
Restrictions: Not Settable
Valid values
DAQmx_Val_Bit_TriggerUsageTypes_Advance 1 Device supports advance triggers
DAQmx_Val_Bit_TriggerUsageTypes_Pause 2 Device supports pause triggers
DAQmx_Val_Bit_TriggerUsageTypes_Reference 4 Device supports reference triggers
DAQmx_Val_Bit_TriggerUsageTypes_Start 8 Device supports start triggers
DAQmx_Val_Bit_TriggerUsageTypes_Handshake 16 Device supports handshake triggers
DAQmx_Val_Bit_TriggerUsageTypes_ArmStart 32 Device supports arm start triggers

You can get this attribute using:   DAQmxGetDeviceAttribute

Analog Output Voltage

DAQmx_Dev_AO_VoltageRngs

Data Type: float64*
Description: Indicates pairs of output voltage ranges supported by this device. Each pair consists of the low value, followed by the high value.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Analog Output Current

DAQmx_Dev_AO_CurrentRngs

Data Type: float64*
Description: Indicates pairs of output current ranges supported by this device. Each pair consists of the low value, followed by the high value.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_AO_Gains

Data Type: float64*
Description: Indicates the output gain settings supported by this device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Digital Input

DAQmx_Dev_DI_Lines

Data Type: char*
Description: Indicates an array containing the names of the digital input lines available on the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_DI_Ports

Data Type: char*
Description: Indicates an array containing the names of the digital input ports available on the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Digital Input Timing

DAQmx_Dev_DI_MaxRate

Data Type: float64
Description: Indicates the maximum digital input rate of the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_DI_NumSampTimingEngines

Data Type: uInt32
Description: Indicates the number of Digital Input sample timing engines supported by the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Digital Input Trigger

DAQmx_Dev_DI_TrigUsage

Data Type: int32
Description: Indicates the triggers supported by this device for digital input tasks.
Restrictions: Not Settable
Valid values
DAQmx_Val_Bit_TriggerUsageTypes_Advance 1 Device supports advance triggers
DAQmx_Val_Bit_TriggerUsageTypes_Pause 2 Device supports pause triggers
DAQmx_Val_Bit_TriggerUsageTypes_Reference 4 Device supports reference triggers
DAQmx_Val_Bit_TriggerUsageTypes_Start 8 Device supports start triggers
DAQmx_Val_Bit_TriggerUsageTypes_Handshake 16 Device supports handshake triggers
DAQmx_Val_Bit_TriggerUsageTypes_ArmStart 32 Device supports arm start triggers

You can get this attribute using:   DAQmxGetDeviceAttribute

Digital Output

DAQmx_Dev_DO_Lines

Data Type: char*
Description: Indicates an array containing the names of the digital output lines available on the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_DO_Ports

Data Type: char*
Description: Indicates an array containing the names of the digital output ports available on the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Digital Output Timing

DAQmx_Dev_DO_MaxRate

Data Type: float64
Description: Indicates the maximum digital output rate of the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_DO_NumSampTimingEngines

Data Type: uInt32
Description: Indicates the number of Digital Output synchronization pulse sources supported by the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Digital Output Trigger

DAQmx_Dev_DO_TrigUsage

Data Type: int32
Description: Indicates the triggers supported by this device for digital output tasks.
Restrictions: Not Settable
Valid values
DAQmx_Val_Bit_TriggerUsageTypes_Advance 1 Device supports advance triggers
DAQmx_Val_Bit_TriggerUsageTypes_Pause 2 Device supports pause triggers
DAQmx_Val_Bit_TriggerUsageTypes_Reference 4 Device supports reference triggers
DAQmx_Val_Bit_TriggerUsageTypes_Start 8 Device supports start triggers
DAQmx_Val_Bit_TriggerUsageTypes_Handshake 16 Device supports handshake triggers
DAQmx_Val_Bit_TriggerUsageTypes_ArmStart 32 Device supports arm start triggers

You can get this attribute using:   DAQmxGetDeviceAttribute

Counter Input

DAQmx_Dev_CI_PhysicalChans

Data Type: char*
Description: Indicates an array containing the names of the counter input physical channels available on the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_CI_SupportedMeasTypes

Data Type: int32*
Description: Indicates the measurement types supported by the physical channels of the device. Refer to DAQmx_PhysicalChan_CI_SupportedMeasTypes for information on specific channels.
Restrictions: Not Settable

Valid values

DAQmx_Val_CountEdges 10125 Count edges of a digital signal.
DAQmx_Val_Freq 10179 Measure the frequency of a digital signal.
DAQmx_Val_Period 10256 Measure the period of a digital signal.
DAQmx_Val_PulseWidth 10359 Measure the width of a pulse of a digital signal.
DAQmx_Val_SemiPeriod 10289 Measure the time between state transitions of a digital signal.
DAQmx_Val_PulseFrequency 15864 Pulse measurement, returning the result as frequency and duty cycle.
DAQmx_Val_PulseTime 15865 Pulse measurement, returning the result as high time and low time.
DAQmx_Val_PulseTicks 15866 Pulse measurement, returning the result as high ticks and low ticks.
DAQmx_Val_DutyCycle 16070 Measure the duty cycle of a digital signal.
DAQmx_Val_Position_AngEncoder 10360 Angular position measurement using an angular encoder.
DAQmx_Val_Position_LinEncoder 10361 Linear position measurement using a linear encoder.
DAQmx_Val_Velocity_AngEncoder 16078 Angular velocity measurement using an angular encoder.
DAQmx_Val_Velocity_LinEncoder 16079 Linear velocity measurement using a linear encoder.
DAQmx_Val_TwoEdgeSep 10267 Measure time between edges of two digital signals.
DAQmx_Val_GPS_Timestamp 10362 Timestamp measurement, synchronizing the counter to a GPS receiver.

You can get this attribute using:   DAQmxGetDeviceAttribute

Counter Input Trigger

DAQmx_Dev_CI_TrigUsage

Data Type: int32
Description: Indicates the triggers supported by this device for counter input tasks.
Restrictions: Not Settable
Valid values
DAQmx_Val_Bit_TriggerUsageTypes_Advance 1 Device supports advance triggers
DAQmx_Val_Bit_TriggerUsageTypes_Pause 2 Device supports pause triggers
DAQmx_Val_Bit_TriggerUsageTypes_Reference 4 Device supports reference triggers
DAQmx_Val_Bit_TriggerUsageTypes_Start 8 Device supports start triggers
DAQmx_Val_Bit_TriggerUsageTypes_Handshake 16 Device supports handshake triggers
DAQmx_Val_Bit_TriggerUsageTypes_ArmStart 32 Device supports arm start triggers

You can get this attribute using:   DAQmxGetDeviceAttribute

Counter Input Timing

DAQmx_Dev_CI_SampClkSupported

Data Type: bool32
Description: Indicates if the device supports the sample clock timing type for counter input tasks.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_CI_SampModes

Data Type: int32*
Description: Indicates sample modes supported by devices that support sample clocked counter input.
Restrictions: Not Settable

Valid values

DAQmx_Val_FiniteSamps 10178 Acquire or generate a finite number of samples.
DAQmx_Val_ContSamps 10123 Acquire or generate samples until you stop the task.
DAQmx_Val_HWTimedSinglePoint 12522 Acquire or generate samples continuously using hardware timing without a buffer. Hardware timed single point sample mode is supported only for the sample clock and change detection timing types.

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_CI_MaxSize

Data Type: uInt32
Description: Indicates in bits the size of the counters on the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_CI_MaxTimebase

Data Type: float64
Description: Indicates in hertz the maximum counter timebase frequency.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Counter Output

DAQmx_Dev_CO_PhysicalChans

Data Type: char*
Description: Indicates an array containing the names of the counter output physical channels available on the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_CO_SupportedOutputTypes

Data Type: int32*
Description: Indicates the generation types supported by the physical channels of the device. Refer to DAQmx_PhysicalChan_CO_SupportedOutputTypes for information on specific channels.
Restrictions: Not Settable

Valid values

DAQmx_Val_Pulse_Time 10269 Generate pulses defined by the time the pulse is at a low state and the time the pulse is at a high state.
DAQmx_Val_Pulse_Freq 10119 Generate digital pulses defined by frequency and duty cycle.
DAQmx_Val_Pulse_Ticks 10268 Generate digital pulses defined by the number of timebase ticks that the pulse is at a low state and the number of timebase ticks that the pulse is at a high state.

You can get this attribute using:   DAQmxGetDeviceAttribute

Counter Output Timing

DAQmx_Dev_CO_SampClkSupported

Data Type: bool32
Description: Indicates if the device supports Sample Clock timing for counter output tasks.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_CO_SampModes

Data Type: int32*
Description: Indicates sample modes supported by devices that support sample clocked counter output.
Restrictions: Not Settable

Valid values

DAQmx_Val_FiniteSamps 10178 Acquire or generate a finite number of samples.
DAQmx_Val_ContSamps 10123 Acquire or generate samples until you stop the task.
DAQmx_Val_HWTimedSinglePoint 12522 Acquire or generate samples continuously using hardware timing without a buffer. Hardware timed single point sample mode is supported only for the sample clock and change detection timing types.

You can get this attribute using:   DAQmxGetDeviceAttribute

Counter Output Trigger

DAQmx_Dev_CO_TrigUsage

Data Type: int32
Description: Indicates the triggers supported by this device for counter output tasks.
Restrictions: Not Settable
Valid values
DAQmx_Val_Bit_TriggerUsageTypes_Advance 1 Device supports advance triggers
DAQmx_Val_Bit_TriggerUsageTypes_Pause 2 Device supports pause triggers
DAQmx_Val_Bit_TriggerUsageTypes_Reference 4 Device supports reference triggers
DAQmx_Val_Bit_TriggerUsageTypes_Start 8 Device supports start triggers
DAQmx_Val_Bit_TriggerUsageTypes_Handshake 16 Device supports handshake triggers
DAQmx_Val_Bit_TriggerUsageTypes_ArmStart 32 Device supports arm start triggers

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_CO_MaxSize

Data Type: uInt32
Description: Indicates in bits the size of the counters on the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_CO_MaxTimebase

Data Type: float64
Description: Indicates in hertz the maximum counter timebase frequency.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

TEDS

DAQmx_Dev_TEDS_HWTEDSSupported

Data Type: bool32
Description: Indicates whether the device supports hardware TEDS.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Bus

DAQmx_Dev_NumDMAChans

Data Type: uInt32
Description: Indicates the number of DMA channels on the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Location

DAQmx_Dev_BusType

Data Type: int32
Description: Indicates the bus type of the device.
Restrictions: Not Settable

Valid values

DAQmx_Val_PCI 12582 PCI.
DAQmx_Val_PCIe 13612 PCI Express.
DAQmx_Val_PXI 12583 PXI.
DAQmx_Val_PXIe 14706 PXI Express.
DAQmx_Val_SCXI 12584 SCXI.
DAQmx_Val_SCC 14707 SCC.
DAQmx_Val_PCCard 12585 PC Card/PCMCIA.
DAQmx_Val_USB 12586 USB.
DAQmx_Val_CompactDAQ 14637 CompactDAQ.
DAQmx_Val_CompactRIO 16143 CompactRIO.
DAQmx_Val_TCPIP 14828 TCP/IP.
DAQmx_Val_Unknown 12588 Unknown bus type.
DAQmx_Val_SwitchBlock 15870 SwitchBlock.

You can get this attribute using:   DAQmxGetDeviceAttribute

Pci

DAQmx_Dev_PCI_BusNum

Data Type: uInt32
Description: Indicates the PCI bus number of the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_PCI_DevNum

Data Type: uInt32
Description: Indicates the PCI slot number of the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Pxi

DAQmx_Dev_PXI_ChassisNum

Data Type: uInt32
Description: Indicates the PXI chassis number of the device, as identified in MAX.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_PXI_SlotNum

Data Type: uInt32
Description: Indicates the PXI slot number of the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Compactdaq

DAQmx_Dev_CompactDAQ_ChassisDevName

Data Type: char*
Description: Indicates the name of the CompactDAQ chassis that contains this module.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_CompactDAQ_SlotNum

Data Type: uInt32
Description: Indicates the slot number in which this module is located in the CompactDAQ chassis.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Compactrio

DAQmx_Dev_CompactRIO_ChassisDevName

Data Type: char*
Description: Indicates the name of the CompactRIO chassis that contains this module.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_CompactRIO_SlotNum

Data Type: uInt32
Description: Indicates the slot number of the CompactRIO chassis where this module is located.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Tcp/ip

DAQmx_Dev_TCPIP_Hostname

Data Type: char*
Description: Indicates the IPv4 hostname of the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_TCPIP_EthernetIP

Data Type: char*
Description: Indicates the IPv4 address of the Ethernet interface in dotted decimal format. This property returns 0.0.0.0 if the Ethernet interface cannot acquire an address.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_TCPIP_WirelessIP

Data Type: char*
Description: Indicates the IPv4 address of the 802.11 wireless interface in dotted decimal format. This property returns 0.0.0.0 if the wireless interface cannot acquire an address.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_Terminals

Data Type: char*
Description: Indicates a list of all terminals on the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Time

DAQmx_Dev_NumTimeTrigs

Data Type: uInt32
Description: Indicates the number of time triggers available on the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

DAQmx_Dev_NumTimestampEngines

Data Type: uInt32
Description: Indicates the number of timestamp engines available on the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetDeviceAttribute

Table of Contents

Internal Development

Creating and Setting Up a gRPC Server

Server Security Support

Creating a gRPC Client

gRPC Client Examples

Session Utilities API Reference

Driver Documentation

gRPC API Differences From C API

Sharing Driver Sessions Between Clients

C API Docs
NI-DAQmx
NI-DCPOWER
NI-DIGITAL PATTERN DRIVER
NI-DMM
NI-FGEN
NI-FPGA
NI-RFmx Bluetooth
NI-RFmx NR
NI-RFmx WCDMA
NI-RFmx GSM
NI-RFmx CDMA2k
NI-RFmx Instr
NI-RFmx LTE
NI-RFmx SpecAn
NI-RFmx TD-SCDMA
NI-RFmx WLAN
NI-RFSA
NI-RFSG
NI-SCOPE
NI-SWITCH
NI-TCLK
NI-XNET
Clone this wiki locally