92 #define ERR_MSG_LEN 512
699 AZM_EVERY_SAMPLE = 2,
717 ADC_TM_HIGH_SPEED = 3
1101 #define NOSCALEDATA 1 << 0
1102 #define NOCALIBRATEDATA 1 << 1
1103 #define SIMULTANEOUS 1 << 2
1104 #define NOCLEAR 1 << 3
1795 UL_INFO_VER_STR = 2000
1800 UL_CFG_USB_XFER_PRIORITY = 1
1983 AI_CFG_SCAN_CHAN_TEMP_UNIT = 3,
1990 AI_CFG_ADC_TIMING_MODE = 5,
1993 AI_CFG_AUTO_ZERO_MODE = 6,
1998 AI_CFG_CAL_DATE = 7,
2026 AI_CFG_EXP_CAL_DATE = 15,
2897 UlError ulCIn(DaqDeviceHandle daqDeviceHandle,
int counterNum,
unsigned long long* data);
2956 UlError ulCInScan(DaqDeviceHandle daqDeviceHandle,
int lowCounterNum,
int highCounterNum,
int samplesPerCounter,
double* rate,
ScanOption options,
CInScanFlag flags,
unsigned long long data[]);
3253 UlError ulGetInfoStr(UlInfoItemStr infoItem,
unsigned int index,
char* infoStr,
unsigned int* maxConfigLen);
3263 UlError ulSetConfig(UlConfigItem configItem,
unsigned int index,
long long configValue);
3273 UlError ulGetConfig(UlConfigItem configItem,
unsigned int index,
long long* configValue);
The calibration table type.
Definition: uldaq.h:2017
Configures the counter to decrement by the signal on the mapped channel for the CMT_COUNT measurement...
Definition: uldaq.h:1467
Returns the IP address of the Ethernet DAQ device.
Definition: uldaq.h:1865
Placeholder value.
Definition: uldaq.h:1194
Returns a bitmask of AiChanQueueLimitation values to the infoValue argument that apply to the queue...
Definition: uldaq.h:1942
UlError ulAOGetConfig(DaqDeviceHandle daqDeviceHandle, AoConfigItem configItem, unsigned int index, long long *configValue)
Use with AoConfigItem to retrieve configuration options set for a device.
FirstPortA.
Definition: uldaq.h:819
UlError ulDConfigPort(DaqDeviceHandle daqDeviceHandle, DigitalPortType portType, DigitalDirection direction)
Configures a digital port as input or output.
UlError ulAOutScanStatus(DaqDeviceHandle daqDeviceHandle, ScanStatus *status, TransferStatus *xferStatus)
Returns the status, count, and index of a D/A scan operation.
2-wire with a single sensor per differential channel pair
Definition: uldaq.h:500
SensorConnectionType
Sensor connection types.
Definition: uldaq.h:497
unsigned int size
A numeric value that specifies the size of the memory area at the specified address.
Definition: uldaq.h:2371
Scaled data is supplied and calibration factors are applied to output.
Definition: uldaq.h:1181
DigitalDirection
Used with ulDConfigPort() and ulDConfigBit() as the direction argument value.
Definition: uldaq.h:938
Data for analog channels is returned in native format, without scaling applied.
Definition: uldaq.h:1304
TempUnit
Temperature units.
Definition: uldaq.h:660
Encoder measurement.
Definition: uldaq.h:1349
AC coupling.
Definition: uldaq.h:738
Volts.
Definition: uldaq.h:685
AiInputMode
A/D channel input modes.
Definition: uldaq.h:429
4-wire with a single sensor per differential channel pair
Definition: uldaq.h:509
Returns a zero or non-zero value to the infoValue argument.
Definition: uldaq.h:1913
UlError ulDIOSetConfig(DaqDeviceHandle daqDeviceHandle, DioConfigItem configItem, unsigned int index, long long configValue)
Use with DioConfigItem to retrieve information about the DIO subsystem.
-.1 to +.1 Volts
Definition: uldaq.h:566
char reserved[64]
Reserved for future use.
Definition: uldaq.h:1084
Thermocouple.
Definition: uldaq.h:453
No error has occurred.
Definition: uldaq.h:98
UlError ulFlashLed(DaqDeviceHandle daqDeviceHandle, int flashCount)
Causes the LED on a DAQ device to flash.
Invalid analog input channel specified.
Definition: uldaq.h:140
Bitwise configurable.
Definition: uldaq.h:931
FirstPortC.
Definition: uldaq.h:825
Invalid configuration value.
Definition: uldaq.h:173
UlError ulAOutScan(DaqDeviceHandle daqDeviceHandle, int lowChan, int highChan, Range range, int samplesPerChan, double *rate, ScanOption options, AOutScanFlag flags, double data[])
Writes values to a range of D/A channels.
Falling edge.
Definition: uldaq.h:1562
Sets the tick size to 2083.3 ns.
Definition: uldaq.h:1577
CounterMeasurementMode
Use as the value for the mode argument for ulCConfigScan().
Definition: uldaq.h:1353
AOutSenseMode
Use with AoConfigItem to set configuration options at runtime.
Definition: uldaq.h:1250
DaqDeviceInterface devInterface
The enumeration indicating the type of interface in use by the device referenced by the DaqDeviceDesc...
Definition: uldaq.h:47
AiInputMode inputMode
The input mode to use for the specified channel for the queue element.
Definition: uldaq.h:1078
Enables or disables the internal timebase output on a DAQ device.
Definition: uldaq.h:1147
UlError ulDaqOGetInfoDbl(DaqDeviceHandle daqDeviceHandle, DaqOInfoItemDbl infoItem, unsigned int index, double *infoValue)
Use with DaqOInfoItemDbl to retrieve information about the synchronous output subsystem.
Returns the channel coefficients used for the configured sensor.
Definition: uldaq.h:2056
Wait for new data before returning.
Definition: uldaq.h:1207
AuxPort.
Definition: uldaq.h:807
Sets up the counter as a 32-bit counter channel.
Definition: uldaq.h:1271
Returns the maximum scan rate to the infoValue argument for the specified digital direction...
Definition: uldaq.h:2172
A digital pattern trigger.
Definition: uldaq.h:1059
Returns a bitmask of supported CounterMeasurementMode values compatible with the CounterMeasurementTy...
Definition: uldaq.h:2219
Rising edge.
Definition: uldaq.h:1559
The sense mode for the specified channel.
Definition: uldaq.h:2115
A structure that defines an input channel and its properties.
Definition: uldaq.h:1656
CounterTickSize
Use as the value for the tickSize argument for ulCConfigScan() when CounterDebounceMode is CMT_PERIOD...
Definition: uldaq.h:1568
MemAccessType accessTypes
A bitmask indicating the access rights to the memory at the specified address (read, write, or both).
Definition: uldaq.h:2374
Range range
The range to be used for the specified channel; ignored if not analog.
Definition: uldaq.h:1699
The register that sets the count value at which the counter output will reset to its original state...
Definition: uldaq.h:1622
Maximum offset value reached.
Definition: uldaq.h:245
Data for analog channels is returned without calibration factors applied.
Definition: uldaq.h:1307
Returns a bitmask of supported TriggerType values to the infoValue argument.
Definition: uldaq.h:2304
DaqDeviceHandle ulCreateDaqDevice(DaqDeviceDescriptor daqDevDescriptor)
Create a device object within the Universal Library for the DAQ device specified by the descriptor...
Invalid edge detection mode specified.
Definition: uldaq.h:308
DaqOutChanType
A bitmask used with synchronous output scanning operations as a field in the DaqOutChanDescriptor str...
Definition: uldaq.h:1676
DAQI_CTR64.
Definition: uldaq.h:1649
Configures the counter for default counting modes for the CMT_COUNT measurement type.
Definition: uldaq.h:1356
AoConfigItem
Use with ulAOSetConfig() and ulAOGetConfig() to configure the AO subsystem.
Definition: uldaq.h:2109
Invalid memory region.
Definition: uldaq.h:134
Invalid thermocouple type specified.
Definition: uldaq.h:182
UlError ulDaqDeviceConnectionCode(DaqDeviceHandle daqDeviceHandle, long long code)
Specifies connection code of a DAQ device.
Field calibration table.
Definition: uldaq.h:789
Fahrenheit.
Definition: uldaq.h:679
Scanning is enabled as long as the external analog trigger is outside the region defined by the level...
Definition: uldaq.h:1041
Memory access denied.
Definition: uldaq.h:335
FPGA version installed on the current device is returned to the configStr argument.
Definition: uldaq.h:1878
Invalid trigger level specified.
Definition: uldaq.h:365
No trigger type.
Definition: uldaq.h:986
-0.125 to +0.125 Volts
Definition: uldaq.h:560
FPGA not loaded.
Definition: uldaq.h:230
EighthPortA.
Definition: uldaq.h:906
TmrInfoItemDbl
Use with ulTmrGetInfoDbl() to obtain information about the timer subsystem for the specified device a...
Definition: uldaq.h:2278
Returns a non-zero value to infoValue if paced digital operation (scanning) is supported.
Definition: uldaq.h:2145
Firmware version installed on the current device is returned to the configStr argument.
Definition: uldaq.h:1875
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1498
Invalid gain queue specified.
Definition: uldaq.h:218
UlError ulDBitOut(DaqDeviceHandle daqDeviceHandle, DigitalPortType portType, int bitNum, unsigned int bitValue)
Writes a value to a digital bit.
FIFO overrun, data was not transferred from device fast enough.
Definition: uldaq.h:152
Output.
Definition: uldaq.h:944
PulseOutOption
Used with ulTmrPulseOutStart() as the options argument value to set advanced options for the specifie...
Definition: uldaq.h:1709
The connection type of the sensor connected to the specified channel.
Definition: uldaq.h:2008
The timer is currently running.
Definition: uldaq.h:974
UlError ulAOutScanWait(DaqDeviceHandle daqDeviceHandle, WaitType waitType, long long waitParam, double timeout)
Returns when the scan operation completes on the specified device, or the time specified by the timeo...
Common-mode voltage range exceeded.
Definition: uldaq.h:419
Analog input channel, differential mode.
Definition: uldaq.h:1631
TmrIdleState
Timer idle state.
Definition: uldaq.h:958
DaqIInfoItemDbl
Use with ulDaqIGetInfoDbl() to obtain information about the DAQ input subsystem for the specified dev...
Definition: uldaq.h:2313
Returns the maximum scan rate in samples per second to the infoValue argument.
Definition: uldaq.h:2253
-.312 to +.312 Volts
Definition: uldaq.h:584
Data conversions are controlled by an external clock signal.
Definition: uldaq.h:1129
Operation timed out.
Definition: uldaq.h:158
MemAccessType
A bitmask used with ulMemGetInfo() as one of the field types returned in the MemDescriptor struct...
Definition: uldaq.h:1772
Invalid tick size specified.
Definition: uldaq.h:311
Input.
Definition: uldaq.h:941
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1538
Invalid number of channels specified.
Definition: uldaq.h:290
Indicates write access for the location specified by the memRegion argument.
Definition: uldaq.h:1778
IEPE excitation current is enabled.
Definition: uldaq.h:728
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1514
AOutArrayFlag
Use as the flags argument value for ulAOutArray() to set the properties of data supplied to the funct...
Definition: uldaq.h:1224
Invalid range.
Definition: uldaq.h:137
Returns the FIFO size in bytes to the infoValue argument.
Definition: uldaq.h:2307
EighthPortC Low.
Definition: uldaq.h:912
Programmable frequency timer, plus other attributes such as pulse width.
Definition: uldaq.h:954
Incompatible firmware version, firmware update required.
Definition: uldaq.h:377
The sync mode.
Definition: uldaq.h:2112
No PulseOut options are applied.
Definition: uldaq.h:1712
Defines an event trigger condition that occurs when an input scan error occurs.
Definition: uldaq.h:1739
-10 to +10 Volts
Definition: uldaq.h:530
Data is supplied in native format (usually, values ranging from 0 to 2resolution - 1)...
Definition: uldaq.h:1230
AiCalTableType
Analog input calibration table types.
Definition: uldaq.h:783
DaqEventType
A bitmask defining the types of conditions that trigger an event.
Definition: uldaq.h:1728
CounterRegisterType
Used for the ulCLoad() registerType argument, and as the value returned by ulCtrGetInfo() for the CTR...
Definition: uldaq.h:1604
Pulsewidth measurement.
Definition: uldaq.h:1341
UlError ulConnectDaqDevice(DaqDeviceHandle daqDeviceHandle)
Establish a connection to a physical DAQ device.
Returns a DigitalPortIoType value to the infoValue argument indicating the input, output...
Definition: uldaq.h:2134
Returns a bitmask of supported ScanOption values to the infoValue argument.
Definition: uldaq.h:2334
Invalid memory type.
Definition: uldaq.h:131
UlError ulTmrPulseOutStart(DaqDeviceHandle daqDeviceHandle, int timerNum, double *frequency, double *dutyCycle, unsigned long long pulseCount, double *initialDelay, TmrIdleState idleState, PulseOutOption options)
Starts a timer to generate digital pulses at a specified frequency and duty cycle.
Data is returned in native format, without scaling applied.
Definition: uldaq.h:1158
UlError ulDIOGetInfoDbl(DaqDeviceHandle daqDeviceHandle, DioInfoItemDbl infoItem, unsigned int index, double *infoValue)
Use with DioInfoItemDbl to retrieve information about the DIO subsystem.
FifthPortB.
Definition: uldaq.h:873
Load register.
Definition: uldaq.h:1610
Returns a bitmask of supported TriggerType values to the infoValue argument.
Definition: uldaq.h:2088
UlError ulDClearAlarm(DaqDeviceHandle daqDeviceHandle, DigitalPortType portType, unsigned long long mask)
Clears the alarm state for specified bits when alarms are configured to latch.
TInFlag
Use as the flags argument value for ulTIn() to set the properties of data returned; reserved for futu...
Definition: uldaq.h:1191
UlError ulMemWrite(DaqDeviceHandle daqDeviceHandle, MemRegion memRegion, unsigned int address, unsigned char *buffer, unsigned int count)
Writes a value to a specified region in memory.
DaqOutChanType type
The type of the specified channel, such as analog or digital.
Definition: uldaq.h:1696
SixthPortC High.
Definition: uldaq.h:891
Fixed output port.
Definition: uldaq.h:925
AiChanQueueLimitation
Device queue limitations.
Definition: uldaq.h:770
FifthPortA.
Definition: uldaq.h:870
Returns a bitmask of supported ScanOption values to the infoValue argument.
Definition: uldaq.h:1910
Returns the minimum scan rate in samples per second to the infoValue argument.
Definition: uldaq.h:1957
UlError ulTmrPulseOutStatus(DaqDeviceHandle daqDeviceHandle, int timerNum, TmrStatus *status)
The status of the timer output operation, if supported.
Returns a non-zero value to infoValue if synchronous output is supported.
Definition: uldaq.h:1826
A digital gate.
Definition: uldaq.h:1004
A digital pattern trigger.
Definition: uldaq.h:1053
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1510
Returns the number of analog output ranges supported to the infoValue argument.
Definition: uldaq.h:2081
DioConfigItem
Use with ulDIOGetConfig() and/or ulDIOSetConfig() as a configItem argument value to get the current c...
Definition: uldaq.h:2182
No scale (Raw)
Definition: uldaq.h:688
Returns the minimum scan rate in samples per second to the infoValue argument.
Definition: uldaq.h:2349
Bluetooth interface.
Definition: uldaq.h:24
An event handler has already been enabled for this event type.
Definition: uldaq.h:323
Configures the counter output to go high when the counter reaches the value of output register 0 for ...
Definition: uldaq.h:1378
Data is returned with scaling and calibration factors applied to analog channel data.
Definition: uldaq.h:1301
UlError ulAOGetInfo(DaqDeviceHandle daqDeviceHandle, AoInfoItem infoItem, unsigned int index, long long *infoValue)
Use with AoInfoItem to retrieve information about the AO subsystem.
-5 to +5 Volts
Definition: uldaq.h:533
Sets the tick size to 20.83 ns.
Definition: uldaq.h:1571
char reserved[64]
Reserved for future use.
Definition: uldaq.h:86
Kelvin.
Definition: uldaq.h:682
0 to 20 Milliamps
Definition: uldaq.h:656
AInFlag
Use as the flags argument value for ulAIn() to set the properties of data returned.
Definition: uldaq.h:1165
Invalid DAQ input channel type specified.
Definition: uldaq.h:287
void(* DaqEventCallback)(DaqDeviceHandle, DaqEventType, unsigned long long, void *)
The callback function called in response to an event condition.
Definition: uldaq.h:1782
Invalid channel order.
Definition: uldaq.h:368
AoInfoItem
Use with ulAOGetInfo() to obtain information about the analog output subsystem for the specified devi...
Definition: uldaq.h:2066
Maximum slope value reached.
Definition: uldaq.h:239
UlError ulDOutScanStatus(DaqDeviceHandle daqDeviceHandle, ScanStatus *status, TransferStatus *xferStatus)
Returns the status of the digital output operation.
SeventhPortB.
Definition: uldaq.h:897
Latches the counter measurement each time 100 complete periods are observed for the CMT_PERIOD measur...
Definition: uldaq.h:1408
Counter register.
Definition: uldaq.h:1607
Invalid IEPE mode.
Definition: uldaq.h:212
CounterDebounceTime
Use as the value for the debounceTime argument for ulCConfigScan() when CounterDebounceMode is not CD...
Definition: uldaq.h:1471
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1486
AuxPort0.
Definition: uldaq.h:810
Sample count cannot be greater than FIFO size for BURSTIO scans.
Definition: uldaq.h:167
Data is returned in native format, without scaling applied.
Definition: uldaq.h:1171
Radio firmware version installed on the current device is returned to the configStr argument...
Definition: uldaq.h:1881
TmrStatus
Used with ulTmrPulseOutStatus() as the status argument value returned (if supported) for the specifie...
Definition: uldaq.h:968
ScanOption
Used with many analog input and output functions, as well as a return value for the infoValue argumen...
Definition: uldaq.h:1110
An analog trigger.
Definition: uldaq.h:1012
Returns a bitmask of supported TriggerType values to the infoValue argument for the specified digital...
Definition: uldaq.h:2156
One or more bits on the specified port are used for alarm.
Definition: uldaq.h:413
Unhandled internal exception.
Definition: uldaq.h:101
DaqOInfoItemDbl
Use with ulDaqOGetInfoDbl() to obtain information about the DAQ output subsystem for the specified de...
Definition: uldaq.h:2346
Data socket connection failed.
Definition: uldaq.h:410
Returns a bitmask of supported DaqInChanType values to the infoValue argument.
Definition: uldaq.h:2296
The rejection frequency type.
Definition: uldaq.h:2020
Returns a bitmask of supported TriggerType values to the infoValue argument.
Definition: uldaq.h:2238
Configures the counter to increment when the gate pin is high, and decrement when the gate pin is low...
Definition: uldaq.h:1366
Invalid port type specified.
Definition: uldaq.h:248
Scaled data is supplied and calibration factors are applied to output.
Definition: uldaq.h:1214
long long currentIndex
This marks the location in the buffer where the last scan of data values are stored.
Definition: uldaq.h:83
FirstPortC Low.
Definition: uldaq.h:828
0 to +30 Volts
Definition: uldaq.h:596
A digital gate.
Definition: uldaq.h:1007
The AI subsystem supports a gain queue.
Definition: uldaq.h:758
UlError ulDConfigBit(DaqDeviceHandle daqDeviceHandle, DigitalPortType portType, int bitNum, DigitalDirection direction)
Configures a digital bit as input or output.
Returns the maximum throughput to the infoValue argument for the specified digital direction...
Definition: uldaq.h:2176
Sets the encoder measurement mode to X4 for the CMT_ENCODER measurement type.
Definition: uldaq.h:1441
-2.0 to +2.0 Volts
Definition: uldaq.h:542
Counters are not cleared (set to 0) when a scan starts.
Definition: uldaq.h:1310
Receive the D/A Load signal from an external source.
Definition: uldaq.h:1243
ThirdPortA.
Definition: uldaq.h:846
An analog trigger.
Definition: uldaq.h:1025
UlError ulGetNetDaqDeviceDescriptor(const char *host, unsigned short port, const char *ifcName, DaqDeviceDescriptor *daqDevDescriptor, double timeout)
Get the descriptor of the remote network DAQ device.
Type K.
Definition: uldaq.h:475
UlError ulDaqOGetInfo(DaqDeviceHandle daqDeviceHandle, DaqOInfoItem infoItem, unsigned int index, long long *infoValue)
Use with DaqOInfoItem to retrieve information about the synchronous output subsystem.
Configures the counter to restart when a clear or load operation is performed, or the count direction...
Definition: uldaq.h:1385
Returns a bitmask of supported AiChanType values to the infoValue argument.
Definition: uldaq.h:1907
Returns the minimum throughput to the infoValue argument.
Definition: uldaq.h:2322
Invalid duty cycle specified.
Definition: uldaq.h:275
Data for analog channels is output without calibration factors applied.
Definition: uldaq.h:1323
Returns the FIFO size in bytes to the infoValue argument.
Definition: uldaq.h:1945
Returns a non-zero value to infoValue if digital I/O is supported; otherwise, returns zero...
Definition: uldaq.h:1814
Measurement firmware version installed on the current device is returned to the configStr argument...
Definition: uldaq.h:1884
Latches the counter measurement each time 1 complete period is observed for the CMT_PERIOD measuremen...
Definition: uldaq.h:1402
Returns the name of the network interface which is used to connect to the Ethernet DAQ device...
Definition: uldaq.h:1868
Fixed input port.
Definition: uldaq.h:922
Invalid info item specified.
Definition: uldaq.h:194
UlError ulDaqInSetTrigger(DaqDeviceHandle daqDeviceHandle, TriggerType type, DaqInChanDescriptor trigChanDescriptor, double level, double variance, unsigned int retriggerSampleCount)
Configures the trigger parameters that will be used when ulDaqInScan() is called with the SO_RETRIGGE...
Invalid frequency specified.
Definition: uldaq.h:272
DigitalPortIoType
Used with ulDIOGetInfo() as the infoValue argument value when used with DIO_INFO_PORT_IO_TYPE.
Definition: uldaq.h:919
FirstPortC High.
Definition: uldaq.h:831
Returns the maximum throughput in samples per second to the infoValue argument.
Definition: uldaq.h:2256
Network interface used to obtain the device descriptor not available or disconnected.
Definition: uldaq.h:389
AiConfigItemStr
Use with ulAIGetConfigStr() as a configItem argument value to get the current analog input configurat...
Definition: uldaq.h:2049
Returns a zero or non-zero value to the infoValue argument.
Definition: uldaq.h:2230
-1.25 to +1.25 Volts
Definition: uldaq.h:545
Invalid option specified.
Definition: uldaq.h:161
Returns the maximum throughput in samples per second to the infoValue argument.
Definition: uldaq.h:2355
Standard scan properties.
Definition: uldaq.h:1287
Invalid analog output channel specified.
Definition: uldaq.h:263
Invalid bit number.
Definition: uldaq.h:254
Type S.
Definition: uldaq.h:487
Invalid counter measurement type specified.
Definition: uldaq.h:296
TempScale
Temperature units.
Definition: uldaq.h:673
Type T.
Definition: uldaq.h:478
Counter measurement.
Definition: uldaq.h:1332
Defines an event trigger condition that occurs when a specified number of samples are available...
Definition: uldaq.h:1736
Returns a bitmask of supported ScanOption values to the infoValue argument for the specified digital ...
Definition: uldaq.h:2151
Returns the total number of A/D channels to the infoValue argument.
Definition: uldaq.h:1898
UlError ulDaqOutScan(DaqDeviceHandle daqDeviceHandle, DaqOutChanDescriptor chanDescriptors[], int numChans, int samplesPerChan, double *rate, ScanOption options, DaqOutScanFlag flags, double data[])
Outputs values synchronously to analog output channels and digital output ports.
Returns the FIFO size in bytes to the infoValue argument.
Definition: uldaq.h:2091
UlError ulDaqOutScanWait(DaqDeviceHandle daqDeviceHandle, WaitType waitType, long long waitParam, double timeout)
Returns when the scan operation completes on the specified device, or the time specified by the timeo...
UlError ulDInArray(DaqDeviceHandle daqDeviceHandle, DigitalPortType lowPort, DigitalPortType highPort, unsigned long long data[])
Reads the specified digital ports, and Returns the data in an array.
Semiconductor.
Definition: uldaq.h:462
UlError ulAOutSetTrigger(DaqDeviceHandle daqDeviceHandle, TriggerType type, int trigChan, double level, double variance, unsigned int retriggerSampleCount)
Configures the trigger parameters that will be used when ulAOutScan() is called with the SO_RETRIGGER...
0 to +2.5 Volts
Definition: uldaq.h:614
UlError ulTmrGetInfoDbl(DaqDeviceHandle daqDeviceHandle, TmrInfoItemDbl infoItem, unsigned int index, double *infoValue)
Use with TmrInfoItemDbl to retrieve information about the timer subsystem.
The counter is incremented on the first edge at the counter input, then waits for a stable period of ...
Definition: uldaq.h:1552
DaqOInfoItem
Use with ulDaqOGetInfo() to obtain information about the DAQ output subsystem for the specified devic...
Definition: uldaq.h:2328
DaqInChanType
A bitmask used with synchronous input scanning operations as a field in the DaqInChanDescriptor struc...
Definition: uldaq.h:1628
0 to +1 Volts
Definition: uldaq.h:623
Placeholder value.
Definition: uldaq.h:1599
#define ERR_MSG_LEN
Definition: uldaq.h:92
Enables upper and lower limits for the CMT_ENCODER measurement type.
Definition: uldaq.h:1454
FourthPortC Low.
Definition: uldaq.h:864
Specifies the data settings region information returned to the MemDescriptor struct.
Definition: uldaq.h:1764
Internal error.
Definition: uldaq.h:203
Invalid initial delay specified.
Definition: uldaq.h:278
SixthPortA.
Definition: uldaq.h:882
Returns the maximum scan rate in samples per second to the infoValue argument.
Definition: uldaq.h:2102
Minimum offset value reached.
Definition: uldaq.h:242
Returns a bitmask of supported DaqOutChanType values to the infoValue argument.
Definition: uldaq.h:2331
TimerType
Types of timer channels.
Definition: uldaq.h:948
This function cannot be used with this device.
Definition: uldaq.h:107
Configures the initial state of the counter output pin high for the CMT_COUNT measurement type...
Definition: uldaq.h:1381
0 to +.625 Volts
Definition: uldaq.h:626
UlError ulDevGetInfo(DaqDeviceHandle daqDeviceHandle, DevInfoItem infoItem, unsigned int index, long long *infoValue)
Use with DevInfoItem to retrieve information about the device subsystem to determine which subsystem ...
UlError ulTmrPulseOutStop(DaqDeviceHandle daqDeviceHandle, int timerNum)
Stops a timer output.
An analog trigger.
Definition: uldaq.h:1017
Returns a DigitalPortType value to the infoValue argument indicating the type of the port specified b...
Definition: uldaq.h:2128
AiInfoItem
Use with ulAIGetInfo() to obtain information about the analog input subsystem for the specified devic...
Definition: uldaq.h:1892
Returns the A/D resolution in number of bits to the infoValue argument.
Definition: uldaq.h:1895
Returns the total number of counters to the infoValue argument.
Definition: uldaq.h:2211
Returns the FIFO size in bytes to the infoValue argument.
Definition: uldaq.h:2340
USB interface.
Definition: uldaq.h:21
TInArrayFlag
Use as the flags argument value for ulTInArray() to set the properties of data returned; reserved for...
Definition: uldaq.h:1201
Returns the maximum output frequency to the infoValue argument.
Definition: uldaq.h:2286
An analog trigger.
Definition: uldaq.h:1021
A particular channel number cannot appear more than once in the queue.
Definition: uldaq.h:773
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1490
SeventhPortC Low.
Definition: uldaq.h:900
Returns a value to the infoValue argument indicating the number of bits the specified port has...
Definition: uldaq.h:2140
Bidirectional (input or output) port.
Definition: uldaq.h:928
UlError ulDaqOutScanStatus(DaqDeviceHandle daqDeviceHandle, ScanStatus *status, TransferStatus *xferStatus)
Returns the status of a synchronous output operation.
Returns a bitmask of MemRegion values to infoValue, indicating memory regions available.
Definition: uldaq.h:1832
Invalid host specified.
Definition: uldaq.h:383
Inverts the polarity of the gate input for the CMT_TIMING measurement type.
Definition: uldaq.h:1432
Type E.
Definition: uldaq.h:481
Invalid counter specified.
Definition: uldaq.h:281
0 to +5 Volts
Definition: uldaq.h:608
UlError ulDevSetConfig(DaqDeviceHandle daqDeviceHandle, DevConfigItem configItem, unsigned int index, long long configValue)
Use with DevConfigItem to set configuration options at runtime.
DOutScanFlag
Use as the flags argument value for ulDOutScan() to set properties of data sent.
Definition: uldaq.h:1291
UlError ulGetErrMsg(UlError errCode, char errMsg[ERR_MSG_LEN])
Returns the error message associated with an error code.
Transfers A/D data from the FIFO after the scan completes.
Definition: uldaq.h:1123
Specifies the user data region information returned to the MemDescriptor struct.
Definition: uldaq.h:1761
0 to +.1 Volts
Definition: uldaq.h:641
The thermocouple type of the specified channel.
Definition: uldaq.h:1979
Returns a non-zero value to infoValue if timer output is supported; otherwise, returns zero...
Definition: uldaq.h:1820
Period measurement.
Definition: uldaq.h:1336
UlError ulGetDaqDeviceDescriptor(DaqDeviceHandle daqDeviceHandle, DaqDeviceDescriptor *daqDeviceDescriptor)
Get descriptor information for a device.
The custom slope of the specified channel.
Definition: uldaq.h:2035
UlError ulDOutArray(DaqDeviceHandle daqDeviceHandle, DigitalPortType lowPort, DigitalPortType highPort, unsigned long long data[])
Sets the values of the specified digital ports.
Does not clear the counter to 0 at the start of each scan.
Definition: uldaq.h:1277
Configures the counter to clear when the gate input is high for the CMT_COUNT measurement type...
Definition: uldaq.h:1369
UlError ulDIOGetInfo(DaqDeviceHandle daqDeviceHandle, DioInfoItem infoItem, unsigned int index, long long *infoValue)
Use with DioInfoItem to retrieve information about the DIO subsystem.
Invalid timer specified.
Definition: uldaq.h:269
FIFO underrun, data was not transferred to device fast enough.
Definition: uldaq.h:155
AuxPort2.
Definition: uldaq.h:816
Invalid event parameter specified.
Definition: uldaq.h:326
Sets the tick size to 208.3 ns.
Definition: uldaq.h:1574
Returns the calibration date of expansion board.
Definition: uldaq.h:2060
32-bit counter channel.
Definition: uldaq.h:1643
Defines an event trigger condition that occurs when an output scan error occurs.
Definition: uldaq.h:1746
int channel
The analog input channel number for the queue element.
Definition: uldaq.h:1075
Invalid sensor sensitivity.
Definition: uldaq.h:209
Placeholder value.
Definition: uldaq.h:1204
Enables the counter when the mapped channel or gate pin is high for the CMT_COUNT measurement type...
Definition: uldaq.h:1396
AiConfigItemDbl
Use with ulAISetConfigDbl() and ulAIGetConfigDbl() to configure the AI subsystem. ...
Definition: uldaq.h:2032
Returns the resolution to the infoValue argument.
Definition: uldaq.h:2226
DioInfoItem
Use with ulDIOGetInfo() to obtain information about the DIO subsystem for the specified device as an ...
Definition: uldaq.h:2119
Latches the counter measurement each time 10 complete periods are observed for the CMT_PERIOD measure...
Definition: uldaq.h:1405
0 to +4 Volts
Definition: uldaq.h:611
AiInfoItemDbl
Use with ulAIGetInfoDbl() to obtain information about the analog input subsystem for the specified de...
Definition: uldaq.h:1954
Invalid event type specified.
Definition: uldaq.h:320
Data is output without calibration factors applied.
Definition: uldaq.h:1233
Min Limit register.
Definition: uldaq.h:1616
CouplingMode
Coupling modes.
Definition: uldaq.h:732
Invalid memory address.
Definition: uldaq.h:332
Defines an event trigger condition that occurs upon completion of an output scan operation such as ul...
Definition: uldaq.h:1750
CtrInfoItemDbl
Use with ulCtrGetInfoDbl() to obtain information about the counter subsystem for the specified device...
Definition: uldaq.h:2247
Invalid flag specified.
Definition: uldaq.h:197
Wait for new data before returning.
Definition: uldaq.h:1197
UlError ulAOSetConfig(DaqDeviceHandle daqDeviceHandle, AoConfigItem configItem, unsigned int index, long long configValue)
Use with AoConfigItem to set configuration options at runtime.
This digital operation is not supported on the specified port.
Definition: uldaq.h:347
Channel numbers must be listed in contiguous order within the queue.
Definition: uldaq.h:779
Invalid network buffer.
Definition: uldaq.h:425
UlError ulEnableEvent(DaqDeviceHandle daqDeviceHandle, DaqEventType eventTypes, unsigned long long eventParameter, DaqEventCallback eventCallbackFunction, void *userData)
Binds one or more event conditions to a DaqEventCallback function.
Timing measurement.
Definition: uldaq.h:1346
Returns the calibration date.
Definition: uldaq.h:2053
FPGA file not found.
Definition: uldaq.h:224
The timer is currently idle.
Definition: uldaq.h:971
UlError ulDevGetConfigStr(DaqDeviceHandle daqDeviceHandle, DevConfigItemStr configItem, unsigned int index, char *configStr, unsigned int *maxConfigLen)
Use with DevConfigItemStr to retrieve the current configuration as a null-terminated string...
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1518
ThirdPortB.
Definition: uldaq.h:849
FourthPortC High.
Definition: uldaq.h:867
Invalid digital port index specified.
Definition: uldaq.h:350
Returns a Range value to the infoValue argument based on the value of the index argument specified...
Definition: uldaq.h:2085
A digital pattern trigger.
Definition: uldaq.h:1047
Digital output.
Definition: uldaq.h:1682
0 to +10 Volts
Definition: uldaq.h:605
UlError ulDOutScanStop(DaqDeviceHandle daqDeviceHandle)
Stops the digital output operation currently running.
Configures the counter to increment when the phase B pin is high, and decrement when the phase B pin ...
Definition: uldaq.h:1464
Returns a bitmask of supported CounterMeasurementType values of the counter specified by the index ar...
Definition: uldaq.h:2215
A structure that defines an output channel and its properties.
Definition: uldaq.h:1690
Minimum slope value reached.
Definition: uldaq.h:236
0 to +0.25 Volts
Definition: uldaq.h:632
Invalid DAQ output channel type specified.
Definition: uldaq.h:314
A structure containing information about the progress of the specified scan operation.
Definition: uldaq.h:72
Returns the maximum scan rate in samples per second to the infoValue argument.
Definition: uldaq.h:2319
-60 to +60 Volts
Definition: uldaq.h:518
-30 to +30 Volts
Definition: uldaq.h:521
Invalid coupling mode.
Definition: uldaq.h:206
-.01 to +.01 Volts
Definition: uldaq.h:575
The counter is incremented only after the counter input is stable for a period of a length defined by...
Definition: uldaq.h:1548
AOutSyncMode
Use with AoConfigItem to set configuration options at runtime.
Definition: uldaq.h:1240
Pseudo-differential.
Definition: uldaq.h:438
Configures the counter to be latched by the signal on the index pin for the CMT_COUNT measurement typ...
Definition: uldaq.h:1460
Returns the number of A/D channels for the specified channel type to the infoValue argument...
Definition: uldaq.h:1904
Disables debounce.
Definition: uldaq.h:1474
UlError ulDIOGetConfig(DaqDeviceHandle daqDeviceHandle, DioConfigItem configItem, unsigned int index, long long *configValue)
Use with DioConfigItem to retrieve the current configuration about the DIO subsystem.
A digital pattern trigger.
Definition: uldaq.h:1065
AOutScanFlag
Use as the flags argument value for ulAOutScan() to set the properties of data supplied to the functi...
Definition: uldaq.h:1178
Specified network interface is not available or disconnected.
Definition: uldaq.h:380
Programmable frequency timer.
Definition: uldaq.h:951
Invalid network frame.
Definition: uldaq.h:404
char productName[64]
The generic (unqualified) product name of the device referenced by the DaqDeviceDescriptor.
Definition: uldaq.h:41
The custom offset of the specified channel.
Definition: uldaq.h:2038
Invalid trigger channel specified.
Definition: uldaq.h:362
-4 to +4 Volts
Definition: uldaq.h:536
Returns a zero or non-zero value to the infoValue argument.
Definition: uldaq.h:2078
The AI subsystem supports a mode queue.
Definition: uldaq.h:761
unsigned long long currentTotalCount
The total number of samples transferred since the scan started.
Definition: uldaq.h:79
Data for analog channels is in native format, without scaling applied.
Definition: uldaq.h:1320
Device not connected or connection lost.
Definition: uldaq.h:119
A structure that defines the location and access properties of the physical memory of a device...
Definition: uldaq.h:2362
Invalid port value specified.
Definition: uldaq.h:257
Invalid config item specified.
Definition: uldaq.h:191
Sense mode is disabled.
Definition: uldaq.h:1253
Type J.
Definition: uldaq.h:472
Configuration not supported.
Definition: uldaq.h:170
Disables the debounce feature.
Definition: uldaq.h:1545
Invalid mode queue specified.
Definition: uldaq.h:221
ScanStatus
Scan status.
Definition: uldaq.h:1091
WaitType
Used with the subsystem ScanWait functions as the waitType argument value for the specified device...
Definition: uldaq.h:1785
Latches the counter measurement each time 1000 complete periods are observed for the CMT_PERIOD measu...
Definition: uldaq.h:1411
UlError ulDBitIn(DaqDeviceHandle daqDeviceHandle, DigitalPortType portType, int bitNum, unsigned int *bitValue)
Returns the value of a digital bit.
SixthPortC Low.
Definition: uldaq.h:888
Output the internal D/A Load signal.
Definition: uldaq.h:1246
Invalid counter measurement mode specified.
Definition: uldaq.h:299
Returns the maximum scan rate in samples per second to the infoValue argument.
Definition: uldaq.h:1960
Enables the counter when the mapped channel or gate pin is high for the CMT_PULSE_WIDTH measurement t...
Definition: uldaq.h:1423
Configures the encoder Z mapped signal to latch the counter outputs for the CMT_ENCODER measurement t...
Definition: uldaq.h:1444
AInScanFlag
Use as the flags argument value for the ulAInScan() function to set properties of data returned...
Definition: uldaq.h:1152
Data is returned without calibration factors applied.
Definition: uldaq.h:1161
48-bit counter channel.
Definition: uldaq.h:1646
The data buffer contains scaled data for analog channels, and calibration factors are applied to anal...
Definition: uldaq.h:1317
DaqOutScanFlag
Use as the flags argument value for ulDaqOutScan() to set the properties of data sent.
Definition: uldaq.h:1314
Enables or disables the internal pacer output on a DAQ device.
Definition: uldaq.h:1141
EighthPortC High.
Definition: uldaq.h:915
Data is supplied in native format (usually, values ranging from 0 to 2resolution - 1)...
Definition: uldaq.h:1217
Device not found.
Definition: uldaq.h:116
Invalid re-trigger count.
Definition: uldaq.h:260
Network connection failed.
Definition: uldaq.h:392
Inverts the polarity of the gate input for the CMT_COUNT measurement type.
Definition: uldaq.h:1399
All of the specified channels will be updated simultaneously.
Definition: uldaq.h:1236
No event type.
Definition: uldaq.h:1732
Returns the minimum scan rate in samples per second to the infoValue argument.
Definition: uldaq.h:2250
Data is output without calibration factors applied.
Definition: uldaq.h:1220
UlError
UL error codes.
Definition: uldaq.h:95
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1522
Invalid port specified.
Definition: uldaq.h:386
Channel numbers must be listed in ascending order within the queue.
Definition: uldaq.h:776
UlError ulAOutArray(DaqDeviceHandle daqDeviceHandle, int lowChan, int highChan, Range range[], AOutArrayFlag flags, double data[])
Writes values to a range of D/A channels.
Sense mode is enable.
Definition: uldaq.h:1256
AiQueueType
Bitmask indicating supported queue types.
Definition: uldaq.h:752
0 to +.01 Volts
Definition: uldaq.h:650
DigitalPortType
Used with all digital I/O functions and with ulDIOGetInfo() as the infoValue argument value when used...
Definition: uldaq.h:804
Scans data in an endless loop.
Definition: uldaq.h:1126
Pacer overrun, external clock rate too fast.
Definition: uldaq.h:359
Digital channel.
Definition: uldaq.h:1637
Returns a bitmask of supported ScanOption values to the infoValue argument.
Definition: uldaq.h:2300
2-wire with two sensors per differential channel pair
Definition: uldaq.h:503
Defines an event trigger condition that occurs upon completion of an input scan operation such as ulA...
Definition: uldaq.h:1743
Celcius.
Definition: uldaq.h:676
Sets the encoder measurement mode to X2 for the CMT_ENCODER measurement type.
Definition: uldaq.h:1438
Invalid counter register specified.
Definition: uldaq.h:293
UlError ulAOut(DaqDeviceHandle daqDeviceHandle, int channel, Range range, AOutFlag flags, double data)
Writes the value of a D/A output.
UlError ulDaqInScanStatus(DaqDeviceHandle daqDeviceHandle, ScanStatus *status, TransferStatus *xferStatus)
Returns the status of a synchronous input operation.
The coupling mode for the specified device.
Definition: uldaq.h:2005
MemRegion
Used with ulMemGetInfo() as the memRegion argument value to specify the memory location on the specif...
Definition: uldaq.h:1755
long long DaqDeviceHandle
The DAQ device.
Definition: uldaq.h:65
0 to +60 Volts
Definition: uldaq.h:593
Invalid channel queue specified.
Definition: uldaq.h:215
Open Thermocouple detection modes is enabled.
Definition: uldaq.h:748
Configures the counter to start counting when the gate input goes active for the CMT_COUNT measuremen...
Definition: uldaq.h:1373
Sets up the counter as a 48-bit counter channel.
Definition: uldaq.h:1280
Returns a bitmask of supported ScanOption values to the infoValue argument.
Definition: uldaq.h:2075
-.156 to +.156 Volts
Definition: uldaq.h:587
OtdMode
Open Thermocouple detection modes.
Definition: uldaq.h:742
IepeMode
IEPE modes.
Definition: uldaq.h:722
Sampling begins when a trigger condition is met.
Definition: uldaq.h:1132
When counting up, configures the counter to roll over to the min limit when the max limit is reached ...
Definition: uldaq.h:1393
ThirdPortC Low.
Definition: uldaq.h:852
The register that sets the count value at which the counter output will change state from its origina...
Definition: uldaq.h:1619
Data is returned without calibration factors applied.
Definition: uldaq.h:1174
UlError ulMemGetInfo(DaqDeviceHandle daqDeviceHandle, MemRegion memRegion, MemDescriptor *memDescriptor)
Use with MemDescriptor to retrieve information about the memory region on a DAQ device.
CounterEdgeDetection
Use as the value for the edgeDetection argument for ulCConfigScan().
Definition: uldaq.h:1556
Disables the counter when a count overflow or underflow occurs for the CMT_ENCODER measurement type; ...
Definition: uldaq.h:1451
Data is output without calibration factors applied.
Definition: uldaq.h:1187
Returns the number of single-ended ranges supported to the infoValue argument.
Definition: uldaq.h:1919
Returns a bitmask of supported AiQueueType values to the infoValue argument.
Definition: uldaq.h:1939
Returns a bitmask value to configValue indicating the current direction of all bits in the specified ...
Definition: uldaq.h:2189
-1 to +1 Volts
Definition: uldaq.h:548
DevVersionType
Used with ulDevGetConfigStr() as an index argument value with the infoItem argument set to DEV_CFG_VE...
Definition: uldaq.h:1872
Resets the DAQ device, this causes the DAQ device to disconnect from the host, ulConnectDaqDevice() m...
Definition: uldaq.h:1852
Idle low.
Definition: uldaq.h:961
Invalid counter value specified.
Definition: uldaq.h:284
Enables the counter when the mapped channel or gate pin is high for the CMT_PERIOD measurement type...
Definition: uldaq.h:1414
UlError ulDOutScan(DaqDeviceHandle daqDeviceHandle, DigitalPortType lowPort, DigitalPortType highPort, int samplesPerPort, double *rate, ScanOption options, DOutScanFlag flags, unsigned long long data[])
Writes data to a range of digital ports.
Returns a non-zero value to configValue if an expansion board is attached; otherwise, returns zero.
Definition: uldaq.h:1841
Trigger threshold is out of range.
Definition: uldaq.h:374
-0.25 to +0.25 Volts
Definition: uldaq.h:557
0 to +15 Volts
Definition: uldaq.h:599
Insufficient permission to access this device.
Definition: uldaq.h:110
The open thermocouple detection mode.
Definition: uldaq.h:2014
FirstPortB.
Definition: uldaq.h:822
SecondPortB.
Definition: uldaq.h:837
-20 to +20 Volts
Definition: uldaq.h:527
Invalid sampling rate specified.
Definition: uldaq.h:164
An analog trigger.
Definition: uldaq.h:1029
CounterDebounceMode
Use as the value for the debounceTime argument for ulCConfigScan() to set the glitch rejection proper...
Definition: uldaq.h:1542
Returns a bitmask of DaqEventType values to infoValue if events are supported; otherwise, returns zero.
Definition: uldaq.h:1829
Returns the maximum length of the queue for the specified channel mode to the infoValue argument...
Definition: uldaq.h:1936
Configures the counter for default timing modes for the CMT_TIMING measurement type.
Definition: uldaq.h:1429
UlError ulDaqInScanWait(DaqDeviceHandle daqDeviceHandle, WaitType waitType, long long waitParam, double timeout)
Returns when the scan operation completes on the specified device, or the time specified by the timeo...
Bidirectional (input or output) port; configuration is not required.
Definition: uldaq.h:934
Temperature input is out of range.
Definition: uldaq.h:371
0 to +2.0 Volts
Definition: uldaq.h:617
The sensitivity of the sensor connected to the specified channel.
Definition: uldaq.h:2041
Inverts the polarity of the gate input for the CMT_PERIOD measurement type.
Definition: uldaq.h:1417
Invalid input mode specified.
Definition: uldaq.h:143
UlError ulDaqOutSetTrigger(DaqDeviceHandle daqDeviceHandle, TriggerType type, DaqInChanDescriptor trigChanDescriptor, double level, double variance, unsigned int retriggerSampleCount)
Configures the trigger parameters that will be used when ulDaqOutScan() is called with the SO_RETRIGG...
0 to +0.2 Volts
Definition: uldaq.h:638
Changes the internal clock's timebase to an external timebase source.
Definition: uldaq.h:1144
Type B.
Definition: uldaq.h:490
Specifies the calibration data region information returned to the MemDescriptor struct.
Definition: uldaq.h:1758
SixthPortB.
Definition: uldaq.h:885
Invalid device handle.
Definition: uldaq.h:104
FifthPortC High.
Definition: uldaq.h:879
FourthPortB.
Definition: uldaq.h:861
DInScanFlag
Use as the flags argument value for ulDInScan() to set the properties of data returned.
Definition: uldaq.h:1284
TcType
Thermocouple types.
Definition: uldaq.h:469
DevConfigItem
Use with ulDevGetConfig() as a configItem argument value to get the current configuration of the spec...
Definition: uldaq.h:1838
UlError ulDevGetConfig(DaqDeviceHandle daqDeviceHandle, DevConfigItem configItem, unsigned int index, long long *configValue)
Use with DevConfigItem to retrieve the current configuration options set for a device.
Returns the maximum throughput in samples per second to the infoValue argument.
Definition: uldaq.h:2105
UlError ulMemRead(DaqDeviceHandle daqDeviceHandle, MemRegion memRegion, unsigned int address, unsigned char *buffer, unsigned int count)
Reads a value read from a specified region in memory; use with ulMemGetInfo() to retrieve information...
Sets the tick size to 20000 ns.
Definition: uldaq.h:1592
Inverts the polarity of the gate input for the CMT_PULSE_WIDTH measurement type.
Definition: uldaq.h:1426
Returns a Range value to the infoValue argument based on the value of the index argument specified...
Definition: uldaq.h:1929
0 to +.05 Volts
Definition: uldaq.h:647
Returns or writes a bitmask indicating the configuration of one or more counters. ...
Definition: uldaq.h:2263
DevConfigItemStr
Use with ulDevGetConfigStr() as a configItem argument value to get the current configuration of the s...
Definition: uldaq.h:1859
DaqInChanType type
The type of input for the specified channel, such as analog, digital, or counter. ...
Definition: uldaq.h:1662
IEPE excitation current is disabled.
Definition: uldaq.h:725
Returns the total number of timers to the infoValue argument.
Definition: uldaq.h:2270
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1494
60 Hz rejection frequency
Definition: uldaq.h:796
UlError ulDOut(DaqDeviceHandle daqDeviceHandle, DigitalPortType portType, unsigned long long data)
Writes the specified value to a digital output port.
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1534
Scaled data is supplied and calibration factors are applied to output.
Definition: uldaq.h:1227
USB interface is already claimed.
Definition: uldaq.h:113
Sets the tick size to 200 ns.
Definition: uldaq.h:1586
CConfigScanFlag
Use as the flags argument value for ulCConfigScan().
Definition: uldaq.h:1596
AiRejectFreqType
Analog input rejection frequency types.
Definition: uldaq.h:793
UlError ulDaqOutScanStop(DaqDeviceHandle daqDeviceHandle)
Stops the synchronous output operation currently running.
TmrInfoItem
Use with ulTmrGetInfo() to obtain information about the timer subsystem for the specified device as a...
Definition: uldaq.h:2267
Single-ended.
Definition: uldaq.h:435
Indicates read access for the location specified by the memRegion argument.
Definition: uldaq.h:1775
Resistance Temperature Detector (RTD)
Definition: uldaq.h:456
FifthPortC Low.
Definition: uldaq.h:876
UlError ulDaqIGetInfoDbl(DaqDeviceHandle daqDeviceHandle, DaqIInfoItemDbl infoItem, unsigned int index, double *infoValue)
Use with DaqIInfoItemDbl to retrieve information about the synchronous input subsystem.
The analog input scan temperature unit.
Definition: uldaq.h:1986
Buffer too small for operation.
Definition: uldaq.h:125
int channel
The channel number.
Definition: uldaq.h:1659
-.5 to +.5 Volts
Definition: uldaq.h:554
-.005 to +.005 Volts
Definition: uldaq.h:578
UlError ulGetDaqDeviceInventory(DaqDeviceInterface interfaceTypes, DaqDeviceDescriptor daqDevDescriptors[], unsigned int *numDescriptors)
Get the list of MCC devices available to the system.
Sets the tick size to 2000 ns.
Definition: uldaq.h:1589
EighthPortB.
Definition: uldaq.h:909
0 to +0.125 Volts
Definition: uldaq.h:635
Device no longer responding.
Definition: uldaq.h:122
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1506
Transfers A/D data based on the board type and sampling speed.
Definition: uldaq.h:1113
Unable to read FPGA file.
Definition: uldaq.h:227
This function cannot be used with this version of the device.
Definition: uldaq.h:344
Memory unlock code.
Definition: uldaq.h:1849
The channel type of the specified channel.
Definition: uldaq.h:1976
A digital trigger.
Definition: uldaq.h:998
Returns the number of A/D channels for the specified channel mode to the infoValue argument...
Definition: uldaq.h:1901
Configures the counter to count down for the CMT_COUNT measurement type.
Definition: uldaq.h:1362
Transfers one packet of data at a time.
Definition: uldaq.h:1116
Returns the port logic.
Definition: uldaq.h:2202
Returns a bitmask of supported ScanOption values to the infoValue argument.
Definition: uldaq.h:2234
Writes a value to the specified port number.
Definition: uldaq.h:2194
Thermistor.
Definition: uldaq.h:459
Invalid debounce mode specified.
Definition: uldaq.h:305
Range range
The range to use for the specified channel for the queue element.
Definition: uldaq.h:1081
A structure that defines an analog input queue element.
Definition: uldaq.h:1072
Returns the minimum scan rate to the infoValue argument for the specified digital direction...
Definition: uldaq.h:2168
The open thermocouple detection mode for the specified channel.
Definition: uldaq.h:2011
Returns a bitmask of supported CounterRegisterType values to the infoValue argument.
Definition: uldaq.h:2223
Returns a bitmask of supported TriggerType values to the infoValue argument.
Definition: uldaq.h:1932
50 Hz rejection frequency
Definition: uldaq.h:799
char devString[64]
Similar to productname, but may contain additional information.
Definition: uldaq.h:50
Specifies the first reserved region information returned to the MemDescriptor struct.
Definition: uldaq.h:1767
Data is supplied in native format (usually, values ranging from 0 to 2resolution - 1...
Definition: uldaq.h:1184
Type N.
Definition: uldaq.h:493
Ethernet interface.
Definition: uldaq.h:27
AuxPort1.
Definition: uldaq.h:813
Invalid buffer.
Definition: uldaq.h:128
Scan is running.
Definition: uldaq.h:1097
Returns a bitmask of supported TriggerType values to the infoValue argument.
Definition: uldaq.h:2337
Returns the number of differential ranges supported to the infoValue argument.
Definition: uldaq.h:1916
Returns the minimum output frequency to the infoValue argument.
Definition: uldaq.h:2282
-0.2 to +0.2 Volts
Definition: uldaq.h:563
UlError ulDisconnectDaqDevice(DaqDeviceHandle daqDeviceHandle)
Disconnect from a device.
char uniqueId[64]
A string that uniquely identifies a specific device, usually with a serial number or MAC address...
Definition: uldaq.h:53
Standard scan properties.
Definition: uldaq.h:1294
UlError ulDInScanStop(DaqDeviceHandle daqDeviceHandle)
Stops the digital input operation currently running.
unsigned long long currentScanCount
The number of samples per channel transferred since the scan started.
Definition: uldaq.h:75
SeventhPortA.
Definition: uldaq.h:894
Network buffer overrun, data was not transferred from buffer fast enough.
Definition: uldaq.h:422
CtrConfigItem
Use with ulCtrSetConfig() and ulCtrGetConfig() to configure the Ctr subsystem.
Definition: uldaq.h:2260
Invalid D/A output value specified.
Definition: uldaq.h:266
Range range
The range to be used for the specified channel; ignored if not analog.
Definition: uldaq.h:1665
Transfers A/D data in blocks.
Definition: uldaq.h:1119
0 to +20 Volts
Definition: uldaq.h:602
Sets the encoder measurement mode to X1 for the CMT_ENCODER measurement type.
Definition: uldaq.h:1435
Returns a non-zero value to infoValue if counter input is supported; otherwise, returns zero...
Definition: uldaq.h:1817
The AI subsystem supports a channel queue.
Definition: uldaq.h:755
Invalid analog input channel type specified.
Definition: uldaq.h:176
char reserved[64]
Reserved for future use.
Definition: uldaq.h:1702
0 to +.5 Volts
Definition: uldaq.h:629
UlError ulReleaseDaqDevice(DaqDeviceHandle daqDeviceHandle)
Remove a device from the Universal Library, and release all resources associated with that device...
No connection established.
Definition: uldaq.h:317
char reserved[64]
Reserved for future use.
Definition: uldaq.h:1668
Default counter behavior.
Definition: uldaq.h:1265
Data is returned with scaling and calibration factors applied.
Definition: uldaq.h:1168
Returns the maximum scan rate in samples per second to the infoValue argument.
Definition: uldaq.h:2352
Sets up the counter as a 16-bit counter channel.
Definition: uldaq.h:1268
UlError ulTmrGetInfo(DaqDeviceHandle daqDeviceHandle, TmrInfoItem infoItem, unsigned int index, long long *infoValue)
Use with TmrInfoItem to retrieve information about the timer subsystem.
Returns the maximum throughput in samples per second when using the SO_BURSTIO ScanOption to the info...
Definition: uldaq.h:1969
TriggerType
Used as an individual value with the subsystem SetTrigger functions as the type argument value...
Definition: uldaq.h:983
Temperature input has open connection.
Definition: uldaq.h:353
Analog output.
Definition: uldaq.h:1679
CInScanFlag
Use as the flags argument value for ulCInScan() to set counter properties.
Definition: uldaq.h:1262
DaqIInfoItem
Use with ulDaqIGetInfo() to obtain information about the DAQ input subsystem for the specified device...
Definition: uldaq.h:2292
Kelvin.
Definition: uldaq.h:669
A digital trigger.
Definition: uldaq.h:995
An analog trigger.
Definition: uldaq.h:1033
ADC overrun occurred.
Definition: uldaq.h:179
int channel
The channel number.
Definition: uldaq.h:1693
Configures the counter to clear after every read for the CMT_COUNT measurement type.
Definition: uldaq.h:1359
Function returns when the scan operation completes or the time specified by the timeout argument valu...
Definition: uldaq.h:1788
Returns the FIFO size in bytes to the infoValue argument for the specified digital direction...
Definition: uldaq.h:2160
unsigned int address
A numeric value that specifies the address of the memory; used with ulMemRead() and ulMemWrite()...
Definition: uldaq.h:2368
Max Limit register.
Definition: uldaq.h:1613
Returns the maximum scan rate in samples per second when using the SO_BURSTIO ScanOption to the infoV...
Definition: uldaq.h:1966
UlError ulDInScanWait(DaqDeviceHandle daqDeviceHandle, WaitType waitType, long long waitParam, double timeout)
Returns when the scan operation completes on the specified device, or the time specified by the timeo...
Invalid trigger type specified.
Definition: uldaq.h:149
Connection code ignored.
Definition: uldaq.h:398
Analog input channel, single-ended mode.
Definition: uldaq.h:1634
Enables burst mode sampling, minimizing the channel skew.
Definition: uldaq.h:1138
Invalid debounce time specified.
Definition: uldaq.h:302
Invalid unit specified.
Definition: uldaq.h:185
Range
Used with many analog input and output functions, as well as a return value for the infoValue argumen...
Definition: uldaq.h:515
-.05 to +.05 Volts
Definition: uldaq.h:572
DioInfoItemDbl
Use with ulDIOGetInfoDbl() as an infoItem argument to obtain information about the DIO subsystem for ...
Definition: uldaq.h:2164
SecondPortC Low.
Definition: uldaq.h:840
AoInfoItemDbl
Use with ulAOGetInfoDbl() to obtain information about the analog output subsystem for the specified d...
Definition: uldaq.h:2096
Returns the D/A resolution in number of bits to the infoValue argument.
Definition: uldaq.h:2069
DC coupling.
Definition: uldaq.h:735
Returns a non-zero value to infoValue if synchronous input is supported; otherwise, returns zero.
Definition: uldaq.h:1823
-0.078 to +0.078 Volts
Definition: uldaq.h:569
char reserved[512]
Reserved for future use.
Definition: uldaq.h:56
Scanning is enabled as long as the external analog trigger is inside the region defined by the level ...
Definition: uldaq.h:1037
Returns the FIFO size in bytes to the infoValue argument.
Definition: uldaq.h:2241
Voltage.
Definition: uldaq.h:450
Returns the maximum throughput in samples per second to the infoValue argument.
Definition: uldaq.h:1963
FourthPortA.
Definition: uldaq.h:858
Device is not available at time of request.
Definition: uldaq.h:338
Network device did not respond within expected time.
Definition: uldaq.h:407
ThirdPortC High.
Definition: uldaq.h:855
Invalid queue size.
Definition: uldaq.h:188
3-wire with a single sensor per differential channel pair
Definition: uldaq.h:506
Invalid sample count specified.
Definition: uldaq.h:200
Differential.
Definition: uldaq.h:432
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1530
Re-trigger option is not supported for the specified trigger type.
Definition: uldaq.h:341
CounterMeasurementType
Use as the value for the type argument for ulCConfigScan().
Definition: uldaq.h:1329
Returns the version of the device system defined by the DevVersionType value of the index argument...
Definition: uldaq.h:1862
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1482
Returns a Range value to the infoValue argument based on the value of the index argument specified...
Definition: uldaq.h:1924
UlError ulAOGetInfoDbl(DaqDeviceHandle daqDeviceHandle, AoInfoItemDbl infoItem, unsigned int index, double *infoValue)
Use with AoInfoItemDbl to retrieve information about the AO subsystem.
Fahrenheit.
Definition: uldaq.h:666
UlError ulDIn(DaqDeviceHandle daqDeviceHandle, DigitalPortType portType, unsigned long long *data)
Returns the value read from a digital port.
AiChanType
Analog input channel types.
Definition: uldaq.h:447
UlError ulDInScan(DaqDeviceHandle daqDeviceHandle, DigitalPortType lowPort, DigitalPortType highPort, int samplesPerPort, double *rate, ScanOption options, DInScanFlag flags, unsigned long long data[])
Reads a range of digital ports.
Sets up the counter as a 64-bit counter channel.
Definition: uldaq.h:1274
Returns the total number of D/A channels to the infoValue argument.
Definition: uldaq.h:2072
UlError ulDaqInScan(DaqDeviceHandle daqDeviceHandle, DaqInChanDescriptor chanDescriptors[], int numChans, int samplesPerChan, double *rate, ScanOption options, DaqInScanFlag flags, double data[])
Allows scanning of multiple input subsystems, such as analog, digital, counter, and stores the sample...
The output operation is held off until the specified trigger condition is met.
Definition: uldaq.h:1716
-15 to +15 Volts
Definition: uldaq.h:524
Returns a non-zero value to infoValue if analog output is supported; otherwise, returns zero...
Definition: uldaq.h:1811
SecondPortC High.
Definition: uldaq.h:843
Sets the encoder Z signal as the active edge for the CMT_ENCODER measurement type.
Definition: uldaq.h:1457
SecondPortA.
Definition: uldaq.h:834
UlError ulDaqIGetInfo(DaqDeviceHandle daqDeviceHandle, DaqIInfoItem infoItem, unsigned int index, long long *infoValue)
Use with DaqIInfoItem to retrieve information about the synchronous input subsystem.
Returns or writes the low-pass filter setting.
Definition: uldaq.h:2199
unsigned int productId
The numeric string indicating the product type referenced by the DaqDeviceDescriptor.
Definition: uldaq.h:44
-.625 to +.625 Volts
Definition: uldaq.h:551
The IEPE current excitation mode for the specified channel.
Definition: uldaq.h:2002
Configures the counter for default pulse width modes for the CMT_PULSE_WIDTH measurement type...
Definition: uldaq.h:1420
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1502
UlError ulAOutScanStop(DaqDeviceHandle daqDeviceHandle)
Stops the analog output operation currently running.
Device is not ready to send data.
Definition: uldaq.h:356
DaqInScanFlag
Use as the flags argument value for ulDaqInScan() to set the properties of data returned.
Definition: uldaq.h:1298
MemRegion region
The enumeration indicating the region of the memory.
Definition: uldaq.h:2365
The connection code stored in EEPROM.
Definition: uldaq.h:1846
Any interface.
Definition: uldaq.h:30
0 to +0.078 Volts
Definition: uldaq.h:644
Network device already in use.
Definition: uldaq.h:401
UlError ulDisableEvent(DaqDeviceHandle daqDeviceHandle, DaqEventType eventTypes)
Disables one or more event conditions, and disconnects their user-defined handlers.
CtrInfoItem
Use with ulCtrGetInfo() to obtain information about the counter subsystem for the specified device as...
Definition: uldaq.h:2208
Disabled.
Definition: uldaq.h:465
Factory calibration table.
Definition: uldaq.h:786
Open Thermocouple detection modes is disabled.
Definition: uldaq.h:745
Sets the tick size to 20 ns.
Definition: uldaq.h:1583
SeventhPortC High.
Definition: uldaq.h:903
char reserved[64]
Reserved for future use.
Definition: uldaq.h:2377
The output operation is held off until the specified trigger condition is met.
Definition: uldaq.h:1722
Data is returned with scaling and calibration factors applied.
Definition: uldaq.h:1155
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1478
Invalid argument.
Definition: uldaq.h:233
Invalid callback function specified.
Definition: uldaq.h:329
UlError ulIsDaqDeviceConnected(DaqDeviceHandle daqDeviceHandle, int *connected)
The connection status of a DAQ device.
The data rate of the specified channel.
Definition: uldaq.h:2044
0 to +.005 Volts
Definition: uldaq.h:653
A structure that defines a particular DAQ device, usually obtained using ulGetDaqDeviceInventory().
Definition: uldaq.h:38
Returns the minimum scan rate in samples per second to the infoValue argument.
Definition: uldaq.h:2099
Type R.
Definition: uldaq.h:484
A digital trigger.
Definition: uldaq.h:1001
UlError ulDInScanStatus(DaqDeviceHandle daqDeviceHandle, ScanStatus *status, TransferStatus *xferStatus)
The status of a digital scan operation.
Re-arms the trigger after a trigger event is performed.
Definition: uldaq.h:1135
AOutFlag
Use as the flags argument value for ulAOut() to set the properties of data supplied to the function...
Definition: uldaq.h:1211
Measurement firmware version installed on the expansion device attached to the current device is retu...
Definition: uldaq.h:1887
-2.5 to +2.5 Volts
Definition: uldaq.h:539
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1526
UlError ulDOutSetTrigger(DaqDeviceHandle daqDeviceHandle, TriggerType type, int trigChan, double level, double variance, unsigned int retriggerSampleCount)
Configures the trigger parameters that will be used when ulDOutScan() is called with the SO_RETRIGGER...
Celcius.
Definition: uldaq.h:663
UlError ulDInSetTrigger(DaqDeviceHandle daqDeviceHandle, TriggerType type, int trigChan, double level, double variance, unsigned int retriggerSampleCount)
Configures the trigger parameters that will be used when ulDInScan() is called with the SO_RETRIGGER ...
Sets the tick size to 20833.3 ns.
Definition: uldaq.h:1580
UlError ulDOutScanWait(DaqDeviceHandle daqDeviceHandle, WaitType waitType, long long waitParam, double timeout)
Returns when the scan operation completes on the specified device, or the time specified by the timeo...
Returns the minimum scan rate in samples per second to the infoValue argument.
Definition: uldaq.h:2316
Returns a non-zero value to infoValue if analog input is supported; otherwise, returns zero...
Definition: uldaq.h:1808
Returns the total number of digital ports to the infoValue argument.
Definition: uldaq.h:2122
Invalid connection code.
Definition: uldaq.h:395
A digital trigger.
Definition: uldaq.h:991
Scan is idle.
Definition: uldaq.h:1094
Idle high.
Definition: uldaq.h:964
-3.0 to +3.0 Volts
Definition: uldaq.h:581
A background process is already in progress.
Definition: uldaq.h:146
Digital I/O is configured incorrectly.
Definition: uldaq.h:251
The specified bit is used for alarm.
Definition: uldaq.h:416
Returns a TimerType value to the infoValue argument, indicating the type of the timer specified by th...
Definition: uldaq.h:2274
Returns a zero or non-zero value to the infoValue argument.
Definition: uldaq.h:1948
DevInfoItem
Use with ulDevGetInfo() as an infoItem argument value to obtain information for the specified device...
Definition: uldaq.h:1805
AiConfigItem
Use with ulAISetConfig() and ulAIGetConfig() to configure the AI subsystem.
Definition: uldaq.h:1973
0 to +1.25 Volts
Definition: uldaq.h:620
16-bit counter channel.
Definition: uldaq.h:1640
UlError ulDaqInScanStop(DaqDeviceHandle daqDeviceHandle)
Stops the synchronous input operation currently running.
Clears the counter when the index (Z input) goes active for the CMT_ENCODER measurement type...
Definition: uldaq.h:1447
UlError ulTmrSetTrigger(DaqDeviceHandle daqDeviceHandle, TriggerType type, int trigChan, double level, double variance, unsigned int retriggerSampleCount)
Configures the trigger parameters that will be used when ulTmrPulseOutStart() is called with the PO_R...
DaqDeviceInterface
A bitmask defining the physical connection interface used to communicate with a DAQ device...
Definition: uldaq.h:18