UL for Linux
A user library to access supported MCC hardware in Linux
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
uldaq.h
Go to the documentation of this file.
1 /*
2  * uldaq.h
3  *
4  * Author: Measurement Computing Corporation
5  */
6 
7 #ifndef UL_DAQ_H_
8 #define UL_DAQ_H_
9 
10 #ifdef __cplusplus
11 extern "C"
12 {
13 #endif
14 
15 
18 typedef enum
19 {
21  USB_IFC = 1 << 0,
22 
24  BLUETOOTH_IFC = 1 << 1,
25 
27  ETHERNET_IFC = 1 << 2,
28 
31 
33 
39 {
41  char productName[64];
42 
44  unsigned int productId;
45 
48 
50  char devString[64];
51 
53  char uniqueId[64];
54 
56  char reserved[512];
57 };
58 
61 
65 typedef long long DaqDeviceHandle;
66 
67 
73 {
75  unsigned long long currentScanCount;
76 
79  unsigned long long currentTotalCount;
80 
83  long long currentIndex;
84 
86  char reserved[64];
87 };
88 
91 
92 #define ERR_MSG_LEN 512
93 
95 typedef enum
96 {
99 
102 
105 
108 
111 
114 
117 
120 
123 
126 
129 
132 
135 
138 
141 
144 
147 
150 
153 
156 
159 
162 
165 
168 
171 
174 
177 
180 
183 
186 
189 
192 
195 
198 
201 
204 
207 
210 
213 
216 
219 
222 
225 
228 
231 
234 
237 
240 
243 
246 
249 
252 
255 
258 
261 
264 
267 
270 
273 
276 
279 
282 
285 
288 
291 
294 
297 
300 
303 
306 
309 
312 
315 
318 
321 
324 
327 
330 
333 
336 
339 
342 
345 
348 
351 
354 
357 
360 
363 
366 
369 
372 
375 
378 
379 
380 } UlError;
381 
383 typedef enum
384 {
387 
390 
393 }AiInputMode;
394 
401 typedef enum
402 {
404  AI_VOLTAGE = 1 << 0,
405 
407  AI_TC = 1 << 1,
408 
410  AI_RTD = 1 << 2,
411 
413  AI_THERMISTOR = 1 << 3,
414 
417 
419  AI_DISABLED = 1 << 30
420 }AiChanType;
421 
423 typedef enum
424 {
426  TC_J = 1,
427 
429  TC_K = 2,
430 
432  TC_T = 3,
433 
435  TC_E = 4,
436 
438  TC_R = 5,
439 
441  TC_S = 6,
442 
444  TC_B = 7,
445 
447  TC_N = 8
448 }TcType;
449 
451 typedef enum
452 {
455 
458 
461 
465 
469 typedef enum
470 {
473 
476 
479 
482 
485 
488 
491 
494 
497 
500 
502  BIP1VOLTS = 11,
503 
506 
509 
512 
515 
518 
521 
524 
527 
530 
533 
535  BIP3VOLTS = 22,
536 
539 
542 
543 
544 
545 
547  UNI60VOLTS = 1001,
548 
550  UNI30VOLTS = 1002,
551 
553  UNI15VOLTS = 1003,
554 
556  UNI20VOLTS = 1004,
557 
559  UNI10VOLTS = 1005,
560 
562  UNI5VOLTS = 1006,
563 
565  UNI4VOLTS = 1007,
566 
568  UNI2PT5VOLTS = 1008,
569 
571  UNI2VOLTS = 1009,
572 
575 
577  UNI1VOLTS = 1011,
578 
581 
583  UNIPT5VOLTS = 1013,
584 
586  UNIPT25VOLTS = 1014,
587 
590 
592  UNIPT2VOLTS = 1016,
593 
595  UNIPT1VOLTS = 1017,
596 
599 
601  UNIPT05VOLTS = 1019,
602 
604  UNIPT01VOLTS = 1020,
605 
608 
610  MA0TO20 = 2000
611 }Range;
612 
614 typedef enum
615 {
618 
621 
624 }TempUnit;
625 
627 typedef enum
628 {
631 
634 
637 
639  TS_VOLTS = 4,
640 
643 }TempScale;
644 
645 #ifndef doxy_skip
646 
647 typedef enum
648 {
650  AZM_NONE = 1,
651 
654 
657 }AutoZeroMode;
658 #endif /* doxy_skip */
659 
660 #ifndef doxy_skip
661 
662 typedef enum
663 {
666 
669 
673 #endif /* doxy_skip */
674 
676 typedef enum
677 {
680 
683 }IepeMode;
684 
686 typedef enum
687 {
689  CM_DC = 1,
690 
692  CM_AC = 2
693 }CouplingMode;
694 
696 typedef enum
697 {
700 
703 }OtdMode;
704 
706 typedef enum
707 {
709  CHAN_QUEUE = 1 << 0,
710 
712  GAIN_QUEUE = 1 << 1,
713 
715  MODE_QUEUE = 1 << 2
716 }AiQueueType;
717 
724 typedef enum
725 {
727  UNIQUE_CHAN = 1 << 0,
728 
730  ASCENDING_CHAN = 1 << 1,
731 
735 
737 typedef enum
738 {
740  AUXPORT = 1,
741 
743  AUXPORT0 = 1,
744 
746  AUXPORT1 = 2,
747 
749  AUXPORT2 = 3,
750 
753 
756 
759 
762 
765 
768 
771 
774 
777 
780 
783 
786 
789 
792 
795 
798 
801 
804 
807 
810 
813 
816 
819 
822 
825 
828 
831 
834 
837 
840 
843 
846 
850 
852 typedef enum
853 {
855  DPIOT_IN = 1,
856 
859 
861  DPIOT_IO = 3,
862 
865 
869 
871 typedef enum
872 {
874  DD_INPUT = 1,
875 
879 
881 typedef enum
882 {
885 
888 }TimerType;
889 
891 typedef enum
892 {
895 
898 }TmrIdleState;
899 
901 typedef enum
902 {
905 
908 }TmrStatus;
909 
916 typedef enum
917 {
919  TRIG_NONE = 0,
920 
924  TRIG_POS_EDGE = 1 << 0,
925 
928  TRIG_NEG_EDGE = 1 << 1,
929 
931  TRIG_HIGH = 1 << 2,
932 
934  TRIG_LOW = 1 << 3,
935 
937  GATE_HIGH = 1 << 4,
938 
940  GATE_LOW = 1 << 5,
941 
945  TRIG_RISING = 1 << 6,
946 
950  TRIG_FALLING = 1 << 7,
951 
954  TRIG_ABOVE = 1 << 8,
955 
958  TRIG_BELOW = 1 << 9,
959 
962  GATE_ABOVE = 1 << 10,
963 
966  GATE_BELOW = 1 << 11,
967 
970  GATE_IN_WINDOW = 1 << 12,
971 
974  GATE_OUT_WINDOW = 1 << 13,
975 
980  TRIG_PATTERN_EQ = 1 << 14,
981 
986  TRIG_PATTERN_NE = 1 << 15,
987 
993 
999 }TriggerType;
1000 
1006 {
1008  int channel;
1009 
1012 
1015 
1017  char reserved[64];
1018 };
1019 
1022 
1024 typedef enum
1025 {
1027  SS_IDLE = 0,
1028 
1031 }ScanStatus;
1032 
1033 #ifndef doxy_skip
1034 #define NOSCALEDATA 1 << 0
1035 #define NOCALIBRATEDATA 1 << 1
1036 #define SIMULTANEOUS 1 << 2
1037 #define NOCLEAR 1 << 3
1038 #endif /*doxy_skip */
1039 
1043 typedef enum
1044 {
1047 
1049  SO_SINGLEIO = 1 << 0,
1050 
1052  SO_BLOCKIO = 1 << 1,
1053 
1056  SO_BURSTIO = 1 << 2,
1057 
1059  SO_CONTINUOUS = 1 << 3,
1060 
1062  SO_EXTCLOCK = 1 << 4,
1063 
1065  SO_EXTTRIGGER = 1 << 5,
1066 
1068  SO_RETRIGGER = 1 << 6,
1069 
1071  SO_BURSTMODE = 1 << 7,
1072 
1074  SO_PACEROUT = 1 << 8,
1075 
1077  SO_EXTTIMEBASE = 1 << 9,
1078 
1080  SO_TIMEBASEOUT = 1 << 10
1081 
1082 }ScanOption;
1083 
1085 typedef enum
1086 {
1089 
1092 
1095 }AInScanFlag;
1096 
1098 typedef enum
1099 {
1102 
1105 
1108 }AInFlag;
1109 
1111 typedef enum
1112 {
1115 
1118 
1121 }AOutScanFlag;
1122 
1124 typedef enum
1125 {
1128 }TInFlag;
1129 
1131 typedef enum
1132 {
1135 }TInArrayFlag;
1136 
1138 typedef enum
1139 {
1142 
1145 
1148 }AOutFlag;
1149 
1151 typedef enum
1152 {
1155 
1158 
1161 
1164 }AOutArrayFlag;
1165 
1167 typedef enum
1168 {
1171 
1174 }AOutSyncMode;
1175 
1177 typedef enum
1178 {
1181 
1184 
1187 
1190 
1193 
1196 }CInScanFlag;
1197 
1199 typedef enum
1200 {
1203 }DInScanFlag;
1204 
1206 typedef enum
1207 {
1210 }DOutScanFlag;
1211 
1213 typedef enum
1214 {
1217 
1220 
1223 
1226 }DaqInScanFlag;
1227 
1229 typedef enum
1230 {
1233 
1236 
1240 
1244 typedef enum
1245 {
1247  CMT_COUNT = 1 << 0,
1248 
1251  CMT_PERIOD = 1 << 1,
1252 
1257 
1261  CMT_TIMING = 1 << 3,
1262 
1264  CMT_ENCODER = 1 << 4
1266 
1268 typedef enum
1269 {
1272 
1275 
1277  CMM_COUNT_DOWN = 1 << 1,
1278 
1282 
1285 
1289 
1293  CMM_OUTPUT_ON = 1 << 5,
1294 
1297 
1300  CMM_NO_RECYCLE = 1 << 7,
1301 
1309 
1311  CMM_GATING_ON = 1 << 9,
1312 
1314  CMM_INVERT_GATE = 1 << 10,
1315 
1318 
1320  CMM_PERIOD_X10 = 1 << 11,
1321 
1323  CMM_PERIOD_X100 = 1 << 12,
1324 
1326  CMM_PERIOD_X1000 = 1 << 13,
1327 
1330 
1333 
1336 
1339 
1342 
1345 
1348 
1351 
1353  CMM_ENCODER_X2 = 1 << 19,
1354 
1356  CMM_ENCODER_X4 = 1 << 20,
1357 
1360 
1363 
1367 
1370 
1373 
1376 
1380 
1384 
1386 typedef enum
1387 {
1390 
1394 
1398 
1402 
1406 
1410 
1414 
1418 
1422 
1426 
1430 
1434 
1438 
1442 
1446 
1450 
1455 
1457 typedef enum
1458 {
1461 
1464 
1469 
1471 typedef enum
1472 {
1475 
1479 
1483 typedef enum
1484 {
1487 
1490 
1493 
1496 
1499 
1502 
1505 
1509 
1511 typedef enum
1512 {
1515 }
1517 
1519 typedef enum
1520 {
1522  CRT_COUNT = 1 << 0,
1523 
1525  CRT_LOAD = 1 << 1,
1526 
1528  CRT_MIN_LIMIT = 1 << 2,
1529 
1531  CRT_MAX_LIMIT = 1 << 3,
1532 
1535 
1539 
1543 typedef enum
1544 {
1547 
1549  DAQI_ANALOG_SE = 1 << 1,
1550 
1552  DAQI_DIGITAL = 1 << 2,
1553 
1555  DAQI_CTR16 = 1 << 3,
1556 
1558  DAQI_CTR32 = 1 << 4,
1559 
1561  DAQI_CTR48 = 1 << 5,
1564  DAQI_DAC = 1 << 7
1565 }DaqInChanType;
1566 
1572 {
1574  int channel;
1575 
1578 
1581 
1583  char reserved[64];
1584 };
1585 
1588 
1591 typedef enum
1592 {
1594  DAQO_ANALOG = 1 << 0,
1595 
1597  DAQO_DIGITAL = 1 << 1
1599 
1600 
1606 {
1608  int channel;
1609 
1612 
1615 
1617  char reserved[64];
1618 };
1619 
1622 
1624 typedef enum
1625 {
1628 
1631  PO_EXTTRIGGER = 1 << 5,
1632 
1637  PO_RETRIGGER = 1 << 6
1638 } PulseOutOption;
1639 
1643 typedef enum
1644 {
1647  DE_NONE = 0,
1648 
1652 
1655 
1659 
1662 
1666 
1667 }DaqEventType;
1668 
1670 typedef enum
1671 {
1673  MR_CAL = 1 << 0,
1674 
1676  MR_USER = 1 << 1,
1677 
1679  MR_SETTINGS = 1 << 2,
1680 
1682  MR_RESERVED0 = 1 << 3
1683 }MemRegion;
1684 
1687 typedef enum
1688 {
1690  MA_READ = 1 << 0,
1691 
1693  MA_WRITE = 1 << 1
1694 }MemAccessType;
1695 
1697 typedef void (*DaqEventCallback)(DaqDeviceHandle, DaqEventType, unsigned long long, void*);
1698 
1700 typedef enum
1701 {
1704 }WaitType;
1705 
1706 #ifndef doxy_skip
1707 
1708 typedef enum
1709 {
1711 }UlInfoItemStr;
1712 
1713 typedef enum
1714 {
1716 }UlConfigItem;
1717 #endif /* doxy_skip */
1718 
1720 typedef enum
1721 {
1724 
1727 
1730 
1733 
1736 
1739 
1742 
1745 
1748 }DevInfoItem;
1749 
1751 typedef enum
1752 {
1756 
1758 typedef enum
1759 {
1762 
1765 
1769 
1772 typedef enum
1773 {
1776 
1779 
1782 
1785 
1788 
1791 
1794 
1797 
1800 
1805 
1810 
1813 
1817 
1820 
1823 
1826 
1829 
1830 }AiInfoItem;
1831 
1834 typedef enum
1835 {
1838 
1841 
1844 
1847 
1850 }AiInfoItemDbl;
1851 
1853 typedef enum
1854 {
1857 
1860 
1861 #ifndef doxy_skip
1862 
1864 #endif /* doxy_skip */
1865 
1867 
1868 #ifndef doxy_skip
1869 
1871 
1874 
1877 #endif /* doxy_skip */
1878 
1881 
1884 
1887 
1890 }AiConfigItem;
1891 
1893 typedef enum
1894 {
1897 
1900 
1903 
1907 
1908 
1909 typedef enum
1910 {
1913 
1917 
1920 typedef enum
1921 {
1924 
1927 
1930 
1933 
1936 
1940 
1943 
1946 }AoInfoItem;
1947 
1950 typedef enum
1951 {
1954 
1957 
1960 }AoInfoItemDbl;
1961 
1963 typedef enum
1964 {
1967 }AoConfigItem;
1968 
1970 typedef enum
1971 {
1974 
1980 
1986 
1992 
1997 
2003 
2008 
2012 }DioInfoItem;
2013 
2015 typedef enum
2016 {
2020 
2024 
2029 
2033 typedef enum
2034 {
2041 
2046 
2051 
2054 }DioConfigItem;
2055 
2059 typedef enum
2060 {
2063 
2067 
2071 
2075 
2078 
2082 
2086 
2090 
2093 }CtrInfoItem;
2094 
2098 typedef enum
2099 {
2102 
2105 
2109 
2111 typedef enum
2112 {
2115 }CtrConfigItem;
2116 
2118 typedef enum
2119 {
2122 
2126 }TmrInfoItem;
2127 
2129 typedef enum
2130 {
2134 
2139 
2143 typedef enum
2144 {
2148 
2152 
2156 
2159 }DaqIInfoItem;
2160 
2164 typedef enum
2165 {
2168 
2171 
2175 
2179 typedef enum
2180 {
2183 
2186 
2189 
2192 }DaqOInfoItem;
2193 
2197 typedef enum
2198 {
2201 
2204 
2208 
2214 {
2217 
2219  unsigned int address;
2220 
2222  unsigned int size;
2223 
2226 
2228  char reserved[64];
2229 };
2230 
2233 
2248 UlError ulGetDaqDeviceInventory(DaqDeviceInterface interfaceTypes, DaqDeviceDescriptor daqDevDescriptors[], unsigned int* numDescriptors );
2249 
2255 DaqDeviceHandle ulCreateDaqDevice(DaqDeviceDescriptor daqDevDescriptor);
2256 
2264 UlError ulGetDaqDeviceDescriptor(DaqDeviceHandle daqDeviceHandle, DaqDeviceDescriptor* daqDeviceDescriptor);
2265 
2271 UlError ulConnectDaqDevice(DaqDeviceHandle daqDeviceHandle);
2272 
2278 UlError ulDisconnectDaqDevice(DaqDeviceHandle daqDeviceHandle);
2279 
2285 UlError ulReleaseDaqDevice(DaqDeviceHandle daqDeviceHandle);
2286 
2293 UlError ulIsDaqDeviceConnected(DaqDeviceHandle daqDeviceHandle, int* connected);
2294 
2304 UlError ulFlashLed(DaqDeviceHandle daqDeviceHandle, int flashCount);
2305 
2322 UlError ulAIn(DaqDeviceHandle daqDeviceHandle, int channel, AiInputMode inputMode, Range range, AInFlag flags, double* data);
2323 
2338 UlError ulAInScan(DaqDeviceHandle daqDeviceHandle, int lowChan, int highChan, AiInputMode inputMode, Range range, int samplesPerChan, double* rate, ScanOption options, AInScanFlag flags, double data[]);
2339 
2348 UlError ulAInScanStatus(DaqDeviceHandle daqDeviceHandle, ScanStatus* status, TransferStatus* xferStatus);
2349 
2355 UlError ulAInScanStop(DaqDeviceHandle daqDeviceHandle);
2356 
2365 UlError ulAInScanWait(DaqDeviceHandle daqDeviceHandle, WaitType waitType, long long waitParam, double timeout);
2366 
2374 UlError ulAInLoadQueue(DaqDeviceHandle daqDeviceHandle, AiQueueElement queue[], unsigned int numElements);
2375 
2390 UlError ulAInSetTrigger(DaqDeviceHandle daqDeviceHandle, TriggerType type, int trigChan, double level, double variance, unsigned int retriggerSampleCount);
2391 
2401 UlError ulTIn(DaqDeviceHandle daqDeviceHandle, int channel, TempScale scale, TInFlag flags, double* data);
2402 
2414 UlError ulTInArray(DaqDeviceHandle daqDeviceHandle, int lowChan, int highChan, TempScale scale, TInArrayFlag flags, double data[]);
2415 
2433 UlError ulAOut(DaqDeviceHandle daqDeviceHandle, int channel, Range range, AOutFlag flags, double data);
2434 
2445 UlError ulAOutArray(DaqDeviceHandle daqDeviceHandle, int lowChan, int highChan, Range range[], AOutArrayFlag flags, double data[]);
2446 
2460 UlError ulAOutScan(DaqDeviceHandle daqDeviceHandle, int lowChan, int highChan, Range range, int samplesPerChan, double* rate, ScanOption options, AOutScanFlag flags, double data[]);
2461 
2470 UlError ulAOutScanWait(DaqDeviceHandle daqDeviceHandle, WaitType waitType, long long waitParam, double timeout);
2471 
2480 UlError ulAOutScanStatus(DaqDeviceHandle daqDeviceHandle, ScanStatus* status, TransferStatus* xferStatus);
2481 
2487 UlError ulAOutScanStop(DaqDeviceHandle daqDeviceHandle);
2488 
2503 UlError ulAOutSetTrigger(DaqDeviceHandle daqDeviceHandle, TriggerType type, int trigChan, double level, double variance, unsigned int retriggerSampleCount);
2504 
2520 UlError ulDConfigPort(DaqDeviceHandle daqDeviceHandle, DigitalPortType portType, DigitalDirection direction);
2521 
2530 UlError ulDConfigBit(DaqDeviceHandle daqDeviceHandle, DigitalPortType portType, int bitNum, DigitalDirection direction);
2531 
2539 UlError ulDIn(DaqDeviceHandle daqDeviceHandle, DigitalPortType portType, unsigned long long* data);
2540 
2548 UlError ulDOut(DaqDeviceHandle daqDeviceHandle, DigitalPortType portType, unsigned long long data);
2549 
2558 UlError ulDInArray(DaqDeviceHandle daqDeviceHandle, DigitalPortType lowPort, DigitalPortType highPort, unsigned long long data[]);
2559 
2568 UlError ulDOutArray(DaqDeviceHandle daqDeviceHandle, DigitalPortType lowPort, DigitalPortType highPort, unsigned long long data[]);
2569 
2578 UlError ulDBitIn(DaqDeviceHandle daqDeviceHandle, DigitalPortType portType, int bitNum, unsigned int* bitValue);
2579 
2588 UlError ulDBitOut(DaqDeviceHandle daqDeviceHandle, DigitalPortType portType, int bitNum, unsigned int bitValue);
2589 
2602 UlError ulDInScan(DaqDeviceHandle daqDeviceHandle, DigitalPortType lowPort, DigitalPortType highPort, int samplesPerPort, double* rate, ScanOption options, DInScanFlag flags, unsigned long long data[]);
2603 
2612 UlError ulDInScanStatus(DaqDeviceHandle daqDeviceHandle, ScanStatus* status, TransferStatus* xferStatus);
2613 
2619 UlError ulDInScanStop(DaqDeviceHandle daqDeviceHandle);
2620 
2629 UlError ulDInScanWait(DaqDeviceHandle daqDeviceHandle, WaitType waitType, long long waitParam, double timeout);
2630 
2645 UlError ulDInSetTrigger(DaqDeviceHandle daqDeviceHandle, TriggerType type, int trigChan, double level, double variance, unsigned int retriggerSampleCount);
2646 
2658 UlError ulDOutScan(DaqDeviceHandle daqDeviceHandle, DigitalPortType lowPort, DigitalPortType highPort, int samplesPerPort, double* rate, ScanOption options, DOutScanFlag flags, unsigned long long data[]);
2659 
2667 UlError ulDOutScanStatus(DaqDeviceHandle daqDeviceHandle, ScanStatus* status, TransferStatus* xferStatus);
2668 
2674 UlError ulDOutScanStop(DaqDeviceHandle daqDeviceHandle);
2675 
2684 UlError ulDOutScanWait(DaqDeviceHandle daqDeviceHandle, WaitType waitType, long long waitParam, double timeout);
2685 
2700 UlError ulDOutSetTrigger(DaqDeviceHandle daqDeviceHandle, TriggerType type, int trigChan, double level, double variance, unsigned int retriggerSampleCount);
2701 
2717 UlError ulCIn(DaqDeviceHandle daqDeviceHandle, int counterNum, unsigned long long* data);
2718 
2727 UlError ulCRead(DaqDeviceHandle daqDeviceHandle, int counterNum, CounterRegisterType regType, unsigned long long* data);
2728 
2737 UlError ulCLoad(DaqDeviceHandle daqDeviceHandle, int counterNum, CounterRegisterType registerType, unsigned long long loadValue);
2738 
2745 UlError ulCClear(DaqDeviceHandle daqDeviceHandle, int counterNum);
2746 
2760 UlError ulCConfigScan(DaqDeviceHandle daqDeviceHandle, int counterNum, CounterMeasurementType type, CounterMeasurementMode mode,
2761  CounterEdgeDetection edgeDetection, CounterTickSize tickSize,
2762  CounterDebounceMode debounceMode, CounterDebounceTime debounceTime, CConfigScanFlag flags);
2763 
2776 UlError ulCInScan(DaqDeviceHandle daqDeviceHandle, int lowCounterNum, int highCounterNum, int samplesPerCounter, double* rate, ScanOption options, CInScanFlag flags, unsigned long long data[]);
2777 
2792 UlError ulCInSetTrigger(DaqDeviceHandle daqDeviceHandle, TriggerType type, int trigChan, double level, double variance, unsigned int retriggerSampleCount);
2793 
2802 UlError ulCInScanStatus(DaqDeviceHandle daqDeviceHandle, ScanStatus* status, TransferStatus* xferStatus);
2803 
2809 UlError ulCInScanStop(DaqDeviceHandle daqDeviceHandle);
2810 
2819 UlError ulCInScanWait(DaqDeviceHandle daqDeviceHandle, WaitType waitType, long long waitParam, double timeout);
2820 
2841 UlError ulTmrPulseOutStart(DaqDeviceHandle daqDeviceHandle, int timerNum, double* frequency, double* dutyCycle, unsigned long long pulseCount, double* initialDelay, TmrIdleState idleState, PulseOutOption options);
2842 
2849 UlError ulTmrPulseOutStop(DaqDeviceHandle daqDeviceHandle, int timerNum);
2850 
2858 UlError ulTmrPulseOutStatus(DaqDeviceHandle daqDeviceHandle, int timerNum, TmrStatus* status);
2859 
2870 UlError ulTmrSetTrigger(DaqDeviceHandle daqDeviceHandle, TriggerType type, int trigChan, double level, double variance, unsigned int retriggerSampleCount);
2871 
2894 UlError ulDaqInScan(DaqDeviceHandle daqDeviceHandle, DaqInChanDescriptor chanDescriptors[], int numChans, int samplesPerChan, double* rate, ScanOption options, DaqInScanFlag flags, double data[]);
2895 
2904 UlError ulDaqInScanStatus(DaqDeviceHandle daqDeviceHandle, ScanStatus* status, TransferStatus* xferStatus);
2905 
2911 UlError ulDaqInScanStop(DaqDeviceHandle daqDeviceHandle);
2912 
2921 UlError ulDaqInScanWait(DaqDeviceHandle daqDeviceHandle, WaitType waitType, long long waitParam, double timeout);
2922 
2936 UlError ulDaqInSetTrigger(DaqDeviceHandle daqDeviceHandle, TriggerType type, DaqInChanDescriptor trigChanDescriptor, double level, double variance, unsigned int retriggerSampleCount);
2937 
2952 UlError ulDaqOutScan(DaqDeviceHandle daqDeviceHandle, DaqOutChanDescriptor chanDescriptors[], int numChans, int samplesPerChan, double* rate, ScanOption options, DaqOutScanFlag flags, double data[]);
2953 
2962 UlError ulDaqOutScanStatus(DaqDeviceHandle daqDeviceHandle, ScanStatus* status, TransferStatus* xferStatus);
2963 
2969 UlError ulDaqOutScanStop(DaqDeviceHandle daqDeviceHandle);
2970 
2979 UlError ulDaqOutScanWait(DaqDeviceHandle daqDeviceHandle, WaitType waitType, long long waitParam, double timeout);
2980 
2994 UlError ulDaqOutSetTrigger(DaqDeviceHandle daqDeviceHandle, TriggerType type, DaqInChanDescriptor trigChanDescriptor, double level, double variance, unsigned int retriggerSampleCount);
2995 
3014 UlError ulEnableEvent(DaqDeviceHandle daqDeviceHandle, DaqEventType eventTypes, unsigned long long eventParameter, DaqEventCallback eventCallbackFunction, void* userData);
3015 
3022 UlError ulDisableEvent(DaqDeviceHandle daqDeviceHandle, DaqEventType eventTypes);
3023 
3033 UlError ulMemRead(DaqDeviceHandle daqDeviceHandle, MemRegion memRegion, unsigned int address, unsigned char* buffer, unsigned int count);
3034 
3045 UlError ulMemWrite(DaqDeviceHandle daqDeviceHandle, MemRegion memRegion, unsigned int address, unsigned char* buffer, unsigned int count);
3046 
3054 UlError ulGetErrMsg(UlError errCode, char errMsg[ERR_MSG_LEN]);
3055 
3064 #ifndef doxy_skip
3065 
3073 UlError ulGetInfoStr(UlInfoItemStr infoItem, unsigned int index, char* infoStr, unsigned int* maxConfigLen);
3074 
3075 
3083 UlError ulSetConfig(UlConfigItem configItem, unsigned int index, long long configValue);
3084 
3085 
3093 UlError ulGetConfig(UlConfigItem configItem, unsigned int index, long long* configValue);
3094 #endif /* doxy_skip */
3095 
3104 UlError ulDevGetInfo(DaqDeviceHandle daqDeviceHandle, DevInfoItem infoItem, unsigned int index, long long* infoValue);
3105 
3116 UlError ulDevGetConfigStr(DaqDeviceHandle daqDeviceHandle, DevConfigItemStr configItem, unsigned int index, char* configStr, unsigned int* maxConfigLen);
3117 
3131 UlError ulAIGetInfo(DaqDeviceHandle daqDeviceHandle, AiInfoItem infoItem, unsigned int index, long long* infoValue);
3132 
3143 UlError ulAIGetInfoDbl(DaqDeviceHandle daqDeviceHandle, AiInfoItemDbl infoItem, unsigned int index, double* infoValue);
3144 
3154 UlError ulAISetConfig(DaqDeviceHandle daqDeviceHandle, AiConfigItem configItem, unsigned int index, long long configValue);
3155 
3165 UlError ulAIGetConfig(DaqDeviceHandle daqDeviceHandle, AiConfigItem configItem, unsigned int index, long long* configValue);
3166 
3176 UlError ulAISetConfigDbl(DaqDeviceHandle daqDeviceHandle, AiConfigItemDbl configItem, unsigned int index, double configValue);
3177 
3187 UlError ulAIGetConfigDbl(DaqDeviceHandle daqDeviceHandle, AiConfigItemDbl configItem, unsigned int index, double* configValue);
3188 
3199 UlError ulAIGetConfigStr(DaqDeviceHandle daqDeviceHandle, AiConfigItemStr configItem, unsigned int index, char* configStr, unsigned int* maxConfigLen);
3200 
3210 UlError ulAOGetInfo(DaqDeviceHandle daqDeviceHandle, AoInfoItem infoItem, unsigned int index, long long* infoValue);
3211 
3221 UlError ulAOGetInfoDbl(DaqDeviceHandle daqDeviceHandle, AoInfoItemDbl infoItem, unsigned int index, double* infoValue);
3222 
3232 UlError ulAOSetConfig(DaqDeviceHandle daqDeviceHandle, AoConfigItem configItem, unsigned int index, long long configValue);
3233 
3243 UlError ulAOGetConfig(DaqDeviceHandle daqDeviceHandle, AoConfigItem configItem, unsigned int index, long long* configValue);
3244 
3255 UlError ulDIOGetInfo(DaqDeviceHandle daqDeviceHandle, DioInfoItem infoItem, unsigned int index, long long* infoValue);
3256 
3266 UlError ulDIOGetInfoDbl(DaqDeviceHandle daqDeviceHandle, DioInfoItemDbl infoItem, unsigned int index, double* infoValue);
3267 
3277 UlError ulDIOSetConfig(DaqDeviceHandle daqDeviceHandle, DioConfigItem configItem, unsigned int index, long long configValue);
3278 
3288 UlError ulDIOGetConfig(DaqDeviceHandle daqDeviceHandle, DioConfigItem configItem, unsigned int index, long long* configValue);
3289 
3299 UlError ulCtrGetInfo(DaqDeviceHandle daqDeviceHandle, CtrInfoItem infoItem, unsigned int index, long long* infoValue);
3300 
3310 UlError ulCtrGetInfoDbl(DaqDeviceHandle daqDeviceHandle, CtrInfoItemDbl infoItem, unsigned int index, double* infoValue);
3311 
3321 UlError ulCtrGetConfig(DaqDeviceHandle daqDeviceHandle, CtrConfigItem configItem, unsigned int index, long long* configValue);
3322 
3332 UlError ulCtrSetConfig(DaqDeviceHandle daqDeviceHandle, CtrConfigItem configItem, unsigned int index, long long configValue);
3333 
3343 UlError ulTmrGetInfo(DaqDeviceHandle daqDeviceHandle, TmrInfoItem infoItem, unsigned int index, long long* infoValue);
3344 
3354 UlError ulTmrGetInfoDbl(DaqDeviceHandle daqDeviceHandle, TmrInfoItemDbl infoItem, unsigned int index, double* infoValue);
3355 
3365 UlError ulDaqIGetInfo(DaqDeviceHandle daqDeviceHandle, DaqIInfoItem infoItem, unsigned int index, long long* infoValue);
3366 
3376 UlError ulDaqIGetInfoDbl(DaqDeviceHandle daqDeviceHandle, DaqIInfoItemDbl infoItem, unsigned int index, double* infoValue);
3377 
3387 UlError ulDaqOGetInfo(DaqDeviceHandle daqDeviceHandle, DaqOInfoItem infoItem, unsigned int index, long long* infoValue);
3388 
3398 UlError ulDaqOGetInfoDbl(DaqDeviceHandle daqDeviceHandle, DaqOInfoItemDbl infoItem, unsigned int index, double* infoValue);
3399 
3409 UlError ulMemGetInfo(DaqDeviceHandle daqDeviceHandle, MemRegion memRegion, MemDescriptor* memDescriptor);
3410 
3411 #ifndef doxy_skip
3412 
3418 DaqDeviceHandle ulCreateDaqDevicePtr(DaqDeviceDescriptor* daqDevDescriptor);
3419 
3420 #endif /* doxy_skip */
3421 
3520 #ifdef __cplusplus
3521 }
3522 #endif
3523 
3524 #endif /* UL_DAQ_H_ */
Configures the counter to decrement by the signal on the mapped channel for the CMT_COUNT measurement...
Definition: uldaq.h:1382
Placeholder value.
Definition: uldaq.h:1127
Returns a bitmask of AiChanQueueLimitation values to the infoValue argument that apply to the queue...
Definition: uldaq.h:1822
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:752
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:454
UlError ulAInScanStatus(DaqDeviceHandle daqDeviceHandle, ScanStatus *status, TransferStatus *xferStatus)
Returns the status, count, and index of an A/D scan operation.
SensorConnectionType
Sensor connection types.
Definition: uldaq.h:451
unsigned int size
A numeric value that specifies the size of the memory area at the specified address.
Definition: uldaq.h:2222
Scaled data is supplied and calibration factors are applied to output.
Definition: uldaq.h:1114
DigitalDirection
Used with ulDConfigPort() and ulDConfigBit() as the direction argument value.
Definition: uldaq.h:871
Data for analog channels is returned in native format, without scaling applied.
Definition: uldaq.h:1219
TempUnit
Temperature units.
Definition: uldaq.h:614
Encoder measurement.
Definition: uldaq.h:1264
AC coupling.
Definition: uldaq.h:692
Volts.
Definition: uldaq.h:639
AiInputMode
A/D channel input modes.
Definition: uldaq.h:383
4-wire with a single sensor per differential channel pair
Definition: uldaq.h:463
Returns a zero or non-zero value to the infoValue argument.
Definition: uldaq.h:1793
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:520
char reserved[64]
Reserved for future use.
Definition: uldaq.h:1017
Thermocouple.
Definition: uldaq.h:407
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:864
FirstPortC.
Definition: uldaq.h:758
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:1477
Sets the tick size to 2083.3 ns.
Definition: uldaq.h:1492
CounterMeasurementMode
Use as the value for the mode argument for ulCConfigScan().
Definition: uldaq.h:1268
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:1011
Enables or disables the internal timebase output on a DAQ device.
Definition: uldaq.h:1080
UlError ulDaqOGetInfoDbl(DaqDeviceHandle daqDeviceHandle, DaqOInfoItemDbl infoItem, unsigned int index, double *infoValue)
Use with DaqOInfoItemDbl to retrieve information about the synchronous output subsystem.
Definition: uldaq.h:1710
The channel coefficients used for the configured sensor.
Definition: uldaq.h:1915
UlError ulAInSetTrigger(DaqDeviceHandle daqDeviceHandle, TriggerType type, int trigChan, double level, double variance, unsigned int retriggerSampleCount)
Configures the trigger parameters that will be used when ulAInScan() is called with the SO_RETRIGGER ...
AuxPort.
Definition: uldaq.h:740
Sets up the counter as a 32-bit counter channel.
Definition: uldaq.h:1186
Returns the maximum scan rate to the infoValue argument for the specified digital direction...
Definition: uldaq.h:2023
A digital pattern trigger.
Definition: uldaq.h:992
Returns a bitmask of supported CounterMeasurementMode values compatible with the CounterMeasurementTy...
Definition: uldaq.h:2070
Rising edge.
Definition: uldaq.h:1474
A structure that defines an input channel and its properties.
Definition: uldaq.h:1571
CounterTickSize
Use as the value for the tickSize argument for ulCConfigScan() when CounterDebounceMode is CMT_PERIOD...
Definition: uldaq.h:1483
MemAccessType accessTypes
A bitmask indicating the access rights to the memory at the specified address (read, write, or both).
Definition: uldaq.h:2225
Range range
The range to be used for the specified channel; ignored if not analog.
Definition: uldaq.h:1614
The register that sets the count value at which the counter output will reset to its original state...
Definition: uldaq.h:1537
Maximum offset value reached.
Definition: uldaq.h:245
Data for analog channels is returned without calibration factors applied.
Definition: uldaq.h:1222
Returns a bitmask of supported TriggerType values to the infoValue argument.
Definition: uldaq.h:2155
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:1591
DAQI_CTR64.
Definition: uldaq.h:1564
Configures the counter for default counting modes for the CMT_COUNT measurement type.
Definition: uldaq.h:1271
AoConfigItem
Use with ulAOSetConfig() and ulAOGetConfig() to configure the AO subsystem.
Definition: uldaq.h:1963
Invalid memory region.
Definition: uldaq.h:134
Invalid thermocouple type specified.
Definition: uldaq.h:182
Fahrenheit.
Definition: uldaq.h:633
Scanning is enabled as long as the external analog trigger is outside the region defined by the level...
Definition: uldaq.h:974
Memory access denied.
Definition: uldaq.h:335
FPGA version installed on the current device is returned to the configStr argument.
Definition: uldaq.h:1764
Invalid trigger level specified.
Definition: uldaq.h:365
No trigger type.
Definition: uldaq.h:919
-0.125 to +0.125 Volts
Definition: uldaq.h:514
FPGA not loaded.
Definition: uldaq.h:230
EighthPortA.
Definition: uldaq.h:839
UlError ulTInArray(DaqDeviceHandle daqDeviceHandle, int lowChan, int highChan, TempScale scale, TInArrayFlag flags, double data[])
Scans a range of A/D temperature channels, and stores the samples in an array.
UlError ulAInScan(DaqDeviceHandle daqDeviceHandle, int lowChan, int highChan, AiInputMode inputMode, Range range, int samplesPerChan, double *rate, ScanOption options, AInScanFlag flags, double data[])
Scans a range of A/D channels, and stores the samples in an array.
TmrInfoItemDbl
Use with ulTmrGetInfoDbl() to obtain information about the timer subsystem for the specified device a...
Definition: uldaq.h:2129
Returns a non-zero value to infoValue if paced digital operation (scanning) is supported.
Definition: uldaq.h:1996
Firmware version installed on the current device is returned to the configStr argument.
Definition: uldaq.h:1761
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1413
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:877
PulseOutOption
Used with ulTmrPulseOutStart() as the options argument value to set advanced options for the specifie...
Definition: uldaq.h:1624
The connection type of the sensor connected to the specified channel.
Definition: uldaq.h:1886
The timer is currently running.
Definition: uldaq.h:907
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...
Analog input channel, differential mode.
Definition: uldaq.h:1546
TmrIdleState
Timer idle state.
Definition: uldaq.h:891
DaqIInfoItemDbl
Use with ulDaqIGetInfoDbl() to obtain information about the DAQ input subsystem for the specified dev...
Definition: uldaq.h:2164
Returns the maximum scan rate in samples per second to the infoValue argument.
Definition: uldaq.h:2104
-.312 to +.312 Volts
Definition: uldaq.h:538
Data conversions are controlled by an external clock signal.
Definition: uldaq.h:1062
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:1687
Invalid tick size specified.
Definition: uldaq.h:311
Input.
Definition: uldaq.h:874
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1453
Invalid number of channels specified.
Definition: uldaq.h:290
Indicates write access for the location specified by the memRegion argument.
Definition: uldaq.h:1693
IEPE excitation current is enabled.
Definition: uldaq.h:682
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1429
AOutArrayFlag
Use as the flags argument value for ulAOutArray() to set the properties of data supplied to the funct...
Definition: uldaq.h:1151
Invalid range.
Definition: uldaq.h:137
Returns the FIFO size in bytes to the infoValue argument.
Definition: uldaq.h:2158
EighthPortC Low.
Definition: uldaq.h:845
Programmable frequency timer, plus other attributes such as pulse width.
Definition: uldaq.h:887
Incompatible firmware version, firmware update required.
Definition: uldaq.h:377
The sync mode.
Definition: uldaq.h:1966
No PulseOut options are applied.
Definition: uldaq.h:1627
Defines an event trigger condition that occurs when an input scan error occurs.
Definition: uldaq.h:1654
-10 to +10 Volts
Definition: uldaq.h:484
Data is supplied in native format (usually, values ranging from 0 to 2resolution - 1)...
Definition: uldaq.h:1157
DaqEventType
A bitmask defining the types of conditions that trigger an event.
Definition: uldaq.h:1643
CounterRegisterType
Used for the ulCLoad() registerType argument, and as the value returned by ulCtrGetInfo() for the CTR...
Definition: uldaq.h:1519
Pulsewidth measurement.
Definition: uldaq.h:1256
Perform auto zero on every thermocouple reading.
Definition: uldaq.h:653
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:1985
Returns a bitmask of supported ScanOption values to the infoValue argument.
Definition: uldaq.h:2185
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:1091
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:806
UlError ulAIGetConfigStr(DaqDeviceHandle daqDeviceHandle, AiConfigItemStr configItem, unsigned int index, char *configStr, unsigned int *maxConfigLen)
Use with DevConfigItemStr to retrieve configuration information as a null-terminated string...
Load register.
Definition: uldaq.h:1525
Returns a bitmask of supported TriggerType values to the infoValue argument.
Definition: uldaq.h:1942
TInFlag
Use as the flags argument value for ulTIn() to set the properties of data returned; reserved for futu...
Definition: uldaq.h:1124
UlError ulMemWrite(DaqDeviceHandle daqDeviceHandle, MemRegion memRegion, unsigned int address, unsigned char *buffer, unsigned int count)
Writes a value to a specified region in memory.
UlError ulCIn(DaqDeviceHandle daqDeviceHandle, int counterNum, unsigned long long *data)
Reads the value of a count register.
DaqOutChanType type
The type of the specified channel, such as analog or digital.
Definition: uldaq.h:1611
SixthPortC High.
Definition: uldaq.h:824
Fixed output port.
Definition: uldaq.h:858
AiChanQueueLimitation
Device queue limitations.
Definition: uldaq.h:724
FifthPortA.
Definition: uldaq.h:803
Returns a bitmask of supported ScanOption values to the infoValue argument.
Definition: uldaq.h:1790
Returns the minimum scan rate in samples per second to the infoValue argument.
Definition: uldaq.h:1837
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:1741
A digital gate.
Definition: uldaq.h:937
A digital pattern trigger.
Definition: uldaq.h:986
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1425
Returns the number of analog output ranges supported to the infoValue argument.
Definition: uldaq.h:1935
DioConfigItem
Use with ulDIOGetConfig() and/or ulDIOSetConfig() as a configItem argument value to get the current c...
Definition: uldaq.h:2033
No scale (Raw)
Definition: uldaq.h:642
Returns the minimum scan rate in samples per second to the infoValue argument.
Definition: uldaq.h:2200
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:1293
Data is returned with scaling and calibration factors applied to analog channel data.
Definition: uldaq.h:1216
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:487
Sets the tick size to 20.83 ns.
Definition: uldaq.h:1486
char reserved[64]
Reserved for future use.
Definition: uldaq.h:86
Kelvin.
Definition: uldaq.h:636
0 to 20 Milliamps
Definition: uldaq.h:610
AInFlag
Use as the flags argument value for ulAIn() to set the properties of data returned.
Definition: uldaq.h:1098
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:1697
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:1920
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:830
Latches the counter measurement each time 100 complete periods are observed for the CMT_PERIOD measur...
Definition: uldaq.h:1323
UlError ulCInScan(DaqDeviceHandle daqDeviceHandle, int lowCounterNum, int highCounterNum, int samplesPerCounter, double *rate, ScanOption options, CInScanFlag flags, unsigned long long data[])
Reads a range of counter channels.
Counter register.
Definition: uldaq.h:1522
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:1386
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1401
AuxPort0.
Definition: uldaq.h:743
Sample count cannot be greater than FIFO size for BURSTIO scans.
Definition: uldaq.h:167
DaqDeviceHandle ulCreateDaqDevicePtr(DaqDeviceDescriptor *daqDevDescriptor)
Create a device object within the Universal Library for the DAQ device specified by the descriptor...
Data is returned in native format, without scaling applied.
Definition: uldaq.h:1104
Radio firmware version installed on the current device is returned to the configStr argument...
Definition: uldaq.h:1767
The temperature unit of the specified analog input scan channel.
Definition: uldaq.h:1863
TmrStatus
Used with ulTmrPulseOutStatus() as the status argument value returned (if supported) for the specifie...
Definition: uldaq.h:901
ScanOption
Used with many analog input and output functions, as well as a return value for the infoValue argumen...
Definition: uldaq.h:1043
An analog trigger.
Definition: uldaq.h:945
Returns a bitmask of supported TriggerType values to the infoValue argument for the specified digital...
Definition: uldaq.h:2007
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:2197
Returns a bitmask of supported DaqInChanType values to the infoValue argument.
Definition: uldaq.h:2147
Returns a bitmask of supported TriggerType values to the infoValue argument.
Definition: uldaq.h:2089
Configures the counter to increment when the gate pin is high, and decrement when the gate pin is low...
Definition: uldaq.h:1281
Invalid port type specified.
Definition: uldaq.h:248
Scaled data is supplied and calibration factors are applied to output.
Definition: uldaq.h:1141
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:761
0 to +30 Volts
Definition: uldaq.h:550
A digital gate.
Definition: uldaq.h:940
The AI subsystem supports a gain queue.
Definition: uldaq.h:712
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:2027
Sets the encoder measurement mode to X4 for the CMT_ENCODER measurement type.
Definition: uldaq.h:1356
-2.0 to +2.0 Volts
Definition: uldaq.h:496
Counters are not cleared (set to 0) when a scan starts.
Definition: uldaq.h:1225
Receive the D/A Load signal from an external source.
Definition: uldaq.h:1170
ThirdPortA.
Definition: uldaq.h:779
An analog trigger.
Definition: uldaq.h:958
Type K.
Definition: uldaq.h:429
UlError ulDaqOGetInfo(DaqDeviceHandle daqDeviceHandle, DaqOInfoItem infoItem, unsigned int index, long long *infoValue)
Use with DaqOInfoItem to retrieve information about the synchronous output subsystem.
The date when the device was calibrated last in UNIX Epoch time.
Definition: uldaq.h:1876
Configures the counter to restart when a clear or load operation is performed, or the count direction...
Definition: uldaq.h:1300
Returns a bitmask of supported AiChanType values to the infoValue argument.
Definition: uldaq.h:1787
Returns the minimum throughput to the infoValue argument.
Definition: uldaq.h:2173
Invalid duty cycle specified.
Definition: uldaq.h:275
Data for analog channels is output without calibration factors applied.
Definition: uldaq.h:1238
Returns the FIFO size in bytes to the infoValue argument.
Definition: uldaq.h:1825
Returns a non-zero value to infoValue if digital I/O is supported; otherwise, returns zero...
Definition: uldaq.h:1729
Latches the counter measurement each time 1 complete period is observed for the CMT_PERIOD measuremen...
Definition: uldaq.h:1317
Fixed input port.
Definition: uldaq.h:855
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:852
FirstPortC High.
Definition: uldaq.h:764
Returns the maximum throughput in samples per second to the infoValue argument.
Definition: uldaq.h:2107
AiConfigItemStr
Definition: uldaq.h:1909
Returns a zero or non-zero value to the infoValue argument.
Definition: uldaq.h:2081
-1.25 to +1.25 Volts
Definition: uldaq.h:499
Invalid option specified.
Definition: uldaq.h:161
Returns the maximum throughput in samples per second to the infoValue argument.
Definition: uldaq.h:2206
Standard scan properties.
Definition: uldaq.h:1202
Invalid analog output channel specified.
Definition: uldaq.h:263
Invalid bit number.
Definition: uldaq.h:254
Type S.
Definition: uldaq.h:441
Invalid counter measurement type specified.
Definition: uldaq.h:296
TempScale
Temperature units.
Definition: uldaq.h:627
Type T.
Definition: uldaq.h:432
Counter measurement.
Definition: uldaq.h:1247
Defines an event trigger condition that occurs when a specified number of samples are available...
Definition: uldaq.h:1651
Returns a bitmask of supported ScanOption values to the infoValue argument for the specified digital ...
Definition: uldaq.h:2002
Returns the total number of A/D channels to the infoValue argument.
Definition: uldaq.h:1778
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:1945
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:416
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:568
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:1467
DaqOInfoItem
Use with ulDaqOGetInfo() to obtain information about the DAQ output subsystem for the specified devic...
Definition: uldaq.h:2179
DaqInChanType
A bitmask used with synchronous input scanning operations as a field in the DaqInChanDescriptor struc...
Definition: uldaq.h:1543
0 to +1 Volts
Definition: uldaq.h:577
Placeholder value.
Definition: uldaq.h:1514
#define ERR_MSG_LEN
Definition: uldaq.h:92
UlError ulCtrGetInfoDbl(DaqDeviceHandle daqDeviceHandle, CtrInfoItemDbl infoItem, unsigned int index, double *infoValue)
Use with CtrInfoItemDbl to retrieve information about the counter subsystem.
Enables upper and lower limits for the CMT_ENCODER measurement type.
Definition: uldaq.h:1369
FourthPortC Low.
Definition: uldaq.h:797
Specifies the data settings region information returned to the MemDescriptor struct.
Definition: uldaq.h:1679
Internal error.
Definition: uldaq.h:203
Invalid initial delay specified.
Definition: uldaq.h:278
SixthPortA.
Definition: uldaq.h:815
Returns the maximum scan rate in samples per second to the infoValue argument.
Definition: uldaq.h:1956
Minimum offset value reached.
Definition: uldaq.h:242
Returns a bitmask of supported DaqOutChanType values to the infoValue argument.
Definition: uldaq.h:2182
TimerType
Types of timer channels.
Definition: uldaq.h:881
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:1296
0 to +.625 Volts
Definition: uldaq.h:580
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:950
Returns a DigitalPortType value to the infoValue argument indicating the type of the port specified b...
Definition: uldaq.h:1979
AiInfoItem
Use with ulAIGetInfo() to obtain information about the analog input subsystem for the specified devic...
Definition: uldaq.h:1772
Returns the A/D resolution in number of bits to the infoValue argument.
Definition: uldaq.h:1775
Returns the total number of counters to the infoValue argument.
Definition: uldaq.h:2062
Returns the FIFO size in bytes to the infoValue argument.
Definition: uldaq.h:2191
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:1131
Returns the maximum output frequency to the infoValue argument.
Definition: uldaq.h:2137
An analog trigger.
Definition: uldaq.h:954
A particular channel number cannot appear more than once in the queue.
Definition: uldaq.h:727
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1405
SeventhPortC Low.
Definition: uldaq.h:833
Returns a value to the infoValue argument indicating the number of bits the specified port has...
Definition: uldaq.h:1991
Bidirectional (input or output) port.
Definition: uldaq.h:861
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:1747
Inverts the polarity of the gate input for the CMT_TIMING measurement type.
Definition: uldaq.h:1347
Type E.
Definition: uldaq.h:435
Invalid counter specified.
Definition: uldaq.h:281
0 to +5 Volts
Definition: uldaq.h:562
DOutScanFlag
Use as the flags argument value for ulDOutScan() to set properties of data sent.
Definition: uldaq.h:1206
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:1056
Specifies the user data region information returned to the MemDescriptor struct.
Definition: uldaq.h:1676
0 to +.1 Volts
Definition: uldaq.h:595
The thermocouple type of the specified channel.
Definition: uldaq.h:1859
Returns a non-zero value to infoValue if timer output is supported; otherwise, returns zero...
Definition: uldaq.h:1735
Period measurement.
Definition: uldaq.h:1251
UlError ulGetDaqDeviceDescriptor(DaqDeviceHandle daqDeviceHandle, DaqDeviceDescriptor *daqDeviceDescriptor)
Get descriptor information for a device.
The custom slope of the specified channel.
Definition: uldaq.h:1896
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:1192
Configures the counter to clear when the gate input is high for the CMT_COUNT measurement type...
Definition: uldaq.h:1284
UlError ulDIOGetInfo(DaqDeviceHandle daqDeviceHandle, DioInfoItem infoItem, unsigned int index, long long *infoValue)
Use with DioInfoItem to retrieve information about the DIO subsystem.
AdcTimingMode
ADC timing modes.
Definition: uldaq.h:662
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:749
#define NOCLEAR
Definition: uldaq.h:1037
Invalid event parameter specified.
Definition: uldaq.h:326
Sets the tick size to 208.3 ns.
Definition: uldaq.h:1489
32-bit counter channel.
Definition: uldaq.h:1558
UlError ulAInScanWait(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...
Defines an event trigger condition that occurs when an output scan error occurs.
Definition: uldaq.h:1661
int channel
The analog input channel number for the queue element.
Definition: uldaq.h:1008
Invalid sensor sensitivity.
Definition: uldaq.h:209
Placeholder value.
Definition: uldaq.h:1134
Enables the counter when the mapped channel or gate pin is high for the CMT_COUNT measurement type...
Definition: uldaq.h:1311
AiConfigItemDbl
Use with ulAISetConfigDbl() and ulAIGetConfigDbl() to configure the AI subsystem. ...
Definition: uldaq.h:1893
Returns the resolution to the infoValue argument.
Definition: uldaq.h:2077
DioInfoItem
Use with ulDIOGetInfo() to obtain information about the DIO subsystem for the specified device as an ...
Definition: uldaq.h:1970
Latches the counter measurement each time 10 complete periods are observed for the CMT_PERIOD measure...
Definition: uldaq.h:1320
0 to +4 Volts
Definition: uldaq.h:565
AiInfoItemDbl
Use with ulAIGetInfoDbl() to obtain information about the analog input subsystem for the specified de...
Definition: uldaq.h:1834
Invalid event type specified.
Definition: uldaq.h:320
Data is output without calibration factors applied.
Definition: uldaq.h:1160
Min Limit register.
Definition: uldaq.h:1531
CouplingMode
Coupling modes.
Definition: uldaq.h:686
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:1665
CtrInfoItemDbl
Use with ulCtrGetInfoDbl() to obtain information about the counter subsystem for the specified device...
Definition: uldaq.h:2098
Invalid flag specified.
Definition: uldaq.h:197
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:733
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:1261
Calibration date.
Definition: uldaq.h:1912
FPGA file not found.
Definition: uldaq.h:224
The timer is currently idle.
Definition: uldaq.h:904
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:1433
ThirdPortB.
Definition: uldaq.h:782
FourthPortC High.
Definition: uldaq.h:800
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:1939
A digital pattern trigger.
Definition: uldaq.h:980
Digital output.
Definition: uldaq.h:1597
0 to +10 Volts
Definition: uldaq.h:559
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:1379
UlError ulAInLoadQueue(DaqDeviceHandle daqDeviceHandle, AiQueueElement queue[], unsigned int numElements)
Loads the A/D queue of a specified device.
Returns a bitmask of supported CounterMeasurementType values of the counter specified by the index ar...
Definition: uldaq.h:2066
A structure that defines an output channel and its properties.
Definition: uldaq.h:1605
Minimum slope value reached.
Definition: uldaq.h:236
0 to +0.25 Volts
Definition: uldaq.h:586
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:2170
-60 to +60 Volts
Definition: uldaq.h:472
-30 to +30 Volts
Definition: uldaq.h:475
Invalid coupling mode.
Definition: uldaq.h:206
-.01 to +.01 Volts
Definition: uldaq.h:529
The counter is incremented only after the counter input is stable for a period of a length defined by...
Definition: uldaq.h:1463
UlError ulSetConfig(UlConfigItem configItem, unsigned int index, long long configValue)
Use with UlConfigItem to change device configuration options at runtime.
AOutSyncMode
Use with AoConfigItem to set configuration options at runtime.
Definition: uldaq.h:1167
UlError ulAIGetConfigDbl(DaqDeviceHandle daqDeviceHandle, AiConfigItemDbl configItem, unsigned int index, double *configValue)
Use with AiConfigItem to retrieve configuration options set for a device.
Pseudo-differential.
Definition: uldaq.h:392
Configures the counter to be latched by the signal on the index pin for the CMT_COUNT measurement typ...
Definition: uldaq.h:1375
UlInfoItemStr
Library version.
Definition: uldaq.h:1708
Returns the number of A/D channels for the specified channel type to the infoValue argument...
Definition: uldaq.h:1784
The timing mode.
Definition: uldaq.h:1870
Disables debounce.
Definition: uldaq.h:1389
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:998
AOutScanFlag
Use as the flags argument value for ulAOutScan() to set the properties of data supplied to the functi...
Definition: uldaq.h:1111
Programmable frequency timer.
Definition: uldaq.h:884
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:1899
Invalid trigger channel specified.
Definition: uldaq.h:362
-4 to +4 Volts
Definition: uldaq.h:490
Returns a zero or non-zero value to the infoValue argument.
Definition: uldaq.h:1932
The AI subsystem supports a mode queue.
Definition: uldaq.h:715
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:1235
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:2213
Invalid port value specified.
Definition: uldaq.h:257
Invalid config item specified.
Definition: uldaq.h:191
Type J.
Definition: uldaq.h:426
Configuration not supported.
Definition: uldaq.h:170
UlError ulCtrGetConfig(DaqDeviceHandle daqDeviceHandle, CtrConfigItem configItem, unsigned int index, long long *configValue)
Use with CtrConfigItem to retrieve configuration options set for a device.
Disables the debounce feature.
Definition: uldaq.h:1460
Invalid mode queue specified.
Definition: uldaq.h:221
ScanStatus
Scan status.
Definition: uldaq.h:1024
WaitType
Used with the subsystem ScanWait functions as the waitType argument value for the specified device...
Definition: uldaq.h:1700
UlError ulAIn(DaqDeviceHandle daqDeviceHandle, int channel, AiInputMode inputMode, Range range, AInFlag flags, double *data)
Returns the value read from an A/D channel.
Latches the counter measurement each time 1000 complete periods are observed for the CMT_PERIOD measu...
Definition: uldaq.h:1326
UlError ulDBitIn(DaqDeviceHandle daqDeviceHandle, DigitalPortType portType, int bitNum, unsigned int *bitValue)
Returns the value of a digital bit.
SixthPortC Low.
Definition: uldaq.h:821
Output the internal D/A Load signal.
Definition: uldaq.h:1173
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:1840
Enables the counter when the mapped channel or gate pin is high for the CMT_PULSE_WIDTH measurement t...
Definition: uldaq.h:1338
Configures the encoder Z mapped signal to latch the counter outputs for the CMT_ENCODER measurement t...
Definition: uldaq.h:1359
AInScanFlag
Use as the flags argument value for the ulAInScan() function to set properties of data returned...
Definition: uldaq.h:1085
Data is returned without calibration factors applied.
Definition: uldaq.h:1094
48-bit counter channel.
Definition: uldaq.h:1561
The data buffer contains scaled data for analog channels, and calibration factors are applied to anal...
Definition: uldaq.h:1232
DaqOutScanFlag
Use as the flags argument value for ulDaqOutScan() to set the properties of data sent.
Definition: uldaq.h:1229
Enables or disables the internal pacer output on a DAQ device.
Definition: uldaq.h:1074
EighthPortC High.
Definition: uldaq.h:848
Data is supplied in native format (usually, values ranging from 0 to 2resolution - 1)...
Definition: uldaq.h:1144
Device not found.
Definition: uldaq.h:116
Invalid re-trigger count.
Definition: uldaq.h:260
Inverts the polarity of the gate input for the CMT_COUNT measurement type.
Definition: uldaq.h:1314
All of the specified channels will be updated simultaneously.
Definition: uldaq.h:1163
No event type.
Definition: uldaq.h:1647
Returns the minimum scan rate in samples per second to the infoValue argument.
Definition: uldaq.h:2101
Data is output without calibration factors applied.
Definition: uldaq.h:1147
UlError
UL error codes.
Definition: uldaq.h:95
UlError ulCtrSetConfig(DaqDeviceHandle daqDeviceHandle, CtrConfigItem configItem, unsigned int index, long long configValue)
Use with CtrConfigItem to set configuration options at runtime.
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1437
UlError ulGetInfoStr(UlInfoItemStr infoItem, unsigned int index, char *infoStr, unsigned int *maxConfigLen)
Use with UlInfoItemStr to retrieve device information as a null-terminated string.
Channel numbers must be listed in ascending order within the queue.
Definition: uldaq.h:730
UlError ulAOutArray(DaqDeviceHandle daqDeviceHandle, int lowChan, int highChan, Range range[], AOutArrayFlag flags, double data[])
Writes values to a range of D/A channels.
AiQueueType
Bitmask indicating supported queue types.
Definition: uldaq.h:706
0 to +.01 Volts
Definition: uldaq.h:604
DigitalPortType
Used with all digital I/O functions and with ulDIOGetInfo() as the infoValue argument value when used...
Definition: uldaq.h:737
Scans data in an endless loop.
Definition: uldaq.h:1059
UlError ulAIGetInfoDbl(DaqDeviceHandle daqDeviceHandle, AiInfoItemDbl infoItem, unsigned int index, double *infoValue)
Use with AiInfoItemDbl to retrieve information about the AI subsystem.
Pacer overrun, external clock rate too fast.
Definition: uldaq.h:359
Digital channel.
Definition: uldaq.h:1552
Returns a bitmask of supported ScanOption values to the infoValue argument.
Definition: uldaq.h:2151
2-wire with two sensors per differential channel pair
Definition: uldaq.h:457
Defines an event trigger condition that occurs upon completion of an input scan operation such as ulA...
Definition: uldaq.h:1658
Celcius.
Definition: uldaq.h:630
Sets the encoder measurement mode to X2 for the CMT_ENCODER measurement type.
Definition: uldaq.h:1353
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:1883
MemRegion
Used with ulMemGetInfo() as the memRegion argument value to specify the memory location on the specif...
Definition: uldaq.h:1670
long long DaqDeviceHandle
The DAQ device.
Definition: uldaq.h:65
0 to +60 Volts
Definition: uldaq.h:547
Definition: uldaq.h:1715
Invalid channel queue specified.
Definition: uldaq.h:215
Open Thermocouple detection modes is enabled.
Definition: uldaq.h:702
Configures the counter to start counting when the gate input goes active for the CMT_COUNT measuremen...
Definition: uldaq.h:1288
Sets up the counter as a 48-bit counter channel.
Definition: uldaq.h:1195
Returns a bitmask of supported ScanOption values to the infoValue argument.
Definition: uldaq.h:1929
-.156 to +.156 Volts
Definition: uldaq.h:541
OtdMode
Open Thermocouple detection modes.
Definition: uldaq.h:696
IepeMode
IEPE modes.
Definition: uldaq.h:676
Sampling begins when a trigger condition is met.
Definition: uldaq.h:1065
When counting up, configures the counter to roll over to the min limit when the max limit is reached ...
Definition: uldaq.h:1308
ThirdPortC Low.
Definition: uldaq.h:785
The register that sets the count value at which the counter output will change state from its origina...
Definition: uldaq.h:1534
Data is returned without calibration factors applied.
Definition: uldaq.h:1107
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:1471
Disables the counter when a count overflow or underflow occurs for the CMT_ENCODER measurement type; ...
Definition: uldaq.h:1366
Data is output without calibration factors applied.
Definition: uldaq.h:1120
Returns the number of single-ended ranges supported to the infoValue argument.
Definition: uldaq.h:1799
Returns a bitmask of supported AiQueueType values to the infoValue argument.
Definition: uldaq.h:1819
UlError ulTIn(DaqDeviceHandle daqDeviceHandle, int channel, TempScale scale, TInFlag flags, double *data)
Returns a temperature value read from an A/D channel.
Returns a bitmask value to configValue indicating the current direction of all bits in the specified ...
Definition: uldaq.h:2040
-1 to +1 Volts
Definition: uldaq.h:502
DevVersionType
Used with ulDevGetConfigStr() as an index argument value with the infoItem argument set to DEV_CFG_VE...
Definition: uldaq.h:1758
Idle low.
Definition: uldaq.h:894
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:1329
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.
Trigger threshold is out of range.
Definition: uldaq.h:374
-0.25 to +0.25 Volts
Definition: uldaq.h:511
0 to +15 Volts
Definition: uldaq.h:553
Insufficient permission to access this device.
Definition: uldaq.h:110
FirstPortB.
Definition: uldaq.h:755
SecondPortB.
Definition: uldaq.h:770
-20 to +20 Volts
Definition: uldaq.h:481
Invalid sampling rate specified.
Definition: uldaq.h:164
An analog trigger.
Definition: uldaq.h:962
CounterDebounceMode
Use as the value for the debounceTime argument for ulCConfigScan() to set the glitch rejection proper...
Definition: uldaq.h:1457
Returns a bitmask of DaqEventType values to infoValue if events are supported; otherwise, returns zero.
Definition: uldaq.h:1744
Returns the maximum length of the queue for the specified channel mode to the infoValue argument...
Definition: uldaq.h:1816
Configures the counter for default timing modes for the CMT_TIMING measurement type.
Definition: uldaq.h:1344
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:867
Temperature input is out of range.
Definition: uldaq.h:371
0 to +2.0 Volts
Definition: uldaq.h:571
The sensitivity of the sensor connected to the specified channel.
Definition: uldaq.h:1902
Inverts the polarity of the gate input for the CMT_PERIOD measurement type.
Definition: uldaq.h:1332
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:592
Changes the internal clock's timebase to an external timebase source.
Definition: uldaq.h:1077
Type B.
Definition: uldaq.h:444
Specifies the calibration data region information returned to the MemDescriptor struct.
Definition: uldaq.h:1673
SixthPortB.
Definition: uldaq.h:818
Invalid device handle.
Definition: uldaq.h:104
FifthPortC High.
Definition: uldaq.h:812
UlConfigItem
Definition: uldaq.h:1713
FourthPortB.
Definition: uldaq.h:794
UlError ulCInSetTrigger(DaqDeviceHandle daqDeviceHandle, TriggerType type, int trigChan, double level, double variance, unsigned int retriggerSampleCount)
Configures the trigger parameters that will be used when ulCInScan() is called with the SO_RETRIGGER ...
DInScanFlag
Use as the flags argument value for ulDInScan() to set the properties of data returned.
Definition: uldaq.h:1199
AutoZeroMode
Auto zero modes.
Definition: uldaq.h:647
TcType
Thermocouple types.
Definition: uldaq.h:423
Returns the maximum throughput in samples per second to the infoValue argument.
Definition: uldaq.h:1959
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:1507
Inverts the polarity of the gate input for the CMT_PULSE_WIDTH measurement type.
Definition: uldaq.h:1341
Returns a Range value to the infoValue argument based on the value of the index argument specified...
Definition: uldaq.h:1809
0 to +.05 Volts
Definition: uldaq.h:601
Returns or writes a bitmask indicating the configuration of one or more counters. ...
Definition: uldaq.h:2114
DevConfigItemStr
Use with ulDevGetConfigStr() as an infoItem argument value to obtain information for the specified de...
Definition: uldaq.h:1751
DaqInChanType type
The type of input for the specified channel, such as analog, digital, or counter. ...
Definition: uldaq.h:1577
IEPE excitation current is disabled.
Definition: uldaq.h:679
Returns the total number of timers to the infoValue argument.
Definition: uldaq.h:2121
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1409
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:1449
Scaled data is supplied and calibration factors are applied to output.
Definition: uldaq.h:1154
USB interface is already claimed.
Definition: uldaq.h:113
Sets the tick size to 200 ns.
Definition: uldaq.h:1501
CConfigScanFlag
Use as the flags argument value for ulCConfigScan().
Definition: uldaq.h:1511
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:2118
Single-ended.
Definition: uldaq.h:389
Indicates read access for the location specified by the memRegion argument.
Definition: uldaq.h:1690
Resistance Temperature Detector (RTD)
Definition: uldaq.h:410
FifthPortC Low.
Definition: uldaq.h:809
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:1866
UlError ulCInScanWait(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...
Buffer too small for operation.
Definition: uldaq.h:125
int channel
The channel number.
Definition: uldaq.h:1574
-.5 to +.5 Volts
Definition: uldaq.h:508
-.005 to +.005 Volts
Definition: uldaq.h:532
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:1504
EighthPortB.
Definition: uldaq.h:842
0 to +0.125 Volts
Definition: uldaq.h:589
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:1421
Transfers A/D data based on the board type and sampling speed.
Definition: uldaq.h:1046
Unable to read FPGA file.
Definition: uldaq.h:227
This function cannot be used with this version of the device.
Definition: uldaq.h:344
The channel type of the specified channel.
Definition: uldaq.h:1856
A digital trigger.
Definition: uldaq.h:931
Returns the number of A/D channels for the specified channel mode to the infoValue argument...
Definition: uldaq.h:1781
Configures the counter to count down for the CMT_COUNT measurement type.
Definition: uldaq.h:1277
Transfers one packet of data at a time.
Definition: uldaq.h:1049
Returns the port logic.
Definition: uldaq.h:2053
Returns a bitmask of supported ScanOption values to the infoValue argument.
Definition: uldaq.h:2085
Writes a value to the specified port number.
Definition: uldaq.h:2045
UlError ulAISetConfig(DaqDeviceHandle daqDeviceHandle, AiConfigItem configItem, unsigned int index, long long configValue)
Use with AiConfigItem to set configuration options at runtime.
Thermistor.
Definition: uldaq.h:413
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:1014
A structure that defines an analog input queue element.
Definition: uldaq.h:1005
Returns the minimum scan rate to the infoValue argument for the specified digital direction...
Definition: uldaq.h:2019
The open thermocouple detection mode for the specified channel.
Definition: uldaq.h:1889
Returns a bitmask of supported CounterRegisterType values to the infoValue argument.
Definition: uldaq.h:2074
Returns a bitmask of supported TriggerType values to the infoValue argument.
Definition: uldaq.h:1812
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:1682
Data is supplied in native format (usually, values ranging from 0 to 2resolution - 1...
Definition: uldaq.h:1117
Type N.
Definition: uldaq.h:447
UlError ulAIGetInfo(DaqDeviceHandle daqDeviceHandle, AiInfoItem infoItem, unsigned int index, long long *infoValue)
Use with AiInfoItem to retrieve information about the AI subsystem.
Ethernet interface.
Definition: uldaq.h:27
AuxPort1.
Definition: uldaq.h:746
Invalid buffer.
Definition: uldaq.h:128
Scan is running.
Definition: uldaq.h:1030
Returns a bitmask of supported TriggerType values to the infoValue argument.
Definition: uldaq.h:2188
Returns the number of differential ranges supported to the infoValue argument.
Definition: uldaq.h:1796
Returns the minimum output frequency to the infoValue argument.
Definition: uldaq.h:2133
-0.2 to +0.2 Volts
Definition: uldaq.h:517
UlError ulAISetConfigDbl(DaqDeviceHandle daqDeviceHandle, AiConfigItemDbl configItem, unsigned int index, double configValue)
Use with AiConfigItemDbl to set configuration options at runtime.
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:1209
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:827
CtrConfigItem
Use with ulCtrSetConfig() and ulCtrGetConfig() to configure the Ctr subsystem.
Definition: uldaq.h:2111
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:1580
Transfers A/D data in blocks.
Definition: uldaq.h:1052
0 to +20 Volts
Definition: uldaq.h:556
Sets the encoder measurement mode to X1 for the CMT_ENCODER measurement type.
Definition: uldaq.h:1350
Returns a non-zero value to infoValue if counter input is supported; otherwise, returns zero...
Definition: uldaq.h:1732
The AI subsystem supports a channel queue.
Definition: uldaq.h:709
Invalid analog input channel type specified.
Definition: uldaq.h:176
char reserved[64]
Reserved for future use.
Definition: uldaq.h:1617
0 to +.5 Volts
Definition: uldaq.h:583
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:1583
Default counter behavior.
Definition: uldaq.h:1180
Data is returned with scaling and calibration factors applied.
Definition: uldaq.h:1101
Returns the maximum scan rate in samples per second to the infoValue argument.
Definition: uldaq.h:2203
UlError ulCLoad(DaqDeviceHandle daqDeviceHandle, int counterNum, CounterRegisterType registerType, unsigned long long loadValue)
Loads a value into the specified counter register.
Sets up the counter as a 16-bit counter channel.
Definition: uldaq.h:1183
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:1849
TriggerType
Used as an individual value with the subsystem SetTrigger functions as the type argument value...
Definition: uldaq.h:916
Temperature input has open connection.
Definition: uldaq.h:353
Analog output.
Definition: uldaq.h:1594
CInScanFlag
Use as the flags argument value for ulCInScan() to set counter properties.
Definition: uldaq.h:1177
DaqIInfoItem
Use with ulDaqIGetInfo() to obtain information about the DAQ input subsystem for the specified device...
Definition: uldaq.h:2143
Kelvin.
Definition: uldaq.h:623
A digital trigger.
Definition: uldaq.h:928
An analog trigger.
Definition: uldaq.h:966
ADC overrun occurred.
Definition: uldaq.h:179
int channel
The channel number.
Definition: uldaq.h:1608
Configures the counter to clear after every read for the CMT_COUNT measurement type.
Definition: uldaq.h:1274
Function returns when the scan operation completes or the time specified by the timeout argument valu...
Definition: uldaq.h:1703
Returns the FIFO size in bytes to the infoValue argument for the specified digital direction...
Definition: uldaq.h:2011
unsigned int address
A numeric value that specifies the address of the memory; used with ulMemRead() and ulMemWrite()...
Definition: uldaq.h:2219
UlError ulAIGetConfig(DaqDeviceHandle daqDeviceHandle, AiConfigItem configItem, unsigned int index, long long *configValue)
Use with AiConfigItem to retrieve configuration options set for a device.
Max Limit register.
Definition: uldaq.h:1528
UlError ulGetConfig(UlConfigItem configItem, unsigned int index, long long *configValue)
Returns a configuration option set for the device.
Returns the maximum scan rate in samples per second when using the SO_BURSTIO ScanOption to the infoV...
Definition: uldaq.h:1846
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
Analog input channel, single-ended mode.
Definition: uldaq.h:1549
Enables burst mode sampling, minimizing the channel skew.
Definition: uldaq.h:1071
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:469
-.05 to +.05 Volts
Definition: uldaq.h:526
DioInfoItemDbl
Use with ulDIOGetInfoDbl() as an infoItem argument to obtain information about the DIO subsystem for ...
Definition: uldaq.h:2015
SecondPortC Low.
Definition: uldaq.h:773
AoInfoItemDbl
Use with ulAOGetInfoDbl() to obtain information about the analog output subsystem for the specified d...
Definition: uldaq.h:1950
Returns the D/A resolution in number of bits to the infoValue argument.
Definition: uldaq.h:1923
DC coupling.
Definition: uldaq.h:689
Returns a non-zero value to infoValue if synchronous input is supported; otherwise, returns zero.
Definition: uldaq.h:1738
#define SIMULTANEOUS
Definition: uldaq.h:1036
-0.078 to +0.078 Volts
Definition: uldaq.h:523
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:970
UlError ulCtrGetInfo(DaqDeviceHandle daqDeviceHandle, CtrInfoItem infoItem, unsigned int index, long long *infoValue)
Use with CtrInfoItem to retrieve information about the counter subsystem.
Returns the FIFO size in bytes to the infoValue argument.
Definition: uldaq.h:2092
Voltage.
Definition: uldaq.h:404
Returns the maximum throughput in samples per second to the infoValue argument.
Definition: uldaq.h:1843
FourthPortA.
Definition: uldaq.h:791
Device is not available at time of request.
Definition: uldaq.h:338
ThirdPortC High.
Definition: uldaq.h:788
Invalid queue size.
Definition: uldaq.h:188
3-wire with a single sensor per differential channel pair
Definition: uldaq.h:460
Invalid sample count specified.
Definition: uldaq.h:200
Differential.
Definition: uldaq.h:386
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1445
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:1244
Returns the version of the device system defined by the DevVersionType value of the index argument...
Definition: uldaq.h:1754
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1397
UlError ulCRead(DaqDeviceHandle daqDeviceHandle, int counterNum, CounterRegisterType regType, unsigned long long *data)
Reads the value of the specified counter register.
Returns a Range value to the infoValue argument based on the value of the index argument specified...
Definition: uldaq.h:1804
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:620
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:401
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:1189
#define NOCALIBRATEDATA
Definition: uldaq.h:1035
Returns the total number of D/A channels to the infoValue argument.
Definition: uldaq.h:1926
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:1631
-15 to +15 Volts
Definition: uldaq.h:478
Returns a non-zero value to infoValue if analog output is supported; otherwise, returns zero...
Definition: uldaq.h:1726
SecondPortC High.
Definition: uldaq.h:776
Sets the encoder Z signal as the active edge for the CMT_ENCODER measurement type.
Definition: uldaq.h:1372
SecondPortA.
Definition: uldaq.h:767
The timing mode is set automatically.
Definition: uldaq.h:665
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:2050
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:505
UlError ulCInScanStop(DaqDeviceHandle daqDeviceHandle)
Stops the counter input operation currently running.
The IEPE current excitation mode for the specified channel.
Definition: uldaq.h:1880
UlError ulCInScanStatus(DaqDeviceHandle daqDeviceHandle, ScanStatus *status, TransferStatus *xferStatus)
Returns the status of a counter input operation.
Configures the counter for default pulse width modes for the CMT_PULSE_WIDTH measurement type...
Definition: uldaq.h:1335
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1417
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:1213
MemRegion region
The enumeration indicating the region of the memory.
Definition: uldaq.h:2216
Any interface.
Definition: uldaq.h:30
0 to +0.078 Volts
Definition: uldaq.h:598
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:2059
Disabled.
Definition: uldaq.h:419
The auto zero mode.
Definition: uldaq.h:1873
Open Thermocouple detection modes is disabled.
Definition: uldaq.h:699
Sets the tick size to 20 ns.
Definition: uldaq.h:1498
SeventhPortC High.
Definition: uldaq.h:836
char reserved[64]
Reserved for future use.
Definition: uldaq.h:2228
The output operation is held off until the specified trigger condition is met.
Definition: uldaq.h:1637
Data is returned with scaling and calibration factors applied.
Definition: uldaq.h:1088
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1393
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:1905
0 to +.005 Volts
Definition: uldaq.h:607
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:1953
Type R.
Definition: uldaq.h:438
A digital trigger.
Definition: uldaq.h:934
Disabled.
Definition: uldaq.h:650
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:1068
AOutFlag
Use as the flags argument value for ulAOut() to set the properties of data supplied to the function...
Definition: uldaq.h:1138
#define NOSCALEDATA
Definition: uldaq.h:1034
-2.5 to +2.5 Volts
Definition: uldaq.h:493
Sets the time period that the counter input must be stable when using CDM_TRIGGER_AFTER_STABLE or CDM...
Definition: uldaq.h:1441
Acquires data in samples per 1000 seconds per channel.
Definition: uldaq.h:668
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:617
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:1495
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:2167
Returns a non-zero value to infoValue if analog input is supported; otherwise, returns zero...
Definition: uldaq.h:1723
Returns the total number of digital ports to the infoValue argument.
Definition: uldaq.h:1973
A digital trigger.
Definition: uldaq.h:924
Scan is idle.
Definition: uldaq.h:1027
UlError ulCClear(DaqDeviceHandle daqDeviceHandle, int counterNum)
Sets the count of the specified counter to 0.
Idle high.
Definition: uldaq.h:897
-3.0 to +3.0 Volts
Definition: uldaq.h:535
A background process is already in progress.
Definition: uldaq.h:146
Digital I/O is configured incorrectly.
Definition: uldaq.h:251
UlError ulCConfigScan(DaqDeviceHandle daqDeviceHandle, int counterNum, CounterMeasurementType type, CounterMeasurementMode mode, CounterEdgeDetection edgeDetection, CounterTickSize tickSize, CounterDebounceMode debounceMode, CounterDebounceTime debounceTime, CConfigScanFlag flags)
Configures a counter channel, for counters with programmable types.
Returns a TimerType value to the infoValue argument, indicating the type of the timer specified by th...
Definition: uldaq.h:2125
Returns a zero or non-zero value to the infoValue argument.
Definition: uldaq.h:1828
UlError ulAInScanStop(DaqDeviceHandle daqDeviceHandle)
Stops the analog input operation currently running.
Perform auto zero before every scan.
Definition: uldaq.h:656
DevInfoItem
Use with ulDevGetInfo() as an infoItem argument value to obtain information for the specified device...
Definition: uldaq.h:1720
AiConfigItem
Use with ulAISetConfig() and ulAIGetConfig() to configure the AI subsystem.
Definition: uldaq.h:1853
0 to +1.25 Volts
Definition: uldaq.h:574
16-bit counter channel.
Definition: uldaq.h:1555
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:1362
High speed timing mode.
Definition: uldaq.h:671
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