Skip to main content

Crate uldaq_sys

Crate uldaq_sys 

Source
Expand description

§Raw FFI bindings for the uldaq library

This crate provides raw FFI bindings to the uldaq library, used for interacting with Measurement Computing / Data Translation DAQ devices on Linux.

These bindings are unsafe and low-level. For a safe, ergonomic wrapper around this crate, have a look at the [uldaqrs] crate.

For documentation of all exported structs and functions, please have a look at the upstream code.

§Author information

Structs§

AiQueueElement
\brief A structure that defines an analog input queue element
DaqDeviceDescriptor
\brief A structure that defines a particular DAQ device, usually obtained using ulGetDaqDeviceInventory().
DaqInChanDescriptor
\brief A structure that defines an input channel and its properties. Used with ulDaqInScan().
DaqOutChanDescriptor
\brief A structure that defines an output channel and its properties. Used with ulDaqOutScan().
MemDescriptor
\brief A structure that defines the location and access properties of the physical memory of a device.
TransferStatus
\brief A structure containing information about the progress of the specified scan operation.

Constants§

AInFlag_AIN_FF_DEFAULT
Data is returned with scaling and calibration factors applied.
AInFlag_AIN_FF_NOCALIBRATEDATA
Data is returned without calibration factors applied.
AInFlag_AIN_FF_NOSCALEDATA
Data is returned in native format, without scaling applied.
AInScanFlag_AINSCAN_FF_DEFAULT
Data is returned with scaling and calibration factors applied.
AInScanFlag_AINSCAN_FF_NOCALIBRATEDATA
Data is returned without calibration factors applied.
AInScanFlag_AINSCAN_FF_NOSCALEDATA
Data is returned in native format, without scaling applied.
AOutArrayFlag_AOUTARRAY_FF_DEFAULT
Scaled data is supplied and calibration factors are applied to output.
AOutArrayFlag_AOUTARRAY_FF_NOCALIBRATEDATA
Data is output without calibration factors applied.
AOutArrayFlag_AOUTARRAY_FF_NOSCALEDATA
Data is supplied in native format (usually, values ranging from 0 to 2resolution - 1).
AOutArrayFlag_AOUTARRAY_FF_SIMULTANEOUS
All of the specified channels will be updated simultaneously.
AOutFlag_AOUT_FF_DEFAULT
Scaled data is supplied and calibration factors are applied to output.
AOutFlag_AOUT_FF_NOCALIBRATEDATA
Data is output without calibration factors applied.
AOutFlag_AOUT_FF_NOSCALEDATA
Data is supplied in native format (usually, values ranging from 0 to 2resolution - 1).
AOutScanFlag_AOUTSCAN_FF_DEFAULT
Scaled data is supplied and calibration factors are applied to output.
AOutScanFlag_AOUTSCAN_FF_NOCALIBRATEDATA
Data is output without calibration factors applied.
AOutScanFlag_AOUTSCAN_FF_NOSCALEDATA
Data is supplied in native format (usually, values ranging from 0 to 2resolution - 1.
AOutSenseMode_AOSM_DISABLED
Sense mode is disabled.
AOutSenseMode_AOSM_ENABLED
Sense mode is enable.
AOutSyncMode_AOSM_MASTER
Output the internal D/A Load signal
AOutSyncMode_AOSM_SLAVE
Receive the D/A Load signal from an external source
AdcTimingMode_ADC_TM_AUTO
The timing mode is set automatically.
AdcTimingMode_ADC_TM_HIGH_RES
Acquires data in samples per 1000 seconds per channel.
AdcTimingMode_ADC_TM_HIGH_SPEED
High speed timing mode.
AiCalTableType_AI_CTT_FACTORY
Factory calibration table
AiCalTableType_AI_CTT_FIELD
Field calibration table
AiChanQueueLimitation_ASCENDING_CHAN
Channel numbers must be listed in ascending order within the queue.
AiChanQueueLimitation_CONSECUTIVE_CHAN
Channel numbers must be listed in contiguous order within the queue.
AiChanQueueLimitation_UNIQUE_CHAN
A particular channel number cannot appear more than once in the queue.
AiChanType_AI_DISABLED
Disabled
AiChanType_AI_RTD
Resistance Temperature Detector (RTD)
AiChanType_AI_SEMICONDUCTOR
Semiconductor
AiChanType_AI_TC
Thermocouple
AiChanType_AI_THERMISTOR
Thermistor
AiChanType_AI_VOLTAGE
Voltage
AiConfigItemDbl_AI_CFG_CHAN_DATA_RATE
The data rate of the specified channel.
AiConfigItemDbl_AI_CFG_CHAN_OFFSET
The custom offset of the specified channel.
AiConfigItemDbl_AI_CFG_CHAN_SENSOR_SENSITIVITY
The sensitivity of the sensor connected to the specified channel.
AiConfigItemDbl_AI_CFG_CHAN_SLOPE
The custom slope of the specified channel.
AiConfigItemStr_AI_CFG_CAL_DATE_STR
Returns the calibration date. Set index to 0 for the factory calibration date, or 1 for the field calibration date. If the value read is not a valid date or the index is invalid, Unix Epoch is returned.
AiConfigItemStr_AI_CFG_CHAN_COEFS_STR
Returns the channel coefficients used for the configured sensor.
AiConfigItemStr_AI_CFG_EXP_CAL_DATE_STR
Returns the calibration date of expansion board. Set index to 0 for the factory calibration date, or 1 for the field calibration date. If the value read is not a valid date or the index is invalid, Unix Epoch is returned.
AiConfigItem_AI_CFG_ADC_TIMING_MODE
The timing mode. Set with #AdcTimingMode.
AiConfigItem_AI_CFG_AUTO_ZERO_MODE
The auto zero mode. Set with #AutoZeroMode.
AiConfigItem_AI_CFG_CAL_DATE
The date when the device was calibrated last in UNIX Epoch time. Set index to 0 for the factory calibration date, or 1 for the field calibration date. If the value read is not a valid date or the index is invalid, 0 (Unix Epoch) is returned.
AiConfigItem_AI_CFG_CAL_TABLE_TYPE
The calibration table type. Set with #AiCalTableType.
AiConfigItem_AI_CFG_CHAN_COUPLING_MODE
The coupling mode for the specified device. Set with #CouplingMode.
AiConfigItem_AI_CFG_CHAN_IEPE_MODE
The IEPE current excitation mode for the specified channel. Set with #IepeMode.
AiConfigItem_AI_CFG_CHAN_OTD_MODE
The open thermocouple detection mode for the specified channel. Set with #OtdMode.
AiConfigItem_AI_CFG_CHAN_SENSOR_CONNECTION_TYPE
The connection type of the sensor connected to the specified channel.
AiConfigItem_AI_CFG_CHAN_TC_TYPE
The thermocouple type of the specified channel. Set with #TcType.
AiConfigItem_AI_CFG_CHAN_TYPE
The channel type of the specified channel. Set with #AiChanType.
AiConfigItem_AI_CFG_EXP_CAL_DATE
The date when the expansion board was calibrated last in UNIX Epoch time. Set index to 0 for the factory calibration date, or 1 for the field calibration date. If the value read is not a valid date or the index is invalid, 0 (Unix Epoch) is returned.
AiConfigItem_AI_CFG_OTD_MODE
The open thermocouple detection mode. Set with #OtdMode.
AiConfigItem_AI_CFG_REJECT_FREQ_TYPE
The rejection frequency type. Set with #AiRejectFreqType.
AiConfigItem_AI_CFG_SCAN_CHAN_TEMP_UNIT
The temperature unit of the specified analog input scan channel. Set with #TempUnit.
AiConfigItem_AI_CFG_SCAN_TEMP_UNIT
The analog input scan temperature unit. Set with #TempUnit.
AiInfoItemDbl_AI_INFO_MAX_BURST_RATE
Returns the maximum scan rate in samples per second when using the ::SO_BURSTIO ScanOption to the \p infoValue argument. Index is ignored.
AiInfoItemDbl_AI_INFO_MAX_BURST_THROUGHPUT
Returns the maximum throughput in samples per second when using the ::SO_BURSTIO ScanOption to the \p infoValue argument. Index is ignored.
AiInfoItemDbl_AI_INFO_MAX_SCAN_RATE
Returns the maximum scan rate in samples per second to the \p infoValue argument. Index is ignored.
AiInfoItemDbl_AI_INFO_MAX_THROUGHPUT
Returns the maximum throughput in samples per second to the \p infoValue argument. Index is ignored.
AiInfoItemDbl_AI_INFO_MIN_SCAN_RATE
Returns the minimum scan rate in samples per second to the \p infoValue argument. Index is ignored.
AiInfoItem_AI_INFO_CHAN_TYPES
Returns a bitmask of supported #AiChanType values to the \p infoValue argument. Index is ignored.
AiInfoItem_AI_INFO_DIFF_RANGE
Returns a #Range value to the \p infoValue argument based on the value of the \p index argument specified. Index should be a number between zero and (the number of differential ranges supported) – 1. See #AI_INFO_NUM_DIFF_RANGES.
AiInfoItem_AI_INFO_FIFO_SIZE
Returns the FIFO size in bytes to the \p infoValue argument. Index is ignored.
AiInfoItem_AI_INFO_HAS_PACER
Returns a zero or non-zero value to the \p infoValue argument. If non-zero, paced operations are supported. Index is ignored.
AiInfoItem_AI_INFO_IEPE_SUPPORTED
Returns a zero or non-zero value to the \p infoValue argument. If non-zero, IEPE mode is supported. Index is ignored.
AiInfoItem_AI_INFO_MAX_QUEUE_LENGTH_BY_MODE
Returns the maximum length of the queue for the specified channel mode to the \p infoValue argument. Set index to one of the #AiInputMode enum values.
AiInfoItem_AI_INFO_NUM_CHANS
Returns the total number of A/D channels to the \p infoValue argument. Index is ignored.
AiInfoItem_AI_INFO_NUM_CHANS_BY_MODE
Returns the number of A/D channels for the specified channel mode to the \p infoValue argument. Set index to one of the #AiInputMode enum values.
AiInfoItem_AI_INFO_NUM_CHANS_BY_TYPE
Returns the number of A/D channels for the specified channel type to the \p infoValue argument. Set index to one of the #AiChanType enum values.
AiInfoItem_AI_INFO_NUM_DIFF_RANGES
Returns the number of differential ranges supported to the \p infoValue argument. Index is ignored.
AiInfoItem_AI_INFO_NUM_SE_RANGES
Returns the number of single-ended ranges supported to the \p infoValue argument. Index is ignored.
AiInfoItem_AI_INFO_QUEUE_LIMITS
Returns a bitmask of #AiChanQueueLimitation values to the \p infoValue argument that apply to the queue. Index is ignored.
AiInfoItem_AI_INFO_QUEUE_TYPES
Returns a bitmask of supported #AiQueueType values to the \p infoValue argument. Index is ignored.
AiInfoItem_AI_INFO_RESOLUTION
Returns the A/D resolution in number of bits to the \p infoValue argument. Index is ignored.
AiInfoItem_AI_INFO_SCAN_OPTIONS
Returns a bitmask of supported #ScanOption values to the \p infoValue argument. Index is ignored.
AiInfoItem_AI_INFO_SE_RANGE
Returns a #Range value to the \p infoValue argument based on the value of the \p index argument specified. Index should be a number between zero and (the number of single-ended ranges supported) – 1. See #AI_INFO_NUM_SE_RANGES.
AiInfoItem_AI_INFO_TRIG_TYPES
Returns a bitmask of supported #TriggerType values to the \p infoValue argument. Index is ignored.
AiInputMode_AI_DIFFERENTIAL
Differential
AiInputMode_AI_PSEUDO_DIFFERENTIAL
Pseudo-differential
AiInputMode_AI_SINGLE_ENDED
Single-ended
AiQueueType_CHAN_QUEUE
The AI subsystem supports a channel queue.
AiQueueType_GAIN_QUEUE
The AI subsystem supports a gain queue.
AiQueueType_MODE_QUEUE
The AI subsystem supports a mode queue.
AiRejectFreqType_AI_RFT_50HZ
50 Hz rejection frequency
AiRejectFreqType_AI_RFT_60HZ
60 Hz rejection frequency
AoConfigItem_AO_CFG_CHAN_SENSE_MODE
The sense mode for the specified channel. Set with #AOutSenseMode.
AoConfigItem_AO_CFG_SYNC_MODE
The sync mode. Set with #AOutSyncMode.
AoInfoItemDbl_AO_INFO_MAX_SCAN_RATE
Returns the maximum scan rate in samples per second to the \p infoValue argument. Index is ignored.
AoInfoItemDbl_AO_INFO_MAX_THROUGHPUT
Returns the maximum throughput in samples per second to the \p infoValue argument. Index is ignored.
AoInfoItemDbl_AO_INFO_MIN_SCAN_RATE
Returns the minimum scan rate in samples per second to the \p infoValue argument. Index is ignored.
AoInfoItem_AO_INFO_FIFO_SIZE
Returns the FIFO size in bytes to the \p infoValue argument. Index is ignored.
AoInfoItem_AO_INFO_HAS_PACER
Returns a zero or non-zero value to the \p infoValue argument. If non-zero, paced operations are supported. Index is ignored.
AoInfoItem_AO_INFO_NUM_CHANS
Returns the total number of D/A channels to the \p infoValue argument. Index is ignored.
AoInfoItem_AO_INFO_NUM_RANGES
Returns the number of analog output ranges supported to the \p infoValue argument. Index is ignored.
AoInfoItem_AO_INFO_RANGE
Returns a Range value to the \p infoValue argument based on the value of the \p index argument specified. Index should be a number between zero and (the number of ranges supported) – 1. See #AO_INFO_NUM_RANGES.
AoInfoItem_AO_INFO_RESOLUTION
Returns the D/A resolution in number of bits to the \p infoValue argument. Index is ignored.
AoInfoItem_AO_INFO_SCAN_OPTIONS
Returns a bitmask of supported #ScanOption values to the \p infoValue argument. Index is ignored.
AoInfoItem_AO_INFO_TRIG_TYPES
Returns a bitmask of supported #TriggerType values to the \p infoValue argument. Index is ignored.
AutoZeroMode_AZM_EVERY_SAMPLE
Perform auto zero on every thermocouple reading.
AutoZeroMode_AZM_NONE
Disabled
AutoZeroMode_AZM_ONCE
Perform auto zero before every scan.
CConfigScanFlag_CF_DEFAULT
Placeholder value. Standard functionality.
CInScanFlag_CINSCAN_FF_CTR16_BIT
Sets up the counter as a 16-bit counter channel
CInScanFlag_CINSCAN_FF_CTR32_BIT
Sets up the counter as a 32-bit counter channel
CInScanFlag_CINSCAN_FF_CTR48_BIT
Sets up the counter as a 48-bit counter channel
CInScanFlag_CINSCAN_FF_CTR64_BIT
Sets up the counter as a 64-bit counter channel
CInScanFlag_CINSCAN_FF_DEFAULT
Default counter behavior
CInScanFlag_CINSCAN_FF_NOCLEAR
Does not clear the counter to 0 at the start of each scan.
CounterDebounceMode_CDM_NONE
Disables the debounce feature.
CounterDebounceMode_CDM_TRIGGER_AFTER_STABLE
The counter is incremented only after the counter input is stable for a period of a length defined by #CounterDebounceTime.
CounterDebounceMode_CDM_TRIGGER_BEFORE_STABLE
The counter is incremented on the first edge at the counter input, then waits for a stable period of a length defined by #CounterDebounceTime before counting the next edge.
CounterDebounceTime_CDT_DEBOUNCE_0ns
Disables debounce. Valid only when \p debounceMode is set to ::CDM_NONE.
CounterDebounceTime_CDT_DEBOUNCE_100us
Sets the time period that the counter input must be stable when using ::CDM_TRIGGER_AFTER_STABLE or ::CDM_TRIGGER_BEFORE_STABLE CounterDebounceModes to 100 us.
CounterDebounceTime_CDT_DEBOUNCE_300us
Sets the time period that the counter input must be stable when using ::CDM_TRIGGER_AFTER_STABLE or ::CDM_TRIGGER_BEFORE_STABLE CounterDebounceModes to 300 us.
CounterDebounceTime_CDT_DEBOUNCE_500ns
Sets the time period that the counter input must be stable when using ::CDM_TRIGGER_AFTER_STABLE or ::CDM_TRIGGER_BEFORE_STABLE CounterDebounceModes to 500ns.
CounterDebounceTime_CDT_DEBOUNCE_700us
Sets the time period that the counter input must be stable when using ::CDM_TRIGGER_AFTER_STABLE or ::CDM_TRIGGER_BEFORE_STABLE CounterDebounceModes to 700 us.
CounterDebounceTime_CDT_DEBOUNCE_1500ns
Sets the time period that the counter input must be stable when using ::CDM_TRIGGER_AFTER_STABLE or ::CDM_TRIGGER_BEFORE_STABLE CounterDebounceModes to 1500 ns.
CounterDebounceTime_CDT_DEBOUNCE_1500us
Sets the time period that the counter input must be stable when using ::CDM_TRIGGER_AFTER_STABLE or ::CDM_TRIGGER_BEFORE_STABLE CounterDebounceModes to 1500 us.
CounterDebounceTime_CDT_DEBOUNCE_3100us
Sets the time period that the counter input must be stable when using ::CDM_TRIGGER_AFTER_STABLE or ::CDM_TRIGGER_BEFORE_STABLE CounterDebounceModes to 3100 us.
CounterDebounceTime_CDT_DEBOUNCE_3500ns
Sets the time period that the counter input must be stable when using ::CDM_TRIGGER_AFTER_STABLE or ::CDM_TRIGGER_BEFORE_STABLE CounterDebounceModes to 3500 ns.
CounterDebounceTime_CDT_DEBOUNCE_6300us
Sets the time period that the counter input must be stable when using ::CDM_TRIGGER_AFTER_STABLE or ::CDM_TRIGGER_BEFORE_STABLE CounterDebounceModes to 6300 us.
CounterDebounceTime_CDT_DEBOUNCE_7500ns
Sets the time period that the counter input must be stable when using ::CDM_TRIGGER_AFTER_STABLE or ::CDM_TRIGGER_BEFORE_STABLE CounterDebounceModes to 7500 ns.
CounterDebounceTime_CDT_DEBOUNCE_12700us
Sets the time period that the counter input must be stable when using ::CDM_TRIGGER_AFTER_STABLE or ::CDM_TRIGGER_BEFORE_STABLE CounterDebounceModes to 12700 us.
CounterDebounceTime_CDT_DEBOUNCE_15500ns
Sets the time period that the counter input must be stable when using ::CDM_TRIGGER_AFTER_STABLE or ::CDM_TRIGGER_BEFORE_STABLE CounterDebounceModes to 15500 ns.
CounterDebounceTime_CDT_DEBOUNCE_25500us
Sets the time period that the counter input must be stable when using ::CDM_TRIGGER_AFTER_STABLE or ::CDM_TRIGGER_BEFORE_STABLE CounterDebounceModes to 25500 us.
CounterDebounceTime_CDT_DEBOUNCE_31500ns
Sets the time period that the counter input must be stable when using ::CDM_TRIGGER_AFTER_STABLE or ::CDM_TRIGGER_BEFORE_STABLE CounterDebounceModes to 31500 ns.
CounterDebounceTime_CDT_DEBOUNCE_63500ns
Sets the time period that the counter input must be stable when using ::CDM_TRIGGER_AFTER_STABLE or ::CDM_TRIGGER_BEFORE_STABLE CounterDebounceModes to 63500 ns.
CounterDebounceTime_CDT_DEBOUNCE_127500ns
Sets the time period that the counter input must be stable when using ::CDM_TRIGGER_AFTER_STABLE or ::CDM_TRIGGER_BEFORE_STABLE CounterDebounceModes to 127500 ns.
CounterEdgeDetection_CED_FALLING_EDGE
Falling edge
CounterEdgeDetection_CED_RISING_EDGE
Rising edge
CounterMeasurementMode_CMM_CLEAR_ON_READ
Configures the counter to clear after every read for the ::CMT_COUNT measurement type.
CounterMeasurementMode_CMM_COUNT_DOWN
Configures the counter to count down for the ::CMT_COUNT measurement type.
CounterMeasurementMode_CMM_DECREMENT_ON
Configures the counter to decrement by the signal on the mapped channel for the ::CMT_COUNT measurement type.
CounterMeasurementMode_CMM_DEFAULT
Configures the counter for default counting modes for the ::CMT_COUNT measurement type.
CounterMeasurementMode_CMM_ENCODER_CLEAR_ON_Z
Clears the counter when the index (Z input) goes active for the ::CMT_ENCODER measurement type.
CounterMeasurementMode_CMM_ENCODER_LATCH_ON_Z
Configures the encoder Z mapped signal to latch the counter outputs for the ::CMT_ENCODER measurement type.
CounterMeasurementMode_CMM_ENCODER_NO_RECYCLE
Disables the counter when a count overflow or underflow occurs for the ::CMT_ENCODER measurement type; re-enables when a clear or load operation is performed on the counter.
CounterMeasurementMode_CMM_ENCODER_RANGE_LIMIT_ON
Enables upper and lower limits for the ::CMT_ENCODER measurement type.
CounterMeasurementMode_CMM_ENCODER_X1
Sets the encoder measurement mode to X1 for the ::CMT_ENCODER measurement type.
CounterMeasurementMode_CMM_ENCODER_X2
Sets the encoder measurement mode to X2 for the ::CMT_ENCODER measurement type.
CounterMeasurementMode_CMM_ENCODER_X4
Sets the encoder measurement mode to X4 for the ::CMT_ENCODER measurement type.
CounterMeasurementMode_CMM_ENCODER_Z_ACTIVE_EDGE
Sets the encoder Z signal as the active edge for the ::CMT_ENCODER measurement type.
CounterMeasurementMode_CMM_GATE_CLEARS_CTR
Configures the counter to clear when the gate input is high for the ::CMT_COUNT measurement type.
CounterMeasurementMode_CMM_GATE_CONTROLS_DIR
Configures the counter to increment when the gate pin is high, and decrement when the gate pin is low for the ::CMT_COUNT measurement type.
CounterMeasurementMode_CMM_GATE_TRIG_SRC
Configures the counter to start counting when the gate input goes active for the ::CMT_COUNT measurement type. By default, active is on the rising edge. The gate is re-armed when the counter is loaded and when ulCConfigScan() is called.
CounterMeasurementMode_CMM_GATING_ON
Enables the counter when the mapped channel or gate pin is high for the ::CMT_COUNT measurement type.
CounterMeasurementMode_CMM_INVERT_GATE
Inverts the polarity of the gate input for the ::CMT_COUNT measurement type.
CounterMeasurementMode_CMM_LATCH_ON_INDEX
Configures the counter to be latched by the signal on the index pin for the ::CMT_COUNT measurement type.
CounterMeasurementMode_CMM_NO_RECYCLE
Configures the counter to restart when a clear or load operation is performed, or the count direction changes for the ::CMT_COUNT measurement type.
CounterMeasurementMode_CMM_OUTPUT_INITIAL_STATE_HIGH
Configures the initial state of the counter output pin high for the ::CMT_COUNT measurement type.
CounterMeasurementMode_CMM_OUTPUT_ON
Configures the counter output to go high when the counter reaches the value of output register 0 for the ::CMT_COUNT measurement type, and go low when the counter reaches the value of output register 1. Use ulCLoad() to set or read the value of the output registers.
CounterMeasurementMode_CMM_PERIOD_GATING_ON
Enables the counter when the mapped channel or gate pin is high for the ::CMT_PERIOD measurement type.
CounterMeasurementMode_CMM_PERIOD_INVERT_GATE
Inverts the polarity of the gate input for the ::CMT_PERIOD measurement type.
CounterMeasurementMode_CMM_PERIOD_X1
Latches the counter measurement each time 1 complete period is observed for the ::CMT_PERIOD measurement type.
CounterMeasurementMode_CMM_PERIOD_X10
Latches the counter measurement each time 10 complete periods are observed for the ::CMT_PERIOD measurement type.
CounterMeasurementMode_CMM_PERIOD_X100
Latches the counter measurement each time 100 complete periods are observed for the ::CMT_PERIOD measurement type.
CounterMeasurementMode_CMM_PERIOD_X1000
Latches the counter measurement each time 1000 complete periods are observed for the ::CMT_PERIOD measurement type.
CounterMeasurementMode_CMM_PHB_CONTROLS_DIR
Configures the counter to increment when the phase B pin is high, and decrement when the phase B pin is low for the ::CMT_COUNT measurement type.
CounterMeasurementMode_CMM_PULSE_WIDTH_DEFAULT
Configures the counter for default pulse width modes for the ::CMT_PULSE_WIDTH measurement type.
CounterMeasurementMode_CMM_PULSE_WIDTH_GATING_ON
Enables the counter when the mapped channel or gate pin is high for the ::CMT_PULSE_WIDTH measurement type.
CounterMeasurementMode_CMM_PULSE_WIDTH_INVERT_GATE
Inverts the polarity of the gate input for the ::CMT_PULSE_WIDTH measurement type.
CounterMeasurementMode_CMM_RANGE_LIMIT_ON
When counting up, configures the counter to roll over to the min limit when the max limit is reached for the ::CMT_COUNT measurement type. When counting down, configures the counter to roll over to max limit when the min limit is reached. When counting up with ::CMM_NO_RECYCLE enabled, the counter freezes whenever the count reaches the value that was loaded into the max limit register. When counting down with ::CMM_NO_RECYCLE enabled, the counter freezes whenever the count reaches the value that was loaded into the min limit register. Counting resumes if the counter is reset or the direction changes.
CounterMeasurementMode_CMM_TIMING_DEFAULT
Configures the counter for default timing modes for the ::CMT_TIMING measurement type.
CounterMeasurementMode_CMM_TIMING_MODE_INVERT_GATE
Inverts the polarity of the gate input for the ::CMT_TIMING measurement type.
CounterMeasurementType_CMT_COUNT
Counter measurement. The counter increments on the active edge of the input.
CounterMeasurementType_CMT_ENCODER
Encoder measurement. Configures the counter as an encoder, if supported.
CounterMeasurementType_CMT_PERIOD
Period measurement. Measures the number of ticks between active edges of the input, with the granularity of measurement set by the \p tickSize argument of ulCConfigScan().
CounterMeasurementType_CMT_PULSE_WIDTH
Pulsewidth measurement. Measures the number of ticks between the active edge of the counter input and the following edge of the counter input, with the granularity of measurement set by the \p tickSize argument of ulCConfigScan().
CounterMeasurementType_CMT_TIMING
Timing measurement. Measures the number of ticks between the active edge of the counter input and the active edge of the gate input, with granularity of measurement set by the \p tickSize argument of ulCConfigScan().
CounterRegisterType_CRT_COUNT
Counter register
CounterRegisterType_CRT_LOAD
Load register
CounterRegisterType_CRT_MAX_LIMIT
Min Limit register
CounterRegisterType_CRT_MIN_LIMIT
Max Limit register
CounterRegisterType_CRT_OUTPUT_VAL0
The register that sets the count value at which the counter output will change state from its original state.
CounterRegisterType_CRT_OUTPUT_VAL1
The register that sets the count value at which the counter output will reset to its original state.
CounterTickSize_CTS_TICK_20PT83ns
Sets the tick size to 20.83 ns.
CounterTickSize_CTS_TICK_20ns
Sets the tick size to 20 ns.
CounterTickSize_CTS_TICK_200ns
Sets the tick size to 200 ns.
CounterTickSize_CTS_TICK_208PT3ns
Sets the tick size to 208.3 ns.
CounterTickSize_CTS_TICK_2000ns
Sets the tick size to 2000 ns.
CounterTickSize_CTS_TICK_2083PT3ns
Sets the tick size to 2083.3 ns.
CounterTickSize_CTS_TICK_20000ns
Sets the tick size to 20000 ns.
CounterTickSize_CTS_TICK_20833PT3ns
Sets the tick size to 20833.3 ns.
CouplingMode_CM_AC
AC coupling
CouplingMode_CM_DC
DC coupling
CtrConfigItem_CTR_CFG_REG
Returns or writes a bitmask indicating the configuration of one or more counters.
CtrInfoItemDbl_CTR_INFO_MAX_SCAN_RATE
Returns the maximum scan rate in samples per second to the \p infoValue argument. Index is ignored.
CtrInfoItemDbl_CTR_INFO_MAX_THROUGHPUT
Returns the maximum throughput in samples per second to the \p infoValue argument. Index is ignored.
CtrInfoItemDbl_CTR_INFO_MIN_SCAN_RATE
Returns the minimum scan rate in samples per second to the \p infoValue argument. Index is ignored.
CtrInfoItem_CTR_INFO_FIFO_SIZE
Returns the FIFO size in bytes to the \p infoValue argument. Index is ignored.
CtrInfoItem_CTR_INFO_HAS_PACER
Returns a zero or non-zero value to the \p infoValue argument. If non-zero, paced operations are supported. Index is ignored.
CtrInfoItem_CTR_INFO_MEASUREMENT_MODES
Returns a bitmask of supported #CounterMeasurementMode values compatible with the #CounterMeasurementType specified by the \p index argument to the \p infoValue argument.
CtrInfoItem_CTR_INFO_MEASUREMENT_TYPES
Returns a bitmask of supported #CounterMeasurementType values of the counter specified by the \p index argument to the \p infoValue argument.
CtrInfoItem_CTR_INFO_NUM_CTRS
Returns the total number of counters to the \p infoValue argument. Index is ignored.
CtrInfoItem_CTR_INFO_REGISTER_TYPES
Returns a bitmask of supported #CounterRegisterType values to the \p infoValue argument. Index is ignored.
CtrInfoItem_CTR_INFO_RESOLUTION
Returns the resolution to the \p infoValue argument. Index is ignored.
CtrInfoItem_CTR_INFO_SCAN_OPTIONS
Returns a bitmask of supported #ScanOption values to the \p infoValue argument. Index is ignored.
CtrInfoItem_CTR_INFO_TRIG_TYPES
Returns a bitmask of supported #TriggerType values to the \p infoValue argument. Index is ignored.
DInScanFlag_DINSCAN_FF_DEFAULT
Standard scan properties. Placeholder for future values
DOutScanFlag_DOUTSCAN_FF_DEFAULT
Standard scan properties. Placeholder for future values.
DaqDeviceInterface_ANY_IFC
Any interface
DaqDeviceInterface_BLUETOOTH_IFC
Bluetooth interface
DaqDeviceInterface_ETHERNET_IFC
Ethernet interface
DaqDeviceInterface_USB_IFC
USB interface
DaqEventType_DE_NONE
No event type. Possible return value for ulDevGetInfo(). Not a valid value for ulEnableEvent() and ulDisableEvent().
DaqEventType_DE_ON_DATA_AVAILABLE
Defines an event trigger condition that occurs when a specified number of samples are available.
DaqEventType_DE_ON_END_OF_INPUT_SCAN
Defines an event trigger condition that occurs upon completion of an input scan operation such as ulAInScan().
DaqEventType_DE_ON_END_OF_OUTPUT_SCAN
Defines an event trigger condition that occurs upon completion of an output scan operation such as ulAOutScan().
DaqEventType_DE_ON_INPUT_SCAN_ERROR
Defines an event trigger condition that occurs when an input scan error occurs.
DaqEventType_DE_ON_OUTPUT_SCAN_ERROR
Defines an event trigger condition that occurs when an output scan error occurs.
DaqIInfoItemDbl_DAQI_INFO_MAX_SCAN_RATE
Returns the maximum scan rate in samples per second to the \p infoValue argument. Index is ignored.
DaqIInfoItemDbl_DAQI_INFO_MAX_THROUGHPUT
Returns the minimum throughput to the \p infoValue argument. Index is ignored.
DaqIInfoItemDbl_DAQI_INFO_MIN_SCAN_RATE
Returns the minimum scan rate in samples per second to the \p infoValue argument. Index is ignored.
DaqIInfoItem_DAQI_INFO_CHAN_TYPES
Returns a bitmask of supported #DaqInChanType values to the \p infoValue argument. Index is ignored.
DaqIInfoItem_DAQI_INFO_FIFO_SIZE
Returns the FIFO size in bytes to the \p infoValue argument. Index is ignored.
DaqIInfoItem_DAQI_INFO_SCAN_OPTIONS
Returns a bitmask of supported #ScanOption values to the \p infoValue argument. Index is ignored.
DaqIInfoItem_DAQI_INFO_TRIG_TYPES
Returns a bitmask of supported #TriggerType values to the \p infoValue argument. Index is ignored.
DaqInChanType_DAQI_ANALOG_DIFF
Analog input channel, differential mode
DaqInChanType_DAQI_ANALOG_SE
Analog input channel, single-ended mode
DaqInChanType_DAQI_CTR16
16-bit counter channel.
DaqInChanType_DAQI_CTR32
32-bit counter channel.
DaqInChanType_DAQI_CTR48
48-bit counter channel.
DaqInChanType_DAQI_DAC
DAQI_CTR64
DaqInChanType_DAQI_DIGITAL
Digital channel
DaqInScanFlag_DAQINSCAN_FF_DEFAULT
Data is returned with scaling and calibration factors applied to analog channel data.
DaqInScanFlag_DAQINSCAN_FF_NOCALIBRATEDATA
Data for analog channels is returned without calibration factors applied.
DaqInScanFlag_DAQINSCAN_FF_NOCLEAR
Counters are not cleared (set to 0) when a scan starts.
DaqInScanFlag_DAQINSCAN_FF_NOSCALEDATA
Data for analog channels is returned in native format, without scaling applied.
DaqOInfoItemDbl_DAQO_INFO_MAX_SCAN_RATE
Returns the maximum scan rate in samples per second to the \p infoValue argument. Index is ignored.
DaqOInfoItemDbl_DAQO_INFO_MAX_THROUGHPUT
Returns the maximum throughput in samples per second to the \p infoValue argument. Index is ignored.
DaqOInfoItemDbl_DAQO_INFO_MIN_SCAN_RATE
Returns the minimum scan rate in samples per second to the \p infoValue argument. Index is ignored.
DaqOInfoItem_DAQO_INFO_CHAN_TYPES
Returns a bitmask of supported #DaqOutChanType values to the \p infoValue argument. Index is ignored.
DaqOInfoItem_DAQO_INFO_FIFO_SIZE
Returns the FIFO size in bytes to the \p infoValue argument. Index is ignored.
DaqOInfoItem_DAQO_INFO_SCAN_OPTIONS
Returns a bitmask of supported #ScanOption values to the \p infoValue argument. Index is ignored.
DaqOInfoItem_DAQO_INFO_TRIG_TYPES
Returns a bitmask of supported #TriggerType values to the \p infoValue argument. Index is ignored.
DaqOutChanType_DAQO_ANALOG
Analog output
DaqOutChanType_DAQO_DIGITAL
Digital output
DaqOutScanFlag_DAQOUTSCAN_FF_DEFAULT
The data buffer contains scaled data for analog channels, and calibration factors are applied to analog outputs.
DaqOutScanFlag_DAQOUTSCAN_FF_NOCALIBRATEDATA
Data for analog channels is output without calibration factors applied.
DaqOutScanFlag_DAQOUTSCAN_FF_NOSCALEDATA
Data for analog channels is in native format, without scaling applied.
DevConfigItemStr_DEV_CFG_IP_ADDR_STR
Returns the IP address of the Ethernet DAQ device
DevConfigItemStr_DEV_CFG_NET_IFC_STR
Returns the name of the network interface which is used to connect to the Ethernet DAQ device
DevConfigItemStr_DEV_CFG_VER_STR
Returns the version of the device system defined by the #DevVersionType value of the \p index argument
DevConfigItem_DEV_CFG_CONNECTION_CODE
The connection code stored in EEPROM. In order to modify the connection code, first the memory must be unlocked with #DEV_CFG_MEM_UNLOCK_CODE. Note: when the connection code is modified, the DAQ device must be reset with #DEV_CFG_RESET for the change to take effect.
DevConfigItem_DEV_CFG_HAS_EXP
Returns a non-zero value to \p configValue if an expansion board is attached; otherwise, returns zero.
DevConfigItem_DEV_CFG_MEM_UNLOCK_CODE
Memory unlock code. The unlock code is 0xAA55
DevConfigItem_DEV_CFG_RESET
Resets the DAQ device, this causes the DAQ device to disconnect from the host, ulConnectDaqDevice() must be invoked to re-establish the connection
DevInfoItem_DEV_INFO_DAQ_EVENT_TYPES
Returns a bitmask of #DaqEventType values to \p infoValue if events are supported; otherwise, returns zero. Index is ignored.
DevInfoItem_DEV_INFO_HAS_AI_DEV
Returns a non-zero value to \p infoValue if analog input is supported; otherwise, returns zero. Index is ignored.
DevInfoItem_DEV_INFO_HAS_AO_DEV
Returns a non-zero value to \p infoValue if analog output is supported; otherwise, returns zero. Index is ignored.
DevInfoItem_DEV_INFO_HAS_CTR_DEV
Returns a non-zero value to \p infoValue if counter input is supported; otherwise, returns zero. Index is ignored.
DevInfoItem_DEV_INFO_HAS_DAQI_DEV
Returns a non-zero value to \p infoValue if synchronous input is supported; otherwise, returns zero. Index is ignored.
DevInfoItem_DEV_INFO_HAS_DAQO_DEV
Returns a non-zero value to \p infoValue if synchronous output is supported. Index is ignored.
DevInfoItem_DEV_INFO_HAS_DIO_DEV
Returns a non-zero value to \p infoValue if digital I/O is supported; otherwise, returns zero. Index is ignored.
DevInfoItem_DEV_INFO_HAS_TMR_DEV
Returns a non-zero value to \p infoValue if timer output is supported; otherwise, returns zero. Index is ignored.
DevInfoItem_DEV_INFO_MEM_REGIONS
Returns a bitmask of #MemRegion values to \p infoValue, indicating memory regions available.
DevVersionType_DEV_VER_FPGA
FPGA version installed on the current device is returned to the \p configStr argument.
DevVersionType_DEV_VER_FW_MAIN
Firmware version installed on the current device is returned to the \p configStr argument.
DevVersionType_DEV_VER_FW_MEASUREMENT
Measurement firmware version installed on the current device is returned to the \p configStr argument.
DevVersionType_DEV_VER_FW_MEASUREMENT_EXP
Measurement firmware version installed on the expansion device attached to the current device is returned to the \p configStr argument.
DevVersionType_DEV_VER_RADIO
Radio firmware version installed on the current device is returned to the \p configStr argument.
DigitalDirection_DD_INPUT
Input
DigitalDirection_DD_OUTPUT
Output
DigitalPortIoType_DPIOT_BITIO
Bitwise configurable
DigitalPortIoType_DPIOT_IN
Fixed input port
DigitalPortIoType_DPIOT_IO
Bidirectional (input or output) port
DigitalPortIoType_DPIOT_NONCONFIG
Bidirectional (input or output) port; configuration is not required.
DigitalPortIoType_DPIOT_OUT
Fixed output port
DigitalPortType_AUXPORT
AuxPort
DigitalPortType_AUXPORT0
AuxPort0
DigitalPortType_AUXPORT1
AuxPort1
DigitalPortType_AUXPORT2
AuxPort2
DigitalPortType_EIGHTHPORTA
EighthPortA
DigitalPortType_EIGHTHPORTB
EighthPortB
DigitalPortType_EIGHTHPORTCH
EighthPortC High
DigitalPortType_EIGHTHPORTCL
EighthPortC Low
DigitalPortType_FIFTHPORTA
FifthPortA
DigitalPortType_FIFTHPORTB
FifthPortB
DigitalPortType_FIFTHPORTCH
FifthPortC High
DigitalPortType_FIFTHPORTCL
FifthPortC Low
DigitalPortType_FIRSTPORTA
FirstPortA
DigitalPortType_FIRSTPORTB
FirstPortB
DigitalPortType_FIRSTPORTC
FirstPortC
DigitalPortType_FIRSTPORTCH
FirstPortC High
DigitalPortType_FIRSTPORTCL
FirstPortC Low
DigitalPortType_FOURTHPORTA
FourthPortA
DigitalPortType_FOURTHPORTB
FourthPortB
DigitalPortType_FOURTHPORTCH
FourthPortC High
DigitalPortType_FOURTHPORTCL
FourthPortC Low
DigitalPortType_SECONDPORTA
SecondPortA
DigitalPortType_SECONDPORTB
SecondPortB
DigitalPortType_SECONDPORTCH
SecondPortC High
DigitalPortType_SECONDPORTCL
SecondPortC Low
DigitalPortType_SEVENTHPORTA
SeventhPortA
DigitalPortType_SEVENTHPORTB
SeventhPortB
DigitalPortType_SEVENTHPORTCH
SeventhPortC High
DigitalPortType_SEVENTHPORTCL
SeventhPortC Low
DigitalPortType_SIXTHPORTA
SixthPortA
DigitalPortType_SIXTHPORTB
SixthPortB
DigitalPortType_SIXTHPORTCH
SixthPortC High
DigitalPortType_SIXTHPORTCL
SixthPortC Low
DigitalPortType_THIRDPORTA
ThirdPortA
DigitalPortType_THIRDPORTB
ThirdPortB
DigitalPortType_THIRDPORTCH
ThirdPortC High
DigitalPortType_THIRDPORTCL
ThirdPortC Low
DioConfigItem_DIO_CFG_PORT_DIRECTION_MASK
Returns a bitmask value to \p configValue indicating the current direction of all bits in the specified port. A 0 indicates all bits are set for input, and non-zero value indicates the bit in the equivalent bitmask location is set for output.\n For example, a value of 3 indicates bits 0 and 1 are output, and any other bits in the port are input.
DioConfigItem_DIO_CFG_PORT_INITIAL_OUTPUT_VAL
Writes a value to the specified port number. This allows writing a value when the port is in input mode so that when the port is switched to output mode, the state of the bits is known.
DioConfigItem_DIO_CFG_PORT_ISO_FILTER_MASK
Returns or writes the low-pass filter setting. A 0 indicates that the filter is disabled for the corresponding bit.
DioConfigItem_DIO_CFG_PORT_LOGIC
Returns the port logic. A 0 indicates non-invert mode, and a non-zero value indicates output inverted.
DioInfoItemDbl_DIO_INFO_MAX_SCAN_RATE
Returns the maximum scan rate to the \p infoValue argument for the specified digital direction. The direction is specified by setting the \p index argument to one of the ::DigitalDirection values.
DioInfoItemDbl_DIO_INFO_MAX_THROUGHPUT
Returns the maximum throughput to the \p infoValue argument for the specified digital direction. The direction is specified by setting the \p index argument to one of the ::DigitalDirection values.
DioInfoItemDbl_DIO_INFO_MIN_SCAN_RATE
Returns the minimum scan rate to the \p infoValue argument for the specified digital direction. The direction is specified by setting the \p index argument to one of the ::DigitalDirection values.
DioInfoItem_DIO_INFO_FIFO_SIZE
Returns the FIFO size in bytes to the \p infoValue argument for the specified digital direction. The direction is specified by setting the \p index argument to one of the #DigitalDirection values.
DioInfoItem_DIO_INFO_HAS_PACER
Returns a non-zero value to \p infoValue if paced digital operation (scanning) is supported. Otherwise, returns zero. Index is ignored.
DioInfoItem_DIO_INFO_NUM_BITS
Returns a value to the \p infoValue argument indicating the number of bits the specified port has. The port is specified by the \p index argument value. Index should be less than the value obtained using ::DIO_INFO_NUM_PORTS.
DioInfoItem_DIO_INFO_NUM_PORTS
Returns the total number of digital ports to the \p infoValue argument. Index is ignored.
DioInfoItem_DIO_INFO_PORT_IO_TYPE
Returns a #DigitalPortIoType value to the \p infoValue argument indicating the input, output, and programmability information for the port specified by the \p index argument value. Index should be less than the value obtained using ::DIO_INFO_NUM_PORTS.
DioInfoItem_DIO_INFO_PORT_TYPE
Returns a #DigitalPortType value to the \p infoValue argument indicating the type of the port specified by the \p index argument value. Index should be less than the value obtained using ::DIO_INFO_NUM_PORTS.
DioInfoItem_DIO_INFO_SCAN_OPTIONS
Returns a bitmask of supported #ScanOption values to the \p infoValue argument for the specified digital direction. The direction is specified by setting the \p index argument to one of the #DigitalDirection values.
DioInfoItem_DIO_INFO_TRIG_TYPES
Returns a bitmask of supported #TriggerType values to the \p infoValue argument for the specified digital direction. The direction is specified by setting the \p index argument to one of the #DigitalDirection values.
ERR_MSG_LEN
IepeMode_IEPE_DISABLED
IEPE excitation current is disabled.
IepeMode_IEPE_ENABLED
IEPE excitation current is enabled.
MemAccessType_MA_READ
Indicates read access for the location specified by the \p memRegion argument
MemAccessType_MA_WRITE
Indicates write access for the location specified by the \p memRegion argument
MemRegion_MR_CAL
Specifies the calibration data region information returned to the MemDescriptor struct
MemRegion_MR_RESERVED0
Specifies the first reserved region information returned to the MemDescriptor struct
MemRegion_MR_SETTINGS
Specifies the data settings region information returned to the MemDescriptor struct
MemRegion_MR_USER
Specifies the user data region information returned to the MemDescriptor struct
NOCALIBRATEDATA
NOCLEAR
NOSCALEDATA
OtdMode_OTD_DISABLED
Open Thermocouple detection modes is disabled.
OtdMode_OTD_ENABLED
Open Thermocouple detection modes is enabled.
PulseOutOption_PO_DEFAULT
No PulseOut options are applied.
PulseOutOption_PO_EXTTRIGGER
The output operation is held off until the specified trigger condition is met. Trigger conditions may be modified using ulTmrSetTrigger().
PulseOutOption_PO_RETRIGGER
The output operation is held off until the specified trigger condition is met. The trigger is re-armed when the output operation completes. Intended to be used with a non-zero value set for the \p pulseCount argument (non-continuous timer output). Trigger conditions may be modified using ulTmrSetTrigger().
Range_BIP1PT25VOLTS
-1.25 to +1.25 Volts
Range_BIP1VOLTS
-1 to +1 Volts
Range_BIP2PT5VOLTS
-2.5 to +2.5 Volts
Range_BIP2VOLTS
-2.0 to +2.0 Volts
Range_BIP3VOLTS
-3.0 to +3.0 Volts
Range_BIP4VOLTS
-4 to +4 Volts
Range_BIP5VOLTS
-5 to +5 Volts
Range_BIP10VOLTS
-10 to +10 Volts
Range_BIP15VOLTS
-15 to +15 Volts
Range_BIP20VOLTS
-20 to +20 Volts
Range_BIP30VOLTS
-30 to +30 Volts
Range_BIP60VOLTS
-60 to +60 Volts
Range_BIPPT005VOLTS
-.005 to +.005 Volts
Range_BIPPT01VOLTS
-.01 to +.01 Volts
Range_BIPPT05VOLTS
-.05 to +.05 Volts
Range_BIPPT078VOLTS
-0.078 to +0.078 Volts
Range_BIPPT1VOLTS
-.1 to +.1 Volts
Range_BIPPT2VOLTS
-0.2 to +0.2 Volts
Range_BIPPT5VOLTS
-.5 to +.5 Volts
Range_BIPPT25VOLTS
-0.25 to +0.25 Volts
Range_BIPPT125VOLTS
-0.125 to +0.125 Volts
Range_BIPPT156VOLTS
-.156 to +.156 Volts
Range_BIPPT312VOLTS
-.312 to +.312 Volts
Range_BIPPT625VOLTS
-.625 to +.625 Volts
Range_MA0TO20
0 to 20 Milliamps
Range_UNI1PT25VOLTS
0 to +1.25 Volts
Range_UNI1VOLTS
0 to +1 Volts
Range_UNI2PT5VOLTS
0 to +2.5 Volts
Range_UNI2VOLTS
0 to +2.0 Volts
Range_UNI4VOLTS
0 to +4 Volts
Range_UNI5VOLTS
0 to +5 Volts
Range_UNI10VOLTS
0 to +10 Volts
Range_UNI15VOLTS
0 to +15 Volts
Range_UNI20VOLTS
0 to +20 Volts
Range_UNI30VOLTS
0 to +30 Volts
Range_UNI60VOLTS
0 to +60 Volts
Range_UNIPT005VOLTS
0 to +.005 Volts
Range_UNIPT01VOLTS
0 to +.01 Volts
Range_UNIPT05VOLTS
0 to +.05 Volts
Range_UNIPT078VOLTS
0 to +0.078 Volts
Range_UNIPT1VOLTS
0 to +.1 Volts
Range_UNIPT2VOLTS
0 to +0.2 Volts
Range_UNIPT5VOLTS
0 to +.5 Volts
Range_UNIPT25VOLTS
0 to +0.25 Volts
Range_UNIPT125VOLTS
0 to +0.125 Volts
Range_UNIPT625VOLTS
0 to +.625 Volts
SIMULTANEOUS
ScanOption_SO_BLOCKIO
Transfers A/D data in blocks.
ScanOption_SO_BURSTIO
Transfers A/D data from the FIFO after the scan completes. Allows maximum rates for finite scans up to the full capacity of the FIFO. Not recommended for slow acquisition rates.
ScanOption_SO_BURSTMODE
Enables burst mode sampling, minimizing the channel skew.
ScanOption_SO_CONTINUOUS
Scans data in an endless loop. The only way to stop the operation is with ulAInScanStop().
ScanOption_SO_DEFAULTIO
Transfers A/D data based on the board type and sampling speed.
ScanOption_SO_EXTCLOCK
Data conversions are controlled by an external clock signal.
ScanOption_SO_EXTTIMEBASE
Changes the internal clock’s timebase to an external timebase source. This can allow synchronization of multiple DAQ devices.
ScanOption_SO_EXTTRIGGER
Sampling begins when a trigger condition is met.
ScanOption_SO_PACEROUT
Enables or disables the internal pacer output on a DAQ device.
ScanOption_SO_RETRIGGER
Re-arms the trigger after a trigger event is performed.
ScanOption_SO_SINGLEIO
Transfers one packet of data at a time.
ScanOption_SO_TIMEBASEOUT
Enables or disables the internal timebase output on a DAQ device.
ScanStatus_SS_IDLE
Scan is idle
ScanStatus_SS_RUNNING
Scan is running
SensorConnectionType_SCT_2_WIRE_1
2-wire with a single sensor per differential channel pair
SensorConnectionType_SCT_2_WIRE_2
2-wire with two sensors per differential channel pair
SensorConnectionType_SCT_3_WIRE
3-wire with a single sensor per differential channel pair
SensorConnectionType_SCT_4_WIRE
4-wire with a single sensor per differential channel pair
TInArrayFlag_TINARRAY_FF_DEFAULT
Placeholder value. Standard functionality.
TInArrayFlag_TINARRAY_FF_WAIT_FOR_NEW_DATA
Wait for new data before returning.
TInFlag_TIN_FF_DEFAULT
Placeholder value. Standard functionality.
TInFlag_TIN_FF_WAIT_FOR_NEW_DATA
Wait for new data before returning.
TcType_TC_B
Type B
TcType_TC_E
Type E
TcType_TC_J
Type J
TcType_TC_K
Type K
TcType_TC_N
Type N
TcType_TC_R
Type R
TcType_TC_S
Type S
TcType_TC_T
Type T
TempScale_TS_CELSIUS
Celcius
TempScale_TS_FAHRENHEIT
Fahrenheit
TempScale_TS_KELVIN
Kelvin
TempScale_TS_NOSCALE
No scale (Raw)
TempScale_TS_VOLTS
Volts
TempUnit_TU_CELSIUS
Celcius
TempUnit_TU_FAHRENHEIT
Fahrenheit
TempUnit_TU_KELVIN
Kelvin
TimerType_TMR_ADVANCED
Programmable frequency timer, plus other attributes such as pulse width.
TimerType_TMR_STANDARD
Programmable frequency timer
TmrIdleState_TMRIS_HIGH
Idle high
TmrIdleState_TMRIS_LOW
Idle low
TmrInfoItemDbl_TMR_INFO_MAX_FREQ
Returns the maximum output frequency to the \p infoValue argument. Index is ignored.
TmrInfoItemDbl_TMR_INFO_MIN_FREQ
Returns the minimum output frequency to the \p infoValue argument. Index is ignored.
TmrInfoItem_TMR_INFO_NUM_TMRS
Returns the total number of timers to the \p infoValue argument. Index is ignored.
TmrInfoItem_TMR_INFO_TYPE
Returns a #TimerType value to the \p infoValue argument, indicating the type of the timer specified by the \p index argument value. Index should be less than the value obtained using ::TMR_INFO_NUM_TMRS.
TmrStatus_TMRS_IDLE
The timer is currently idle.
TmrStatus_TMRS_RUNNING
The timer is currently running.
TriggerType_GATE_ABOVE
An analog trigger. The operation is enabled only when the trigger input is above the threshold specified by the \p level argument value.
TriggerType_GATE_BELOW
An analog trigger. The operation is enabled only when the trigger input is below the threshold specified by the \p level argument value.
TriggerType_GATE_HIGH
A digital gate. The operation is enabled only when the trigger input is at a logic high level.
TriggerType_GATE_IN_WINDOW
Scanning is enabled as long as the external analog trigger is inside the region defined by the \p level argument value and the \p variance argument value.
TriggerType_GATE_LOW
A digital gate. The operation is enabled only when the trigger input is at a logic low level.
TriggerType_GATE_OUT_WINDOW
Scanning is enabled as long as the external analog trigger is outside the region defined by the \p level argument value and the \p variance argument value.
TriggerType_TRIG_ABOVE
An analog trigger. The trigger condition is met when the trigger input is above the threshold specified by the \p level argument value.
TriggerType_TRIG_BELOW
An analog trigger. The trigger condition is met when the trigger input is below the threshold specified by the \p level argument value.
TriggerType_TRIG_FALLING
An analog trigger. The trigger condition is met when the trigger input transitions from above the threshold specified by (the \p level argument value plus the \p variance argument value) to below the threshold specified by the \p level argument value.
TriggerType_TRIG_HIGH
A digital trigger. The trigger condition is met when the trigger input is at a logic high level.
TriggerType_TRIG_LOW
A digital trigger. The trigger condition is met when the trigger input is at a logic low level.
TriggerType_TRIG_NEG_EDGE
A digital trigger. The trigger condition is met when the trigger input transitions from a logic high level to a logic low level.
TriggerType_TRIG_NONE
No trigger type. Valid for subsystem GetInfo functions; not a valid value for subsystem SetTrigger functions.
TriggerType_TRIG_PATTERN_ABOVE
A digital pattern trigger. The trigger condition is met when the digital pattern at the trigger input is greater than the pattern specified by the \p level argument value ANDed with bitwise mask specified by the \p variance argument value of the SetTrigger function for each subsystem. Value is determined by additive bit weights.
TriggerType_TRIG_PATTERN_BELOW
A digital pattern trigger. The trigger condition is met when the digital pattern at the trigger input is less than the pattern specified by the \p level argument value ANDed with bitwise mask specified by the \p variance argument value of the SetTrigger function for each subsystem. Value is determined by additive bit weights.
TriggerType_TRIG_PATTERN_EQ
A digital pattern trigger. The trigger condition is met when the digital pattern at the trigger input is equal to the pattern specified by the \p level argument value ANDed with bitwise mask specified by the \p variance argument value of the SetTrigger function for each subsystem.
TriggerType_TRIG_PATTERN_NE
A digital pattern trigger. The trigger condition is met when the digital pattern at the trigger input is not equal to the pattern specified by the \p level argument value ANDed with bitwise mask specified by the variance \p argument value of the SetTrigger function for each subsystem.
TriggerType_TRIG_POS_EDGE
A digital trigger. The trigger condition is met when the trigger input transitions from a logic low level to a logic high level. This is the default condition used when triggering is enabled. All others require configuration using the subsystem SetTrigger functions.
TriggerType_TRIG_RISING
An analog trigger. The trigger condition is met when the trigger input transitions from below the threshold specified by (the \p level argument value minus the \p variance argument value) to above the threshold specified by the \p level argument value.
UlConfigItem_UL_CFG_USB_XFER_PRIORITY
UlError_ERR_ADC_OVERRUN
ADC overrun occurred
UlError_ERR_ALREADY_ACTIVE
A background process is already in progress
UlError_ERR_BAD_AI_CHAN
Invalid analog input channel specified
UlError_ERR_BAD_AI_CHAN_QUEUE
Invalid channel queue specified
UlError_ERR_BAD_AI_CHAN_TYPE
Invalid analog input channel type specified
UlError_ERR_BAD_AI_GAIN_QUEUE
Invalid gain queue specified
UlError_ERR_BAD_AI_MODE_QUEUE
Invalid mode queue specified
UlError_ERR_BAD_AO_CHAN
Invalid analog output channel specified
UlError_ERR_BAD_ARG
Invalid argument
UlError_ERR_BAD_BIT_NUM
Invalid bit number
UlError_ERR_BAD_BUFFER
Invalid buffer
UlError_ERR_BAD_BUFFER_SIZE
Buffer too small for operation
UlError_ERR_BAD_BURSTIO_COUNT
Sample count cannot be greater than FIFO size for BURSTIO scans
UlError_ERR_BAD_CALLBACK_FUCNTION
Invalid callback function specified
UlError_ERR_BAD_CHAN_ORDER
Invalid channel order
UlError_ERR_BAD_CONFIG_ITEM
Invalid config item specified
UlError_ERR_BAD_CONFIG_VAL
Invalid configuration value
UlError_ERR_BAD_CONNECTION_CODE
Invalid connection code
UlError_ERR_BAD_COUPLING_MODE
Invalid coupling mode
UlError_ERR_BAD_CTR
Invalid counter specified
UlError_ERR_BAD_CTR_MEASURE_MODE
Invalid counter measurement mode specified
UlError_ERR_BAD_CTR_MEASURE_TYPE
Invalid counter measurement type specified
UlError_ERR_BAD_CTR_REG
Invalid counter register specified
UlError_ERR_BAD_CTR_VAL
Invalid counter value specified
UlError_ERR_BAD_DAQI_CHAN_TYPE
Invalid DAQ input channel type specified
UlError_ERR_BAD_DAQO_CHAN_TYPE
Invalid DAQ output channel type specified
UlError_ERR_BAD_DA_VAL
Invalid D/A output value specified
UlError_ERR_BAD_DEBOUNCE_MODE
Invalid debounce mode specified
UlError_ERR_BAD_DEBOUNCE_TIME
Invalid debounce time specified
UlError_ERR_BAD_DEV_HANDLE
Invalid device handle
UlError_ERR_BAD_DEV_TYPE
This function cannot be used with this device
UlError_ERR_BAD_DEV_VER
This function cannot be used with this version of the device
UlError_ERR_BAD_DIG_OPERATION
This digital operation is not supported on the specified port
UlError_ERR_BAD_DUTY_CYCLE
Invalid duty cycle specified
UlError_ERR_BAD_EDGE_DETECTION
Invalid edge detection mode specified
UlError_ERR_BAD_EVENT_PARAMETER
Invalid event parameter specified
UlError_ERR_BAD_EVENT_TYPE
Invalid event type specified
UlError_ERR_BAD_FLAG
Invalid flag specified
UlError_ERR_BAD_FREQUENCY
Invalid frequency specified
UlError_ERR_BAD_IEPE_MODE
Invalid IEPE mode
UlError_ERR_BAD_INFO_ITEM
Invalid info item specified
UlError_ERR_BAD_INITIAL_DELAY
Invalid initial delay specified
UlError_ERR_BAD_INPUT_MODE
Invalid input mode specified
UlError_ERR_BAD_MEM_ADDRESS
Invalid memory address
UlError_ERR_BAD_MEM_REGION
Invalid memory region
UlError_ERR_BAD_MEM_TYPE
Invalid memory type
UlError_ERR_BAD_NET_BUFFER
Invalid network buffer
UlError_ERR_BAD_NET_FRAME
Invalid network frame
UlError_ERR_BAD_NET_HOST
Invalid host specified
UlError_ERR_BAD_NET_IFC
Specified network interface is not available or disconnected
UlError_ERR_BAD_NET_PORT
Invalid port specified
UlError_ERR_BAD_NUM_CHANS
Invalid number of channels specified
UlError_ERR_BAD_OPTION
Invalid option specified
UlError_ERR_BAD_PORT_INDEX
Invalid digital port index specified
UlError_ERR_BAD_PORT_TYPE
Invalid port type specified
UlError_ERR_BAD_PORT_VAL
Invalid port value specified
UlError_ERR_BAD_QUEUE_SIZE
Invalid queue size
UlError_ERR_BAD_RANGE
Invalid range
UlError_ERR_BAD_RATE
Invalid sampling rate specified
UlError_ERR_BAD_RETRIG_COUNT
Invalid re-trigger count
UlError_ERR_BAD_RETRIG_TRIG_TYPE
Re-trigger option is not supported for the specified trigger type
UlError_ERR_BAD_SAMPLE_COUNT
Invalid sample count specified
UlError_ERR_BAD_SENSOR_SENSITIVITY
Invalid sensor sensitivity
UlError_ERR_BAD_TC_TYPE
Invalid thermocouple type specified
UlError_ERR_BAD_TICK_SIZE
Invalid tick size specified
UlError_ERR_BAD_TMR
Invalid timer specified
UlError_ERR_BAD_TRIG_CHANNEL
Invalid trigger channel specified
UlError_ERR_BAD_TRIG_LEVEL
Invalid trigger level specified
UlError_ERR_BAD_TRIG_TYPE
Invalid trigger type specified
UlError_ERR_BAD_UNIT
Invalid unit specified
UlError_ERR_BIT_USED_FOR_ALARM
The specified bit is used for alarm
UlError_ERR_CMR_EXCEEDED
Common-mode voltage range exceeded
UlError_ERR_CONFIG_NOT_SUPPORTED
Configuration not supported
UlError_ERR_CONNECTION_CODE_IGNORED
Connection code ignored
UlError_ERR_DATA_SOCKET_CONNECTION_FAILED
Data socket connection failed
UlError_ERR_DEAD_DEV
Device no longer responding
UlError_ERR_DEV_NOT_CONNECTED
Device not connected or connection lost
UlError_ERR_DEV_NOT_FOUND
Device not found
UlError_ERR_DEV_NOT_READY
Device is not ready to send data
UlError_ERR_DEV_UNAVAILABLE
Device is not available at time of request
UlError_ERR_EVENT_ALREADY_ENABLED
An event handler has already been enabled for this event type
UlError_ERR_FPGA_FILE_NOT_FOUND
FPGA file not found
UlError_ERR_INCOMPATIBLE_FIRMWARE
Incompatible firmware version, firmware update required
UlError_ERR_INTERNAL
Internal error
UlError_ERR_MAX_OFFSET_VAL_REACHED
Maximum offset value reached
UlError_ERR_MAX_SLOPE_VAL_REACHED
Maximum slope value reached
UlError_ERR_MEM_ACCESS_DENIED
Memory access denied
UlError_ERR_MIN_OFFSET_VAL_REACHED
Minimum offset value reached
UlError_ERR_MIN_SLOPE_VAL_REACHED
Minimum slope value reached
UlError_ERR_NET_BUFFER_OVERRUN
Network buffer overrun, data was not transferred from buffer fast enough
UlError_ERR_NET_CONNECTION_FAILED
Network connection failed
UlError_ERR_NET_DEV_IN_USE
Network device already in use
UlError_ERR_NET_IFC_UNAVAILABLE
Network interface used to obtain the device descriptor not available or disconnected
UlError_ERR_NET_TIMEOUT
Network device did not respond within expected time
UlError_ERR_NO_CONNECTION_ESTABLISHED
No connection established
UlError_ERR_NO_ERROR
No error has occurred
UlError_ERR_NO_FPGA
FPGA not loaded
UlError_ERR_OPEN_CONNECTION
Temperature input has open connection
UlError_ERR_OVERRUN
FIFO overrun, data was not transferred from device fast enough
UlError_ERR_PACER_OVERRUN
Pacer overrun, external clock rate too fast.
UlError_ERR_PORT_USED_FOR_ALARM
One or more bits on the specified port are used for alarm
UlError_ERR_TEMP_OUT_OF_RANGE
Temperature input is out of range
UlError_ERR_TIMEDOUT
Operation timed out
UlError_ERR_TRIG_THRESHOLD_OUT_OF_RANGE
Trigger threshold is out of range
UlError_ERR_UNABLE_TO_READ_FPGA_FILE
Unable to read FPGA file
UlError_ERR_UNDERRUN
FIFO underrun, data was not transferred to device fast enough
UlError_ERR_UNHANDLED_EXCEPTION
Unhandled internal exception
UlError_ERR_USB_DEV_NO_PERMISSION
Insufficient permission to access this device
UlError_ERR_USB_INTERFACE_CLAIMED
USB interface is already claimed
UlError_ERR_WRONG_DIG_CONFIG
Digital I/O is configured incorrectly
UlInfoItemStr_UL_INFO_VER_STR
WaitType_WAIT_UNTIL_DONE
Function returns when the scan operation completes or the time specified by the \p timeout argument value elapses.

Functions§

ulAIGetConfig
\ingroup AnalogInput Use with #AiConfigItem to retrieve configuration options set for a device. @param daqDeviceHandle the handle to the DAQ device @param configItem the configuration item to retrieve @param index either ignored or an index into the \p configValue @param configValue the specified configuration value is returned to this variable @return The UL error code.
ulAIGetConfigDbl
\ingroup AnalogInput Use with #AiConfigItem to retrieve configuration options set for a device. @param daqDeviceHandle the handle to the DAQ device @param configItem the configuration item to retrieve @param index either ignored or an index into the \p configValue @param configValue the specified configuration value is returned to this variable @return The UL error code.
ulAIGetConfigStr
\ingroup AnalogInput Use with #AiConfigItemStr to retrieve configuration options as a null-terminated string. @param daqDeviceHandle the handle to the DAQ device @param configItem the configuration item to retrieve @param index either ignored or an index into the configStr @param configStr pointer to the buffer where the configuration string is copied @param maxConfigLen pointer to the value holding the maximum number of bytes to be read from the device into configStr @return The UL error code.
ulAIGetInfo
\ingroup AnalogInput Use with #AiInfoItem to retrieve information about the AI subsystem. @param daqDeviceHandle the device the handle to the DAQ device @param infoItem the analog input information to retrieve @param index either ignored or an index into the \p infoValue, depending on the value of the \p infoItem argument. \p index can also the specify channel mode or channel type for some AiInfoItems (::AI_INFO_NUM_CHANS_BY_MODE, ::AI_INFO_NUM_CHANS_BY_TYPE, and ::AI_INFO_MAX_QUEUE_LENGTH_BY_MODE) @param infoValue the AI information is returned to this variable @return The UL error code.
ulAIGetInfoDbl
\ingroup AnalogInput Use with #AiInfoItemDbl to retrieve information about the AI subsystem. @param daqDeviceHandle the handle to the DAQ device @param infoItem the analog input information to retrieve @param index either ignored or an index into the \p infoValue. This argument can also specify the channel mode or channel type for some #AiInfoItem values (::AI_INFO_NUM_CHANS_BY_MODE, ::AI_INFO_NUM_CHANS_BY_TYPE, and ::AI_INFO_MAX_QUEUE_LENGTH_BY_MODE). @param infoValue the AI information is returned to this variable @return The UL error code.
ulAISetConfig
\ingroup AnalogInput Use with #AiConfigItem to set configuration options at runtime. @param daqDeviceHandle the handle to the DAQ device @param configItem the configuration item to set @param index either ignored or an index into the \p configValue @param configValue the value to set the specified configuration item to @return The UL error code.
ulAISetConfigDbl
\ingroup AnalogInput Use with #AiConfigItemDbl to set configuration options at runtime. @param daqDeviceHandle the handle to the DAQ device @param configItem the configuration item to set @param index either ignored or an index into the \p configValue @param configValue the value to set the specified configuration item to @return The UL error code.
ulAIn
Returns the value read from an A/D channel. @param daqDeviceHandle the handle to the DAQ device @param channel A/D channel number @param inputMode A/D channel mode @param range A/D range @param flags bit mask that specifies whether to scale and/or calibrate the data @param data A/D data value @return The UL error code.
ulAInLoadQueue
Loads the A/D queue of a specified device. @param daqDeviceHandle the handle to the DAQ device @param queue[] an array of AiQueueElement structs, each of which contains fields specifying channel, range, and mode @param numElements the number of elements in the queue @return The UL error code.
ulAInScan
Scans a range of A/D channels, and stores the samples in an array. @param daqDeviceHandle the handle to the DAQ device @param lowChan first A/D channel in the scan @param highChan last A/D channel in the scan @param inputMode A/D channel mode @param range A/D range @param samplesPerChan the number of A/D samples to collect from each channel in the scan @param rate A/D sample rate in samples per channel per second. Upon return, this value is set to the actual sample rate. @param options bit mask that specifies A/D scan options @param flags bit mask that specifies whether to scale and/or calibrate the data @param data[] pointer to the buffer to receive the data array @return The UL error code.
ulAInScanStatus
Returns the status, count, and index of an A/D scan operation. @param daqDeviceHandle the handle to the DAQ device @param status the status of the background operation (idle or running) @param xferStatus a TransferStatus struct containing fields that return the current sample count, scan count, and buffer index for the specified input scan operation @return The UL error code.
ulAInScanStop
Stops the analog input operation currently running. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
ulAInScanWait
Returns when the scan operation completes on the specified device, or the time specified by the \p timeout argument elapses. @param daqDeviceHandle the handle to the DAQ device @param waitType the wait type @param waitParam Reserved for future use @param timeout the timeout value in seconds (s); set to -1 to wait indefinitely for the scan operation to end. @return The UL error code.
ulAInSetTrigger
Configures the trigger parameters that will be used when #ulAInScan() is called with the ::SO_RETRIGGER or ::SO_EXTTRIGGER ScanOption. @param daqDeviceHandle the handle to the DAQ device @param type type of trigger @param trigChan the trigger channel; ignored if \p type is set to ::TRIG_POS_EDGE, ::TRIG_NEG_EDGE, ::TRIG_HIGH, ::TRIG_LOW, ::GATE_HIGH, ::GATE_LOW, ::TRIG_RISING, or ::TRIG_FALLING. @param level the level at or around which the trigger event should be detected; ignored if \p type is set to ::TRIG_POS_EDGE, ::TRIG_NEG_EDGE, ::TRIG_HIGH, ::TRIG_LOW, ::GATE_HIGH, ::GATE_LOW, ::TRIG_RISING, or ::TRIG_FALLING. @param variance the degree to which the input signal can vary relative to the \p level parameter; ignored for all types where \p level is ignored. For pattern triggering, this argument serves as the mask value. @param retriggerSampleCount the number of samples per trigger to acquire with each trigger event; ignored unless the ::SO_RETRIGGER ScanOption is set for the scan. @return The UL error code.
ulAOGetConfig
\ingroup AnalogOutput Use with #AoConfigItem to retrieve configuration options set for a device. @param daqDeviceHandle the handle to the DAQ device @param configItem the configuration item to retrieve @param index either ignored or an index into the \p configValue @param configValue the specified configuration value is returned to this variable @return The UL error code.
ulAOGetInfo
\ingroup AnalogOutput Use with #AoInfoItem to retrieve information about the AO subsystem. @param daqDeviceHandle the handle to the DAQ device @param infoItem the analog output information to retrieve @param index either ignored or an index into the \p infoValue, depending on the value of the \p infoItem argument @param infoValue the AO information is returned to this variable @return The UL error code.
ulAOGetInfoDbl
\ingroup AnalogOutput Use with #AoInfoItemDbl to retrieve information about the AO subsystem. @param daqDeviceHandle the handle to the DAQ device @param infoItem the analog output information to retrieve @param index either ignored or an index into the \p infoValue @param infoValue the AO information is returned to this variable @return The UL error code.
ulAOSetConfig
\ingroup AnalogOutput Use with #AoConfigItem to set configuration options at runtime. @param daqDeviceHandle the handle to the DAQ device @param configItem the configuration item to set @param index either ignored or an index into the \p configValue @param configValue the value to set the specified configuration item to @return The UL error code.
ulAOut
Writes the value of a D/A output. @param daqDeviceHandle the handle to the DAQ device @param channel D/A channel number @param range D/A range @param flags bit mask that specifies whether to scale and/or calibrate the data @param data the value to write @return The UL error code.
ulAOutArray
Writes values to a range of D/A channels. @param daqDeviceHandle the handle to the DAQ device @param lowChan first D/A channel @param highChan last D/A channel @param range D/A ranges @param flags bit mask that specifies whether to scale and/or calibrate the data @param data[] a pointer to an array that stores the data @return The UL error code.
ulAOutScan
Writes values to a range of D/A channels. @param daqDeviceHandle the handle to the DAQ device @param lowChan first D/A channel in the scan @param highChan last D/A channel in the scan @param range D/A range @param samplesPerChan the number of D/A samples to output @param rate the sample rate in scans per second. Upon return, this value is set to the actual sample rate. @param options bit mask that specifies D/A scan options @param flags bit mask that specifies whether to scale and/or calibrate the data @param data[] a pointer to an array that stores the data @return The UL error code.
ulAOutScanStatus
Returns the status, count, and index of a D/A scan operation. @param daqDeviceHandle the handle to the DAQ device @param status the status of the background operation @param xferStatus a TransferStatus struct containing fields that return the current sample count, scan count, and buffer index for the specified output scan operation @return The UL error code.
ulAOutScanStop
Stops the analog output operation currently running. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
ulAOutScanWait
Returns when the scan operation completes on the specified device, or the time specified by the \p timeout argument elapses. @param daqDeviceHandle the handle to the DAQ device @param waitType the wait type @param waitParam Reserved for future use @param timeout the timeout value in seconds (s); set to -1 to wait indefinitely for the scan operation to end. @return The UL error code.
ulAOutSetTrigger
Configures the trigger parameters that will be used when #ulAOutScan() is called with the ::SO_RETRIGGER or ::SO_EXTTRIGGER ScanOption. @param daqDeviceHandle the handle to the DAQ device @param type the trigger type @param trigChan the trigger channel; ignored if \p type is set to ::TRIG_POS_EDGE, ::TRIG_NEG_EDGE, ::TRIG_HIGH, ::TRIG_LOW, ::GATE_HIGH, ::GATE_LOW, ::TRIG_RISING, or ::TRIG_FALLING. @param level the level at or around which the trigger event should be detected; ignored if \p type is set to ::TRIG_POS_EDGE, ::TRIG_NEG_EDGE, ::TRIG_HIGH, ::TRIG_LOW, ::GATE_HIGH, ::GATE_LOW, ::TRIG_RISING, or ::TRIG_FALLING. @param variance the degree to which the input signal can vary relative to the \p level parameter; ignored for all types where \p level is ignored. For pattern triggering, this argument serves as the mask value. @param retriggerSampleCount the number of samples to generate with each trigger event; ignored unless the ::SO_RETRIGGER ScanOption is set for the scan. @return The UL error code.
ulCClear
Sets the count of the specified counter to 0. @param daqDeviceHandle the handle to the DAQ device @param counterNum the counter number @return The UL error code.
ulCConfigScan
Configures a counter channel, for counters with programmable types. @param daqDeviceHandle the handle to the DAQ device @param counterNum the counter number @param type the type of counter measurement @param mode the counter mode @param edgeDetection sets the active edge of the counter input signal to positive or negative @param tickSize bit mask that specifies the counter resolution for measurement modes such as period, pulse width, and timing @param debounceMode bit mask that specifies the counter debounce mode @param debounceTime bit mask that specifies the counter debounce time @param flags bit mask that specifies counting properties such as resolution and clear on scan start @return The UL error code.
ulCIn
Reads the value of a count register. Use ulCRead() to read any available register type (count, load, max limit, or min limit). @param daqDeviceHandle the handle to the DAQ device @param counterNum the counter number @param data the data value @return The UL error code.
ulCInScan
Reads a range of counter channels. @param daqDeviceHandle the handle to the DAQ device @param lowCounterNum the first channel of the scan @param highCounterNum the last channel of the scan @param samplesPerCounter the number of samples per counter to read @param rate the rate in samples per second per counter. Upon return, this value is set to the actual sample rate. @param options scan options @param flags bit mask that specifies the counter scan option @param data[] pointer to the buffer to receive the data @return The UL error code.
ulCInScanStatus
Returns the status of a counter input operation. @param daqDeviceHandle the handle to the DAQ device @param status the status of the background operation @param xferStatus a TransferStatus struct containing fields that return the current sample count, scan count, and buffer index for the specified input scan operation @return The UL error code.
ulCInScanStop
Stops the counter input operation currently running. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
ulCInScanWait
Returns when the scan operation completes on the specified device, or the time specified by the \p timeout argument elapses. @param daqDeviceHandle the handle to the DAQ device @param waitType the wait type @param waitParam Reserved for future use @param timeout the timeout value in seconds (s); set to -1 to wait indefinitely for the scan operation to end. @return The UL error code.
ulCInSetTrigger
Configures the trigger parameters that will be used when ulCInScan() is called with the ::SO_RETRIGGER or ::SO_EXTTRIGGER ScanOption. @param daqDeviceHandle the handle to the DAQ device @param type the trigger type @param trigChan the trigger channel; ignored if \p type is set to ::TRIG_POS_EDGE, ::TRIG_NEG_EDGE, ::TRIG_HIGH, ::TRIG_LOW, ::GATE_HIGH, ::GATE_LOW, ::TRIG_RISING, or ::TRIG_FALLING @param level the level at or around which the trigger event should be detected; ignored if \p type is set to ::TRIG_POS_EDGE, ::TRIG_NEG_EDGE, ::TRIG_HIGH, ::TRIG_LOW, ::GATE_HIGH, ::GATE_LOW, ::TRIG_RISING, or ::TRIG_FALLING @param variance the degree to which the input signal can vary relative to the \p level parameter; ignored for all types where \p level is ignored. For pattern triggering, this argument serves as the mask value. @param retriggerSampleCount the number of samples to acquire with each trigger event; ignored unless the ::SO_RETRIGGER ScanOption is set for the scan. @return The UL error code.
ulCLoad
Loads a value into the specified counter register. @param daqDeviceHandle the handle to the DAQ device @param counterNum the counter number @param registerType the register type @param loadValue the load value @return The UL error code.
ulCRead
Reads the value of the specified counter register. @param daqDeviceHandle the handle to the DAQ device @param counterNum the counter number @param regType the register type @param data the data value @return The UL error code.
ulConnectDaqDevice
Establish a connection to a physical DAQ device. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
ulCreateDaqDevice
Create a device object within the Universal Library for the DAQ device specified by the descriptor. @param daqDevDescriptor DaqDeviceDescriptor struct containing fields that describe the device @return The device handle.
ulCreateDaqDevicePtr
Create a device object within the Universal Library for the DAQ device specified by the descriptor. This function intended to be used by languages that don’t have capability to pass structures by value. i.e LabVIEW, VB, … @param daqDevDescriptor DaqDeviceDescriptor struct containing fields that describe the device @return The device handle.
ulCtrGetConfig
\ingroup CounterInput Use with #CtrConfigItem to retrieve configuration options set for a device. @param daqDeviceHandle the handle to the DAQ device @param configItem the configuration item to retrieve @param index either ignored or an index into the \p configValue @param configValue the specified configuration value is returned to this variable @return The UL error code.
ulCtrGetInfo
\ingroup CounterInput Use with #CtrInfoItem to retrieve information about the counter subsystem. @param daqDeviceHandle the handle to the DAQ device @param infoItem the counter information to retrieve @param index either ignored or an index into the \p infoValue, depending on the value of the \p infoItem argument @param infoValue the counter information is returned to this variable @return The UL error code.
ulCtrGetInfoDbl
\ingroup CounterInput Use with #CtrInfoItemDbl to retrieve information about the counter subsystem. @param daqDeviceHandle the handle to the DAQ device @param infoItem the counter information to retrieve @param index either ignored or an index into the \p infoValue, depending on the value of the \p infoItem argument @param infoValue the counter information is returned to this variable @return The UL error code.
ulCtrSetConfig
\ingroup CounterInput Use with #CtrConfigItem to set configuration options at runtime. @param daqDeviceHandle the handle to the DAQ device @param configItem the configuration item to set @param index either ignored or an index into the \p configValue @param configValue the value to set the specified configuration item to @return The UL error code.
ulDBitIn
Returns the value of a digital bit. @param daqDeviceHandle the handle to the DAQ device @param portType the digital port containing the bit to be read @param bitNum the bit number @param bitValue the number of the bit within the port specified by \p portType @return The UL error code.
ulDBitOut
Writes a value to a digital bit. @param daqDeviceHandle the handle to the DAQ device @param portType the digital port containing the bit to be written @param bitNum the number of the bit within the port specified by \p portType to be written @param bitValue the bit value to write @return The UL error code.
ulDClearAlarm
Clears the alarm state for specified bits when alarms are configured to latch. Once the alarm condition is resolved, this function can be used to clear the latched alarm. @param daqDeviceHandle the handle to the DAQ device @param portType the port containing the bit(s) to clear; the specified port must be configurable for alarm output. @param mask bit mask that specifies which bits to clear; set to all 1s to clear all bits in the port. @return The UL error code.
ulDConfigBit
Configures a digital bit as input or output. @param daqDeviceHandle the handle to the DAQ device @param portType the digital port containing the bit to configure; the port must be configurable. @param bitNum the bit number within the specified port @param direction the bit direction (input or output) @return The UL error code.
ulDConfigPort
Configures a digital port as input or output. @param daqDeviceHandle the handle to the DAQ device @param portType the digital port; the port must be configurable @param direction the port direction (input or output) @return The UL error code.
ulDIOGetConfig
\ingroup DigitalIO Use with #DioConfigItem to retrieve the current configuration about the DIO subsystem. @param daqDeviceHandle the handle to the DAQ device @param configItem the configuration item to retrieve @param index the port index @param configValue the specified configuration value is returned to this variable @return The UL error code.
ulDIOGetInfo
\ingroup DigitalIO Use with #DioInfoItem to retrieve information about the DIO subsystem. @param daqDeviceHandle the handle to the DAQ device @param infoItem the digital I/O information to retrieve @param index an index into the \p infoValue, depending on the value of the \p infoItem argument; usually specifies port direction (::DD_INPUT or ::DD_OUTPUT); ignored when \p infoItem is set to ::DIO_INFO_NUM_PORTS and ::DIO_INFO_HAS_PACER @param infoValue the DIO information is returned to this variable @return The UL error code.
ulDIOGetInfoDbl
\ingroup DigitalIO Use with #DioInfoItemDbl to retrieve information about the DIO subsystem. @param daqDeviceHandle the handle to the DAQ device @param infoItem the digital I/O information to retrieve @param index the port direction (::DD_INPUT or ::DD_OUTPUT) @param infoValue the DIO information is returned to this variable @return The UL error code.
ulDIOSetConfig
\ingroup DigitalIO Use with #DioConfigItem to retrieve information about the DIO subsystem. @param daqDeviceHandle the handle to the DAQ device @param configItem the configuration item to retrieve @param index the port index @param configValue the value to set the specified configuration item to @return The UL error code.
ulDIn
Returns the value read from a digital port. @param daqDeviceHandle the handle to the DAQ device @param portType the port type @param data the port value @return The UL error code.
ulDInArray
Reads the specified digital ports, and Returns the data in an array. @param daqDeviceHandle the handle to the DAQ device @param lowPort the first port in the scan @param highPort the last port in the scan @param data input data array @return The UL error code.
ulDInScan
Reads a range of digital ports. @param daqDeviceHandle the handle to the DAQ device @param lowPort the number of the first port in the scan @param highPort the number of the last port in the scan @param samplesPerPort the number of samples to read from each port @param rate the number of times per second (Hz) to read the port. Upon return, this value is set to the actual scan rate. @param options scan options @param flags reserved for future use @param data[] pointer to an array to receive the digital data @return The UL error code.
ulDInScanStatus
The status of a digital scan operation. @param daqDeviceHandle the handle to the DAQ device @param status the status of the background operation @param xferStatus a TransferStatus struct containing fields that return the current sample count, scan count, and buffer index for the specified input scan operation @return The UL error code.
ulDInScanStop
Stops the digital input operation currently running. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
ulDInScanWait
Returns when the scan operation completes on the specified device, or the time specified by the \p timeout argument elapses. @param daqDeviceHandle the handle to the DAQ device @param waitType the wait type @param waitParam Reserved for future use @param timeout the timeout value in seconds (s); set to -1 to wait indefinitely for the scan operation to end. @return The UL error code.
ulDInSetTrigger
Configures the trigger parameters that will be used when #ulDInScan() is called with the ::SO_RETRIGGER or ::SO_EXTTRIGGER ScanOption. @param daqDeviceHandle the handle to the DAQ device @param type the trigger type @param trigChan the trigger channel; ignored if \p type is set to ::TRIG_POS_EDGE, ::TRIG_NEG_EDGE, ::TRIG_HIGH, ::TRIG_LOW, ::GATE_HIGH, ::GATE_LOW, ::TRIG_RISING, or ::TRIG_FALLING. @param level the level at or around which the trigger event should be detected; ignored if \p type is set to ::TRIG_POS_EDGE, ::TRIG_NEG_EDGE, ::TRIG_HIGH, ::TRIG_LOW, ::GATE_HIGH, ::GATE_LOW, ::TRIG_RISING, or ::TRIG_FALLING. @param variance the degree to which the input signal can vary relative to the \p level parameter; ignored for all types where \p level is ignored. For pattern triggering, this argument serves as the mask value. @param retriggerSampleCount the number of samples to acquire with each trigger event; ignored unless the ::SO_RETRIGGER ScanOption is set for the scan. @return The UL error code.
ulDOut
Writes the specified value to a digital output port. @param daqDeviceHandle the handle to the DAQ device @param portType the digital port type @param data the port value @return The UL error code.
ulDOutArray
Sets the values of the specified digital ports. @param daqDeviceHandle the handle to the DAQ device @param lowPort the first port in the scan @param highPort the last port in the scan @param data output data array @return The UL error code.
ulDOutScan
Writes data to a range of digital ports. @param daqDeviceHandle the handle to the DAQ device @param lowPort number of the first port in the scan @param highPort number of the last port in the scan @param samplesPerPort the number of samples per port to write @param rate the number of times per second to write to each port (scan rate). Upon return, this value is set to the actual scan rate. @param options scan options @param flags reserved for future use @param data[] a pointer to an array to receive the digital data @return The UL error code.
ulDOutScanStatus
Returns the status of the digital output operation @param daqDeviceHandle the handle to the DAQ device @param status the status of the background operation @param xferStatus a TransferStatus struct containing fields that return the current sample count, scan count, and buffer index for the specified output scan operation @return The UL error code.
ulDOutScanStop
Stops the digital output operation currently running. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
ulDOutScanWait
Returns when the scan operation completes on the specified device, or the time specified by the \p timeout argument elapses. @param daqDeviceHandle the handle to the DAQ device @param waitType the wait type @param waitParam Reserved for future use @param timeout the timeout value in seconds (s); set to -1 to wait indefinitely for the scan operation to end. @return The UL error code.
ulDOutSetTrigger
Configures the trigger parameters that will be used when ulDOutScan() is called with the ::SO_RETRIGGER or ::SO_EXTTRIGGER ScanOption. @param daqDeviceHandle the handle to the DAQ device @param type the trigger type @param trigChan the trigger channel; ignored if \p type is set to ::TRIG_POS_EDGE, ::TRIG_NEG_EDGE, ::TRIG_HIGH, ::TRIG_LOW, ::GATE_HIGH, ::GATE_LOW, ::TRIG_RISING, or ::TRIG_FALLING @param level the level at or around which the trigger event should be detected; ignored if \p type is set to ::TRIG_POS_EDGE, ::TRIG_NEG_EDGE, ::TRIG_HIGH, ::TRIG_LOW, ::GATE_HIGH, ::GATE_LOW, ::TRIG_RISING, or ::TRIG_FALLING @param variance the degree to which the input signal can vary relative to the \p level parameter; ignored for all types where \p level is ignored. For pattern triggering, this argument serves as the mask value. @param retriggerSampleCount the number of samples per trigger to acquire with each trigger event; ignored unless the ::SO_RETRIGGER ScanOption is set for the scan. @return The UL error code.
ulDaqDeviceConnectionCode
Specifies connection code of a DAQ device. This function must be invoked before ulConnectDaqDevice(). @param daqDeviceHandle the handle to the DAQ device @param code the connection code @return The UL error code.
ulDaqIGetInfo
\ingroup SyncIo Use with #DaqIInfoItem to retrieve information about the synchronous input subsystem. @param daqDeviceHandle the handle to the DAQ device @param infoItem the synchronous input information to retrieve @param index ignored for all info types available to this function @param infoValue the synchronous input information is returned to this variable @return The UL error code.
ulDaqIGetInfoDbl
\ingroup SyncIo Use with #DaqIInfoItemDbl to retrieve information about the synchronous input subsystem. @param daqDeviceHandle the handle to the DAQ device @param infoItem the synchronous input information to retrieve @param index ignored for all info types available to this function @param infoValue the synchronous input information is returned to this variable @return The UL error code.
ulDaqInScan
Allows scanning of multiple input subsystems, such as analog, digital, counter, and stores the samples in an array. This method only works with devices that support synchronous input. @param daqDeviceHandle the handle to the DAQ device @param chanDescriptors[] an array of DaqInChanDescriptor structs with fields for channel number, type, and range that specifies the order and parameters for each channel in the scan @param numChans the number of channels in the scan @param samplesPerChan the number of samples to collect from each channel in the scan @param rate sample rate in samples per channel. Upon return, this value is set to the actual sample rate. @param options scan options @param flags bit mask that specifies whether to scale data, calibrate data, or clear the counter at the start of each scan. @param data[] pointer to the buffer that receives the data @return The UL error code.
ulDaqInScanStatus
Returns the status of a synchronous input operation. @param daqDeviceHandle the handle to the DAQ device @param status the status of the background operation @param xferStatus TransferStatus struct containing fields that return the current sample count, scan count, and buffer index for the specified input scan operation @return The UL error code.
ulDaqInScanStop
Stops the synchronous input operation currently running. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
ulDaqInScanWait
Returns when the scan operation completes on the specified device, or the time specified by the \p timeout argument elapses. @param daqDeviceHandle the handle to the DAQ device @param waitType the wait type @param waitParam reserved for future use @param timeout the timeout value in seconds (s); set to -1 to wait indefinitely for the scan operation to end. @return The UL error code.
ulDaqInSetTrigger
Configures the trigger parameters that will be used when ulDaqInScan() is called with the ::SO_RETRIGGER or ::SO_EXTTRIGGER ScanOption. @param daqDeviceHandle the handle to the DAQ device @param type the trigger type @param trigChanDescriptor the DaqInChanDescriptor struct with fields for channel number, type, and range that defines the trigger input @param level the level at or around which the trigger event should be detected; ignored if \p type is set to ::TRIG_POS_EDGE, ::TRIG_NEG_EDGE, ::TRIG_HIGH, ::TRIG_LOW, ::GATE_HIGH, ::GATE_LOW, ::TRIG_RISING, or ::TRIG_FALLING @param variance the degree to which the input signal can vary relative to the \p level parameter; ignored for all types where \p level is ignored. For pattern triggering, this argument serves as the mask value. @param retriggerSampleCount the number of samples to acquire with each trigger event; ignored unless the ::SO_RETRIGGER ScanOption is set for the scan. @return The UL error code.
ulDaqOGetInfo
\ingroup SyncIo Use with #DaqOInfoItem to retrieve information about the synchronous output subsystem. @param daqDeviceHandle the handle to the DAQ device @param infoItem the synchronous output information to retrieve @param index ignored for all info types available to this function @param infoValue the synchronous output information is returned to this variable @return The UL error code.
ulDaqOGetInfoDbl
\ingroup SyncIo Use with #DaqOInfoItemDbl to retrieve information about the synchronous output subsystem. @param daqDeviceHandle the handle to the DAQ device @param infoItem the synchronous output information to retrieve @param index ignored for all info types available to this function @param infoValue the synchronous output information is returned to this variable @return The UL error code.
ulDaqOutScan
Outputs values synchronously to analog output channels and digital output ports. This function only works with devices that support synchronous output. @param daqDeviceHandle the handle to the DAQ device @param chanDescriptors[] an array of DaqOutChanDescriptor structs containing fields for channel number, type, and range that specify the order and parameters for each channel in the scan @param numChans the number of channels in the scan @param samplesPerChan the number of samples per channel @param rate the sample rate in scans per second. Upon return, this value is set to the actual rate. @param options scan options @param flags bit mask that specifies whether to scale and/or calibrate data for any analog channels in the scan @param data[] buffer that holds the data that will be transferred to the device @return The UL error code.
ulDaqOutScanStatus
Returns the status of a synchronous output operation. @param daqDeviceHandle the handle to the DAQ device @param status the status of the background operation @param xferStatus TransferStatus struct containing fields that return the current sample count, scan count, and buffer index for the specified output scan operation @return The UL error code.
ulDaqOutScanStop
Stops the synchronous output operation currently running. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
ulDaqOutScanWait
Returns when the scan operation completes on the specified device, or the time specified by the \p timeout argument elapses. @param daqDeviceHandle the handle to the DAQ device @param waitType the type of wait @param waitParam reserved for future use @param timeout the timeout value in seconds (s); set to -1 to wait indefinitely for the scan operation to end. @return The UL error code.
ulDaqOutSetTrigger
Configures the trigger parameters that will be used when ulDaqOutScan() is called with the ::SO_RETRIGGER or ::SO_EXTTRIGGER ScanOptions. @param daqDeviceHandle the handle to the DAQ device @param type the trigger type @param trigChanDescriptor a DaqInChanDescriptor struct containing fields for channel number, type, and range that defines the trigger input @param level the level at or around which the trigger event should be detected; ignored if \p type is set to ::TRIG_POS_EDGE, ::TRIG_NEG_EDGE, ::TRIG_HIGH, ::TRIG_LOW, ::GATE_HIGH, ::GATE_LOW, ::TRIG_RISING, or ::TRIG_FALLING @param variance the degree to which the input signal can vary relative to the \p level parameter; ignored for all types where \p level is ignored. For pattern triggering, this argument serves as the mask value. @param retriggerSampleCount the number of samples to acquire with each trigger event; ignored unless the ::SO_RETRIGGER ScanOption is set for the scan. @return The UL error code.
ulDevGetConfig
Use with #DevConfigItem to retrieve the current configuration options set for a device. @param daqDeviceHandle the handle to the DAQ device @param configItem the configuration item to retrieve from the device @param index either ignored or an index into the \p configValue @param configValue the value to set the specified configuration item to @return The UL error code.
ulDevGetConfigStr
Use with #DevConfigItemStr to retrieve the current configuration as a null-terminated string. @param daqDeviceHandle the handle to the DAQ device @param configItem the configuration item to retrieve from the device @param index specifies the version type to return as an index into \p configItem (::DevVersionType) @param configStr pointer to the buffer where the configuration string is copied @param maxConfigLen pointer to the value specifying the size of \p configStr made available by the user; returns the number of chars written to \p configStr. @return The UL error code.
ulDevGetInfo
Use with #DevInfoItem to retrieve information about the device subsystem to determine which subsystem types are supported for the device. @param daqDeviceHandle the handle to the DAQ device @param infoItem the subsystem information to retrieve @param index ignored @param infoValue the subsystem information is returned to this variable @return The UL error code.
ulDevSetConfig
Use with #DevConfigItem to set configuration options at runtime. @param daqDeviceHandle the handle to the DAQ device @param configItem the configuration item to set @param index either ignored or an index into the \p configValue @param configValue the value to set the specified configuration item to @return The UL error code.
ulDisableEvent
Disables one or more event conditions, and disconnects their user-defined handlers. @param daqDeviceHandle the handle to the DAQ device @param eventTypes a bitmask containing event conditions that can be OR’d together; OR all event types to disable all events @return The UL error code.
ulDisconnectDaqDevice
Disconnect from a device. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
ulEnableEvent
Binds one or more event conditions to a DaqEventCallback function. Upon detection of an event condition, DaqEventCallback is invoked. @param daqDeviceHandle the handle to the DAQ device @param eventTypes a bitmask containing event conditions that can be OR’d together @param eventParameter additional data that specifies an event condition, such as the number of data points at which to invoke ::DE_ON_DATA_AVAILABLE @param eventCallbackFunction the pointer to the user-defined callback function to handle event conditions. @param userData the pointer to the data that will be passed to the callback function @return The UL error code.
ulFlashLed
\ingroup Misc Causes the LED on a DAQ device to flash. @param daqDeviceHandle the handle to the DAQ device @param flashCount The number of flashes; set to 0 for a continuous flash until the next call with a non-zero value @return The UL error code.
ulGetConfig
Returns a configuration option set for the library.
Use ulSetConfig() to change configuration options. @param configItem the configuration item to retrieve @param index the index into the \p configItem @param configValue the specified configuration value is returned to this variable @return The UL error code.
ulGetDaqDeviceDescriptor
Get descriptor information for a device. Before calling this function, you must first run #ulCreateDaqDevice() to retrieve the \p daqDeviceHandle argument. @param daqDeviceHandle the handle to the DAQ device @param daqDeviceDescriptor a DaqDeviceDescriptor struct containing fields that describe the device @return The UL error code.
ulGetDaqDeviceInventory
\defgroup DeviceDiscovery Device Discovery Manage the MCC devices that are available to the system. @{ / /** Get the list of MCC devices available to the system. @param interfaceTypes the interface types to discover @param daqDevDescriptors[] an array of DaqDeviceDescriptor structs, each of which contains fields specifying information about the DAQ device. @param numDescriptors the size of the array. If the size is not correct, the required size is returned. @return The UL error code.
ulGetErrMsg
Returns the error message associated with an error code. @param errCode the error code returned from a Universal Library function to translate into an error message @param errMsg the error message associated with the code provided is returned here. The constant ::ERR_MSG_LEN is set to a value such that the buffer is large enough to contain the longest error message. @return The UL error code.
ulGetInfoStr
Use with #UlInfoItemStr to retrieve the library information as a null-terminated string. @param infoItem the information to read from the device @param index either ignored or an index into the infoStr @param infoStr pointer to the buffer where the information string is copied @param maxConfigLen pointer to the value holding the maximum number of bytes to be read from the device into configStr @return The UL error code.
ulGetNetDaqDeviceDescriptor
Get the descriptor of the remote network DAQ device. @param host the remote device host name or IP address @param port the remote device port @param ifcName network interface name to be used for communication with the DAQ device (e.g. eth0, wlan0, …); set to NULL to select the default network interface @param daqDevDescriptor DaqDeviceDescriptor struct containing fields that describe the device @param timeout the timeout value in seconds (s); set to -1 to wait indefinitely for discovery operation to end. @return The UL error code.
ulIsDaqDeviceConnected
The connection status of a DAQ device. @param daqDeviceHandle the handle to the DAQ device @param connected the connection status; a non-zero value indicates connected @return The UL error code.
ulMemGetInfo
\ingroup DeviceInfo Use with MemDescriptor to retrieve information about the memory region on a DAQ device. @param daqDeviceHandle the handle to the DAQ device @param memRegion the memory region @param memDescriptor a MemDescriptor struct containing fields where information is returned, such as memory type and access @return The UL error code.
ulMemRead
Reads a value read from a specified region in memory; use with ulMemGetInfo() to retrieve information about the memory region on a DAQ device. @param daqDeviceHandle the handle to the DAQ device @param memRegion memory region @param address memory address @param buffer pointer to the buffer where the value read will be stored @param count the size of the buffer that the user made available to store the value returned @return The UL error code.
ulMemWrite
Writes a value to a specified region in memory. @param daqDeviceHandle the handle to the DAQ device @param memRegion memory region @param address memory address @param buffer pointer to the buffer provided by the user containing the value to write @param count number or data points to read; must be equal to or less than the size of the buffer created by the user containing the value to write @return The UL error code.
ulReleaseDaqDevice
Remove a device from the Universal Library, and release all resources associated with that device. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
ulSetConfig
Use with UlConfigItem to change the library configuration options at runtime. @param configItem the type of information to write to the device @param index either ignored or an index into the \p configValue @param configValue the value to set the specified configuration item to @return The UL error code.
ulTIn
Returns a temperature value read from an A/D channel. @param daqDeviceHandle the handle to the DAQ device @param channel A/D channel number @param scale temperature unit @param flags reserved for future use @param data temperature value; if an ::ERR_OPEN_CONNECTION error occurs, the value returned will be -9999. @return The UL error code.
ulTInArray
Scans a range of A/D temperature channels, and stores the samples in an array. @param daqDeviceHandle the handle to the DAQ device @param lowChan first A/D channel in the scan @param highChan last A/D channel in the scan @param scale temperature unit @param flags reserved for future use @param data[] a pointer to an array that stores the data; if an ::ERR_OPEN_CONNECTION error occurs, the value will be -9999 in the array element associated with the channel causing the error. @return The UL error code.
ulTmrGetInfo
\ingroup TimerOutput Use with #TmrInfoItem to retrieve information about the timer subsystem. @param daqDeviceHandle the handle to the DAQ device @param infoItem the timer information to retrieve @param index either ignored or an index into the \p infoValue, depending on the value of the \p infoItem argument @param infoValue the timer information is returned to this variable @return The UL error code.
ulTmrGetInfoDbl
\ingroup TimerOutput Use with #TmrInfoItemDbl to retrieve information about the timer subsystem. @param daqDeviceHandle the handle to the DAQ device @param infoItem the timer information to retrieve @param index either ignored or an index into the \p infoValue, depending on the value of the \p infoItem argument @param infoValue the timer information is returned to this variable @return The UL error code.
ulTmrPulseOutStart
Starts a timer to generate digital pulses at a specified frequency and duty cycle. @param daqDeviceHandle the handle to the DAQ device @param timerNum the timer number @param frequency frequency of the timer pulse output @param dutyCycle duty cycle of the timer pulse output @param pulseCount the number of pulses to generate; set to 0 for continuous pulse output @param initialDelay the amount of time in seconds to wait before the first pulse is generated at the timer output @param idleState the idle state (high or low) @param options pulse out options @return The UL error code.
ulTmrPulseOutStatus
The status of the timer output operation, if supported @param daqDeviceHandle the handle to the DAQ device @param timerNum the timer number @param status the status of the background operation @return The UL error code.
ulTmrPulseOutStop
Stops a timer output. @param daqDeviceHandle the handle to the DAQ device @param timerNum the timer number to stop @return The UL error code.
ulTmrSetTrigger
Configures the trigger parameters that will be used when ulTmrPulseOutStart() is called with the ::PO_RETRIGGER or ::PO_EXTTRIGGER PulseOutOption, when supported. @param daqDeviceHandle the handle to the DAQ device @param type the digital trigger type @param trigChan ignored @param level ignored @param variance ignored @param retriggerSampleCount ignored @return The UL error code.

Type Aliases§

AInFlag
Use as the \p flags argument value for ulAIn() to set the properties of data returned.
AInScanFlag
Use as the \p flags argument value for the ulAInScan() function to set properties of data returned.
AOutArrayFlag
Use as the \p flags argument value for ulAOutArray() to set the properties of data supplied to the function.
AOutFlag
Use as the \p flags argument value for ulAOut() to set the properties of data supplied to the function.
AOutScanFlag
Use as the \p flags argument value for ulAOutScan() to set the properties of data supplied to the function.
AOutSenseMode
Use with #AoConfigItem to set configuration options at runtime.
AOutSyncMode
Use with #AoConfigItem to set configuration options at runtime.
AdcTimingMode
ADC timing modes
AiCalTableType
Analog input calibration table types
AiChanQueueLimitation
Device queue limitations
AiChanType
Analog input channel types
AiConfigItem
Use with ulAISetConfig() and ulAIGetConfig() to configure the AI subsystem.
AiConfigItemDbl
Use with ulAISetConfigDbl() and ulAIGetConfigDbl() to configure the AI subsystem.
AiConfigItemStr
Use with ulAIGetConfigStr() as a \p configItem argument value to get the current analog input configuration of the current device.
AiInfoItem
Use with ulAIGetInfo() to obtain information about the analog input subsystem for the specified device as an \p infoItem argument value.
AiInfoItemDbl
Use with ulAIGetInfoDbl() to obtain information about the analog input subsystem for the specified device as an \p infoItem argument value.
AiInputMode
A/D channel input modes
AiQueueType
Bitmask indicating supported queue types. Returned to the \p infoValue argument by ulAIGetInfo() using #AiInfoItem ::AI_INFO_QUEUE_TYPES.
AiRejectFreqType
Analog input rejection frequency types
AoConfigItem
Use with ulAOSetConfig() and ulAOGetConfig() to configure the AO subsystem.
AoInfoItem
Use with ulAOGetInfo() to obtain information about the analog output subsystem for the specified device as an \p infoItem argument value.
AoInfoItemDbl
Use with ulAOGetInfoDbl() to obtain information about the analog output subsystem for the specified device as an \p infoItem argument value.
AutoZeroMode
Auto zero modes
CConfigScanFlag
Use as the \p flags argument value for ulCConfigScan(). Reserved for future use.
CInScanFlag
Use as the \p flags argument value for ulCInScan() to set counter properties.
CounterDebounceMode
Use as the value for the \p debounceTime argument for ulCConfigScan() to set the glitch rejection properties of a counter.
CounterDebounceTime
Use as the value for the \p debounceTime argument for ulCConfigScan() when #CounterDebounceMode is not ::CDM_NONE.
CounterEdgeDetection
Use as the value for the \p edgeDetection argument for ulCConfigScan().
CounterMeasurementMode
Use as the value for the \p mode argument for ulCConfigScan(). This value should be set consistent with the \p type argument value.
CounterMeasurementType
Use as the value for the \p type argument for ulCConfigScan(). Use ulCtrGetInfo() with the ::CTR_INFO_MEASUREMENT_TYPES \p infoItem to check compatibility.
CounterRegisterType
Used for the ulCLoad() \p registerType argument, and as the value returned by ulCtrGetInfo() for the ::CTR_INFO_REGISTER_TYPES infoItem.
CounterTickSize
Use as the value for the \p tickSize argument for ulCConfigScan() when #CounterDebounceMode is ::CMT_PERIOD, ::CMT_PULSE_WIDTH, or ::CMT_TIMING. Refer to the device hardware manual to determine which sizes are compatible with your device.
CouplingMode
Coupling modes
CtrConfigItem
Use with ulCtrSetConfig() and ulCtrGetConfig() to configure the Ctr subsystem.
CtrInfoItem
Use with ulCtrGetInfo() to obtain information about the counter subsystem for the specified device as an \p infoItem argument value.
CtrInfoItemDbl
Use with ulCtrGetInfoDbl() to obtain information about the counter subsystem for the specified device as an \p infoItem argument value.
DInScanFlag
Use as the \p flags argument value for ulDInScan() to set the properties of data returned.
DOutScanFlag
Use as the \p flags argument value for ulDOutScan() to set properties of data sent.
DaqDeviceHandle
The DAQ device
DaqDeviceInterface
A bitmask defining the physical connection interface used to communicate with a DAQ device. Used with ulGetDaqDeviceInventory() as an \p interfaceTypes argument value.
DaqEventCallback
The callback function called in response to an event condition.
DaqEventType
A bitmask defining the types of conditions that trigger an event. Used with ulDevGetInfo() as return values for ::DEV_INFO_DAQ_EVENT_TYPES, and as the \p eventType argument value for ulEnableEvent() and ulDisableEvent().
DaqIInfoItem
Use with ulDaqIGetInfo() to obtain information about the DAQ input subsystem for the specified device as an \p infoItem argument value.
DaqIInfoItemDbl
Use with ulDaqIGetInfoDbl() to obtain information about the DAQ input subsystem for the specified device as an \p infoItem argument value.
DaqInChanType
A bitmask used with synchronous input scanning operations as a field in the DaqInChanDescriptor struct, and as a value returned in the \p infoValue argument for ulDaqIGetInfo() used with ::DAQI_INFO_CHAN_TYPES.
DaqInScanFlag
Use as the \p flags argument value for ulDaqInScan() to set the properties of data returned.
DaqOInfoItem
Use with ulDaqOGetInfo() to obtain information about the DAQ output subsystem for the specified device as an \p infoItem argument value.
DaqOInfoItemDbl
Use with ulDaqOGetInfoDbl() to obtain information about the DAQ output subsystem for the specified device as an \p infoItem argument value.
DaqOutChanType
A bitmask used with synchronous output scanning operations as a field in the DaqOutChanDescriptor struct, and as a value returned in the \p infoValue argument for ulDaqOGetInfo() used with ::DAQO_INFO_CHAN_TYPES.
DaqOutScanFlag
Use as the \p flags argument value for ulDaqOutScan() to set the properties of data sent.
DevConfigItem
Use with ulDevGetConfig() as a \p configItem argument value to get the current configuration of the specified device.
DevConfigItemStr
Use with ulDevGetConfigStr() as a \p configItem argument value to get the current configuration of the specified the specified device.
DevInfoItem
Use with ulDevGetInfo() as an \p infoItem argument value to obtain information for the specified device.
DevVersionType
Used with ulDevGetConfigStr() as an \p index argument value with the \p infoItem argument set to ::DEV_CFG_VER_STR for the specified device.
DigitalDirection
Used with ulDConfigPort() and ulDConfigBit() as the \p direction argument value.
DigitalPortIoType
Used with ulDIOGetInfo() as the \p infoValue argument value when used with ::DIO_INFO_PORT_IO_TYPE.
DigitalPortType
Used with all digital I/O functions and with ulDIOGetInfo() as the \p infoValue argument value when used with ::DIO_INFO_PORT_IO_TYPE.
DioConfigItem
Use with ulDIOGetConfig() and/or ulDIOSetConfig() as a \p configItem argument value to get the current configuration of the specified digital port on the specified device.
DioInfoItem
Use with ulDIOGetInfo() to obtain information about the DIO subsystem for the specified device as an \p infoItem argument value.
DioInfoItemDbl
Use with ulDIOGetInfoDbl() as an \p infoItem argument to obtain information about the DIO subsystem for the specified device.
IepeMode
IEPE modes
MemAccessType
A bitmask used with ulMemGetInfo() as one of the field types returned in the MemDescriptor struct. Indicates access permissions for the location specified by #MemRegion for the specified device.
MemRegion
Used with ulMemGetInfo() as the \p memRegion argument value to specify the memory location on the specified device.
OtdMode
Open Thermocouple detection modes
PulseOutOption
Used with ulTmrPulseOutStart() as the \p options argument value to set advanced options for the specified device.
Range
Used with many analog input and output functions, as well as a return value for the \p infoValue argument to ulAIGetInfo() when used with ::AI_INFO_DIFF_RANGE or ::AI_INFO_SE_RANGE,
and the \p infoValue argument to ulAOGetInfo() when used with ::AO_INFO_RANGE.
ScanOption
Used with many analog input and output functions, as well as a return value for the \p infoValue argument to many of the subsystem GetInfo functions when used with the \p infoItem argument values set to one of the subsystem INFO_SCAN_OPTIONS values.
ScanStatus
Scan status
SensorConnectionType
Sensor connection types
TInArrayFlag
Use as the \p flags argument value for ulTInArray() to set the properties of data returned; reserved for future use.
TInFlag
Use as the \p flags argument value for ulTIn() to set the properties of data returned; reserved for future use.
TcType
Thermocouple types
TempScale
Temperature units
TempUnit
Temperature units
TimerType
Types of timer channels
TmrIdleState
Timer idle state
TmrInfoItem
Use with ulTmrGetInfo() to obtain information about the timer subsystem for the specified device as an \p infoItem argument value.
TmrInfoItemDbl
Use with ulTmrGetInfoDbl() to obtain information about the timer subsystem for the specified device as an \p infoItem argument value.
TmrStatus
Used with ulTmrPulseOutStatus() as the \p status argument value returned (if supported) for the specified device.
TriggerType
Used as an individual value with the subsystem SetTrigger functions as the \p type argument value, or as a bitmask value with the subsystem GetInfo functions as the \p infoValue argument value. The trigger input is specified by the \p trigChan argument, or the \p channel field of the DaqInChanDescriptor struct, when using the subsystem SetTrigger functions.
UlConfigItem
UlError
UL error codes
UlInfoItemStr
Library version
WaitType
Used with the subsystem ScanWait functions as the \p waitType argument value for the specified device.