-
Notifications
You must be signed in to change notification settings - Fork 52
NI DAQMX Device Attributes
See how to get and set attributes.
- DAQmx_Dev_IsSimulated
- Identification
- Chassis
- Triggering
-
I/O Type
- Analog Input
- Analog Output
- Digital Input
- Digital Output
- Counter Input
- Counter Output
- TEDS
- Bus
- Location
- DAQmx_Dev_Terminals
- Time
Data Type: | bool32 |
---|---|
Description: | Indicates if the device is a simulated device. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
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
Data Type: | char* |
---|---|
Description: | Indicates the product name of the device. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
Data Type: | uInt32 |
---|---|
Description: | Indicates the unique hardware identification number for the device. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
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
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
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
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
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
Data Type: | char* |
---|---|
Description: | Indicates the parent device which this bank is located in. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
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
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
Data Type: | bool32 |
---|---|
Description: | Indicates if the device supports analog triggering. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
Data Type: | bool32 |
---|---|
Description: | Indicates if the device supports digital triggering. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
Data Type: | bool32 |
---|---|
Description: | Indicates whether the device supports time triggering. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
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
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
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
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
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
Data Type: | bool32 |
---|---|
Description: | Indicates if the device supports simultaneous sampling. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
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
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
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
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
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
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
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
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
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
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
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
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
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
Data Type: | float64* |
---|---|
Description: | Indicates the input gain settings supported by this device. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
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
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
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
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
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
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
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
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
Data Type: | float64 |
---|---|
Description: | Indicates the maximum analog output rate of the device. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
Data Type: | float64 |
---|---|
Description: | Indicates the minimum analog output rate of the device. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
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
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
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
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
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
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
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
Data Type: | float64* |
---|---|
Description: | Indicates the output gain settings supported by this device. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
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
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
Data Type: | float64 |
---|---|
Description: | Indicates the maximum digital input rate of the device. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
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
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
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
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
Data Type: | float64 |
---|---|
Description: | Indicates the maximum digital output rate of the device. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
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
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
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
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
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
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
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
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
Data Type: | float64 |
---|---|
Description: | Indicates in hertz the maximum counter timebase frequency. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
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
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
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
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
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
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
Data Type: | float64 |
---|---|
Description: | Indicates in hertz the maximum counter timebase frequency. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
Data Type: | bool32 |
---|---|
Description: | Indicates whether the device supports hardware TEDS. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
Data Type: | uInt32 |
---|---|
Description: | Indicates the number of DMA channels on the device. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
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
Data Type: | uInt32 |
---|---|
Description: | Indicates the PCI bus number of the device. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
Data Type: | uInt32 |
---|---|
Description: | Indicates the PCI slot number of the device. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
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
Data Type: | uInt32 |
---|---|
Description: | Indicates the PXI slot number of the device. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
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
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
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
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
Data Type: | char* |
---|---|
Description: | Indicates the IPv4 hostname of the device. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
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
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
Data Type: | char* |
---|---|
Description: | Indicates a list of all terminals on the device. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
Data Type: | uInt32 |
---|---|
Description: | Indicates the number of time triggers available on the device. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
Data Type: | uInt32 |
---|---|
Description: | Indicates the number of timestamp engines available on the device. |
Restrictions: | Not Settable |
You can get this attribute using:
DAQmxGetDeviceAttribute
Creating and Setting Up a gRPC Server
Session Utilities API Reference
gRPC API Differences From C API
Sharing Driver Sessions Between Clients
C API Docs
NI-DAQmx
- gRPC API Differences From C API
- Task Configuration And Control
- Channel Configuration And Creation
- Timing
- Triggering
- Read Functions
- Write Functions
- Export Hardware Signals
- Scale Configuration
- Internal Buffer Configuration
- Advanced Functions
- System Configuration
- Error Handling
- Buffer Attributes
- Calibration Info Attributes
- Channel Attributes
- Device Attributes
- Export Signal Attributes
- Persisted Channel Attributes
- Persisted Scale Attributes
- Persisted Task Attributes
- Physical Channel Attributes
- Read Attributes
- Scale Attributes
- System Attributes
- Task Attributes
- Timing Attributes
- Trigger Attributes
- Watchdog Attributes
- Write Attributes
NI-DCPOWER
- Setup Functions
- Configure Functions
- Measurement Functions
- Control Functions
- Trigger And Event
- Attribute Functions
- Query Functions
- Calibration Functions
- Utility Functions
- Supported Device
- Source Attributes
- Transient Attributes
- Voltage Attributes
- Current Attributes
- Pulse Voltage Attributes
- Pulse Current Attributes
- Cutoff Attributes
- Measurement Attributes
- Trigger Attributes Functions
- Event Attributes
- Advanced Attributes
- Inherent Ivi Attributes
- Supported Device Attributes
NI-DIGITAL PATTERN DRIVER
- Init And Close Functions
- Session Locking Functions
- Utility Functions
- Error Handling Functions
- Calibration Functions
- Attributes Functions
- Pin Map Functions
- Low Level Functions
- Low Level Action Functions
- Pin Control Functions
- Static IO Functions
- Clock Generator Functions
- Levels And Timing Functions
- TDR Functions
- PPMU Configuration Functions
- DC Voltage Functions
- DC Current Functions
- PPMU Action Functions
- Pattern Configuration Functions
- Pattern Action Functions
- History Ram Functions
- Source Memory Functions
- Capture Memory Functions
- Triggers And Events Functions
- Conditional Jump Trigger Functions
- Sequencer Flag Functions
- Sequencer Register Functions
- Match Fail Combination Functions
- Pattern Results Functions
- Sort Results Functions
- Frequency Measurement Functions
- IVI Inherent Attributes
- Specific Driver Information Attributes, Read Only
- Driver Setup Information Attributes
- Device Attributes
- Pin Control Attributes
- Level Configuration Attributes
- Trigger Configuration Attributes
- PPMU Attributes
- Patterns Attributes
- Pattern Opcode Event Attributes
- Timing Offset Attributes
- Keep Alive Attributes
- Frequency Measurement Attributes
- Clock Generator Attributes
- History RAM
- Synchronization Attributes
- TDR Endpoint Termination Attributes
NI-FGEN
- Setup Functions
- Configuration Functions
- Standard Output Functions
- Arbitrary Waveform Output Functions
- Arbitrary Sequence Output Functions
- Incremental Waveform Write Functions
- Configure Clock Functions
- Trigger And Syncronizations Functions
- 5404 Routing Functions
- Script Output Functions
- Configure Onboard Signal Processing Functions
- Configure Peer To Peer Functions
- Attribute Functions
- Waveform Control Functions
- Error Functions
- Output Attributes
- Arbitrary Waveform Attributes
- Data Transfer Attributes
- Onboard Signal Processing Attributes
- Peer To Peer Attributes
- Standard Function Attributes
- Clock Attributes
- Event Attributes
- Triggering Attributes
- Instrument Specific Attributes
- Inherent IVI Attributes
- 5401 5411 5431
NI-RFmx Bluetooth
- gRPC API Differences From C API
- General Functions
- Configuration Functions
- Set And Get Attribute Functions
- Fetch Results Functions
- Utility Functions
- Build String Functions
- Advanced Functions
- General Attributes
- Trigger Attributes
- Packet Attributes
- Auto Detect Signal Attributes
- Modacc Attributes
- ACP Attributes
- Twenty dB Attributes
- Frequency Range Attributes
- TXP Attributes
- Advanced Attributes
NI-RFmx NR
- gRPC API Differences From C API
- General Functions
- Configuration Functions
- Set And Get Attributes Functions
- Fetch Results Functions
- Utility Functions
- Build String Functions
- Advanced Functions
- General Attributes
- Trigger Attributes
- Signal Detection Attributes
- Component Carrier Attributes
- List Attributes
- Modacc Attributes
- ACP Attributes
- CHP Attributes
- OBW Attributes
- SEM Attributes
- TXP Attributes
- Pvt Attributes
- Advanced Attributes
NI-RFmx LTE
- gRPC API Differences From C API
- General Functions
- Configuration Functions
- Ch Configuration Functions
- NB IoT Configuration Functions
- ModAcc Configuration Functions
- ACP Configuration Functions
- CHP Configuration Functions
- OBW Configuration Functions
- SEM Configuration Functions
- PVT Configuration Functions
- SlotPhase Configuration Functions
- SlotPower Configuration Functions
- Set And Get Attribute Functions
- ModAcc Fetch Functions
- ACP Fetch Functions
- CHP Fetch Functions
- OBW Fetch Functions
- SEM Fetch Functions
- PVT Fetch Functions
- SlotPhase Fetch Functions
- SlotPower Fetch Functions
- Utility Functions
- Build String Functions
- Advanced Functions
- General Attributes
- Trigger Attributes
- Component Carrier Attributes
- ModAcc Attributes
- ACP Attributes
- CHP Attributes
- OBW Attributes
- SEM Attributes
- PVT Attributes
- SlotPhase Attributes
- SlotPower Attributes
- Advanced Attributes
NI-RFmx SpecAn
- gRPC API Differences From C API
- General Functions
- Configuration Functions
- Set And Get Attribute Functions
- Read Functions
- Fetch Functions
- Utility Functions
- Marker Functions
- Build String Functions
- Advanced Functions
- General Attributes
- Trigger Attributes
- ACP Attributes
- Cdf Attributes
- CHP Attributes
- Fcnt Attributes
- Harm Attributes
- OBW Attributes
- SEM Attributes
- Spectrum Attributes
- Spur Attributes
- TXP Attributes
- AMPM Attributes
- Dpd Attributes
- IQ Attributes
- IM Attributes
- NF Attributes
- Phasenoise Attributes
- PAVT Attributes
- Advanced Attributes
NI-RFmx WLAN
- gRPC API Differences From C API
- General Functions
- Configuration Functions
- Set And Get Attribute Functions
- Fetch DSSS ModAcc Functions
- Fetch OFDM ModAcc Functions
- Fetch SEM Functions
- Fetch TXP Functions
- Fetch PowerRamp Functions
- Utility Functions
- Build String Functions
- Advanced Functions
- General Attributes
- Trigger Attributes
- OFDM Attributes
- Auto Detect Signal Attributes
- DSSS ModAcc Attributes
- OFDM ModAcc Attributes
- SEM Attributes
- TXP Attributes
- PowerRamp Attributes
- Advanced Attributes
NI-RFSA
- General Functions
- Configuration Functions
- Acquisition Functions
- Utility Functions
- Calibration Functions
- General Attributes
- Vertical Attributes
- Signal Path Attributes
- Acquisition Attributes
- Acquisition Attributes
- Triggers Attributes
- Events Attributes
- Device Characteristics Attributes
- Peer To Peer Streaming Attributes
- Configuration List Attributes
- Inherent IVI Properties Attributes
- De-embedding Attributes
- Self Calibration Attributes
- Factory Calibration Attributes
- External Alignment Attributes
- Device Specific Attributes
NI-RFSG
- General Functions
- Generation Configuration
- Utility Functions
- Calibration Functions
- Arb Attributes
- Clock Attributes
- Configuration List Attributes
- De-embedding Attributes
- Device Characteristics Attributes
- Device Specific Attributes
- Events Attributes
- External Calibration Attributes
- Inherent IVI Attributes Attributes
- IQ Impairment Attributes
- Load Configurations Attributes
- Modulation Attributes
- Obsolete Attributes
- Peer To Peer Attributes
- RF Attributes
- Self Calibration Attributes
- Triggers Attributes
NI-SCOPE
- Setup Functions
- Configure Functions
- Attribute Functions
- Acquisition Functions
- Measurement Functions
- Calibrate Functions
- Utility Funcitons
- Error Handling Functions
- IVI Compliance Or Obsolete Functions
- Vertical Attributes
- Horizontal Attributes
- Trigger Attributes
- Clocking Attributes
- Synchronization Attributes
- Acquisition Attributes
- Waveform Measurements Attributes
- Onboard Signal Processing Attributes
- Peer To Peer Streaming Attributes
- Device Attributes
- IVI Or Obsolete Attributes
- Instrument Capabilities Attributes
- If Digitizer Attributes
NI-XNET
- gRPC API differences from C APIs
- General Functions
- Cluster Properties
- Database Properties
- Device Properties
- ECU Properties
- Frame Properties
- Interface Properties
- LIN Schedule Entry Properties
- LIN Schedule Properties
- PDU Properties
- Session Ethernet Properties
- Session Frame Properties
- Session Interface Properties
- Session Properties
- Session SAE J1939 Properties
- Signal Properties
- Subframe Properties
- System Properties
- IP-Stack Functions
- Socket Options
- Socket Functions