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§
- AiQueue
Element - \brief A structure that defines an analog input queue element
- DaqDevice
Descriptor - \brief A structure that defines a particular DAQ device, usually obtained using ulGetDaqDeviceInventory().
- DaqIn
Chan Descriptor - \brief A structure that defines an input channel and its properties. Used with ulDaqInScan().
- DaqOut
Chan Descriptor - \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.
- Transfer
Status - \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.
- AInScan
Flag_ AINSCAN_ FF_ DEFAULT - Data is returned with scaling and calibration factors applied.
- AInScan
Flag_ AINSCAN_ FF_ NOCALIBRATEDATA - Data is returned without calibration factors applied.
- AInScan
Flag_ AINSCAN_ FF_ NOSCALEDATA - Data is returned in native format, without scaling applied.
- AOut
Array Flag_ AOUTARRAY_ FF_ DEFAULT - Scaled data is supplied and calibration factors are applied to output.
- AOut
Array Flag_ AOUTARRAY_ FF_ NOCALIBRATEDATA - Data is output without calibration factors applied.
- AOut
Array Flag_ AOUTARRAY_ FF_ NOSCALEDATA - Data is supplied in native format (usually, values ranging from 0 to 2resolution - 1).
- AOut
Array Flag_ AOUTARRAY_ FF_ SIMULTANEOUS - All of the specified channels will be updated simultaneously.
- AOut
Flag_ AOUT_ FF_ DEFAULT - Scaled data is supplied and calibration factors are applied to output.
- AOut
Flag_ AOUT_ FF_ NOCALIBRATEDATA - Data is output without calibration factors applied.
- AOut
Flag_ AOUT_ FF_ NOSCALEDATA - Data is supplied in native format (usually, values ranging from 0 to 2resolution - 1).
- AOut
Scan Flag_ AOUTSCAN_ FF_ DEFAULT - Scaled data is supplied and calibration factors are applied to output.
- AOut
Scan Flag_ AOUTSCAN_ FF_ NOCALIBRATEDATA - Data is output without calibration factors applied.
- AOut
Scan Flag_ AOUTSCAN_ FF_ NOSCALEDATA - Data is supplied in native format (usually, values ranging from 0 to 2resolution - 1.
- AOut
Sense Mode_ AOSM_ DISABLED - Sense mode is disabled.
- AOut
Sense Mode_ AOSM_ ENABLED - Sense mode is enable.
- AOut
Sync Mode_ AOSM_ MASTER - Output the internal D/A Load signal
- AOut
Sync Mode_ AOSM_ SLAVE - Receive the D/A Load signal from an external source
- AdcTiming
Mode_ ADC_ TM_ AUTO - The timing mode is set automatically.
- AdcTiming
Mode_ ADC_ TM_ HIGH_ RES - Acquires data in samples per 1000 seconds per channel.
- AdcTiming
Mode_ ADC_ TM_ HIGH_ SPEED - High speed timing mode.
- AiCal
Table Type_ AI_ CTT_ FACTORY - Factory calibration table
- AiCal
Table Type_ AI_ CTT_ FIELD - Field calibration table
- AiChan
Queue Limitation_ ASCENDING_ CHAN - Channel numbers must be listed in ascending order within the queue.
- AiChan
Queue Limitation_ CONSECUTIVE_ CHAN - Channel numbers must be listed in contiguous order within the queue.
- AiChan
Queue Limitation_ UNIQUE_ CHAN - A particular channel number cannot appear more than once in the queue.
- AiChan
Type_ AI_ DISABLED - Disabled
- AiChan
Type_ AI_ RTD - Resistance Temperature Detector (RTD)
- AiChan
Type_ AI_ SEMICONDUCTOR - Semiconductor
- AiChan
Type_ AI_ TC - Thermocouple
- AiChan
Type_ AI_ THERMISTOR - Thermistor
- AiChan
Type_ AI_ VOLTAGE - Voltage
- AiConfig
Item Dbl_ AI_ CFG_ CHAN_ DATA_ RATE - The data rate of the specified channel.
- AiConfig
Item Dbl_ AI_ CFG_ CHAN_ OFFSET - The custom offset of the specified channel.
- AiConfig
Item Dbl_ AI_ CFG_ CHAN_ SENSOR_ SENSITIVITY - The sensitivity of the sensor connected to the specified channel.
- AiConfig
Item Dbl_ AI_ CFG_ CHAN_ SLOPE - The custom slope of the specified channel.
- AiConfig
Item Str_ 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.
- AiConfig
Item Str_ AI_ CFG_ CHAN_ COEFS_ STR - Returns the channel coefficients used for the configured sensor.
- AiConfig
Item Str_ 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.
- AiConfig
Item_ AI_ CFG_ ADC_ TIMING_ MODE - The timing mode. Set with #AdcTimingMode.
- AiConfig
Item_ AI_ CFG_ AUTO_ ZERO_ MODE - The auto zero mode. Set with #AutoZeroMode.
- AiConfig
Item_ 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.
- AiConfig
Item_ AI_ CFG_ CAL_ TABLE_ TYPE - The calibration table type. Set with #AiCalTableType.
- AiConfig
Item_ AI_ CFG_ CHAN_ COUPLING_ MODE - The coupling mode for the specified device. Set with #CouplingMode.
- AiConfig
Item_ AI_ CFG_ CHAN_ IEPE_ MODE - The IEPE current excitation mode for the specified channel. Set with #IepeMode.
- AiConfig
Item_ AI_ CFG_ CHAN_ OTD_ MODE - The open thermocouple detection mode for the specified channel. Set with #OtdMode.
- AiConfig
Item_ AI_ CFG_ CHAN_ SENSOR_ CONNECTION_ TYPE - The connection type of the sensor connected to the specified channel.
- AiConfig
Item_ AI_ CFG_ CHAN_ TC_ TYPE - The thermocouple type of the specified channel. Set with #TcType.
- AiConfig
Item_ AI_ CFG_ CHAN_ TYPE - The channel type of the specified channel. Set with #AiChanType.
- AiConfig
Item_ 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.
- AiConfig
Item_ AI_ CFG_ OTD_ MODE - The open thermocouple detection mode. Set with #OtdMode.
- AiConfig
Item_ AI_ CFG_ REJECT_ FREQ_ TYPE - The rejection frequency type. Set with #AiRejectFreqType.
- AiConfig
Item_ AI_ CFG_ SCAN_ CHAN_ TEMP_ UNIT - The temperature unit of the specified analog input scan channel. Set with #TempUnit.
- AiConfig
Item_ AI_ CFG_ SCAN_ TEMP_ UNIT - The analog input scan temperature unit. Set with #TempUnit.
- AiInfo
Item Dbl_ 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.
- AiInfo
Item Dbl_ 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.
- AiInfo
Item Dbl_ AI_ INFO_ MAX_ SCAN_ RATE - Returns the maximum scan rate in samples per second to the \p infoValue argument. Index is ignored.
- AiInfo
Item Dbl_ AI_ INFO_ MAX_ THROUGHPUT - Returns the maximum throughput in samples per second to the \p infoValue argument. Index is ignored.
- AiInfo
Item Dbl_ AI_ INFO_ MIN_ SCAN_ RATE - Returns the minimum scan rate in samples per second to the \p infoValue argument. Index is ignored.
- AiInfo
Item_ AI_ INFO_ CHAN_ TYPES - Returns a bitmask of supported #AiChanType values to the \p infoValue argument. Index is ignored.
- AiInfo
Item_ 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.
- AiInfo
Item_ AI_ INFO_ FIFO_ SIZE - Returns the FIFO size in bytes to the \p infoValue argument. Index is ignored.
- AiInfo
Item_ 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.
- AiInfo
Item_ 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.
- AiInfo
Item_ 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.
- AiInfo
Item_ AI_ INFO_ NUM_ CHANS - Returns the total number of A/D channels to the \p infoValue argument. Index is ignored.
- AiInfo
Item_ 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.
- AiInfo
Item_ 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.
- AiInfo
Item_ AI_ INFO_ NUM_ DIFF_ RANGES - Returns the number of differential ranges supported to the \p infoValue argument. Index is ignored.
- AiInfo
Item_ AI_ INFO_ NUM_ SE_ RANGES - Returns the number of single-ended ranges supported to the \p infoValue argument. Index is ignored.
- AiInfo
Item_ AI_ INFO_ QUEUE_ LIMITS - Returns a bitmask of #AiChanQueueLimitation values to the \p infoValue argument that apply to the queue. Index is ignored.
- AiInfo
Item_ AI_ INFO_ QUEUE_ TYPES - Returns a bitmask of supported #AiQueueType values to the \p infoValue argument. Index is ignored.
- AiInfo
Item_ AI_ INFO_ RESOLUTION - Returns the A/D resolution in number of bits to the \p infoValue argument. Index is ignored.
- AiInfo
Item_ AI_ INFO_ SCAN_ OPTIONS - Returns a bitmask of supported #ScanOption values to the \p infoValue argument. Index is ignored.
- AiInfo
Item_ 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.
- AiInfo
Item_ AI_ INFO_ TRIG_ TYPES - Returns a bitmask of supported #TriggerType values to the \p infoValue argument. Index is ignored.
- AiInput
Mode_ AI_ DIFFERENTIAL - Differential
- AiInput
Mode_ AI_ PSEUDO_ DIFFERENTIAL - Pseudo-differential
- AiInput
Mode_ AI_ SINGLE_ ENDED - Single-ended
- AiQueue
Type_ CHAN_ QUEUE - The AI subsystem supports a channel queue.
- AiQueue
Type_ GAIN_ QUEUE - The AI subsystem supports a gain queue.
- AiQueue
Type_ MODE_ QUEUE - The AI subsystem supports a mode queue.
- AiReject
Freq Type_ AI_ RFT_ 50HZ - 50 Hz rejection frequency
- AiReject
Freq Type_ AI_ RFT_ 60HZ - 60 Hz rejection frequency
- AoConfig
Item_ AO_ CFG_ CHAN_ SENSE_ MODE - The sense mode for the specified channel. Set with #AOutSenseMode.
- AoConfig
Item_ AO_ CFG_ SYNC_ MODE - The sync mode. Set with #AOutSyncMode.
- AoInfo
Item Dbl_ AO_ INFO_ MAX_ SCAN_ RATE - Returns the maximum scan rate in samples per second to the \p infoValue argument. Index is ignored.
- AoInfo
Item Dbl_ AO_ INFO_ MAX_ THROUGHPUT - Returns the maximum throughput in samples per second to the \p infoValue argument. Index is ignored.
- AoInfo
Item Dbl_ AO_ INFO_ MIN_ SCAN_ RATE - Returns the minimum scan rate in samples per second to the \p infoValue argument. Index is ignored.
- AoInfo
Item_ AO_ INFO_ FIFO_ SIZE - Returns the FIFO size in bytes to the \p infoValue argument. Index is ignored.
- AoInfo
Item_ 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.
- AoInfo
Item_ AO_ INFO_ NUM_ CHANS - Returns the total number of D/A channels to the \p infoValue argument. Index is ignored.
- AoInfo
Item_ AO_ INFO_ NUM_ RANGES - Returns the number of analog output ranges supported to the \p infoValue argument. Index is ignored.
- AoInfo
Item_ 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.
- AoInfo
Item_ AO_ INFO_ RESOLUTION - Returns the D/A resolution in number of bits to the \p infoValue argument. Index is ignored.
- AoInfo
Item_ AO_ INFO_ SCAN_ OPTIONS - Returns a bitmask of supported #ScanOption values to the \p infoValue argument. Index is ignored.
- AoInfo
Item_ AO_ INFO_ TRIG_ TYPES - Returns a bitmask of supported #TriggerType values to the \p infoValue argument. Index is ignored.
- Auto
Zero Mode_ AZM_ EVERY_ SAMPLE - Perform auto zero on every thermocouple reading.
- Auto
Zero Mode_ AZM_ NONE - Disabled
- Auto
Zero Mode_ AZM_ ONCE - Perform auto zero before every scan.
- CConfig
Scan Flag_ CF_ DEFAULT - Placeholder value. Standard functionality.
- CInScan
Flag_ CINSCAN_ FF_ CTR16_ BIT - Sets up the counter as a 16-bit counter channel
- CInScan
Flag_ CINSCAN_ FF_ CTR32_ BIT - Sets up the counter as a 32-bit counter channel
- CInScan
Flag_ CINSCAN_ FF_ CTR48_ BIT - Sets up the counter as a 48-bit counter channel
- CInScan
Flag_ CINSCAN_ FF_ CTR64_ BIT - Sets up the counter as a 64-bit counter channel
- CInScan
Flag_ CINSCAN_ FF_ DEFAULT - Default counter behavior
- CInScan
Flag_ CINSCAN_ FF_ NOCLEAR - Does not clear the counter to 0 at the start of each scan.
- Counter
Debounce Mode_ CDM_ NONE - Disables the debounce feature.
- Counter
Debounce Mode_ CDM_ TRIGGER_ AFTER_ STABLE - The counter is incremented only after the counter input is stable for a period of a length defined by #CounterDebounceTime.
- Counter
Debounce Mode_ 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.
- Counter
Debounce Time_ CDT_ DEBOUNCE_ 0ns - Disables debounce. Valid only when \p debounceMode is set to ::CDM_NONE.
- Counter
Debounce Time_ 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.
- Counter
Debounce Time_ 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.
- Counter
Debounce Time_ 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.
- Counter
Debounce Time_ 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.
- Counter
Debounce Time_ 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.
- Counter
Debounce Time_ 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.
- Counter
Debounce Time_ 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.
- Counter
Debounce Time_ 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.
- Counter
Debounce Time_ 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.
- Counter
Debounce Time_ 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.
- Counter
Debounce Time_ 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.
- Counter
Debounce Time_ 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.
- Counter
Debounce Time_ 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.
- Counter
Debounce Time_ 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.
- Counter
Debounce Time_ 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.
- Counter
Debounce Time_ 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.
- Counter
Edge Detection_ CED_ FALLING_ EDGE - Falling edge
- Counter
Edge Detection_ CED_ RISING_ EDGE - Rising edge
- Counter
Measurement Mode_ CMM_ CLEAR_ ON_ READ - Configures the counter to clear after every read for the ::CMT_COUNT measurement type.
- Counter
Measurement Mode_ CMM_ COUNT_ DOWN - Configures the counter to count down for the ::CMT_COUNT measurement type.
- Counter
Measurement Mode_ CMM_ DECREMENT_ ON - Configures the counter to decrement by the signal on the mapped channel for the ::CMT_COUNT measurement type.
- Counter
Measurement Mode_ CMM_ DEFAULT - Configures the counter for default counting modes for the ::CMT_COUNT measurement type.
- Counter
Measurement Mode_ CMM_ ENCODER_ CLEAR_ ON_ Z - Clears the counter when the index (Z input) goes active for the ::CMT_ENCODER measurement type.
- Counter
Measurement Mode_ CMM_ ENCODER_ LATCH_ ON_ Z - Configures the encoder Z mapped signal to latch the counter outputs for the ::CMT_ENCODER measurement type.
- Counter
Measurement Mode_ 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.
- Counter
Measurement Mode_ CMM_ ENCODER_ RANGE_ LIMIT_ ON - Enables upper and lower limits for the ::CMT_ENCODER measurement type.
- Counter
Measurement Mode_ CMM_ ENCODER_ X1 - Sets the encoder measurement mode to X1 for the ::CMT_ENCODER measurement type.
- Counter
Measurement Mode_ CMM_ ENCODER_ X2 - Sets the encoder measurement mode to X2 for the ::CMT_ENCODER measurement type.
- Counter
Measurement Mode_ CMM_ ENCODER_ X4 - Sets the encoder measurement mode to X4 for the ::CMT_ENCODER measurement type.
- Counter
Measurement Mode_ CMM_ ENCODER_ Z_ ACTIVE_ EDGE - Sets the encoder Z signal as the active edge for the ::CMT_ENCODER measurement type.
- Counter
Measurement Mode_ CMM_ GATE_ CLEARS_ CTR - Configures the counter to clear when the gate input is high for the ::CMT_COUNT measurement type.
- Counter
Measurement Mode_ 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.
- Counter
Measurement Mode_ 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.
- Counter
Measurement Mode_ CMM_ GATING_ ON - Enables the counter when the mapped channel or gate pin is high for the ::CMT_COUNT measurement type.
- Counter
Measurement Mode_ CMM_ INVERT_ GATE - Inverts the polarity of the gate input for the ::CMT_COUNT measurement type.
- Counter
Measurement Mode_ CMM_ LATCH_ ON_ INDEX - Configures the counter to be latched by the signal on the index pin for the ::CMT_COUNT measurement type.
- Counter
Measurement Mode_ 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.
- Counter
Measurement Mode_ CMM_ OUTPUT_ INITIAL_ STATE_ HIGH - Configures the initial state of the counter output pin high for the ::CMT_COUNT measurement type.
- Counter
Measurement Mode_ 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.
- Counter
Measurement Mode_ CMM_ PERIOD_ GATING_ ON - Enables the counter when the mapped channel or gate pin is high for the ::CMT_PERIOD measurement type.
- Counter
Measurement Mode_ CMM_ PERIOD_ INVERT_ GATE - Inverts the polarity of the gate input for the ::CMT_PERIOD measurement type.
- Counter
Measurement Mode_ CMM_ PERIOD_ X1 - Latches the counter measurement each time 1 complete period is observed for the ::CMT_PERIOD measurement type.
- Counter
Measurement Mode_ CMM_ PERIOD_ X10 - Latches the counter measurement each time 10 complete periods are observed for the ::CMT_PERIOD measurement type.
- Counter
Measurement Mode_ CMM_ PERIOD_ X100 - Latches the counter measurement each time 100 complete periods are observed for the ::CMT_PERIOD measurement type.
- Counter
Measurement Mode_ CMM_ PERIOD_ X1000 - Latches the counter measurement each time 1000 complete periods are observed for the ::CMT_PERIOD measurement type.
- Counter
Measurement Mode_ 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.
- Counter
Measurement Mode_ CMM_ PULSE_ WIDTH_ DEFAULT - Configures the counter for default pulse width modes for the ::CMT_PULSE_WIDTH measurement type.
- Counter
Measurement Mode_ CMM_ PULSE_ WIDTH_ GATING_ ON - Enables the counter when the mapped channel or gate pin is high for the ::CMT_PULSE_WIDTH measurement type.
- Counter
Measurement Mode_ CMM_ PULSE_ WIDTH_ INVERT_ GATE - Inverts the polarity of the gate input for the ::CMT_PULSE_WIDTH measurement type.
- Counter
Measurement Mode_ 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.
- Counter
Measurement Mode_ CMM_ TIMING_ DEFAULT - Configures the counter for default timing modes for the ::CMT_TIMING measurement type.
- Counter
Measurement Mode_ CMM_ TIMING_ MODE_ INVERT_ GATE - Inverts the polarity of the gate input for the ::CMT_TIMING measurement type.
- Counter
Measurement Type_ CMT_ COUNT - Counter measurement. The counter increments on the active edge of the input.
- Counter
Measurement Type_ CMT_ ENCODER - Encoder measurement. Configures the counter as an encoder, if supported.
- Counter
Measurement Type_ 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().
- Counter
Measurement Type_ 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().
- Counter
Measurement Type_ 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().
- Counter
Register Type_ CRT_ COUNT - Counter register
- Counter
Register Type_ CRT_ LOAD - Load register
- Counter
Register Type_ CRT_ MAX_ LIMIT - Min Limit register
- Counter
Register Type_ CRT_ MIN_ LIMIT - Max Limit register
- Counter
Register Type_ CRT_ OUTPUT_ VAL0 - The register that sets the count value at which the counter output will change state from its original state.
- Counter
Register Type_ CRT_ OUTPUT_ VAL1 - The register that sets the count value at which the counter output will reset to its original state.
- Counter
Tick Size_ CTS_ TICK_ 20PT83ns - Sets the tick size to 20.83 ns.
- Counter
Tick Size_ CTS_ TICK_ 20ns - Sets the tick size to 20 ns.
- Counter
Tick Size_ CTS_ TICK_ 200ns - Sets the tick size to 200 ns.
- Counter
Tick Size_ CTS_ TICK_ 208P T3ns - Sets the tick size to 208.3 ns.
- Counter
Tick Size_ CTS_ TICK_ 2000ns - Sets the tick size to 2000 ns.
- Counter
Tick Size_ CTS_ TICK_ 2083P T3ns - Sets the tick size to 2083.3 ns.
- Counter
Tick Size_ CTS_ TICK_ 20000ns - Sets the tick size to 20000 ns.
- Counter
Tick Size_ CTS_ TICK_ 20833P T3ns - Sets the tick size to 20833.3 ns.
- Coupling
Mode_ CM_ AC - AC coupling
- Coupling
Mode_ CM_ DC - DC coupling
- CtrConfig
Item_ CTR_ CFG_ REG - Returns or writes a bitmask indicating the configuration of one or more counters.
- CtrInfo
Item Dbl_ CTR_ INFO_ MAX_ SCAN_ RATE - Returns the maximum scan rate in samples per second to the \p infoValue argument. Index is ignored.
- CtrInfo
Item Dbl_ CTR_ INFO_ MAX_ THROUGHPUT - Returns the maximum throughput in samples per second to the \p infoValue argument. Index is ignored.
- CtrInfo
Item Dbl_ CTR_ INFO_ MIN_ SCAN_ RATE - Returns the minimum scan rate in samples per second to the \p infoValue argument. Index is ignored.
- CtrInfo
Item_ CTR_ INFO_ FIFO_ SIZE - Returns the FIFO size in bytes to the \p infoValue argument. Index is ignored.
- CtrInfo
Item_ 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.
- CtrInfo
Item_ 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.
- CtrInfo
Item_ 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.
- CtrInfo
Item_ CTR_ INFO_ NUM_ CTRS - Returns the total number of counters to the \p infoValue argument. Index is ignored.
- CtrInfo
Item_ CTR_ INFO_ REGISTER_ TYPES - Returns a bitmask of supported #CounterRegisterType values to the \p infoValue argument. Index is ignored.
- CtrInfo
Item_ CTR_ INFO_ RESOLUTION - Returns the resolution to the \p infoValue argument. Index is ignored.
- CtrInfo
Item_ CTR_ INFO_ SCAN_ OPTIONS - Returns a bitmask of supported #ScanOption values to the \p infoValue argument. Index is ignored.
- CtrInfo
Item_ CTR_ INFO_ TRIG_ TYPES - Returns a bitmask of supported #TriggerType values to the \p infoValue argument. Index is ignored.
- DInScan
Flag_ DINSCAN_ FF_ DEFAULT - Standard scan properties. Placeholder for future values
- DOut
Scan Flag_ DOUTSCAN_ FF_ DEFAULT - Standard scan properties. Placeholder for future values.
- DaqDevice
Interface_ ANY_ IFC - Any interface
- DaqDevice
Interface_ BLUETOOTH_ IFC - Bluetooth interface
- DaqDevice
Interface_ ETHERNET_ IFC - Ethernet interface
- DaqDevice
Interface_ USB_ IFC - USB interface
- DaqEvent
Type_ DE_ NONE - No event type. Possible return value for ulDevGetInfo(). Not a valid value for ulEnableEvent() and ulDisableEvent().
- DaqEvent
Type_ DE_ ON_ DATA_ AVAILABLE - Defines an event trigger condition that occurs when a specified number of samples are available.
- DaqEvent
Type_ DE_ ON_ END_ OF_ INPUT_ SCAN - Defines an event trigger condition that occurs upon completion of an input scan operation such as ulAInScan().
- DaqEvent
Type_ DE_ ON_ END_ OF_ OUTPUT_ SCAN - Defines an event trigger condition that occurs upon completion of an output scan operation such as ulAOutScan().
- DaqEvent
Type_ DE_ ON_ INPUT_ SCAN_ ERROR - Defines an event trigger condition that occurs when an input scan error occurs.
- DaqEvent
Type_ DE_ ON_ OUTPUT_ SCAN_ ERROR - Defines an event trigger condition that occurs when an output scan error occurs.
- DaqI
Info Item Dbl_ DAQI_ INFO_ MAX_ SCAN_ RATE - Returns the maximum scan rate in samples per second to the \p infoValue argument. Index is ignored.
- DaqI
Info Item Dbl_ DAQI_ INFO_ MAX_ THROUGHPUT - Returns the minimum throughput to the \p infoValue argument. Index is ignored.
- DaqI
Info Item Dbl_ DAQI_ INFO_ MIN_ SCAN_ RATE - Returns the minimum scan rate in samples per second to the \p infoValue argument. Index is ignored.
- DaqI
Info Item_ DAQI_ INFO_ CHAN_ TYPES - Returns a bitmask of supported #DaqInChanType values to the \p infoValue argument. Index is ignored.
- DaqI
Info Item_ DAQI_ INFO_ FIFO_ SIZE - Returns the FIFO size in bytes to the \p infoValue argument. Index is ignored.
- DaqI
Info Item_ DAQI_ INFO_ SCAN_ OPTIONS - Returns a bitmask of supported #ScanOption values to the \p infoValue argument. Index is ignored.
- DaqI
Info Item_ DAQI_ INFO_ TRIG_ TYPES - Returns a bitmask of supported #TriggerType values to the \p infoValue argument. Index is ignored.
- DaqIn
Chan Type_ DAQI_ ANALOG_ DIFF - Analog input channel, differential mode
- DaqIn
Chan Type_ DAQI_ ANALOG_ SE - Analog input channel, single-ended mode
- DaqIn
Chan Type_ DAQI_ CTR16 - 16-bit counter channel.
- DaqIn
Chan Type_ DAQI_ CTR32 - 32-bit counter channel.
- DaqIn
Chan Type_ DAQI_ CTR48 - 48-bit counter channel.
- DaqIn
Chan Type_ DAQI_ DAC - DAQI_CTR64
- DaqIn
Chan Type_ DAQI_ DIGITAL - Digital channel
- DaqIn
Scan Flag_ DAQINSCAN_ FF_ DEFAULT - Data is returned with scaling and calibration factors applied to analog channel data.
- DaqIn
Scan Flag_ DAQINSCAN_ FF_ NOCALIBRATEDATA - Data for analog channels is returned without calibration factors applied.
- DaqIn
Scan Flag_ DAQINSCAN_ FF_ NOCLEAR - Counters are not cleared (set to 0) when a scan starts.
- DaqIn
Scan Flag_ DAQINSCAN_ FF_ NOSCALEDATA - Data for analog channels is returned in native format, without scaling applied.
- DaqO
Info Item Dbl_ DAQO_ INFO_ MAX_ SCAN_ RATE - Returns the maximum scan rate in samples per second to the \p infoValue argument. Index is ignored.
- DaqO
Info Item Dbl_ DAQO_ INFO_ MAX_ THROUGHPUT - Returns the maximum throughput in samples per second to the \p infoValue argument. Index is ignored.
- DaqO
Info Item Dbl_ DAQO_ INFO_ MIN_ SCAN_ RATE - Returns the minimum scan rate in samples per second to the \p infoValue argument. Index is ignored.
- DaqO
Info Item_ DAQO_ INFO_ CHAN_ TYPES - Returns a bitmask of supported #DaqOutChanType values to the \p infoValue argument. Index is ignored.
- DaqO
Info Item_ DAQO_ INFO_ FIFO_ SIZE - Returns the FIFO size in bytes to the \p infoValue argument. Index is ignored.
- DaqO
Info Item_ DAQO_ INFO_ SCAN_ OPTIONS - Returns a bitmask of supported #ScanOption values to the \p infoValue argument. Index is ignored.
- DaqO
Info Item_ DAQO_ INFO_ TRIG_ TYPES - Returns a bitmask of supported #TriggerType values to the \p infoValue argument. Index is ignored.
- DaqOut
Chan Type_ DAQO_ ANALOG - Analog output
- DaqOut
Chan Type_ DAQO_ DIGITAL - Digital output
- DaqOut
Scan Flag_ DAQOUTSCAN_ FF_ DEFAULT - The data buffer contains scaled data for analog channels, and calibration factors are applied to analog outputs.
- DaqOut
Scan Flag_ DAQOUTSCAN_ FF_ NOCALIBRATEDATA - Data for analog channels is output without calibration factors applied.
- DaqOut
Scan Flag_ DAQOUTSCAN_ FF_ NOSCALEDATA - Data for analog channels is in native format, without scaling applied.
- DevConfig
Item Str_ DEV_ CFG_ IP_ ADDR_ STR - Returns the IP address of the Ethernet DAQ device
- DevConfig
Item Str_ DEV_ CFG_ NET_ IFC_ STR - Returns the name of the network interface which is used to connect to the Ethernet DAQ device
- DevConfig
Item Str_ DEV_ CFG_ VER_ STR - Returns the version of the device system defined by the #DevVersionType value of the \p index argument
- DevConfig
Item_ 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.
- DevConfig
Item_ DEV_ CFG_ HAS_ EXP - Returns a non-zero value to \p configValue if an expansion board is attached; otherwise, returns zero.
- DevConfig
Item_ DEV_ CFG_ MEM_ UNLOCK_ CODE - Memory unlock code. The unlock code is 0xAA55
- DevConfig
Item_ 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
- DevInfo
Item_ DEV_ INFO_ DAQ_ EVENT_ TYPES - Returns a bitmask of #DaqEventType values to \p infoValue if events are supported; otherwise, returns zero. Index is ignored.
- DevInfo
Item_ DEV_ INFO_ HAS_ AI_ DEV - Returns a non-zero value to \p infoValue if analog input is supported; otherwise, returns zero. Index is ignored.
- DevInfo
Item_ DEV_ INFO_ HAS_ AO_ DEV - Returns a non-zero value to \p infoValue if analog output is supported; otherwise, returns zero. Index is ignored.
- DevInfo
Item_ DEV_ INFO_ HAS_ CTR_ DEV - Returns a non-zero value to \p infoValue if counter input is supported; otherwise, returns zero. Index is ignored.
- DevInfo
Item_ DEV_ INFO_ HAS_ DAQI_ DEV - Returns a non-zero value to \p infoValue if synchronous input is supported; otherwise, returns zero. Index is ignored.
- DevInfo
Item_ DEV_ INFO_ HAS_ DAQO_ DEV - Returns a non-zero value to \p infoValue if synchronous output is supported. Index is ignored.
- DevInfo
Item_ 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.
- DevInfo
Item_ DEV_ INFO_ HAS_ TMR_ DEV - Returns a non-zero value to \p infoValue if timer output is supported; otherwise, returns zero. Index is ignored.
- DevInfo
Item_ DEV_ INFO_ MEM_ REGIONS - Returns a bitmask of #MemRegion values to \p infoValue, indicating memory regions available.
- DevVersion
Type_ DEV_ VER_ FPGA - FPGA version installed on the current device is returned to the \p configStr argument.
- DevVersion
Type_ DEV_ VER_ FW_ MAIN - Firmware version installed on the current device is returned to the \p configStr argument.
- DevVersion
Type_ DEV_ VER_ FW_ MEASUREMENT - Measurement firmware version installed on the current device is returned to the \p configStr argument.
- DevVersion
Type_ 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.
- DevVersion
Type_ DEV_ VER_ RADIO - Radio firmware version installed on the current device is returned to the \p configStr argument.
- Digital
Direction_ DD_ INPUT - Input
- Digital
Direction_ DD_ OUTPUT - Output
- Digital
Port IoType_ DPIOT_ BITIO - Bitwise configurable
- Digital
Port IoType_ DPIOT_ IN - Fixed input port
- Digital
Port IoType_ DPIOT_ IO - Bidirectional (input or output) port
- Digital
Port IoType_ DPIOT_ NONCONFIG - Bidirectional (input or output) port; configuration is not required.
- Digital
Port IoType_ DPIOT_ OUT - Fixed output port
- Digital
Port Type_ AUXPORT - AuxPort
- Digital
Port Type_ AUXPOR T0 - AuxPort0
- Digital
Port Type_ AUXPOR T1 - AuxPort1
- Digital
Port Type_ AUXPOR T2 - AuxPort2
- Digital
Port Type_ EIGHTHPORTA - EighthPortA
- Digital
Port Type_ EIGHTHPORTB - EighthPortB
- Digital
Port Type_ EIGHTHPORTCH - EighthPortC High
- Digital
Port Type_ EIGHTHPORTCL - EighthPortC Low
- Digital
Port Type_ FIFTHPORTA - FifthPortA
- Digital
Port Type_ FIFTHPORTB - FifthPortB
- Digital
Port Type_ FIFTHPORTCH - FifthPortC High
- Digital
Port Type_ FIFTHPORTCL - FifthPortC Low
- Digital
Port Type_ FIRSTPORTA - FirstPortA
- Digital
Port Type_ FIRSTPORTB - FirstPortB
- Digital
Port Type_ FIRSTPORTC - FirstPortC
- Digital
Port Type_ FIRSTPORTCH - FirstPortC High
- Digital
Port Type_ FIRSTPORTCL - FirstPortC Low
- Digital
Port Type_ FOURTHPORTA - FourthPortA
- Digital
Port Type_ FOURTHPORTB - FourthPortB
- Digital
Port Type_ FOURTHPORTCH - FourthPortC High
- Digital
Port Type_ FOURTHPORTCL - FourthPortC Low
- Digital
Port Type_ SECONDPORTA - SecondPortA
- Digital
Port Type_ SECONDPORTB - SecondPortB
- Digital
Port Type_ SECONDPORTCH - SecondPortC High
- Digital
Port Type_ SECONDPORTCL - SecondPortC Low
- Digital
Port Type_ SEVENTHPORTA - SeventhPortA
- Digital
Port Type_ SEVENTHPORTB - SeventhPortB
- Digital
Port Type_ SEVENTHPORTCH - SeventhPortC High
- Digital
Port Type_ SEVENTHPORTCL - SeventhPortC Low
- Digital
Port Type_ SIXTHPORTA - SixthPortA
- Digital
Port Type_ SIXTHPORTB - SixthPortB
- Digital
Port Type_ SIXTHPORTCH - SixthPortC High
- Digital
Port Type_ SIXTHPORTCL - SixthPortC Low
- Digital
Port Type_ THIRDPORTA - ThirdPortA
- Digital
Port Type_ THIRDPORTB - ThirdPortB
- Digital
Port Type_ THIRDPORTCH - ThirdPortC High
- Digital
Port Type_ THIRDPORTCL - ThirdPortC Low
- DioConfig
Item_ 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.
- DioConfig
Item_ 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.
- DioConfig
Item_ 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.
- DioConfig
Item_ DIO_ CFG_ PORT_ LOGIC - Returns the port logic. A 0 indicates non-invert mode, and a non-zero value indicates output inverted.
- DioInfo
Item Dbl_ 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.
- DioInfo
Item Dbl_ 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.
- DioInfo
Item Dbl_ 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.
- DioInfo
Item_ 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.
- DioInfo
Item_ 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.
- DioInfo
Item_ 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.
- DioInfo
Item_ DIO_ INFO_ NUM_ PORTS - Returns the total number of digital ports to the \p infoValue argument. Index is ignored.
- DioInfo
Item_ 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.
- DioInfo
Item_ 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.
- DioInfo
Item_ 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.
- DioInfo
Item_ 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 - Iepe
Mode_ IEPE_ DISABLED - IEPE excitation current is disabled.
- Iepe
Mode_ IEPE_ ENABLED - IEPE excitation current is enabled.
- MemAccess
Type_ MA_ READ - Indicates read access for the location specified by the \p memRegion argument
- MemAccess
Type_ 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_ RESERVE D0 - 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.
- Pulse
OutOption_ PO_ DEFAULT - No PulseOut options are applied.
- Pulse
OutOption_ PO_ EXTTRIGGER - The output operation is held off until the specified trigger condition is met. Trigger conditions may be modified using ulTmrSetTrigger().
- Pulse
OutOption_ 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_
BIP1P T25VOLTS - -1.25 to +1.25 Volts
- Range_
BIP1VOLTS - -1 to +1 Volts
- Range_
BIP2P T5VOLTS - -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_
BIPP T005VOLTS - -.005 to +.005 Volts
- Range_
BIPP T01VOLTS - -.01 to +.01 Volts
- Range_
BIPP T05VOLTS - -.05 to +.05 Volts
- Range_
BIPP T078VOLTS - -0.078 to +0.078 Volts
- Range_
BIPP T1VOLTS - -.1 to +.1 Volts
- Range_
BIPP T2VOLTS - -0.2 to +0.2 Volts
- Range_
BIPP T5VOLTS - -.5 to +.5 Volts
- Range_
BIPP T25VOLTS - -0.25 to +0.25 Volts
- Range_
BIPP T125VOLTS - -0.125 to +0.125 Volts
- Range_
BIPP T156VOLTS - -.156 to +.156 Volts
- Range_
BIPP T312VOLTS - -.312 to +.312 Volts
- Range_
BIPP T625VOLTS - -.625 to +.625 Volts
- Range_
MA0T O20 - 0 to 20 Milliamps
- Range_
UNI1P T25VOLTS - 0 to +1.25 Volts
- Range_
UNI1VOLTS - 0 to +1 Volts
- Range_
UNI2P T5VOLTS - 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_
UNIP T005VOLTS - 0 to +.005 Volts
- Range_
UNIP T01VOLTS - 0 to +.01 Volts
- Range_
UNIP T05VOLTS - 0 to +.05 Volts
- Range_
UNIP T078VOLTS - 0 to +0.078 Volts
- Range_
UNIP T1VOLTS - 0 to +.1 Volts
- Range_
UNIP T2VOLTS - 0 to +0.2 Volts
- Range_
UNIP T5VOLTS - 0 to +.5 Volts
- Range_
UNIP T25VOLTS - 0 to +0.25 Volts
- Range_
UNIP T125VOLTS - 0 to +0.125 Volts
- Range_
UNIP T625VOLTS - 0 to +.625 Volts
- SIMULTANEOUS
- Scan
Option_ SO_ BLOCKIO - Transfers A/D data in blocks.
- Scan
Option_ 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.
- Scan
Option_ SO_ BURSTMODE - Enables burst mode sampling, minimizing the channel skew.
- Scan
Option_ SO_ CONTINUOUS - Scans data in an endless loop. The only way to stop the operation is with ulAInScanStop().
- Scan
Option_ SO_ DEFAULTIO - Transfers A/D data based on the board type and sampling speed.
- Scan
Option_ SO_ EXTCLOCK - Data conversions are controlled by an external clock signal.
- Scan
Option_ SO_ EXTTIMEBASE - Changes the internal clock’s timebase to an external timebase source. This can allow synchronization of multiple DAQ devices.
- Scan
Option_ SO_ EXTTRIGGER - Sampling begins when a trigger condition is met.
- Scan
Option_ SO_ PACEROUT - Enables or disables the internal pacer output on a DAQ device.
- Scan
Option_ SO_ RETRIGGER - Re-arms the trigger after a trigger event is performed.
- Scan
Option_ SO_ SINGLEIO - Transfers one packet of data at a time.
- Scan
Option_ SO_ TIMEBASEOUT - Enables or disables the internal timebase output on a DAQ device.
- Scan
Status_ SS_ IDLE - Scan is idle
- Scan
Status_ SS_ RUNNING - Scan is running
- Sensor
Connection Type_ SCT_ 2_ WIRE_ 1 - 2-wire with a single sensor per differential channel pair
- Sensor
Connection Type_ SCT_ 2_ WIRE_ 2 - 2-wire with two sensors per differential channel pair
- Sensor
Connection Type_ SCT_ 3_ WIRE - 3-wire with a single sensor per differential channel pair
- Sensor
Connection Type_ SCT_ 4_ WIRE - 4-wire with a single sensor per differential channel pair
- TInArray
Flag_ TINARRAY_ FF_ DEFAULT - Placeholder value. Standard functionality.
- TInArray
Flag_ 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
- Temp
Scale_ TS_ CELSIUS - Celcius
- Temp
Scale_ TS_ FAHRENHEIT - Fahrenheit
- Temp
Scale_ TS_ KELVIN - Kelvin
- Temp
Scale_ TS_ NOSCALE - No scale (Raw)
- Temp
Scale_ TS_ VOLTS - Volts
- Temp
Unit_ TU_ CELSIUS - Celcius
- Temp
Unit_ TU_ FAHRENHEIT - Fahrenheit
- Temp
Unit_ TU_ KELVIN - Kelvin
- Timer
Type_ TMR_ ADVANCED - Programmable frequency timer, plus other attributes such as pulse width.
- Timer
Type_ TMR_ STANDARD - Programmable frequency timer
- TmrIdle
State_ TMRIS_ HIGH - Idle high
- TmrIdle
State_ TMRIS_ LOW - Idle low
- TmrInfo
Item Dbl_ TMR_ INFO_ MAX_ FREQ - Returns the maximum output frequency to the \p infoValue argument. Index is ignored.
- TmrInfo
Item Dbl_ TMR_ INFO_ MIN_ FREQ - Returns the minimum output frequency to the \p infoValue argument. Index is ignored.
- TmrInfo
Item_ TMR_ INFO_ NUM_ TMRS - Returns the total number of timers to the \p infoValue argument. Index is ignored.
- TmrInfo
Item_ 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.
- Trigger
Type_ 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.
- Trigger
Type_ 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.
- Trigger
Type_ GATE_ HIGH - A digital gate. The operation is enabled only when the trigger input is at a logic high level.
- Trigger
Type_ 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.
- Trigger
Type_ GATE_ LOW - A digital gate. The operation is enabled only when the trigger input is at a logic low level.
- Trigger
Type_ 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.
- Trigger
Type_ 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.
- Trigger
Type_ 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.
- Trigger
Type_ 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.
- Trigger
Type_ TRIG_ HIGH - A digital trigger. The trigger condition is met when the trigger input is at a logic high level.
- Trigger
Type_ TRIG_ LOW - A digital trigger. The trigger condition is met when the trigger input is at a logic low level.
- Trigger
Type_ 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.
- Trigger
Type_ TRIG_ NONE - No trigger type. Valid for subsystem GetInfo functions; not a valid value for subsystem SetTrigger functions.
- Trigger
Type_ 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.
- Trigger
Type_ 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.
- Trigger
Type_ 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.
- Trigger
Type_ 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.
- Trigger
Type_ 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.
- Trigger
Type_ 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.
- UlConfig
Item_ 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
- UlInfo
Item Str_ UL_ INFO_ VER_ STR - Wait
Type_ WAIT_ UNTIL_ DONE - Function returns when the scan operation completes or the time specified by the \p timeout argument value elapses.
Functions§
- ulAI
GetConfig ⚠ - \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.
- ulAI
GetConfig ⚠Dbl - \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.
- ulAI
GetConfig ⚠Str - \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.
- ulAI
GetInfo ⚠ - \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.
- ulAI
GetInfo ⚠Dbl - \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.
- ulAI
SetConfig ⚠ - \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.
- ulAI
SetConfig ⚠Dbl - \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.
- ulAIn
Load ⚠Queue - 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.
- ulAIn
Scan ⚠ - 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.
- ulAIn
Scan ⚠Status - 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.
- ulAIn
Scan ⚠Stop - Stops the analog input operation currently running. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
- ulAIn
Scan ⚠Wait - 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.
- ulAIn
SetTrigger ⚠ - 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.
- ulAO
GetConfig ⚠ - \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.
- ulAO
GetInfo ⚠ - \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.
- ulAO
GetInfo ⚠Dbl - \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.
- ulAO
SetConfig ⚠ - \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.
- ulAOut
Array ⚠ - 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.
- ulAOut
Scan ⚠ - 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.
- ulAOut
Scan ⚠Status - 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.
- ulAOut
Scan ⚠Stop - Stops the analog output operation currently running. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
- ulAOut
Scan ⚠Wait - 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.
- ulAOut
SetTrigger ⚠ - 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.
- ulCConfig
Scan ⚠ - 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.
- ulCIn
Scan ⚠ - 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.
- ulCIn
Scan ⚠Status - 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.
- ulCIn
Scan ⚠Stop - Stops the counter input operation currently running. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
- ulCIn
Scan ⚠Wait - 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.
- ulCIn
SetTrigger ⚠ - 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.
- ulConnect
DaqDevice ⚠ - Establish a connection to a physical DAQ device. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
- ulCreate
DaqDevice ⚠ - 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.
- ulCreate
DaqDevice ⚠Ptr - 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.
- ulCtr
GetConfig ⚠ - \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.
- ulCtr
GetInfo ⚠ - \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.
- ulCtr
GetInfo ⚠Dbl - \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.
- ulCtr
SetConfig ⚠ - \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.
- ulDBit
In ⚠ - 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.
- ulDBit
Out ⚠ - 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.
- ulDClear
Alarm ⚠ - 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.
- ulDConfig
Bit ⚠ - 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.
- ulDConfig
Port ⚠ - 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.
- ulDIO
GetConfig ⚠ - \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.
- ulDIO
GetInfo ⚠ - \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.
- ulDIO
GetInfo ⚠Dbl - \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.
- ulDIO
SetConfig ⚠ - \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.
- ulDIn
Array ⚠ - 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.
- ulDIn
Scan ⚠ - 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.
- ulDIn
Scan ⚠Status - 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.
- ulDIn
Scan ⚠Stop - Stops the digital input operation currently running. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
- ulDIn
Scan ⚠Wait - 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.
- ulDIn
SetTrigger ⚠ - 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.
- ulDOut
Array ⚠ - 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.
- ulDOut
Scan ⚠ - 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.
- ulDOut
Scan ⚠Status - 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.
- ulDOut
Scan ⚠Stop - Stops the digital output operation currently running. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
- ulDOut
Scan ⚠Wait - 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.
- ulDOut
SetTrigger ⚠ - 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.
- ulDaq
Device ⚠Connection Code - 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.
- ulDaqI
GetInfo ⚠ - \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.
- ulDaqI
GetInfo ⚠Dbl - \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.
- ulDaq
InScan ⚠ - 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.
- ulDaq
InScan ⚠Status - 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.
- ulDaq
InScan ⚠Stop - Stops the synchronous input operation currently running. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
- ulDaq
InScan ⚠Wait - 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.
- ulDaq
InSet ⚠Trigger - 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.
- ulDaqO
GetInfo ⚠ - \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.
- ulDaqO
GetInfo ⚠Dbl - \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.
- ulDaq
OutScan ⚠ - 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.
- ulDaq
OutScan ⚠Status - 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.
- ulDaq
OutScan ⚠Stop - Stops the synchronous output operation currently running. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
- ulDaq
OutScan ⚠Wait - 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.
- ulDaq
OutSet ⚠Trigger - 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.
- ulDev
GetConfig ⚠ - 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.
- ulDev
GetConfig ⚠Str - 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.
- ulDev
GetInfo ⚠ - 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.
- ulDev
SetConfig ⚠ - 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.
- ulDisable
Event ⚠ - 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.
- ulDisconnect
DaqDevice ⚠ - Disconnect from a device. @param daqDeviceHandle the handle to the DAQ device @return The UL error code.
- ulEnable
Event ⚠ - 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.
- ulFlash
Led ⚠ - \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.
- ulGet
Config ⚠ - 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. - ulGet
DaqDevice ⚠Descriptor - 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.
- ulGet
DaqDevice ⚠Inventory - \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.
- ulGet
ErrMsg ⚠ - 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.
- ulGet
Info ⚠Str - 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.
- ulGet
NetDaq ⚠Device Descriptor - 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.
- ulIs
DaqDevice ⚠Connected - 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.
- ulMem
GetInfo ⚠ - \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.
- ulMem
Read ⚠ - 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.
- ulMem
Write ⚠ - 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.
- ulRelease
DaqDevice ⚠ - 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.
- ulSet
Config ⚠ - 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.
- ulTIn
Array ⚠ - 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.
- ulTmr
GetInfo ⚠ - \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.
- ulTmr
GetInfo ⚠Dbl - \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.
- ulTmr
Pulse ⚠OutStart - 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.
- ulTmr
Pulse ⚠OutStatus - 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.
- ulTmr
Pulse ⚠OutStop - Stops a timer output. @param daqDeviceHandle the handle to the DAQ device @param timerNum the timer number to stop @return The UL error code.
- ulTmr
SetTrigger ⚠ - 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.
- AInScan
Flag - Use as the \p flags argument value for the ulAInScan() function to set properties of data returned.
- AOut
Array Flag - Use as the \p flags argument value for ulAOutArray() to set the properties of data supplied to the function.
- AOut
Flag - Use as the \p flags argument value for ulAOut() to set the properties of data supplied to the function.
- AOut
Scan Flag - Use as the \p flags argument value for ulAOutScan() to set the properties of data supplied to the function.
- AOut
Sense Mode - Use with #AoConfigItem to set configuration options at runtime.
- AOut
Sync Mode - Use with #AoConfigItem to set configuration options at runtime.
- AdcTiming
Mode - ADC timing modes
- AiCal
Table Type - Analog input calibration table types
- AiChan
Queue Limitation - Device queue limitations
- AiChan
Type - Analog input channel types
- AiConfig
Item - Use with ulAISetConfig() and ulAIGetConfig() to configure the AI subsystem.
- AiConfig
Item Dbl - Use with ulAISetConfigDbl() and ulAIGetConfigDbl() to configure the AI subsystem.
- AiConfig
Item Str - Use with ulAIGetConfigStr() as a \p configItem argument value to get the current analog input configuration of the current device.
- AiInfo
Item - Use with ulAIGetInfo() to obtain information about the analog input subsystem for the specified device as an \p infoItem argument value.
- AiInfo
Item Dbl - Use with ulAIGetInfoDbl() to obtain information about the analog input subsystem for the specified device as an \p infoItem argument value.
- AiInput
Mode - A/D channel input modes
- AiQueue
Type - Bitmask indicating supported queue types. Returned to the \p infoValue argument by ulAIGetInfo() using #AiInfoItem ::AI_INFO_QUEUE_TYPES.
- AiReject
Freq Type - Analog input rejection frequency types
- AoConfig
Item - Use with ulAOSetConfig() and ulAOGetConfig() to configure the AO subsystem.
- AoInfo
Item - Use with ulAOGetInfo() to obtain information about the analog output subsystem for the specified device as an \p infoItem argument value.
- AoInfo
Item Dbl - Use with ulAOGetInfoDbl() to obtain information about the analog output subsystem for the specified device as an \p infoItem argument value.
- Auto
Zero Mode - Auto zero modes
- CConfig
Scan Flag - Use as the \p flags argument value for ulCConfigScan(). Reserved for future use.
- CInScan
Flag - Use as the \p flags argument value for ulCInScan() to set counter properties.
- Counter
Debounce Mode - Use as the value for the \p debounceTime argument for ulCConfigScan() to set the glitch rejection properties of a counter.
- Counter
Debounce Time - Use as the value for the \p debounceTime argument for ulCConfigScan() when #CounterDebounceMode is not ::CDM_NONE.
- Counter
Edge Detection - Use as the value for the \p edgeDetection argument for ulCConfigScan().
- Counter
Measurement Mode - Use as the value for the \p mode argument for ulCConfigScan(). This value should be set consistent with the \p type argument value.
- Counter
Measurement Type - Use as the value for the \p type argument for ulCConfigScan(). Use ulCtrGetInfo() with the ::CTR_INFO_MEASUREMENT_TYPES \p infoItem to check compatibility.
- Counter
Register Type - Used for the ulCLoad() \p registerType argument, and as the value returned by ulCtrGetInfo() for the ::CTR_INFO_REGISTER_TYPES infoItem.
- Counter
Tick Size - 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.
- Coupling
Mode - Coupling modes
- CtrConfig
Item - Use with ulCtrSetConfig() and ulCtrGetConfig() to configure the Ctr subsystem.
- CtrInfo
Item - Use with ulCtrGetInfo() to obtain information about the counter subsystem for the specified device as an \p infoItem argument value.
- CtrInfo
Item Dbl - Use with ulCtrGetInfoDbl() to obtain information about the counter subsystem for the specified device as an \p infoItem argument value.
- DInScan
Flag - Use as the \p flags argument value for ulDInScan() to set the properties of data returned.
- DOut
Scan Flag - Use as the \p flags argument value for ulDOutScan() to set properties of data sent.
- DaqDevice
Handle - The DAQ device
- DaqDevice
Interface - A bitmask defining the physical connection interface used to communicate with a DAQ device. Used with ulGetDaqDeviceInventory() as an \p interfaceTypes argument value.
- DaqEvent
Callback - The callback function called in response to an event condition.
- DaqEvent
Type - 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().
- DaqI
Info Item - Use with ulDaqIGetInfo() to obtain information about the DAQ input subsystem for the specified device as an \p infoItem argument value.
- DaqI
Info Item Dbl - Use with ulDaqIGetInfoDbl() to obtain information about the DAQ input subsystem for the specified device as an \p infoItem argument value.
- DaqIn
Chan Type - 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.
- DaqIn
Scan Flag - Use as the \p flags argument value for ulDaqInScan() to set the properties of data returned.
- DaqO
Info Item - Use with ulDaqOGetInfo() to obtain information about the DAQ output subsystem for the specified device as an \p infoItem argument value.
- DaqO
Info Item Dbl - Use with ulDaqOGetInfoDbl() to obtain information about the DAQ output subsystem for the specified device as an \p infoItem argument value.
- DaqOut
Chan Type - 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.
- DaqOut
Scan Flag - Use as the \p flags argument value for ulDaqOutScan() to set the properties of data sent.
- DevConfig
Item - Use with ulDevGetConfig() as a \p configItem argument value to get the current configuration of the specified device.
- DevConfig
Item Str - Use with ulDevGetConfigStr() as a \p configItem argument value to get the current configuration of the specified the specified device.
- DevInfo
Item - Use with ulDevGetInfo() as an \p infoItem argument value to obtain information for the specified device.
- DevVersion
Type - Used with ulDevGetConfigStr() as an \p index argument value with the \p infoItem argument set to ::DEV_CFG_VER_STR for the specified device.
- Digital
Direction - Used with ulDConfigPort() and ulDConfigBit() as the \p direction argument value.
- Digital
Port IoType - Used with ulDIOGetInfo() as the \p infoValue argument value when used with ::DIO_INFO_PORT_IO_TYPE.
- Digital
Port Type - Used with all digital I/O functions and with ulDIOGetInfo() as the \p infoValue argument value when used with ::DIO_INFO_PORT_IO_TYPE.
- DioConfig
Item - 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.
- DioInfo
Item - Use with ulDIOGetInfo() to obtain information about the DIO subsystem for the specified device as an \p infoItem argument value.
- DioInfo
Item Dbl - Use with ulDIOGetInfoDbl() as an \p infoItem argument to obtain information about the DIO subsystem for the specified device.
- Iepe
Mode - IEPE modes
- MemAccess
Type - 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
- Pulse
OutOption - 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. - Scan
Option - 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.
- Scan
Status - Scan status
- Sensor
Connection Type - Sensor connection types
- TInArray
Flag - 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
- Temp
Scale - Temperature units
- Temp
Unit - Temperature units
- Timer
Type - Types of timer channels
- TmrIdle
State - Timer idle state
- TmrInfo
Item - Use with ulTmrGetInfo() to obtain information about the timer subsystem for the specified device as an \p infoItem argument value.
- TmrInfo
Item Dbl - 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.
- Trigger
Type - 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.
- UlConfig
Item - UlError
- UL error codes
- UlInfo
Item Str - Library version
- Wait
Type - Used with the subsystem ScanWait functions as the \p waitType argument value for the specified device.