This file is indexed.

/usr/lib/python2.7/dist-packages/comedi.py is in python-comedilib 0.10.2-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
#!/usr/bin/python
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.8
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.





from sys import version_info
if version_info >= (2, 6, 0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_comedi', [dirname(__file__)])
        except ImportError:
            import _comedi
            return _comedi
        if fp is not None:
            try:
                _mod = imp.load_module('_comedi', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _comedi = swig_import_helper()
    del swig_import_helper
else:
    import _comedi
del version_info
try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.


def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
    if (name == "thisown"):
        return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name, None)
    if method:
        return method(self, value)
    if (not static):
        if _newclass:
            object.__setattr__(self, name, value)
        else:
            self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)


def _swig_setattr(self, class_type, name, value):
    return _swig_setattr_nondynamic(self, class_type, name, value, 0)


def _swig_getattr_nondynamic(self, class_type, name, static=1):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    if (not static):
        return object.__getattr__(self, name)
    else:
        raise AttributeError(name)

def _swig_getattr(self, class_type, name):
    return _swig_getattr_nondynamic(self, class_type, name, 0)


def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

try:
    _object = object
    _newclass = 1
except AttributeError:
    class _object:
        pass
    _newclass = 0



def cr_pack(chan, rng, aref):
    return _comedi.cr_pack(chan, rng, aref)
cr_pack = _comedi.cr_pack

def cr_pack_flags(chan, rng, aref, flags):
    return _comedi.cr_pack_flags(chan, rng, aref, flags)
cr_pack_flags = _comedi.cr_pack_flags

def cr_chan(a):
    return _comedi.cr_chan(a)
cr_chan = _comedi.cr_chan

def cr_range(a):
    return _comedi.cr_range(a)
cr_range = _comedi.cr_range

def cr_aref(a):
    return _comedi.cr_aref(a)
cr_aref = _comedi.cr_aref

_comedi.MAJOR_swigconstant(_comedi)
MAJOR = _comedi.MAJOR

_comedi.NDEVICES_swigconstant(_comedi)
NDEVICES = _comedi.NDEVICES

_comedi.NDEVCONFOPTS_swigconstant(_comedi)
NDEVCONFOPTS = _comedi.NDEVCONFOPTS

_comedi.DEVCONF_AUX_DATA3_LENGTH_swigconstant(_comedi)
DEVCONF_AUX_DATA3_LENGTH = _comedi.DEVCONF_AUX_DATA3_LENGTH

_comedi.DEVCONF_AUX_DATA2_LENGTH_swigconstant(_comedi)
DEVCONF_AUX_DATA2_LENGTH = _comedi.DEVCONF_AUX_DATA2_LENGTH

_comedi.DEVCONF_AUX_DATA1_LENGTH_swigconstant(_comedi)
DEVCONF_AUX_DATA1_LENGTH = _comedi.DEVCONF_AUX_DATA1_LENGTH

_comedi.DEVCONF_AUX_DATA0_LENGTH_swigconstant(_comedi)
DEVCONF_AUX_DATA0_LENGTH = _comedi.DEVCONF_AUX_DATA0_LENGTH

_comedi.DEVCONF_AUX_DATA_HI_swigconstant(_comedi)
DEVCONF_AUX_DATA_HI = _comedi.DEVCONF_AUX_DATA_HI

_comedi.DEVCONF_AUX_DATA_LO_swigconstant(_comedi)
DEVCONF_AUX_DATA_LO = _comedi.DEVCONF_AUX_DATA_LO

_comedi.DEVCONF_AUX_DATA_LENGTH_swigconstant(_comedi)
DEVCONF_AUX_DATA_LENGTH = _comedi.DEVCONF_AUX_DATA_LENGTH

_comedi.NAMELEN_swigconstant(_comedi)
NAMELEN = _comedi.NAMELEN

_comedi.CR_FLAGS_MASK_swigconstant(_comedi)
CR_FLAGS_MASK = _comedi.CR_FLAGS_MASK

_comedi.CR_ALT_FILTER_swigconstant(_comedi)
CR_ALT_FILTER = _comedi.CR_ALT_FILTER

_comedi.CR_DITHER_swigconstant(_comedi)
CR_DITHER = _comedi.CR_DITHER

_comedi.CR_DEGLITCH_swigconstant(_comedi)
CR_DEGLITCH = _comedi.CR_DEGLITCH

_comedi.CR_ALT_SOURCE_swigconstant(_comedi)
CR_ALT_SOURCE = _comedi.CR_ALT_SOURCE

_comedi.CR_EDGE_swigconstant(_comedi)
CR_EDGE = _comedi.CR_EDGE

_comedi.CR_INVERT_swigconstant(_comedi)
CR_INVERT = _comedi.CR_INVERT

_comedi.AREF_GROUND_swigconstant(_comedi)
AREF_GROUND = _comedi.AREF_GROUND

_comedi.AREF_COMMON_swigconstant(_comedi)
AREF_COMMON = _comedi.AREF_COMMON

_comedi.AREF_DIFF_swigconstant(_comedi)
AREF_DIFF = _comedi.AREF_DIFF

_comedi.AREF_OTHER_swigconstant(_comedi)
AREF_OTHER = _comedi.AREF_OTHER

_comedi.GPCT_RESET_swigconstant(_comedi)
GPCT_RESET = _comedi.GPCT_RESET

_comedi.GPCT_SET_SOURCE_swigconstant(_comedi)
GPCT_SET_SOURCE = _comedi.GPCT_SET_SOURCE

_comedi.GPCT_SET_GATE_swigconstant(_comedi)
GPCT_SET_GATE = _comedi.GPCT_SET_GATE

_comedi.GPCT_SET_DIRECTION_swigconstant(_comedi)
GPCT_SET_DIRECTION = _comedi.GPCT_SET_DIRECTION

_comedi.GPCT_SET_OPERATION_swigconstant(_comedi)
GPCT_SET_OPERATION = _comedi.GPCT_SET_OPERATION

_comedi.GPCT_ARM_swigconstant(_comedi)
GPCT_ARM = _comedi.GPCT_ARM

_comedi.GPCT_DISARM_swigconstant(_comedi)
GPCT_DISARM = _comedi.GPCT_DISARM

_comedi.GPCT_GET_INT_CLK_FRQ_swigconstant(_comedi)
GPCT_GET_INT_CLK_FRQ = _comedi.GPCT_GET_INT_CLK_FRQ

_comedi.GPCT_INT_CLOCK_swigconstant(_comedi)
GPCT_INT_CLOCK = _comedi.GPCT_INT_CLOCK

_comedi.GPCT_EXT_PIN_swigconstant(_comedi)
GPCT_EXT_PIN = _comedi.GPCT_EXT_PIN

_comedi.GPCT_NO_GATE_swigconstant(_comedi)
GPCT_NO_GATE = _comedi.GPCT_NO_GATE

_comedi.GPCT_UP_swigconstant(_comedi)
GPCT_UP = _comedi.GPCT_UP

_comedi.GPCT_DOWN_swigconstant(_comedi)
GPCT_DOWN = _comedi.GPCT_DOWN

_comedi.GPCT_HWUD_swigconstant(_comedi)
GPCT_HWUD = _comedi.GPCT_HWUD

_comedi.GPCT_SIMPLE_EVENT_swigconstant(_comedi)
GPCT_SIMPLE_EVENT = _comedi.GPCT_SIMPLE_EVENT

_comedi.GPCT_SINGLE_PERIOD_swigconstant(_comedi)
GPCT_SINGLE_PERIOD = _comedi.GPCT_SINGLE_PERIOD

_comedi.GPCT_SINGLE_PW_swigconstant(_comedi)
GPCT_SINGLE_PW = _comedi.GPCT_SINGLE_PW

_comedi.GPCT_CONT_PULSE_OUT_swigconstant(_comedi)
GPCT_CONT_PULSE_OUT = _comedi.GPCT_CONT_PULSE_OUT

_comedi.GPCT_SINGLE_PULSE_OUT_swigconstant(_comedi)
GPCT_SINGLE_PULSE_OUT = _comedi.GPCT_SINGLE_PULSE_OUT

_comedi.INSN_MASK_WRITE_swigconstant(_comedi)
INSN_MASK_WRITE = _comedi.INSN_MASK_WRITE

_comedi.INSN_MASK_READ_swigconstant(_comedi)
INSN_MASK_READ = _comedi.INSN_MASK_READ

_comedi.INSN_MASK_SPECIAL_swigconstant(_comedi)
INSN_MASK_SPECIAL = _comedi.INSN_MASK_SPECIAL

_comedi.INSN_READ_swigconstant(_comedi)
INSN_READ = _comedi.INSN_READ

_comedi.INSN_WRITE_swigconstant(_comedi)
INSN_WRITE = _comedi.INSN_WRITE

_comedi.INSN_BITS_swigconstant(_comedi)
INSN_BITS = _comedi.INSN_BITS

_comedi.INSN_CONFIG_swigconstant(_comedi)
INSN_CONFIG = _comedi.INSN_CONFIG

_comedi.INSN_GTOD_swigconstant(_comedi)
INSN_GTOD = _comedi.INSN_GTOD

_comedi.INSN_WAIT_swigconstant(_comedi)
INSN_WAIT = _comedi.INSN_WAIT

_comedi.INSN_INTTRIG_swigconstant(_comedi)
INSN_INTTRIG = _comedi.INSN_INTTRIG

_comedi.TRIG_BOGUS_swigconstant(_comedi)
TRIG_BOGUS = _comedi.TRIG_BOGUS

_comedi.TRIG_DITHER_swigconstant(_comedi)
TRIG_DITHER = _comedi.TRIG_DITHER

_comedi.TRIG_DEGLITCH_swigconstant(_comedi)
TRIG_DEGLITCH = _comedi.TRIG_DEGLITCH

_comedi.TRIG_CONFIG_swigconstant(_comedi)
TRIG_CONFIG = _comedi.TRIG_CONFIG

_comedi.TRIG_WAKE_EOS_swigconstant(_comedi)
TRIG_WAKE_EOS = _comedi.TRIG_WAKE_EOS

_comedi.CMDF_PRIORITY_swigconstant(_comedi)
CMDF_PRIORITY = _comedi.CMDF_PRIORITY

_comedi.TRIG_RT_swigconstant(_comedi)
TRIG_RT = _comedi.TRIG_RT

_comedi.CMDF_WRITE_swigconstant(_comedi)
CMDF_WRITE = _comedi.CMDF_WRITE

_comedi.TRIG_WRITE_swigconstant(_comedi)
TRIG_WRITE = _comedi.TRIG_WRITE

_comedi.CMDF_RAWDATA_swigconstant(_comedi)
CMDF_RAWDATA = _comedi.CMDF_RAWDATA

_comedi.EV_START_swigconstant(_comedi)
EV_START = _comedi.EV_START

_comedi.EV_SCAN_BEGIN_swigconstant(_comedi)
EV_SCAN_BEGIN = _comedi.EV_SCAN_BEGIN

_comedi.EV_CONVERT_swigconstant(_comedi)
EV_CONVERT = _comedi.EV_CONVERT

_comedi.EV_SCAN_END_swigconstant(_comedi)
EV_SCAN_END = _comedi.EV_SCAN_END

_comedi.EV_STOP_swigconstant(_comedi)
EV_STOP = _comedi.EV_STOP

_comedi.TRIG_ROUND_MASK_swigconstant(_comedi)
TRIG_ROUND_MASK = _comedi.TRIG_ROUND_MASK

_comedi.TRIG_ROUND_NEAREST_swigconstant(_comedi)
TRIG_ROUND_NEAREST = _comedi.TRIG_ROUND_NEAREST

_comedi.TRIG_ROUND_DOWN_swigconstant(_comedi)
TRIG_ROUND_DOWN = _comedi.TRIG_ROUND_DOWN

_comedi.TRIG_ROUND_UP_swigconstant(_comedi)
TRIG_ROUND_UP = _comedi.TRIG_ROUND_UP

_comedi.TRIG_ROUND_UP_NEXT_swigconstant(_comedi)
TRIG_ROUND_UP_NEXT = _comedi.TRIG_ROUND_UP_NEXT

_comedi.TRIG_ANY_swigconstant(_comedi)
TRIG_ANY = _comedi.TRIG_ANY

_comedi.TRIG_INVALID_swigconstant(_comedi)
TRIG_INVALID = _comedi.TRIG_INVALID

_comedi.TRIG_NONE_swigconstant(_comedi)
TRIG_NONE = _comedi.TRIG_NONE

_comedi.TRIG_NOW_swigconstant(_comedi)
TRIG_NOW = _comedi.TRIG_NOW

_comedi.TRIG_FOLLOW_swigconstant(_comedi)
TRIG_FOLLOW = _comedi.TRIG_FOLLOW

_comedi.TRIG_TIME_swigconstant(_comedi)
TRIG_TIME = _comedi.TRIG_TIME

_comedi.TRIG_TIMER_swigconstant(_comedi)
TRIG_TIMER = _comedi.TRIG_TIMER

_comedi.TRIG_COUNT_swigconstant(_comedi)
TRIG_COUNT = _comedi.TRIG_COUNT

_comedi.TRIG_EXT_swigconstant(_comedi)
TRIG_EXT = _comedi.TRIG_EXT

_comedi.TRIG_INT_swigconstant(_comedi)
TRIG_INT = _comedi.TRIG_INT

_comedi.TRIG_OTHER_swigconstant(_comedi)
TRIG_OTHER = _comedi.TRIG_OTHER

_comedi.SDF_BUSY_swigconstant(_comedi)
SDF_BUSY = _comedi.SDF_BUSY

_comedi.SDF_BUSY_OWNER_swigconstant(_comedi)
SDF_BUSY_OWNER = _comedi.SDF_BUSY_OWNER

_comedi.SDF_LOCKED_swigconstant(_comedi)
SDF_LOCKED = _comedi.SDF_LOCKED

_comedi.SDF_LOCK_OWNER_swigconstant(_comedi)
SDF_LOCK_OWNER = _comedi.SDF_LOCK_OWNER

_comedi.SDF_MAXDATA_swigconstant(_comedi)
SDF_MAXDATA = _comedi.SDF_MAXDATA

_comedi.SDF_FLAGS_swigconstant(_comedi)
SDF_FLAGS = _comedi.SDF_FLAGS

_comedi.SDF_RANGETYPE_swigconstant(_comedi)
SDF_RANGETYPE = _comedi.SDF_RANGETYPE

_comedi.SDF_MODE0_swigconstant(_comedi)
SDF_MODE0 = _comedi.SDF_MODE0

_comedi.SDF_MODE1_swigconstant(_comedi)
SDF_MODE1 = _comedi.SDF_MODE1

_comedi.SDF_MODE2_swigconstant(_comedi)
SDF_MODE2 = _comedi.SDF_MODE2

_comedi.SDF_MODE3_swigconstant(_comedi)
SDF_MODE3 = _comedi.SDF_MODE3

_comedi.SDF_MODE4_swigconstant(_comedi)
SDF_MODE4 = _comedi.SDF_MODE4

_comedi.SDF_CMD_swigconstant(_comedi)
SDF_CMD = _comedi.SDF_CMD

_comedi.SDF_SOFT_CALIBRATED_swigconstant(_comedi)
SDF_SOFT_CALIBRATED = _comedi.SDF_SOFT_CALIBRATED

_comedi.SDF_CMD_WRITE_swigconstant(_comedi)
SDF_CMD_WRITE = _comedi.SDF_CMD_WRITE

_comedi.SDF_CMD_READ_swigconstant(_comedi)
SDF_CMD_READ = _comedi.SDF_CMD_READ

_comedi.SDF_READABLE_swigconstant(_comedi)
SDF_READABLE = _comedi.SDF_READABLE

_comedi.SDF_WRITABLE_swigconstant(_comedi)
SDF_WRITABLE = _comedi.SDF_WRITABLE

_comedi.SDF_WRITEABLE_swigconstant(_comedi)
SDF_WRITEABLE = _comedi.SDF_WRITEABLE

_comedi.SDF_INTERNAL_swigconstant(_comedi)
SDF_INTERNAL = _comedi.SDF_INTERNAL

_comedi.SDF_RT_swigconstant(_comedi)
SDF_RT = _comedi.SDF_RT

_comedi.SDF_GROUND_swigconstant(_comedi)
SDF_GROUND = _comedi.SDF_GROUND

_comedi.SDF_COMMON_swigconstant(_comedi)
SDF_COMMON = _comedi.SDF_COMMON

_comedi.SDF_DIFF_swigconstant(_comedi)
SDF_DIFF = _comedi.SDF_DIFF

_comedi.SDF_OTHER_swigconstant(_comedi)
SDF_OTHER = _comedi.SDF_OTHER

_comedi.SDF_DITHER_swigconstant(_comedi)
SDF_DITHER = _comedi.SDF_DITHER

_comedi.SDF_DEGLITCH_swigconstant(_comedi)
SDF_DEGLITCH = _comedi.SDF_DEGLITCH

_comedi.SDF_MMAP_swigconstant(_comedi)
SDF_MMAP = _comedi.SDF_MMAP

_comedi.SDF_RUNNING_swigconstant(_comedi)
SDF_RUNNING = _comedi.SDF_RUNNING

_comedi.SDF_LSAMPL_swigconstant(_comedi)
SDF_LSAMPL = _comedi.SDF_LSAMPL

_comedi.SDF_PACKED_swigconstant(_comedi)
SDF_PACKED = _comedi.SDF_PACKED

_comedi.SDF_PWM_COUNTER_swigconstant(_comedi)
SDF_PWM_COUNTER = _comedi.SDF_PWM_COUNTER

_comedi.SDF_PWM_HBRIDGE_swigconstant(_comedi)
SDF_PWM_HBRIDGE = _comedi.SDF_PWM_HBRIDGE

_comedi.SUBD_UNUSED_swigconstant(_comedi)
SUBD_UNUSED = _comedi.SUBD_UNUSED

_comedi.SUBD_AI_swigconstant(_comedi)
SUBD_AI = _comedi.SUBD_AI

_comedi.SUBD_AO_swigconstant(_comedi)
SUBD_AO = _comedi.SUBD_AO

_comedi.SUBD_DI_swigconstant(_comedi)
SUBD_DI = _comedi.SUBD_DI

_comedi.SUBD_DO_swigconstant(_comedi)
SUBD_DO = _comedi.SUBD_DO

_comedi.SUBD_DIO_swigconstant(_comedi)
SUBD_DIO = _comedi.SUBD_DIO

_comedi.SUBD_COUNTER_swigconstant(_comedi)
SUBD_COUNTER = _comedi.SUBD_COUNTER

_comedi.SUBD_TIMER_swigconstant(_comedi)
SUBD_TIMER = _comedi.SUBD_TIMER

_comedi.SUBD_MEMORY_swigconstant(_comedi)
SUBD_MEMORY = _comedi.SUBD_MEMORY

_comedi.SUBD_CALIB_swigconstant(_comedi)
SUBD_CALIB = _comedi.SUBD_CALIB

_comedi.SUBD_PROC_swigconstant(_comedi)
SUBD_PROC = _comedi.SUBD_PROC

_comedi.SUBD_SERIAL_swigconstant(_comedi)
SUBD_SERIAL = _comedi.SUBD_SERIAL

_comedi.SUBD_PWM_swigconstant(_comedi)
SUBD_PWM = _comedi.SUBD_PWM

_comedi.INSN_CONFIG_DIO_INPUT_swigconstant(_comedi)
INSN_CONFIG_DIO_INPUT = _comedi.INSN_CONFIG_DIO_INPUT

_comedi.INSN_CONFIG_DIO_OUTPUT_swigconstant(_comedi)
INSN_CONFIG_DIO_OUTPUT = _comedi.INSN_CONFIG_DIO_OUTPUT

_comedi.INSN_CONFIG_DIO_OPENDRAIN_swigconstant(_comedi)
INSN_CONFIG_DIO_OPENDRAIN = _comedi.INSN_CONFIG_DIO_OPENDRAIN

_comedi.INSN_CONFIG_ANALOG_TRIG_swigconstant(_comedi)
INSN_CONFIG_ANALOG_TRIG = _comedi.INSN_CONFIG_ANALOG_TRIG

_comedi.INSN_CONFIG_ALT_SOURCE_swigconstant(_comedi)
INSN_CONFIG_ALT_SOURCE = _comedi.INSN_CONFIG_ALT_SOURCE

_comedi.INSN_CONFIG_DIGITAL_TRIG_swigconstant(_comedi)
INSN_CONFIG_DIGITAL_TRIG = _comedi.INSN_CONFIG_DIGITAL_TRIG

_comedi.INSN_CONFIG_BLOCK_SIZE_swigconstant(_comedi)
INSN_CONFIG_BLOCK_SIZE = _comedi.INSN_CONFIG_BLOCK_SIZE

_comedi.INSN_CONFIG_TIMER_1_swigconstant(_comedi)
INSN_CONFIG_TIMER_1 = _comedi.INSN_CONFIG_TIMER_1

_comedi.INSN_CONFIG_FILTER_swigconstant(_comedi)
INSN_CONFIG_FILTER = _comedi.INSN_CONFIG_FILTER

_comedi.INSN_CONFIG_CHANGE_NOTIFY_swigconstant(_comedi)
INSN_CONFIG_CHANGE_NOTIFY = _comedi.INSN_CONFIG_CHANGE_NOTIFY

_comedi.INSN_CONFIG_SERIAL_CLOCK_swigconstant(_comedi)
INSN_CONFIG_SERIAL_CLOCK = _comedi.INSN_CONFIG_SERIAL_CLOCK

_comedi.INSN_CONFIG_BIDIRECTIONAL_DATA_swigconstant(_comedi)
INSN_CONFIG_BIDIRECTIONAL_DATA = _comedi.INSN_CONFIG_BIDIRECTIONAL_DATA

_comedi.INSN_CONFIG_DIO_QUERY_swigconstant(_comedi)
INSN_CONFIG_DIO_QUERY = _comedi.INSN_CONFIG_DIO_QUERY

_comedi.INSN_CONFIG_PWM_OUTPUT_swigconstant(_comedi)
INSN_CONFIG_PWM_OUTPUT = _comedi.INSN_CONFIG_PWM_OUTPUT

_comedi.INSN_CONFIG_GET_PWM_OUTPUT_swigconstant(_comedi)
INSN_CONFIG_GET_PWM_OUTPUT = _comedi.INSN_CONFIG_GET_PWM_OUTPUT

_comedi.INSN_CONFIG_ARM_swigconstant(_comedi)
INSN_CONFIG_ARM = _comedi.INSN_CONFIG_ARM

_comedi.INSN_CONFIG_DISARM_swigconstant(_comedi)
INSN_CONFIG_DISARM = _comedi.INSN_CONFIG_DISARM

_comedi.INSN_CONFIG_GET_COUNTER_STATUS_swigconstant(_comedi)
INSN_CONFIG_GET_COUNTER_STATUS = _comedi.INSN_CONFIG_GET_COUNTER_STATUS

_comedi.INSN_CONFIG_RESET_swigconstant(_comedi)
INSN_CONFIG_RESET = _comedi.INSN_CONFIG_RESET

_comedi.INSN_CONFIG_GPCT_SINGLE_PULSE_GENERATOR_swigconstant(_comedi)
INSN_CONFIG_GPCT_SINGLE_PULSE_GENERATOR = _comedi.INSN_CONFIG_GPCT_SINGLE_PULSE_GENERATOR

_comedi.INSN_CONFIG_GPCT_PULSE_TRAIN_GENERATOR_swigconstant(_comedi)
INSN_CONFIG_GPCT_PULSE_TRAIN_GENERATOR = _comedi.INSN_CONFIG_GPCT_PULSE_TRAIN_GENERATOR

_comedi.INSN_CONFIG_GPCT_QUADRATURE_ENCODER_swigconstant(_comedi)
INSN_CONFIG_GPCT_QUADRATURE_ENCODER = _comedi.INSN_CONFIG_GPCT_QUADRATURE_ENCODER

_comedi.INSN_CONFIG_SET_GATE_SRC_swigconstant(_comedi)
INSN_CONFIG_SET_GATE_SRC = _comedi.INSN_CONFIG_SET_GATE_SRC

_comedi.INSN_CONFIG_GET_GATE_SRC_swigconstant(_comedi)
INSN_CONFIG_GET_GATE_SRC = _comedi.INSN_CONFIG_GET_GATE_SRC

_comedi.INSN_CONFIG_SET_CLOCK_SRC_swigconstant(_comedi)
INSN_CONFIG_SET_CLOCK_SRC = _comedi.INSN_CONFIG_SET_CLOCK_SRC

_comedi.INSN_CONFIG_GET_CLOCK_SRC_swigconstant(_comedi)
INSN_CONFIG_GET_CLOCK_SRC = _comedi.INSN_CONFIG_GET_CLOCK_SRC

_comedi.INSN_CONFIG_SET_OTHER_SRC_swigconstant(_comedi)
INSN_CONFIG_SET_OTHER_SRC = _comedi.INSN_CONFIG_SET_OTHER_SRC

_comedi.INSN_CONFIG_GET_HARDWARE_BUFFER_SIZE_swigconstant(_comedi)
INSN_CONFIG_GET_HARDWARE_BUFFER_SIZE = _comedi.INSN_CONFIG_GET_HARDWARE_BUFFER_SIZE

_comedi.INSN_CONFIG_SET_COUNTER_MODE_swigconstant(_comedi)
INSN_CONFIG_SET_COUNTER_MODE = _comedi.INSN_CONFIG_SET_COUNTER_MODE

_comedi.INSN_CONFIG_8254_SET_MODE_swigconstant(_comedi)
INSN_CONFIG_8254_SET_MODE = _comedi.INSN_CONFIG_8254_SET_MODE

_comedi.INSN_CONFIG_8254_READ_STATUS_swigconstant(_comedi)
INSN_CONFIG_8254_READ_STATUS = _comedi.INSN_CONFIG_8254_READ_STATUS

_comedi.INSN_CONFIG_SET_ROUTING_swigconstant(_comedi)
INSN_CONFIG_SET_ROUTING = _comedi.INSN_CONFIG_SET_ROUTING

_comedi.INSN_CONFIG_GET_ROUTING_swigconstant(_comedi)
INSN_CONFIG_GET_ROUTING = _comedi.INSN_CONFIG_GET_ROUTING

_comedi.INSN_CONFIG_PWM_SET_PERIOD_swigconstant(_comedi)
INSN_CONFIG_PWM_SET_PERIOD = _comedi.INSN_CONFIG_PWM_SET_PERIOD

_comedi.INSN_CONFIG_PWM_GET_PERIOD_swigconstant(_comedi)
INSN_CONFIG_PWM_GET_PERIOD = _comedi.INSN_CONFIG_PWM_GET_PERIOD

_comedi.INSN_CONFIG_GET_PWM_STATUS_swigconstant(_comedi)
INSN_CONFIG_GET_PWM_STATUS = _comedi.INSN_CONFIG_GET_PWM_STATUS

_comedi.INSN_CONFIG_PWM_SET_H_BRIDGE_swigconstant(_comedi)
INSN_CONFIG_PWM_SET_H_BRIDGE = _comedi.INSN_CONFIG_PWM_SET_H_BRIDGE

_comedi.INSN_CONFIG_PWM_GET_H_BRIDGE_swigconstant(_comedi)
INSN_CONFIG_PWM_GET_H_BRIDGE = _comedi.INSN_CONFIG_PWM_GET_H_BRIDGE

_comedi.DIGITAL_TRIG_DISABLE_swigconstant(_comedi)
DIGITAL_TRIG_DISABLE = _comedi.DIGITAL_TRIG_DISABLE

_comedi.DIGITAL_TRIG_ENABLE_EDGES_swigconstant(_comedi)
DIGITAL_TRIG_ENABLE_EDGES = _comedi.DIGITAL_TRIG_ENABLE_EDGES

_comedi.DIGITAL_TRIG_ENABLE_LEVELS_swigconstant(_comedi)
DIGITAL_TRIG_ENABLE_LEVELS = _comedi.DIGITAL_TRIG_ENABLE_LEVELS

_comedi.INPUT_swigconstant(_comedi)
INPUT = _comedi.INPUT

_comedi.OUTPUT_swigconstant(_comedi)
OUTPUT = _comedi.OUTPUT

_comedi.OPENDRAIN_swigconstant(_comedi)
OPENDRAIN = _comedi.OPENDRAIN

_comedi.UNKNOWN_SUPPORT_swigconstant(_comedi)
UNKNOWN_SUPPORT = _comedi.UNKNOWN_SUPPORT

_comedi.SUPPORTED_swigconstant(_comedi)
SUPPORTED = _comedi.SUPPORTED

_comedi.UNSUPPORTED_swigconstant(_comedi)
UNSUPPORTED = _comedi.UNSUPPORTED

_comedi.CIO_swigconstant(_comedi)
CIO = _comedi.CIO
class trig_struct(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, trig_struct, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, trig_struct, name)
    __repr__ = _swig_repr
    __swig_setmethods__["subdev"] = _comedi.trig_struct_subdev_set
    __swig_getmethods__["subdev"] = _comedi.trig_struct_subdev_get
    if _newclass:
        subdev = _swig_property(_comedi.trig_struct_subdev_get, _comedi.trig_struct_subdev_set)
    __swig_setmethods__["mode"] = _comedi.trig_struct_mode_set
    __swig_getmethods__["mode"] = _comedi.trig_struct_mode_get
    if _newclass:
        mode = _swig_property(_comedi.trig_struct_mode_get, _comedi.trig_struct_mode_set)
    __swig_setmethods__["flags"] = _comedi.trig_struct_flags_set
    __swig_getmethods__["flags"] = _comedi.trig_struct_flags_get
    if _newclass:
        flags = _swig_property(_comedi.trig_struct_flags_get, _comedi.trig_struct_flags_set)
    __swig_setmethods__["n_chan"] = _comedi.trig_struct_n_chan_set
    __swig_getmethods__["n_chan"] = _comedi.trig_struct_n_chan_get
    if _newclass:
        n_chan = _swig_property(_comedi.trig_struct_n_chan_get, _comedi.trig_struct_n_chan_set)
    __swig_setmethods__["chanlist"] = _comedi.trig_struct_chanlist_set
    __swig_getmethods__["chanlist"] = _comedi.trig_struct_chanlist_get
    if _newclass:
        chanlist = _swig_property(_comedi.trig_struct_chanlist_get, _comedi.trig_struct_chanlist_set)
    __swig_setmethods__["data"] = _comedi.trig_struct_data_set
    __swig_getmethods__["data"] = _comedi.trig_struct_data_get
    if _newclass:
        data = _swig_property(_comedi.trig_struct_data_get, _comedi.trig_struct_data_set)
    __swig_setmethods__["n"] = _comedi.trig_struct_n_set
    __swig_getmethods__["n"] = _comedi.trig_struct_n_get
    if _newclass:
        n = _swig_property(_comedi.trig_struct_n_get, _comedi.trig_struct_n_set)
    __swig_setmethods__["trigsrc"] = _comedi.trig_struct_trigsrc_set
    __swig_getmethods__["trigsrc"] = _comedi.trig_struct_trigsrc_get
    if _newclass:
        trigsrc = _swig_property(_comedi.trig_struct_trigsrc_get, _comedi.trig_struct_trigsrc_set)
    __swig_setmethods__["trigvar"] = _comedi.trig_struct_trigvar_set
    __swig_getmethods__["trigvar"] = _comedi.trig_struct_trigvar_get
    if _newclass:
        trigvar = _swig_property(_comedi.trig_struct_trigvar_get, _comedi.trig_struct_trigvar_set)
    __swig_setmethods__["trigvar1"] = _comedi.trig_struct_trigvar1_set
    __swig_getmethods__["trigvar1"] = _comedi.trig_struct_trigvar1_get
    if _newclass:
        trigvar1 = _swig_property(_comedi.trig_struct_trigvar1_get, _comedi.trig_struct_trigvar1_set)
    __swig_setmethods__["data_len"] = _comedi.trig_struct_data_len_set
    __swig_getmethods__["data_len"] = _comedi.trig_struct_data_len_get
    if _newclass:
        data_len = _swig_property(_comedi.trig_struct_data_len_get, _comedi.trig_struct_data_len_set)
    __swig_setmethods__["unused"] = _comedi.trig_struct_unused_set
    __swig_getmethods__["unused"] = _comedi.trig_struct_unused_get
    if _newclass:
        unused = _swig_property(_comedi.trig_struct_unused_get, _comedi.trig_struct_unused_set)

    def __init__(self):
        this = _comedi.new_trig_struct()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_trig_struct
    __del__ = lambda self: None
trig_struct_swigregister = _comedi.trig_struct_swigregister
trig_struct_swigregister(trig_struct)

class insn_struct(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, insn_struct, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, insn_struct, name)
    __repr__ = _swig_repr
    __swig_setmethods__["insn"] = _comedi.insn_struct_insn_set
    __swig_getmethods__["insn"] = _comedi.insn_struct_insn_get
    if _newclass:
        insn = _swig_property(_comedi.insn_struct_insn_get, _comedi.insn_struct_insn_set)
    __swig_setmethods__["n"] = _comedi.insn_struct_n_set
    __swig_getmethods__["n"] = _comedi.insn_struct_n_get
    if _newclass:
        n = _swig_property(_comedi.insn_struct_n_get, _comedi.insn_struct_n_set)
    __swig_setmethods__["data"] = _comedi.insn_struct_data_set
    __swig_getmethods__["data"] = _comedi.insn_struct_data_get
    if _newclass:
        data = _swig_property(_comedi.insn_struct_data_get, _comedi.insn_struct_data_set)
    __swig_setmethods__["subdev"] = _comedi.insn_struct_subdev_set
    __swig_getmethods__["subdev"] = _comedi.insn_struct_subdev_get
    if _newclass:
        subdev = _swig_property(_comedi.insn_struct_subdev_get, _comedi.insn_struct_subdev_set)
    __swig_setmethods__["chanspec"] = _comedi.insn_struct_chanspec_set
    __swig_getmethods__["chanspec"] = _comedi.insn_struct_chanspec_get
    if _newclass:
        chanspec = _swig_property(_comedi.insn_struct_chanspec_get, _comedi.insn_struct_chanspec_set)
    __swig_setmethods__["unused"] = _comedi.insn_struct_unused_set
    __swig_getmethods__["unused"] = _comedi.insn_struct_unused_get
    if _newclass:
        unused = _swig_property(_comedi.insn_struct_unused_get, _comedi.insn_struct_unused_set)

    def __init__(self):
        this = _comedi.new_insn_struct()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_insn_struct
    __del__ = lambda self: None
insn_struct_swigregister = _comedi.insn_struct_swigregister
insn_struct_swigregister(insn_struct)

class insnlist_struct(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, insnlist_struct, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, insnlist_struct, name)
    __repr__ = _swig_repr
    __swig_setmethods__["n_insns"] = _comedi.insnlist_struct_n_insns_set
    __swig_getmethods__["n_insns"] = _comedi.insnlist_struct_n_insns_get
    if _newclass:
        n_insns = _swig_property(_comedi.insnlist_struct_n_insns_get, _comedi.insnlist_struct_n_insns_set)
    __swig_setmethods__["insns"] = _comedi.insnlist_struct_insns_set
    __swig_getmethods__["insns"] = _comedi.insnlist_struct_insns_get
    if _newclass:
        insns = _swig_property(_comedi.insnlist_struct_insns_get, _comedi.insnlist_struct_insns_set)

    def __init__(self):
        this = _comedi.new_insnlist_struct()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_insnlist_struct
    __del__ = lambda self: None
insnlist_struct_swigregister = _comedi.insnlist_struct_swigregister
insnlist_struct_swigregister(insnlist_struct)

class cmd_struct(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, cmd_struct, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, cmd_struct, name)
    __repr__ = _swig_repr
    __swig_setmethods__["subdev"] = _comedi.cmd_struct_subdev_set
    __swig_getmethods__["subdev"] = _comedi.cmd_struct_subdev_get
    if _newclass:
        subdev = _swig_property(_comedi.cmd_struct_subdev_get, _comedi.cmd_struct_subdev_set)
    __swig_setmethods__["flags"] = _comedi.cmd_struct_flags_set
    __swig_getmethods__["flags"] = _comedi.cmd_struct_flags_get
    if _newclass:
        flags = _swig_property(_comedi.cmd_struct_flags_get, _comedi.cmd_struct_flags_set)
    __swig_setmethods__["start_src"] = _comedi.cmd_struct_start_src_set
    __swig_getmethods__["start_src"] = _comedi.cmd_struct_start_src_get
    if _newclass:
        start_src = _swig_property(_comedi.cmd_struct_start_src_get, _comedi.cmd_struct_start_src_set)
    __swig_setmethods__["start_arg"] = _comedi.cmd_struct_start_arg_set
    __swig_getmethods__["start_arg"] = _comedi.cmd_struct_start_arg_get
    if _newclass:
        start_arg = _swig_property(_comedi.cmd_struct_start_arg_get, _comedi.cmd_struct_start_arg_set)
    __swig_setmethods__["scan_begin_src"] = _comedi.cmd_struct_scan_begin_src_set
    __swig_getmethods__["scan_begin_src"] = _comedi.cmd_struct_scan_begin_src_get
    if _newclass:
        scan_begin_src = _swig_property(_comedi.cmd_struct_scan_begin_src_get, _comedi.cmd_struct_scan_begin_src_set)
    __swig_setmethods__["scan_begin_arg"] = _comedi.cmd_struct_scan_begin_arg_set
    __swig_getmethods__["scan_begin_arg"] = _comedi.cmd_struct_scan_begin_arg_get
    if _newclass:
        scan_begin_arg = _swig_property(_comedi.cmd_struct_scan_begin_arg_get, _comedi.cmd_struct_scan_begin_arg_set)
    __swig_setmethods__["convert_src"] = _comedi.cmd_struct_convert_src_set
    __swig_getmethods__["convert_src"] = _comedi.cmd_struct_convert_src_get
    if _newclass:
        convert_src = _swig_property(_comedi.cmd_struct_convert_src_get, _comedi.cmd_struct_convert_src_set)
    __swig_setmethods__["convert_arg"] = _comedi.cmd_struct_convert_arg_set
    __swig_getmethods__["convert_arg"] = _comedi.cmd_struct_convert_arg_get
    if _newclass:
        convert_arg = _swig_property(_comedi.cmd_struct_convert_arg_get, _comedi.cmd_struct_convert_arg_set)
    __swig_setmethods__["scan_end_src"] = _comedi.cmd_struct_scan_end_src_set
    __swig_getmethods__["scan_end_src"] = _comedi.cmd_struct_scan_end_src_get
    if _newclass:
        scan_end_src = _swig_property(_comedi.cmd_struct_scan_end_src_get, _comedi.cmd_struct_scan_end_src_set)
    __swig_setmethods__["scan_end_arg"] = _comedi.cmd_struct_scan_end_arg_set
    __swig_getmethods__["scan_end_arg"] = _comedi.cmd_struct_scan_end_arg_get
    if _newclass:
        scan_end_arg = _swig_property(_comedi.cmd_struct_scan_end_arg_get, _comedi.cmd_struct_scan_end_arg_set)
    __swig_setmethods__["stop_src"] = _comedi.cmd_struct_stop_src_set
    __swig_getmethods__["stop_src"] = _comedi.cmd_struct_stop_src_get
    if _newclass:
        stop_src = _swig_property(_comedi.cmd_struct_stop_src_get, _comedi.cmd_struct_stop_src_set)
    __swig_setmethods__["stop_arg"] = _comedi.cmd_struct_stop_arg_set
    __swig_getmethods__["stop_arg"] = _comedi.cmd_struct_stop_arg_get
    if _newclass:
        stop_arg = _swig_property(_comedi.cmd_struct_stop_arg_get, _comedi.cmd_struct_stop_arg_set)
    __swig_setmethods__["chanlist"] = _comedi.cmd_struct_chanlist_set
    __swig_getmethods__["chanlist"] = _comedi.cmd_struct_chanlist_get
    if _newclass:
        chanlist = _swig_property(_comedi.cmd_struct_chanlist_get, _comedi.cmd_struct_chanlist_set)
    __swig_setmethods__["chanlist_len"] = _comedi.cmd_struct_chanlist_len_set
    __swig_getmethods__["chanlist_len"] = _comedi.cmd_struct_chanlist_len_get
    if _newclass:
        chanlist_len = _swig_property(_comedi.cmd_struct_chanlist_len_get, _comedi.cmd_struct_chanlist_len_set)
    __swig_setmethods__["data"] = _comedi.cmd_struct_data_set
    __swig_getmethods__["data"] = _comedi.cmd_struct_data_get
    if _newclass:
        data = _swig_property(_comedi.cmd_struct_data_get, _comedi.cmd_struct_data_set)
    __swig_setmethods__["data_len"] = _comedi.cmd_struct_data_len_set
    __swig_getmethods__["data_len"] = _comedi.cmd_struct_data_len_get
    if _newclass:
        data_len = _swig_property(_comedi.cmd_struct_data_len_get, _comedi.cmd_struct_data_len_set)

    def __init__(self):
        this = _comedi.new_cmd_struct()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_cmd_struct
    __del__ = lambda self: None
cmd_struct_swigregister = _comedi.cmd_struct_swigregister
cmd_struct_swigregister(cmd_struct)

class chaninfo_struct(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, chaninfo_struct, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, chaninfo_struct, name)
    __repr__ = _swig_repr
    __swig_setmethods__["subdev"] = _comedi.chaninfo_struct_subdev_set
    __swig_getmethods__["subdev"] = _comedi.chaninfo_struct_subdev_get
    if _newclass:
        subdev = _swig_property(_comedi.chaninfo_struct_subdev_get, _comedi.chaninfo_struct_subdev_set)
    __swig_setmethods__["maxdata_list"] = _comedi.chaninfo_struct_maxdata_list_set
    __swig_getmethods__["maxdata_list"] = _comedi.chaninfo_struct_maxdata_list_get
    if _newclass:
        maxdata_list = _swig_property(_comedi.chaninfo_struct_maxdata_list_get, _comedi.chaninfo_struct_maxdata_list_set)
    __swig_setmethods__["flaglist"] = _comedi.chaninfo_struct_flaglist_set
    __swig_getmethods__["flaglist"] = _comedi.chaninfo_struct_flaglist_get
    if _newclass:
        flaglist = _swig_property(_comedi.chaninfo_struct_flaglist_get, _comedi.chaninfo_struct_flaglist_set)
    __swig_setmethods__["rangelist"] = _comedi.chaninfo_struct_rangelist_set
    __swig_getmethods__["rangelist"] = _comedi.chaninfo_struct_rangelist_get
    if _newclass:
        rangelist = _swig_property(_comedi.chaninfo_struct_rangelist_get, _comedi.chaninfo_struct_rangelist_set)
    __swig_setmethods__["unused"] = _comedi.chaninfo_struct_unused_set
    __swig_getmethods__["unused"] = _comedi.chaninfo_struct_unused_get
    if _newclass:
        unused = _swig_property(_comedi.chaninfo_struct_unused_get, _comedi.chaninfo_struct_unused_set)

    def __init__(self):
        this = _comedi.new_chaninfo_struct()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_chaninfo_struct
    __del__ = lambda self: None
chaninfo_struct_swigregister = _comedi.chaninfo_struct_swigregister
chaninfo_struct_swigregister(chaninfo_struct)

class rangeinfo_struct(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, rangeinfo_struct, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, rangeinfo_struct, name)
    __repr__ = _swig_repr
    __swig_setmethods__["range_type"] = _comedi.rangeinfo_struct_range_type_set
    __swig_getmethods__["range_type"] = _comedi.rangeinfo_struct_range_type_get
    if _newclass:
        range_type = _swig_property(_comedi.rangeinfo_struct_range_type_get, _comedi.rangeinfo_struct_range_type_set)
    __swig_setmethods__["range_ptr"] = _comedi.rangeinfo_struct_range_ptr_set
    __swig_getmethods__["range_ptr"] = _comedi.rangeinfo_struct_range_ptr_get
    if _newclass:
        range_ptr = _swig_property(_comedi.rangeinfo_struct_range_ptr_get, _comedi.rangeinfo_struct_range_ptr_set)

    def __init__(self):
        this = _comedi.new_rangeinfo_struct()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_rangeinfo_struct
    __del__ = lambda self: None
rangeinfo_struct_swigregister = _comedi.rangeinfo_struct_swigregister
rangeinfo_struct_swigregister(rangeinfo_struct)

class krange_struct(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, krange_struct, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, krange_struct, name)
    __repr__ = _swig_repr
    __swig_setmethods__["min"] = _comedi.krange_struct_min_set
    __swig_getmethods__["min"] = _comedi.krange_struct_min_get
    if _newclass:
        min = _swig_property(_comedi.krange_struct_min_get, _comedi.krange_struct_min_set)
    __swig_setmethods__["max"] = _comedi.krange_struct_max_set
    __swig_getmethods__["max"] = _comedi.krange_struct_max_get
    if _newclass:
        max = _swig_property(_comedi.krange_struct_max_get, _comedi.krange_struct_max_set)
    __swig_setmethods__["flags"] = _comedi.krange_struct_flags_set
    __swig_getmethods__["flags"] = _comedi.krange_struct_flags_get
    if _newclass:
        flags = _swig_property(_comedi.krange_struct_flags_get, _comedi.krange_struct_flags_set)

    def __init__(self):
        this = _comedi.new_krange_struct()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_krange_struct
    __del__ = lambda self: None
krange_struct_swigregister = _comedi.krange_struct_swigregister
krange_struct_swigregister(krange_struct)

class subdinfo_struct(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, subdinfo_struct, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, subdinfo_struct, name)
    __repr__ = _swig_repr
    __swig_setmethods__["type"] = _comedi.subdinfo_struct_type_set
    __swig_getmethods__["type"] = _comedi.subdinfo_struct_type_get
    if _newclass:
        type = _swig_property(_comedi.subdinfo_struct_type_get, _comedi.subdinfo_struct_type_set)
    __swig_setmethods__["n_chan"] = _comedi.subdinfo_struct_n_chan_set
    __swig_getmethods__["n_chan"] = _comedi.subdinfo_struct_n_chan_get
    if _newclass:
        n_chan = _swig_property(_comedi.subdinfo_struct_n_chan_get, _comedi.subdinfo_struct_n_chan_set)
    __swig_setmethods__["subd_flags"] = _comedi.subdinfo_struct_subd_flags_set
    __swig_getmethods__["subd_flags"] = _comedi.subdinfo_struct_subd_flags_get
    if _newclass:
        subd_flags = _swig_property(_comedi.subdinfo_struct_subd_flags_get, _comedi.subdinfo_struct_subd_flags_set)
    __swig_setmethods__["timer_type"] = _comedi.subdinfo_struct_timer_type_set
    __swig_getmethods__["timer_type"] = _comedi.subdinfo_struct_timer_type_get
    if _newclass:
        timer_type = _swig_property(_comedi.subdinfo_struct_timer_type_get, _comedi.subdinfo_struct_timer_type_set)
    __swig_setmethods__["len_chanlist"] = _comedi.subdinfo_struct_len_chanlist_set
    __swig_getmethods__["len_chanlist"] = _comedi.subdinfo_struct_len_chanlist_get
    if _newclass:
        len_chanlist = _swig_property(_comedi.subdinfo_struct_len_chanlist_get, _comedi.subdinfo_struct_len_chanlist_set)
    __swig_setmethods__["maxdata"] = _comedi.subdinfo_struct_maxdata_set
    __swig_getmethods__["maxdata"] = _comedi.subdinfo_struct_maxdata_get
    if _newclass:
        maxdata = _swig_property(_comedi.subdinfo_struct_maxdata_get, _comedi.subdinfo_struct_maxdata_set)
    __swig_setmethods__["flags"] = _comedi.subdinfo_struct_flags_set
    __swig_getmethods__["flags"] = _comedi.subdinfo_struct_flags_get
    if _newclass:
        flags = _swig_property(_comedi.subdinfo_struct_flags_get, _comedi.subdinfo_struct_flags_set)
    __swig_setmethods__["range_type"] = _comedi.subdinfo_struct_range_type_set
    __swig_getmethods__["range_type"] = _comedi.subdinfo_struct_range_type_get
    if _newclass:
        range_type = _swig_property(_comedi.subdinfo_struct_range_type_get, _comedi.subdinfo_struct_range_type_set)
    __swig_setmethods__["settling_time_0"] = _comedi.subdinfo_struct_settling_time_0_set
    __swig_getmethods__["settling_time_0"] = _comedi.subdinfo_struct_settling_time_0_get
    if _newclass:
        settling_time_0 = _swig_property(_comedi.subdinfo_struct_settling_time_0_get, _comedi.subdinfo_struct_settling_time_0_set)
    __swig_setmethods__["insn_bits_support"] = _comedi.subdinfo_struct_insn_bits_support_set
    __swig_getmethods__["insn_bits_support"] = _comedi.subdinfo_struct_insn_bits_support_get
    if _newclass:
        insn_bits_support = _swig_property(_comedi.subdinfo_struct_insn_bits_support_get, _comedi.subdinfo_struct_insn_bits_support_set)
    __swig_setmethods__["unused"] = _comedi.subdinfo_struct_unused_set
    __swig_getmethods__["unused"] = _comedi.subdinfo_struct_unused_get
    if _newclass:
        unused = _swig_property(_comedi.subdinfo_struct_unused_get, _comedi.subdinfo_struct_unused_set)

    def __init__(self):
        this = _comedi.new_subdinfo_struct()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_subdinfo_struct
    __del__ = lambda self: None
subdinfo_struct_swigregister = _comedi.subdinfo_struct_swigregister
subdinfo_struct_swigregister(subdinfo_struct)

class devinfo_struct(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, devinfo_struct, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, devinfo_struct, name)
    __repr__ = _swig_repr
    __swig_setmethods__["version_code"] = _comedi.devinfo_struct_version_code_set
    __swig_getmethods__["version_code"] = _comedi.devinfo_struct_version_code_get
    if _newclass:
        version_code = _swig_property(_comedi.devinfo_struct_version_code_get, _comedi.devinfo_struct_version_code_set)
    __swig_setmethods__["n_subdevs"] = _comedi.devinfo_struct_n_subdevs_set
    __swig_getmethods__["n_subdevs"] = _comedi.devinfo_struct_n_subdevs_get
    if _newclass:
        n_subdevs = _swig_property(_comedi.devinfo_struct_n_subdevs_get, _comedi.devinfo_struct_n_subdevs_set)
    __swig_setmethods__["driver_name"] = _comedi.devinfo_struct_driver_name_set
    __swig_getmethods__["driver_name"] = _comedi.devinfo_struct_driver_name_get
    if _newclass:
        driver_name = _swig_property(_comedi.devinfo_struct_driver_name_get, _comedi.devinfo_struct_driver_name_set)
    __swig_setmethods__["board_name"] = _comedi.devinfo_struct_board_name_set
    __swig_getmethods__["board_name"] = _comedi.devinfo_struct_board_name_get
    if _newclass:
        board_name = _swig_property(_comedi.devinfo_struct_board_name_get, _comedi.devinfo_struct_board_name_set)
    __swig_setmethods__["read_subdevice"] = _comedi.devinfo_struct_read_subdevice_set
    __swig_getmethods__["read_subdevice"] = _comedi.devinfo_struct_read_subdevice_get
    if _newclass:
        read_subdevice = _swig_property(_comedi.devinfo_struct_read_subdevice_get, _comedi.devinfo_struct_read_subdevice_set)
    __swig_setmethods__["write_subdevice"] = _comedi.devinfo_struct_write_subdevice_set
    __swig_getmethods__["write_subdevice"] = _comedi.devinfo_struct_write_subdevice_get
    if _newclass:
        write_subdevice = _swig_property(_comedi.devinfo_struct_write_subdevice_get, _comedi.devinfo_struct_write_subdevice_set)
    __swig_setmethods__["unused"] = _comedi.devinfo_struct_unused_set
    __swig_getmethods__["unused"] = _comedi.devinfo_struct_unused_get
    if _newclass:
        unused = _swig_property(_comedi.devinfo_struct_unused_get, _comedi.devinfo_struct_unused_set)

    def __init__(self):
        this = _comedi.new_devinfo_struct()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_devinfo_struct
    __del__ = lambda self: None
devinfo_struct_swigregister = _comedi.devinfo_struct_swigregister
devinfo_struct_swigregister(devinfo_struct)

class devconfig_struct(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, devconfig_struct, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, devconfig_struct, name)
    __repr__ = _swig_repr
    __swig_setmethods__["board_name"] = _comedi.devconfig_struct_board_name_set
    __swig_getmethods__["board_name"] = _comedi.devconfig_struct_board_name_get
    if _newclass:
        board_name = _swig_property(_comedi.devconfig_struct_board_name_get, _comedi.devconfig_struct_board_name_set)
    __swig_setmethods__["options"] = _comedi.devconfig_struct_options_set
    __swig_getmethods__["options"] = _comedi.devconfig_struct_options_get
    if _newclass:
        options = _swig_property(_comedi.devconfig_struct_options_get, _comedi.devconfig_struct_options_set)

    def __init__(self):
        this = _comedi.new_devconfig_struct()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_devconfig_struct
    __del__ = lambda self: None
devconfig_struct_swigregister = _comedi.devconfig_struct_swigregister
devconfig_struct_swigregister(devconfig_struct)

class bufconfig_struct(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, bufconfig_struct, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, bufconfig_struct, name)
    __repr__ = _swig_repr
    __swig_setmethods__["subdevice"] = _comedi.bufconfig_struct_subdevice_set
    __swig_getmethods__["subdevice"] = _comedi.bufconfig_struct_subdevice_get
    if _newclass:
        subdevice = _swig_property(_comedi.bufconfig_struct_subdevice_get, _comedi.bufconfig_struct_subdevice_set)
    __swig_setmethods__["flags"] = _comedi.bufconfig_struct_flags_set
    __swig_getmethods__["flags"] = _comedi.bufconfig_struct_flags_get
    if _newclass:
        flags = _swig_property(_comedi.bufconfig_struct_flags_get, _comedi.bufconfig_struct_flags_set)
    __swig_setmethods__["maximum_size"] = _comedi.bufconfig_struct_maximum_size_set
    __swig_getmethods__["maximum_size"] = _comedi.bufconfig_struct_maximum_size_get
    if _newclass:
        maximum_size = _swig_property(_comedi.bufconfig_struct_maximum_size_get, _comedi.bufconfig_struct_maximum_size_set)
    __swig_setmethods__["size"] = _comedi.bufconfig_struct_size_set
    __swig_getmethods__["size"] = _comedi.bufconfig_struct_size_get
    if _newclass:
        size = _swig_property(_comedi.bufconfig_struct_size_get, _comedi.bufconfig_struct_size_set)
    __swig_setmethods__["unused"] = _comedi.bufconfig_struct_unused_set
    __swig_getmethods__["unused"] = _comedi.bufconfig_struct_unused_get
    if _newclass:
        unused = _swig_property(_comedi.bufconfig_struct_unused_get, _comedi.bufconfig_struct_unused_set)

    def __init__(self):
        this = _comedi.new_bufconfig_struct()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_bufconfig_struct
    __del__ = lambda self: None
bufconfig_struct_swigregister = _comedi.bufconfig_struct_swigregister
bufconfig_struct_swigregister(bufconfig_struct)

class bufinfo_struct(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, bufinfo_struct, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, bufinfo_struct, name)
    __repr__ = _swig_repr
    __swig_setmethods__["subdevice"] = _comedi.bufinfo_struct_subdevice_set
    __swig_getmethods__["subdevice"] = _comedi.bufinfo_struct_subdevice_get
    if _newclass:
        subdevice = _swig_property(_comedi.bufinfo_struct_subdevice_get, _comedi.bufinfo_struct_subdevice_set)
    __swig_setmethods__["bytes_read"] = _comedi.bufinfo_struct_bytes_read_set
    __swig_getmethods__["bytes_read"] = _comedi.bufinfo_struct_bytes_read_get
    if _newclass:
        bytes_read = _swig_property(_comedi.bufinfo_struct_bytes_read_get, _comedi.bufinfo_struct_bytes_read_set)
    __swig_setmethods__["buf_write_ptr"] = _comedi.bufinfo_struct_buf_write_ptr_set
    __swig_getmethods__["buf_write_ptr"] = _comedi.bufinfo_struct_buf_write_ptr_get
    if _newclass:
        buf_write_ptr = _swig_property(_comedi.bufinfo_struct_buf_write_ptr_get, _comedi.bufinfo_struct_buf_write_ptr_set)
    __swig_setmethods__["buf_read_ptr"] = _comedi.bufinfo_struct_buf_read_ptr_set
    __swig_getmethods__["buf_read_ptr"] = _comedi.bufinfo_struct_buf_read_ptr_get
    if _newclass:
        buf_read_ptr = _swig_property(_comedi.bufinfo_struct_buf_read_ptr_get, _comedi.bufinfo_struct_buf_read_ptr_set)
    __swig_setmethods__["buf_write_count"] = _comedi.bufinfo_struct_buf_write_count_set
    __swig_getmethods__["buf_write_count"] = _comedi.bufinfo_struct_buf_write_count_get
    if _newclass:
        buf_write_count = _swig_property(_comedi.bufinfo_struct_buf_write_count_get, _comedi.bufinfo_struct_buf_write_count_set)
    __swig_setmethods__["buf_read_count"] = _comedi.bufinfo_struct_buf_read_count_set
    __swig_getmethods__["buf_read_count"] = _comedi.bufinfo_struct_buf_read_count_get
    if _newclass:
        buf_read_count = _swig_property(_comedi.bufinfo_struct_buf_read_count_get, _comedi.bufinfo_struct_buf_read_count_set)
    __swig_setmethods__["bytes_written"] = _comedi.bufinfo_struct_bytes_written_set
    __swig_getmethods__["bytes_written"] = _comedi.bufinfo_struct_bytes_written_get
    if _newclass:
        bytes_written = _swig_property(_comedi.bufinfo_struct_bytes_written_get, _comedi.bufinfo_struct_bytes_written_set)
    __swig_setmethods__["unused"] = _comedi.bufinfo_struct_unused_set
    __swig_getmethods__["unused"] = _comedi.bufinfo_struct_unused_get
    if _newclass:
        unused = _swig_property(_comedi.bufinfo_struct_unused_get, _comedi.bufinfo_struct_unused_set)

    def __init__(self):
        this = _comedi.new_bufinfo_struct()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_bufinfo_struct
    __del__ = lambda self: None
bufinfo_struct_swigregister = _comedi.bufinfo_struct_swigregister
bufinfo_struct_swigregister(bufinfo_struct)


_comedi.RF_EXTERNAL_swigconstant(_comedi)
RF_EXTERNAL = _comedi.RF_EXTERNAL

_comedi.UNIT_volt_swigconstant(_comedi)
UNIT_volt = _comedi.UNIT_volt

_comedi.UNIT_mA_swigconstant(_comedi)
UNIT_mA = _comedi.UNIT_mA

_comedi.UNIT_none_swigconstant(_comedi)
UNIT_none = _comedi.UNIT_none

_comedi.CB_EOS_swigconstant(_comedi)
CB_EOS = _comedi.CB_EOS

_comedi.CB_EOA_swigconstant(_comedi)
CB_EOA = _comedi.CB_EOA

_comedi.CB_BLOCK_swigconstant(_comedi)
CB_BLOCK = _comedi.CB_BLOCK

_comedi.CB_EOBUF_swigconstant(_comedi)
CB_EOBUF = _comedi.CB_EOBUF

_comedi.CB_ERROR_swigconstant(_comedi)
CB_ERROR = _comedi.CB_ERROR

_comedi.CB_OVERFLOW_swigconstant(_comedi)
CB_OVERFLOW = _comedi.CB_OVERFLOW

_comedi.I8254_MODE0_swigconstant(_comedi)
I8254_MODE0 = _comedi.I8254_MODE0

_comedi.I8254_MODE1_swigconstant(_comedi)
I8254_MODE1 = _comedi.I8254_MODE1

_comedi.I8254_MODE2_swigconstant(_comedi)
I8254_MODE2 = _comedi.I8254_MODE2

_comedi.I8254_MODE3_swigconstant(_comedi)
I8254_MODE3 = _comedi.I8254_MODE3

_comedi.I8254_MODE4_swigconstant(_comedi)
I8254_MODE4 = _comedi.I8254_MODE4

_comedi.I8254_MODE5_swigconstant(_comedi)
I8254_MODE5 = _comedi.I8254_MODE5

_comedi.I8254_BCD_swigconstant(_comedi)
I8254_BCD = _comedi.I8254_BCD

_comedi.I8254_BINARY_swigconstant(_comedi)
I8254_BINARY = _comedi.I8254_BINARY

def NI_USUAL_PFI_SELECT(pfi_channel):
    return _comedi.NI_USUAL_PFI_SELECT(pfi_channel)
NI_USUAL_PFI_SELECT = _comedi.NI_USUAL_PFI_SELECT

def NI_USUAL_RTSI_SELECT(rtsi_channel):
    return _comedi.NI_USUAL_RTSI_SELECT(rtsi_channel)
NI_USUAL_RTSI_SELECT = _comedi.NI_USUAL_RTSI_SELECT

_comedi.NI_GPCT_COUNTING_MODE_SHIFT_swigconstant(_comedi)
NI_GPCT_COUNTING_MODE_SHIFT = _comedi.NI_GPCT_COUNTING_MODE_SHIFT

_comedi.NI_GPCT_INDEX_PHASE_BITSHIFT_swigconstant(_comedi)
NI_GPCT_INDEX_PHASE_BITSHIFT = _comedi.NI_GPCT_INDEX_PHASE_BITSHIFT

_comedi.NI_GPCT_COUNTING_DIRECTION_SHIFT_swigconstant(_comedi)
NI_GPCT_COUNTING_DIRECTION_SHIFT = _comedi.NI_GPCT_COUNTING_DIRECTION_SHIFT

_comedi.NI_GPCT_GATE_ON_BOTH_EDGES_BIT_swigconstant(_comedi)
NI_GPCT_GATE_ON_BOTH_EDGES_BIT = _comedi.NI_GPCT_GATE_ON_BOTH_EDGES_BIT

_comedi.NI_GPCT_EDGE_GATE_MODE_MASK_swigconstant(_comedi)
NI_GPCT_EDGE_GATE_MODE_MASK = _comedi.NI_GPCT_EDGE_GATE_MODE_MASK

_comedi.NI_GPCT_EDGE_GATE_STARTS_STOPS_BITS_swigconstant(_comedi)
NI_GPCT_EDGE_GATE_STARTS_STOPS_BITS = _comedi.NI_GPCT_EDGE_GATE_STARTS_STOPS_BITS

_comedi.NI_GPCT_EDGE_GATE_STOPS_STARTS_BITS_swigconstant(_comedi)
NI_GPCT_EDGE_GATE_STOPS_STARTS_BITS = _comedi.NI_GPCT_EDGE_GATE_STOPS_STARTS_BITS

_comedi.NI_GPCT_EDGE_GATE_STARTS_BITS_swigconstant(_comedi)
NI_GPCT_EDGE_GATE_STARTS_BITS = _comedi.NI_GPCT_EDGE_GATE_STARTS_BITS

_comedi.NI_GPCT_EDGE_GATE_NO_STARTS_NO_STOPS_BITS_swigconstant(_comedi)
NI_GPCT_EDGE_GATE_NO_STARTS_NO_STOPS_BITS = _comedi.NI_GPCT_EDGE_GATE_NO_STARTS_NO_STOPS_BITS

_comedi.NI_GPCT_STOP_MODE_MASK_swigconstant(_comedi)
NI_GPCT_STOP_MODE_MASK = _comedi.NI_GPCT_STOP_MODE_MASK

_comedi.NI_GPCT_STOP_ON_GATE_BITS_swigconstant(_comedi)
NI_GPCT_STOP_ON_GATE_BITS = _comedi.NI_GPCT_STOP_ON_GATE_BITS

_comedi.NI_GPCT_STOP_ON_GATE_OR_TC_BITS_swigconstant(_comedi)
NI_GPCT_STOP_ON_GATE_OR_TC_BITS = _comedi.NI_GPCT_STOP_ON_GATE_OR_TC_BITS

_comedi.NI_GPCT_STOP_ON_GATE_OR_SECOND_TC_BITS_swigconstant(_comedi)
NI_GPCT_STOP_ON_GATE_OR_SECOND_TC_BITS = _comedi.NI_GPCT_STOP_ON_GATE_OR_SECOND_TC_BITS

_comedi.NI_GPCT_LOAD_B_SELECT_BIT_swigconstant(_comedi)
NI_GPCT_LOAD_B_SELECT_BIT = _comedi.NI_GPCT_LOAD_B_SELECT_BIT

_comedi.NI_GPCT_OUTPUT_MODE_MASK_swigconstant(_comedi)
NI_GPCT_OUTPUT_MODE_MASK = _comedi.NI_GPCT_OUTPUT_MODE_MASK

_comedi.NI_GPCT_OUTPUT_TC_PULSE_BITS_swigconstant(_comedi)
NI_GPCT_OUTPUT_TC_PULSE_BITS = _comedi.NI_GPCT_OUTPUT_TC_PULSE_BITS

_comedi.NI_GPCT_OUTPUT_TC_TOGGLE_BITS_swigconstant(_comedi)
NI_GPCT_OUTPUT_TC_TOGGLE_BITS = _comedi.NI_GPCT_OUTPUT_TC_TOGGLE_BITS

_comedi.NI_GPCT_OUTPUT_TC_OR_GATE_TOGGLE_BITS_swigconstant(_comedi)
NI_GPCT_OUTPUT_TC_OR_GATE_TOGGLE_BITS = _comedi.NI_GPCT_OUTPUT_TC_OR_GATE_TOGGLE_BITS

_comedi.NI_GPCT_HARDWARE_DISARM_MASK_swigconstant(_comedi)
NI_GPCT_HARDWARE_DISARM_MASK = _comedi.NI_GPCT_HARDWARE_DISARM_MASK

_comedi.NI_GPCT_NO_HARDWARE_DISARM_BITS_swigconstant(_comedi)
NI_GPCT_NO_HARDWARE_DISARM_BITS = _comedi.NI_GPCT_NO_HARDWARE_DISARM_BITS

_comedi.NI_GPCT_DISARM_AT_TC_BITS_swigconstant(_comedi)
NI_GPCT_DISARM_AT_TC_BITS = _comedi.NI_GPCT_DISARM_AT_TC_BITS

_comedi.NI_GPCT_DISARM_AT_GATE_BITS_swigconstant(_comedi)
NI_GPCT_DISARM_AT_GATE_BITS = _comedi.NI_GPCT_DISARM_AT_GATE_BITS

_comedi.NI_GPCT_DISARM_AT_TC_OR_GATE_BITS_swigconstant(_comedi)
NI_GPCT_DISARM_AT_TC_OR_GATE_BITS = _comedi.NI_GPCT_DISARM_AT_TC_OR_GATE_BITS

_comedi.NI_GPCT_LOADING_ON_TC_BIT_swigconstant(_comedi)
NI_GPCT_LOADING_ON_TC_BIT = _comedi.NI_GPCT_LOADING_ON_TC_BIT

_comedi.NI_GPCT_LOADING_ON_GATE_BIT_swigconstant(_comedi)
NI_GPCT_LOADING_ON_GATE_BIT = _comedi.NI_GPCT_LOADING_ON_GATE_BIT

_comedi.NI_GPCT_COUNTING_MODE_MASK_swigconstant(_comedi)
NI_GPCT_COUNTING_MODE_MASK = _comedi.NI_GPCT_COUNTING_MODE_MASK

_comedi.NI_GPCT_COUNTING_MODE_NORMAL_BITS_swigconstant(_comedi)
NI_GPCT_COUNTING_MODE_NORMAL_BITS = _comedi.NI_GPCT_COUNTING_MODE_NORMAL_BITS

_comedi.NI_GPCT_COUNTING_MODE_QUADRATURE_X1_BITS_swigconstant(_comedi)
NI_GPCT_COUNTING_MODE_QUADRATURE_X1_BITS = _comedi.NI_GPCT_COUNTING_MODE_QUADRATURE_X1_BITS

_comedi.NI_GPCT_COUNTING_MODE_QUADRATURE_X2_BITS_swigconstant(_comedi)
NI_GPCT_COUNTING_MODE_QUADRATURE_X2_BITS = _comedi.NI_GPCT_COUNTING_MODE_QUADRATURE_X2_BITS

_comedi.NI_GPCT_COUNTING_MODE_QUADRATURE_X4_BITS_swigconstant(_comedi)
NI_GPCT_COUNTING_MODE_QUADRATURE_X4_BITS = _comedi.NI_GPCT_COUNTING_MODE_QUADRATURE_X4_BITS

_comedi.NI_GPCT_COUNTING_MODE_TWO_PULSE_BITS_swigconstant(_comedi)
NI_GPCT_COUNTING_MODE_TWO_PULSE_BITS = _comedi.NI_GPCT_COUNTING_MODE_TWO_PULSE_BITS

_comedi.NI_GPCT_COUNTING_MODE_SYNC_SOURCE_BITS_swigconstant(_comedi)
NI_GPCT_COUNTING_MODE_SYNC_SOURCE_BITS = _comedi.NI_GPCT_COUNTING_MODE_SYNC_SOURCE_BITS

_comedi.NI_GPCT_INDEX_PHASE_MASK_swigconstant(_comedi)
NI_GPCT_INDEX_PHASE_MASK = _comedi.NI_GPCT_INDEX_PHASE_MASK

_comedi.NI_GPCT_INDEX_PHASE_LOW_A_LOW_B_BITS_swigconstant(_comedi)
NI_GPCT_INDEX_PHASE_LOW_A_LOW_B_BITS = _comedi.NI_GPCT_INDEX_PHASE_LOW_A_LOW_B_BITS

_comedi.NI_GPCT_INDEX_PHASE_LOW_A_HIGH_B_BITS_swigconstant(_comedi)
NI_GPCT_INDEX_PHASE_LOW_A_HIGH_B_BITS = _comedi.NI_GPCT_INDEX_PHASE_LOW_A_HIGH_B_BITS

_comedi.NI_GPCT_INDEX_PHASE_HIGH_A_LOW_B_BITS_swigconstant(_comedi)
NI_GPCT_INDEX_PHASE_HIGH_A_LOW_B_BITS = _comedi.NI_GPCT_INDEX_PHASE_HIGH_A_LOW_B_BITS

_comedi.NI_GPCT_INDEX_PHASE_HIGH_A_HIGH_B_BITS_swigconstant(_comedi)
NI_GPCT_INDEX_PHASE_HIGH_A_HIGH_B_BITS = _comedi.NI_GPCT_INDEX_PHASE_HIGH_A_HIGH_B_BITS

_comedi.NI_GPCT_INDEX_ENABLE_BIT_swigconstant(_comedi)
NI_GPCT_INDEX_ENABLE_BIT = _comedi.NI_GPCT_INDEX_ENABLE_BIT

_comedi.NI_GPCT_COUNTING_DIRECTION_MASK_swigconstant(_comedi)
NI_GPCT_COUNTING_DIRECTION_MASK = _comedi.NI_GPCT_COUNTING_DIRECTION_MASK

_comedi.NI_GPCT_COUNTING_DIRECTION_DOWN_BITS_swigconstant(_comedi)
NI_GPCT_COUNTING_DIRECTION_DOWN_BITS = _comedi.NI_GPCT_COUNTING_DIRECTION_DOWN_BITS

_comedi.NI_GPCT_COUNTING_DIRECTION_UP_BITS_swigconstant(_comedi)
NI_GPCT_COUNTING_DIRECTION_UP_BITS = _comedi.NI_GPCT_COUNTING_DIRECTION_UP_BITS

_comedi.NI_GPCT_COUNTING_DIRECTION_HW_UP_DOWN_BITS_swigconstant(_comedi)
NI_GPCT_COUNTING_DIRECTION_HW_UP_DOWN_BITS = _comedi.NI_GPCT_COUNTING_DIRECTION_HW_UP_DOWN_BITS

_comedi.NI_GPCT_COUNTING_DIRECTION_HW_GATE_BITS_swigconstant(_comedi)
NI_GPCT_COUNTING_DIRECTION_HW_GATE_BITS = _comedi.NI_GPCT_COUNTING_DIRECTION_HW_GATE_BITS

_comedi.NI_GPCT_RELOAD_SOURCE_MASK_swigconstant(_comedi)
NI_GPCT_RELOAD_SOURCE_MASK = _comedi.NI_GPCT_RELOAD_SOURCE_MASK

_comedi.NI_GPCT_RELOAD_SOURCE_FIXED_BITS_swigconstant(_comedi)
NI_GPCT_RELOAD_SOURCE_FIXED_BITS = _comedi.NI_GPCT_RELOAD_SOURCE_FIXED_BITS

_comedi.NI_GPCT_RELOAD_SOURCE_SWITCHING_BITS_swigconstant(_comedi)
NI_GPCT_RELOAD_SOURCE_SWITCHING_BITS = _comedi.NI_GPCT_RELOAD_SOURCE_SWITCHING_BITS

_comedi.NI_GPCT_RELOAD_SOURCE_GATE_SELECT_BITS_swigconstant(_comedi)
NI_GPCT_RELOAD_SOURCE_GATE_SELECT_BITS = _comedi.NI_GPCT_RELOAD_SOURCE_GATE_SELECT_BITS

_comedi.NI_GPCT_OR_GATE_BIT_swigconstant(_comedi)
NI_GPCT_OR_GATE_BIT = _comedi.NI_GPCT_OR_GATE_BIT

_comedi.NI_GPCT_INVERT_OUTPUT_BIT_swigconstant(_comedi)
NI_GPCT_INVERT_OUTPUT_BIT = _comedi.NI_GPCT_INVERT_OUTPUT_BIT

_comedi.NI_GPCT_CLOCK_SRC_SELECT_MASK_swigconstant(_comedi)
NI_GPCT_CLOCK_SRC_SELECT_MASK = _comedi.NI_GPCT_CLOCK_SRC_SELECT_MASK

_comedi.NI_GPCT_TIMEBASE_1_CLOCK_SRC_BITS_swigconstant(_comedi)
NI_GPCT_TIMEBASE_1_CLOCK_SRC_BITS = _comedi.NI_GPCT_TIMEBASE_1_CLOCK_SRC_BITS

_comedi.NI_GPCT_TIMEBASE_2_CLOCK_SRC_BITS_swigconstant(_comedi)
NI_GPCT_TIMEBASE_2_CLOCK_SRC_BITS = _comedi.NI_GPCT_TIMEBASE_2_CLOCK_SRC_BITS

_comedi.NI_GPCT_TIMEBASE_3_CLOCK_SRC_BITS_swigconstant(_comedi)
NI_GPCT_TIMEBASE_3_CLOCK_SRC_BITS = _comedi.NI_GPCT_TIMEBASE_3_CLOCK_SRC_BITS

_comedi.NI_GPCT_LOGIC_LOW_CLOCK_SRC_BITS_swigconstant(_comedi)
NI_GPCT_LOGIC_LOW_CLOCK_SRC_BITS = _comedi.NI_GPCT_LOGIC_LOW_CLOCK_SRC_BITS

_comedi.NI_GPCT_NEXT_GATE_CLOCK_SRC_BITS_swigconstant(_comedi)
NI_GPCT_NEXT_GATE_CLOCK_SRC_BITS = _comedi.NI_GPCT_NEXT_GATE_CLOCK_SRC_BITS

_comedi.NI_GPCT_NEXT_TC_CLOCK_SRC_BITS_swigconstant(_comedi)
NI_GPCT_NEXT_TC_CLOCK_SRC_BITS = _comedi.NI_GPCT_NEXT_TC_CLOCK_SRC_BITS

_comedi.NI_GPCT_SOURCE_PIN_i_CLOCK_SRC_BITS_swigconstant(_comedi)
NI_GPCT_SOURCE_PIN_i_CLOCK_SRC_BITS = _comedi.NI_GPCT_SOURCE_PIN_i_CLOCK_SRC_BITS

_comedi.NI_GPCT_PXI10_CLOCK_SRC_BITS_swigconstant(_comedi)
NI_GPCT_PXI10_CLOCK_SRC_BITS = _comedi.NI_GPCT_PXI10_CLOCK_SRC_BITS

_comedi.NI_GPCT_PXI_STAR_TRIGGER_CLOCK_SRC_BITS_swigconstant(_comedi)
NI_GPCT_PXI_STAR_TRIGGER_CLOCK_SRC_BITS = _comedi.NI_GPCT_PXI_STAR_TRIGGER_CLOCK_SRC_BITS

_comedi.NI_GPCT_ANALOG_TRIGGER_OUT_CLOCK_SRC_BITS_swigconstant(_comedi)
NI_GPCT_ANALOG_TRIGGER_OUT_CLOCK_SRC_BITS = _comedi.NI_GPCT_ANALOG_TRIGGER_OUT_CLOCK_SRC_BITS

_comedi.NI_GPCT_PRESCALE_MODE_CLOCK_SRC_MASK_swigconstant(_comedi)
NI_GPCT_PRESCALE_MODE_CLOCK_SRC_MASK = _comedi.NI_GPCT_PRESCALE_MODE_CLOCK_SRC_MASK

_comedi.NI_GPCT_NO_PRESCALE_CLOCK_SRC_BITS_swigconstant(_comedi)
NI_GPCT_NO_PRESCALE_CLOCK_SRC_BITS = _comedi.NI_GPCT_NO_PRESCALE_CLOCK_SRC_BITS

_comedi.NI_GPCT_PRESCALE_X2_CLOCK_SRC_BITS_swigconstant(_comedi)
NI_GPCT_PRESCALE_X2_CLOCK_SRC_BITS = _comedi.NI_GPCT_PRESCALE_X2_CLOCK_SRC_BITS

_comedi.NI_GPCT_PRESCALE_X8_CLOCK_SRC_BITS_swigconstant(_comedi)
NI_GPCT_PRESCALE_X8_CLOCK_SRC_BITS = _comedi.NI_GPCT_PRESCALE_X8_CLOCK_SRC_BITS

_comedi.NI_GPCT_INVERT_CLOCK_SRC_BIT_swigconstant(_comedi)
NI_GPCT_INVERT_CLOCK_SRC_BIT = _comedi.NI_GPCT_INVERT_CLOCK_SRC_BIT

def NI_GPCT_SOURCE_PIN_CLOCK_SRC_BITS(n):
    return _comedi.NI_GPCT_SOURCE_PIN_CLOCK_SRC_BITS(n)
NI_GPCT_SOURCE_PIN_CLOCK_SRC_BITS = _comedi.NI_GPCT_SOURCE_PIN_CLOCK_SRC_BITS

def NI_GPCT_RTSI_CLOCK_SRC_BITS(n):
    return _comedi.NI_GPCT_RTSI_CLOCK_SRC_BITS(n)
NI_GPCT_RTSI_CLOCK_SRC_BITS = _comedi.NI_GPCT_RTSI_CLOCK_SRC_BITS

def NI_GPCT_PFI_CLOCK_SRC_BITS(n):
    return _comedi.NI_GPCT_PFI_CLOCK_SRC_BITS(n)
NI_GPCT_PFI_CLOCK_SRC_BITS = _comedi.NI_GPCT_PFI_CLOCK_SRC_BITS

_comedi.NI_GPCT_TIMESTAMP_MUX_GATE_SELECT_swigconstant(_comedi)
NI_GPCT_TIMESTAMP_MUX_GATE_SELECT = _comedi.NI_GPCT_TIMESTAMP_MUX_GATE_SELECT

_comedi.NI_GPCT_AI_START2_GATE_SELECT_swigconstant(_comedi)
NI_GPCT_AI_START2_GATE_SELECT = _comedi.NI_GPCT_AI_START2_GATE_SELECT

_comedi.NI_GPCT_PXI_STAR_TRIGGER_GATE_SELECT_swigconstant(_comedi)
NI_GPCT_PXI_STAR_TRIGGER_GATE_SELECT = _comedi.NI_GPCT_PXI_STAR_TRIGGER_GATE_SELECT

_comedi.NI_GPCT_NEXT_OUT_GATE_SELECT_swigconstant(_comedi)
NI_GPCT_NEXT_OUT_GATE_SELECT = _comedi.NI_GPCT_NEXT_OUT_GATE_SELECT

_comedi.NI_GPCT_AI_START1_GATE_SELECT_swigconstant(_comedi)
NI_GPCT_AI_START1_GATE_SELECT = _comedi.NI_GPCT_AI_START1_GATE_SELECT

_comedi.NI_GPCT_NEXT_SOURCE_GATE_SELECT_swigconstant(_comedi)
NI_GPCT_NEXT_SOURCE_GATE_SELECT = _comedi.NI_GPCT_NEXT_SOURCE_GATE_SELECT

_comedi.NI_GPCT_ANALOG_TRIGGER_OUT_GATE_SELECT_swigconstant(_comedi)
NI_GPCT_ANALOG_TRIGGER_OUT_GATE_SELECT = _comedi.NI_GPCT_ANALOG_TRIGGER_OUT_GATE_SELECT

_comedi.NI_GPCT_LOGIC_LOW_GATE_SELECT_swigconstant(_comedi)
NI_GPCT_LOGIC_LOW_GATE_SELECT = _comedi.NI_GPCT_LOGIC_LOW_GATE_SELECT

_comedi.NI_GPCT_SOURCE_PIN_i_GATE_SELECT_swigconstant(_comedi)
NI_GPCT_SOURCE_PIN_i_GATE_SELECT = _comedi.NI_GPCT_SOURCE_PIN_i_GATE_SELECT

_comedi.NI_GPCT_GATE_PIN_i_GATE_SELECT_swigconstant(_comedi)
NI_GPCT_GATE_PIN_i_GATE_SELECT = _comedi.NI_GPCT_GATE_PIN_i_GATE_SELECT

_comedi.NI_GPCT_UP_DOWN_PIN_i_GATE_SELECT_swigconstant(_comedi)
NI_GPCT_UP_DOWN_PIN_i_GATE_SELECT = _comedi.NI_GPCT_UP_DOWN_PIN_i_GATE_SELECT

_comedi.NI_GPCT_SELECTED_GATE_GATE_SELECT_swigconstant(_comedi)
NI_GPCT_SELECTED_GATE_GATE_SELECT = _comedi.NI_GPCT_SELECTED_GATE_GATE_SELECT

_comedi.NI_GPCT_DISABLED_GATE_SELECT_swigconstant(_comedi)
NI_GPCT_DISABLED_GATE_SELECT = _comedi.NI_GPCT_DISABLED_GATE_SELECT

def NI_GPCT_GATE_PIN_GATE_SELECT(n):
    return _comedi.NI_GPCT_GATE_PIN_GATE_SELECT(n)
NI_GPCT_GATE_PIN_GATE_SELECT = _comedi.NI_GPCT_GATE_PIN_GATE_SELECT

def NI_GPCT_RTSI_GATE_SELECT(n):
    return _comedi.NI_GPCT_RTSI_GATE_SELECT(n)
NI_GPCT_RTSI_GATE_SELECT = _comedi.NI_GPCT_RTSI_GATE_SELECT

def NI_GPCT_PFI_GATE_SELECT(n):
    return _comedi.NI_GPCT_PFI_GATE_SELECT(n)
NI_GPCT_PFI_GATE_SELECT = _comedi.NI_GPCT_PFI_GATE_SELECT

def NI_GPCT_UP_DOWN_PIN_GATE_SELECT(n):
    return _comedi.NI_GPCT_UP_DOWN_PIN_GATE_SELECT(n)
NI_GPCT_UP_DOWN_PIN_GATE_SELECT = _comedi.NI_GPCT_UP_DOWN_PIN_GATE_SELECT

_comedi.NI_GPCT_SOURCE_ENCODER_A_swigconstant(_comedi)
NI_GPCT_SOURCE_ENCODER_A = _comedi.NI_GPCT_SOURCE_ENCODER_A

_comedi.NI_GPCT_SOURCE_ENCODER_B_swigconstant(_comedi)
NI_GPCT_SOURCE_ENCODER_B = _comedi.NI_GPCT_SOURCE_ENCODER_B

_comedi.NI_GPCT_SOURCE_ENCODER_Z_swigconstant(_comedi)
NI_GPCT_SOURCE_ENCODER_Z = _comedi.NI_GPCT_SOURCE_ENCODER_Z

_comedi.NI_GPCT_DISABLED_OTHER_SELECT_swigconstant(_comedi)
NI_GPCT_DISABLED_OTHER_SELECT = _comedi.NI_GPCT_DISABLED_OTHER_SELECT

def NI_GPCT_PFI_OTHER_SELECT(n):
    return _comedi.NI_GPCT_PFI_OTHER_SELECT(n)
NI_GPCT_PFI_OTHER_SELECT = _comedi.NI_GPCT_PFI_OTHER_SELECT

_comedi.NI_GPCT_ARM_IMMEDIATE_swigconstant(_comedi)
NI_GPCT_ARM_IMMEDIATE = _comedi.NI_GPCT_ARM_IMMEDIATE

_comedi.NI_GPCT_ARM_PAIRED_IMMEDIATE_swigconstant(_comedi)
NI_GPCT_ARM_PAIRED_IMMEDIATE = _comedi.NI_GPCT_ARM_PAIRED_IMMEDIATE

_comedi.NI_GPCT_HW_ARM_swigconstant(_comedi)
NI_GPCT_HW_ARM = _comedi.NI_GPCT_HW_ARM

_comedi.NI_GPCT_ARM_UNKNOWN_swigconstant(_comedi)
NI_GPCT_ARM_UNKNOWN = _comedi.NI_GPCT_ARM_UNKNOWN

_comedi.NI_GPCT_FILTER_OFF_swigconstant(_comedi)
NI_GPCT_FILTER_OFF = _comedi.NI_GPCT_FILTER_OFF

_comedi.NI_GPCT_FILTER_TIMEBASE_3_SYNC_swigconstant(_comedi)
NI_GPCT_FILTER_TIMEBASE_3_SYNC = _comedi.NI_GPCT_FILTER_TIMEBASE_3_SYNC

_comedi.NI_GPCT_FILTER_100x_TIMEBASE_1_swigconstant(_comedi)
NI_GPCT_FILTER_100x_TIMEBASE_1 = _comedi.NI_GPCT_FILTER_100x_TIMEBASE_1

_comedi.NI_GPCT_FILTER_20x_TIMEBASE_1_swigconstant(_comedi)
NI_GPCT_FILTER_20x_TIMEBASE_1 = _comedi.NI_GPCT_FILTER_20x_TIMEBASE_1

_comedi.NI_GPCT_FILTER_10x_TIMEBASE_1_swigconstant(_comedi)
NI_GPCT_FILTER_10x_TIMEBASE_1 = _comedi.NI_GPCT_FILTER_10x_TIMEBASE_1

_comedi.NI_GPCT_FILTER_2x_TIMEBASE_1_swigconstant(_comedi)
NI_GPCT_FILTER_2x_TIMEBASE_1 = _comedi.NI_GPCT_FILTER_2x_TIMEBASE_1

_comedi.NI_GPCT_FILTER_2x_TIMEBASE_3_swigconstant(_comedi)
NI_GPCT_FILTER_2x_TIMEBASE_3 = _comedi.NI_GPCT_FILTER_2x_TIMEBASE_3

_comedi.NI_PFI_FILTER_OFF_swigconstant(_comedi)
NI_PFI_FILTER_OFF = _comedi.NI_PFI_FILTER_OFF

_comedi.NI_PFI_FILTER_125ns_swigconstant(_comedi)
NI_PFI_FILTER_125ns = _comedi.NI_PFI_FILTER_125ns

_comedi.NI_PFI_FILTER_6425ns_swigconstant(_comedi)
NI_PFI_FILTER_6425ns = _comedi.NI_PFI_FILTER_6425ns

_comedi.NI_PFI_FILTER_2550us_swigconstant(_comedi)
NI_PFI_FILTER_2550us = _comedi.NI_PFI_FILTER_2550us

_comedi.NI_MIO_INTERNAL_CLOCK_swigconstant(_comedi)
NI_MIO_INTERNAL_CLOCK = _comedi.NI_MIO_INTERNAL_CLOCK

_comedi.NI_MIO_RTSI_CLOCK_swigconstant(_comedi)
NI_MIO_RTSI_CLOCK = _comedi.NI_MIO_RTSI_CLOCK

_comedi.NI_MIO_PLL_PXI_STAR_TRIGGER_CLOCK_swigconstant(_comedi)
NI_MIO_PLL_PXI_STAR_TRIGGER_CLOCK = _comedi.NI_MIO_PLL_PXI_STAR_TRIGGER_CLOCK

_comedi.NI_MIO_PLL_PXI10_CLOCK_swigconstant(_comedi)
NI_MIO_PLL_PXI10_CLOCK = _comedi.NI_MIO_PLL_PXI10_CLOCK

_comedi.NI_MIO_PLL_RTSI0_CLOCK_swigconstant(_comedi)
NI_MIO_PLL_RTSI0_CLOCK = _comedi.NI_MIO_PLL_RTSI0_CLOCK

def NI_MIO_PLL_RTSI_CLOCK(rtsi_channel):
    return _comedi.NI_MIO_PLL_RTSI_CLOCK(rtsi_channel)
NI_MIO_PLL_RTSI_CLOCK = _comedi.NI_MIO_PLL_RTSI_CLOCK

_comedi.NI_RTSI_OUTPUT_ADR_START1_swigconstant(_comedi)
NI_RTSI_OUTPUT_ADR_START1 = _comedi.NI_RTSI_OUTPUT_ADR_START1

_comedi.NI_RTSI_OUTPUT_ADR_START2_swigconstant(_comedi)
NI_RTSI_OUTPUT_ADR_START2 = _comedi.NI_RTSI_OUTPUT_ADR_START2

_comedi.NI_RTSI_OUTPUT_SCLKG_swigconstant(_comedi)
NI_RTSI_OUTPUT_SCLKG = _comedi.NI_RTSI_OUTPUT_SCLKG

_comedi.NI_RTSI_OUTPUT_DACUPDN_swigconstant(_comedi)
NI_RTSI_OUTPUT_DACUPDN = _comedi.NI_RTSI_OUTPUT_DACUPDN

_comedi.NI_RTSI_OUTPUT_DA_START1_swigconstant(_comedi)
NI_RTSI_OUTPUT_DA_START1 = _comedi.NI_RTSI_OUTPUT_DA_START1

_comedi.NI_RTSI_OUTPUT_G_SRC0_swigconstant(_comedi)
NI_RTSI_OUTPUT_G_SRC0 = _comedi.NI_RTSI_OUTPUT_G_SRC0

_comedi.NI_RTSI_OUTPUT_G_GATE0_swigconstant(_comedi)
NI_RTSI_OUTPUT_G_GATE0 = _comedi.NI_RTSI_OUTPUT_G_GATE0

_comedi.NI_RTSI_OUTPUT_RGOUT0_swigconstant(_comedi)
NI_RTSI_OUTPUT_RGOUT0 = _comedi.NI_RTSI_OUTPUT_RGOUT0

_comedi.NI_RTSI_OUTPUT_RTSI_BRD_0_swigconstant(_comedi)
NI_RTSI_OUTPUT_RTSI_BRD_0 = _comedi.NI_RTSI_OUTPUT_RTSI_BRD_0

_comedi.NI_RTSI_OUTPUT_RTSI_OSC_swigconstant(_comedi)
NI_RTSI_OUTPUT_RTSI_OSC = _comedi.NI_RTSI_OUTPUT_RTSI_OSC

def NI_RTSI_OUTPUT_RTSI_BRD(n):
    return _comedi.NI_RTSI_OUTPUT_RTSI_BRD(n)
NI_RTSI_OUTPUT_RTSI_BRD = _comedi.NI_RTSI_OUTPUT_RTSI_BRD

_comedi.NI_PFI_OUTPUT_PFI_DEFAULT_swigconstant(_comedi)
NI_PFI_OUTPUT_PFI_DEFAULT = _comedi.NI_PFI_OUTPUT_PFI_DEFAULT

_comedi.NI_PFI_OUTPUT_AI_START1_swigconstant(_comedi)
NI_PFI_OUTPUT_AI_START1 = _comedi.NI_PFI_OUTPUT_AI_START1

_comedi.NI_PFI_OUTPUT_AI_START2_swigconstant(_comedi)
NI_PFI_OUTPUT_AI_START2 = _comedi.NI_PFI_OUTPUT_AI_START2

_comedi.NI_PFI_OUTPUT_AI_CONVERT_swigconstant(_comedi)
NI_PFI_OUTPUT_AI_CONVERT = _comedi.NI_PFI_OUTPUT_AI_CONVERT

_comedi.NI_PFI_OUTPUT_G_SRC1_swigconstant(_comedi)
NI_PFI_OUTPUT_G_SRC1 = _comedi.NI_PFI_OUTPUT_G_SRC1

_comedi.NI_PFI_OUTPUT_G_GATE1_swigconstant(_comedi)
NI_PFI_OUTPUT_G_GATE1 = _comedi.NI_PFI_OUTPUT_G_GATE1

_comedi.NI_PFI_OUTPUT_AO_UPDATE_N_swigconstant(_comedi)
NI_PFI_OUTPUT_AO_UPDATE_N = _comedi.NI_PFI_OUTPUT_AO_UPDATE_N

_comedi.NI_PFI_OUTPUT_AO_START1_swigconstant(_comedi)
NI_PFI_OUTPUT_AO_START1 = _comedi.NI_PFI_OUTPUT_AO_START1

_comedi.NI_PFI_OUTPUT_AI_START_PULSE_swigconstant(_comedi)
NI_PFI_OUTPUT_AI_START_PULSE = _comedi.NI_PFI_OUTPUT_AI_START_PULSE

_comedi.NI_PFI_OUTPUT_G_SRC0_swigconstant(_comedi)
NI_PFI_OUTPUT_G_SRC0 = _comedi.NI_PFI_OUTPUT_G_SRC0

_comedi.NI_PFI_OUTPUT_G_GATE0_swigconstant(_comedi)
NI_PFI_OUTPUT_G_GATE0 = _comedi.NI_PFI_OUTPUT_G_GATE0

_comedi.NI_PFI_OUTPUT_EXT_STROBE_swigconstant(_comedi)
NI_PFI_OUTPUT_EXT_STROBE = _comedi.NI_PFI_OUTPUT_EXT_STROBE

_comedi.NI_PFI_OUTPUT_AI_EXT_MUX_CLK_swigconstant(_comedi)
NI_PFI_OUTPUT_AI_EXT_MUX_CLK = _comedi.NI_PFI_OUTPUT_AI_EXT_MUX_CLK

_comedi.NI_PFI_OUTPUT_GOUT0_swigconstant(_comedi)
NI_PFI_OUTPUT_GOUT0 = _comedi.NI_PFI_OUTPUT_GOUT0

_comedi.NI_PFI_OUTPUT_GOUT1_swigconstant(_comedi)
NI_PFI_OUTPUT_GOUT1 = _comedi.NI_PFI_OUTPUT_GOUT1

_comedi.NI_PFI_OUTPUT_FREQ_OUT_swigconstant(_comedi)
NI_PFI_OUTPUT_FREQ_OUT = _comedi.NI_PFI_OUTPUT_FREQ_OUT

_comedi.NI_PFI_OUTPUT_PFI_DO_swigconstant(_comedi)
NI_PFI_OUTPUT_PFI_DO = _comedi.NI_PFI_OUTPUT_PFI_DO

_comedi.NI_PFI_OUTPUT_I_ATRIG_swigconstant(_comedi)
NI_PFI_OUTPUT_I_ATRIG = _comedi.NI_PFI_OUTPUT_I_ATRIG

_comedi.NI_PFI_OUTPUT_RTSI0_swigconstant(_comedi)
NI_PFI_OUTPUT_RTSI0 = _comedi.NI_PFI_OUTPUT_RTSI0

_comedi.NI_PFI_OUTPUT_PXI_STAR_TRIGGER_IN_swigconstant(_comedi)
NI_PFI_OUTPUT_PXI_STAR_TRIGGER_IN = _comedi.NI_PFI_OUTPUT_PXI_STAR_TRIGGER_IN

_comedi.NI_PFI_OUTPUT_SCXI_TRIG1_swigconstant(_comedi)
NI_PFI_OUTPUT_SCXI_TRIG1 = _comedi.NI_PFI_OUTPUT_SCXI_TRIG1

_comedi.NI_PFI_OUTPUT_DIO_CHANGE_DETECT_RTSI_swigconstant(_comedi)
NI_PFI_OUTPUT_DIO_CHANGE_DETECT_RTSI = _comedi.NI_PFI_OUTPUT_DIO_CHANGE_DETECT_RTSI

_comedi.NI_PFI_OUTPUT_CDI_SAMPLE_swigconstant(_comedi)
NI_PFI_OUTPUT_CDI_SAMPLE = _comedi.NI_PFI_OUTPUT_CDI_SAMPLE

_comedi.NI_PFI_OUTPUT_CDO_UPDATE_swigconstant(_comedi)
NI_PFI_OUTPUT_CDO_UPDATE = _comedi.NI_PFI_OUTPUT_CDO_UPDATE

def NI_PFI_OUTPUT_RTSI(rtsi_channel):
    return _comedi.NI_PFI_OUTPUT_RTSI(rtsi_channel)
NI_PFI_OUTPUT_RTSI = _comedi.NI_PFI_OUTPUT_RTSI

_comedi.NI_660X_PFI_OUTPUT_COUNTER_swigconstant(_comedi)
NI_660X_PFI_OUTPUT_COUNTER = _comedi.NI_660X_PFI_OUTPUT_COUNTER

_comedi.NI_660X_PFI_OUTPUT_DIO_swigconstant(_comedi)
NI_660X_PFI_OUTPUT_DIO = _comedi.NI_660X_PFI_OUTPUT_DIO

def NI_EXT_PFI(pfi_channel):
    return _comedi.NI_EXT_PFI(pfi_channel)
NI_EXT_PFI = _comedi.NI_EXT_PFI

def NI_EXT_RTSI(rtsi_channel):
    return _comedi.NI_EXT_RTSI(rtsi_channel)
NI_EXT_RTSI = _comedi.NI_EXT_RTSI

_comedi.COUNTER_ARMED_swigconstant(_comedi)
COUNTER_ARMED = _comedi.COUNTER_ARMED

_comedi.COUNTER_COUNTING_swigconstant(_comedi)
COUNTER_COUNTING = _comedi.COUNTER_COUNTING

_comedi.COUNTER_TERMINAL_COUNT_swigconstant(_comedi)
COUNTER_TERMINAL_COUNT = _comedi.COUNTER_TERMINAL_COUNT

_comedi.NI_CDIO_SCAN_BEGIN_SRC_GROUND_swigconstant(_comedi)
NI_CDIO_SCAN_BEGIN_SRC_GROUND = _comedi.NI_CDIO_SCAN_BEGIN_SRC_GROUND

_comedi.NI_CDIO_SCAN_BEGIN_SRC_AI_START_swigconstant(_comedi)
NI_CDIO_SCAN_BEGIN_SRC_AI_START = _comedi.NI_CDIO_SCAN_BEGIN_SRC_AI_START

_comedi.NI_CDIO_SCAN_BEGIN_SRC_AI_CONVERT_swigconstant(_comedi)
NI_CDIO_SCAN_BEGIN_SRC_AI_CONVERT = _comedi.NI_CDIO_SCAN_BEGIN_SRC_AI_CONVERT

_comedi.NI_CDIO_SCAN_BEGIN_SRC_PXI_STAR_TRIGGER_swigconstant(_comedi)
NI_CDIO_SCAN_BEGIN_SRC_PXI_STAR_TRIGGER = _comedi.NI_CDIO_SCAN_BEGIN_SRC_PXI_STAR_TRIGGER

_comedi.NI_CDIO_SCAN_BEGIN_SRC_G0_OUT_swigconstant(_comedi)
NI_CDIO_SCAN_BEGIN_SRC_G0_OUT = _comedi.NI_CDIO_SCAN_BEGIN_SRC_G0_OUT

_comedi.NI_CDIO_SCAN_BEGIN_SRC_G1_OUT_swigconstant(_comedi)
NI_CDIO_SCAN_BEGIN_SRC_G1_OUT = _comedi.NI_CDIO_SCAN_BEGIN_SRC_G1_OUT

_comedi.NI_CDIO_SCAN_BEGIN_SRC_ANALOG_TRIGGER_swigconstant(_comedi)
NI_CDIO_SCAN_BEGIN_SRC_ANALOG_TRIGGER = _comedi.NI_CDIO_SCAN_BEGIN_SRC_ANALOG_TRIGGER

_comedi.NI_CDIO_SCAN_BEGIN_SRC_AO_UPDATE_swigconstant(_comedi)
NI_CDIO_SCAN_BEGIN_SRC_AO_UPDATE = _comedi.NI_CDIO_SCAN_BEGIN_SRC_AO_UPDATE

_comedi.NI_CDIO_SCAN_BEGIN_SRC_FREQ_OUT_swigconstant(_comedi)
NI_CDIO_SCAN_BEGIN_SRC_FREQ_OUT = _comedi.NI_CDIO_SCAN_BEGIN_SRC_FREQ_OUT

_comedi.NI_CDIO_SCAN_BEGIN_SRC_DIO_CHANGE_DETECT_IRQ_swigconstant(_comedi)
NI_CDIO_SCAN_BEGIN_SRC_DIO_CHANGE_DETECT_IRQ = _comedi.NI_CDIO_SCAN_BEGIN_SRC_DIO_CHANGE_DETECT_IRQ

def NI_CDIO_SCAN_BEGIN_SRC_PFI(pfi_channel):
    return _comedi.NI_CDIO_SCAN_BEGIN_SRC_PFI(pfi_channel)
NI_CDIO_SCAN_BEGIN_SRC_PFI = _comedi.NI_CDIO_SCAN_BEGIN_SRC_PFI

def NI_CDIO_SCAN_BEGIN_SRC_RTSI(rtsi_channel):
    return _comedi.NI_CDIO_SCAN_BEGIN_SRC_RTSI(rtsi_channel)
NI_CDIO_SCAN_BEGIN_SRC_RTSI = _comedi.NI_CDIO_SCAN_BEGIN_SRC_RTSI

def NI_AO_SCAN_BEGIN_SRC_PFI(pfi_channel):
    return _comedi.NI_AO_SCAN_BEGIN_SRC_PFI(pfi_channel)
NI_AO_SCAN_BEGIN_SRC_PFI = _comedi.NI_AO_SCAN_BEGIN_SRC_PFI

def NI_AO_SCAN_BEGIN_SRC_RTSI(rtsi_channel):
    return _comedi.NI_AO_SCAN_BEGIN_SRC_RTSI(rtsi_channel)
NI_AO_SCAN_BEGIN_SRC_RTSI = _comedi.NI_AO_SCAN_BEGIN_SRC_RTSI

_comedi.NI_FREQ_OUT_TIMEBASE_1_DIV_2_CLOCK_SRC_swigconstant(_comedi)
NI_FREQ_OUT_TIMEBASE_1_DIV_2_CLOCK_SRC = _comedi.NI_FREQ_OUT_TIMEBASE_1_DIV_2_CLOCK_SRC

_comedi.NI_FREQ_OUT_TIMEBASE_2_CLOCK_SRC_swigconstant(_comedi)
NI_FREQ_OUT_TIMEBASE_2_CLOCK_SRC = _comedi.NI_FREQ_OUT_TIMEBASE_2_CLOCK_SRC

_comedi.AMPLC_DIO_CLK_CLKN_swigconstant(_comedi)
AMPLC_DIO_CLK_CLKN = _comedi.AMPLC_DIO_CLK_CLKN

_comedi.AMPLC_DIO_CLK_10MHZ_swigconstant(_comedi)
AMPLC_DIO_CLK_10MHZ = _comedi.AMPLC_DIO_CLK_10MHZ

_comedi.AMPLC_DIO_CLK_1MHZ_swigconstant(_comedi)
AMPLC_DIO_CLK_1MHZ = _comedi.AMPLC_DIO_CLK_1MHZ

_comedi.AMPLC_DIO_CLK_100KHZ_swigconstant(_comedi)
AMPLC_DIO_CLK_100KHZ = _comedi.AMPLC_DIO_CLK_100KHZ

_comedi.AMPLC_DIO_CLK_10KHZ_swigconstant(_comedi)
AMPLC_DIO_CLK_10KHZ = _comedi.AMPLC_DIO_CLK_10KHZ

_comedi.AMPLC_DIO_CLK_1KHZ_swigconstant(_comedi)
AMPLC_DIO_CLK_1KHZ = _comedi.AMPLC_DIO_CLK_1KHZ

_comedi.AMPLC_DIO_CLK_OUTNM1_swigconstant(_comedi)
AMPLC_DIO_CLK_OUTNM1 = _comedi.AMPLC_DIO_CLK_OUTNM1

_comedi.AMPLC_DIO_CLK_EXT_swigconstant(_comedi)
AMPLC_DIO_CLK_EXT = _comedi.AMPLC_DIO_CLK_EXT

_comedi.AMPLC_DIO_CLK_VCC_swigconstant(_comedi)
AMPLC_DIO_CLK_VCC = _comedi.AMPLC_DIO_CLK_VCC

_comedi.AMPLC_DIO_CLK_GND_swigconstant(_comedi)
AMPLC_DIO_CLK_GND = _comedi.AMPLC_DIO_CLK_GND

_comedi.AMPLC_DIO_CLK_PAT_PRESENT_swigconstant(_comedi)
AMPLC_DIO_CLK_PAT_PRESENT = _comedi.AMPLC_DIO_CLK_PAT_PRESENT

_comedi.AMPLC_DIO_CLK_20MHZ_swigconstant(_comedi)
AMPLC_DIO_CLK_20MHZ = _comedi.AMPLC_DIO_CLK_20MHZ

_comedi.AMPLC_DIO_TS_CLK_1GHZ_swigconstant(_comedi)
AMPLC_DIO_TS_CLK_1GHZ = _comedi.AMPLC_DIO_TS_CLK_1GHZ

_comedi.AMPLC_DIO_TS_CLK_1MHZ_swigconstant(_comedi)
AMPLC_DIO_TS_CLK_1MHZ = _comedi.AMPLC_DIO_TS_CLK_1MHZ

_comedi.AMPLC_DIO_TS_CLK_1KHZ_swigconstant(_comedi)
AMPLC_DIO_TS_CLK_1KHZ = _comedi.AMPLC_DIO_TS_CLK_1KHZ

_comedi.AMPLC_DIO_GAT_VCC_swigconstant(_comedi)
AMPLC_DIO_GAT_VCC = _comedi.AMPLC_DIO_GAT_VCC

_comedi.AMPLC_DIO_GAT_GND_swigconstant(_comedi)
AMPLC_DIO_GAT_GND = _comedi.AMPLC_DIO_GAT_GND

_comedi.AMPLC_DIO_GAT_GATN_swigconstant(_comedi)
AMPLC_DIO_GAT_GATN = _comedi.AMPLC_DIO_GAT_GATN

_comedi.AMPLC_DIO_GAT_NOUTNM2_swigconstant(_comedi)
AMPLC_DIO_GAT_NOUTNM2 = _comedi.AMPLC_DIO_GAT_NOUTNM2

_comedi.AMPLC_DIO_GAT_RESERVED4_swigconstant(_comedi)
AMPLC_DIO_GAT_RESERVED4 = _comedi.AMPLC_DIO_GAT_RESERVED4

_comedi.AMPLC_DIO_GAT_RESERVED5_swigconstant(_comedi)
AMPLC_DIO_GAT_RESERVED5 = _comedi.AMPLC_DIO_GAT_RESERVED5

_comedi.AMPLC_DIO_GAT_RESERVED6_swigconstant(_comedi)
AMPLC_DIO_GAT_RESERVED6 = _comedi.AMPLC_DIO_GAT_RESERVED6

_comedi.AMPLC_DIO_GAT_RESERVED7_swigconstant(_comedi)
AMPLC_DIO_GAT_RESERVED7 = _comedi.AMPLC_DIO_GAT_RESERVED7

_comedi.AMPLC_DIO_GAT_NGATN_swigconstant(_comedi)
AMPLC_DIO_GAT_NGATN = _comedi.AMPLC_DIO_GAT_NGATN

_comedi.AMPLC_DIO_GAT_OUTNM2_swigconstant(_comedi)
AMPLC_DIO_GAT_OUTNM2 = _comedi.AMPLC_DIO_GAT_OUTNM2

_comedi.AMPLC_DIO_GAT_PAT_PRESENT_swigconstant(_comedi)
AMPLC_DIO_GAT_PAT_PRESENT = _comedi.AMPLC_DIO_GAT_PAT_PRESENT

_comedi.AMPLC_DIO_GAT_PAT_OCCURRED_swigconstant(_comedi)
AMPLC_DIO_GAT_PAT_OCCURRED = _comedi.AMPLC_DIO_GAT_PAT_OCCURRED

_comedi.AMPLC_DIO_GAT_PAT_GONE_swigconstant(_comedi)
AMPLC_DIO_GAT_PAT_GONE = _comedi.AMPLC_DIO_GAT_PAT_GONE

_comedi.AMPLC_DIO_GAT_NPAT_PRESENT_swigconstant(_comedi)
AMPLC_DIO_GAT_NPAT_PRESENT = _comedi.AMPLC_DIO_GAT_NPAT_PRESENT

_comedi.AMPLC_DIO_GAT_NPAT_OCCURRED_swigconstant(_comedi)
AMPLC_DIO_GAT_NPAT_OCCURRED = _comedi.AMPLC_DIO_GAT_NPAT_OCCURRED

_comedi.AMPLC_DIO_GAT_NPAT_GONE_swigconstant(_comedi)
AMPLC_DIO_GAT_NPAT_GONE = _comedi.AMPLC_DIO_GAT_NPAT_GONE
class range(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, range, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, range, name)
    __repr__ = _swig_repr
    __swig_setmethods__["min"] = _comedi.range_min_set
    __swig_getmethods__["min"] = _comedi.range_min_get
    if _newclass:
        min = _swig_property(_comedi.range_min_get, _comedi.range_min_set)
    __swig_setmethods__["max"] = _comedi.range_max_set
    __swig_getmethods__["max"] = _comedi.range_max_get
    if _newclass:
        max = _swig_property(_comedi.range_max_get, _comedi.range_max_set)
    __swig_setmethods__["unit"] = _comedi.range_unit_set
    __swig_getmethods__["unit"] = _comedi.range_unit_get
    if _newclass:
        unit = _swig_property(_comedi.range_unit_get, _comedi.range_unit_set)

    def __init__(self):
        this = _comedi.new_range()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_range
    __del__ = lambda self: None
range_swigregister = _comedi.range_swigregister
range_swigregister(range)

class sv_struct(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, sv_struct, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, sv_struct, name)
    __repr__ = _swig_repr
    __swig_setmethods__["dev"] = _comedi.sv_struct_dev_set
    __swig_getmethods__["dev"] = _comedi.sv_struct_dev_get
    if _newclass:
        dev = _swig_property(_comedi.sv_struct_dev_get, _comedi.sv_struct_dev_set)
    __swig_setmethods__["subdevice"] = _comedi.sv_struct_subdevice_set
    __swig_getmethods__["subdevice"] = _comedi.sv_struct_subdevice_get
    if _newclass:
        subdevice = _swig_property(_comedi.sv_struct_subdevice_get, _comedi.sv_struct_subdevice_set)
    __swig_setmethods__["chan"] = _comedi.sv_struct_chan_set
    __swig_getmethods__["chan"] = _comedi.sv_struct_chan_get
    if _newclass:
        chan = _swig_property(_comedi.sv_struct_chan_get, _comedi.sv_struct_chan_set)
    __swig_setmethods__["range"] = _comedi.sv_struct_range_set
    __swig_getmethods__["range"] = _comedi.sv_struct_range_get
    if _newclass:
        range = _swig_property(_comedi.sv_struct_range_get, _comedi.sv_struct_range_set)
    __swig_setmethods__["aref"] = _comedi.sv_struct_aref_set
    __swig_getmethods__["aref"] = _comedi.sv_struct_aref_get
    if _newclass:
        aref = _swig_property(_comedi.sv_struct_aref_get, _comedi.sv_struct_aref_set)
    __swig_setmethods__["n"] = _comedi.sv_struct_n_set
    __swig_getmethods__["n"] = _comedi.sv_struct_n_get
    if _newclass:
        n = _swig_property(_comedi.sv_struct_n_get, _comedi.sv_struct_n_set)
    __swig_setmethods__["maxdata"] = _comedi.sv_struct_maxdata_set
    __swig_getmethods__["maxdata"] = _comedi.sv_struct_maxdata_get
    if _newclass:
        maxdata = _swig_property(_comedi.sv_struct_maxdata_get, _comedi.sv_struct_maxdata_set)

    def __init__(self):
        this = _comedi.new_sv_struct()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_sv_struct
    __del__ = lambda self: None
sv_struct_swigregister = _comedi.sv_struct_swigregister
sv_struct_swigregister(sv_struct)


_comedi.OOR_NUMBER_swigconstant(_comedi)
OOR_NUMBER = _comedi.OOR_NUMBER

_comedi.OOR_NAN_swigconstant(_comedi)
OOR_NAN = _comedi.OOR_NAN

def open(fn):
    return _comedi.open(fn)
open = _comedi.open

def close(it):
    return _comedi.close(it)
close = _comedi.close

def loglevel(loglevel):
    return _comedi.loglevel(loglevel)
loglevel = _comedi.loglevel

def perror(s):
    return _comedi.perror(s)
perror = _comedi.perror

def strerror(errnum):
    return _comedi.strerror(errnum)
strerror = _comedi.strerror

def errno():
    return _comedi.errno()
errno = _comedi.errno

def fileno(it):
    return _comedi.fileno(it)
fileno = _comedi.fileno

def set_global_oor_behavior(behavior):
    return _comedi.set_global_oor_behavior(behavior)
set_global_oor_behavior = _comedi.set_global_oor_behavior

def get_n_subdevices(it):
    return _comedi.get_n_subdevices(it)
get_n_subdevices = _comedi.get_n_subdevices

def get_version_code(it):
    return _comedi.get_version_code(it)
get_version_code = _comedi.get_version_code

def get_driver_name(it):
    return _comedi.get_driver_name(it)
get_driver_name = _comedi.get_driver_name

def get_board_name(it):
    return _comedi.get_board_name(it)
get_board_name = _comedi.get_board_name

def get_read_subdevice(dev):
    return _comedi.get_read_subdevice(dev)
get_read_subdevice = _comedi.get_read_subdevice

def get_write_subdevice(dev):
    return _comedi.get_write_subdevice(dev)
get_write_subdevice = _comedi.get_write_subdevice

def get_subdevice_type(it, subdevice):
    return _comedi.get_subdevice_type(it, subdevice)
get_subdevice_type = _comedi.get_subdevice_type

def find_subdevice_by_type(it, type, subd):
    return _comedi.find_subdevice_by_type(it, type, subd)
find_subdevice_by_type = _comedi.find_subdevice_by_type

def get_subdevice_flags(it, subdevice):
    return _comedi.get_subdevice_flags(it, subdevice)
get_subdevice_flags = _comedi.get_subdevice_flags

def get_n_channels(it, subdevice):
    return _comedi.get_n_channels(it, subdevice)
get_n_channels = _comedi.get_n_channels

def range_is_chan_specific(it, subdevice):
    return _comedi.range_is_chan_specific(it, subdevice)
range_is_chan_specific = _comedi.range_is_chan_specific

def maxdata_is_chan_specific(it, subdevice):
    return _comedi.maxdata_is_chan_specific(it, subdevice)
maxdata_is_chan_specific = _comedi.maxdata_is_chan_specific

def get_maxdata(it, subdevice, chan):
    return _comedi.get_maxdata(it, subdevice, chan)
get_maxdata = _comedi.get_maxdata

def get_n_ranges(it, subdevice, chan):
    return _comedi.get_n_ranges(it, subdevice, chan)
get_n_ranges = _comedi.get_n_ranges

def get_range(it, subdevice, chan, range):
    return _comedi.get_range(it, subdevice, chan, range)
get_range = _comedi.get_range

def find_range(it, subd, chan, unit, min, max):
    return _comedi.find_range(it, subd, chan, unit, min, max)
find_range = _comedi.find_range

def get_buffer_size(it, subdevice):
    return _comedi.get_buffer_size(it, subdevice)
get_buffer_size = _comedi.get_buffer_size

def get_max_buffer_size(it, subdevice):
    return _comedi.get_max_buffer_size(it, subdevice)
get_max_buffer_size = _comedi.get_max_buffer_size

def set_buffer_size(it, subdevice, len):
    return _comedi.set_buffer_size(it, subdevice, len)
set_buffer_size = _comedi.set_buffer_size

def do_insnlist(it, il):
    return _comedi.do_insnlist(it, il)
do_insnlist = _comedi.do_insnlist

def do_insn(it, insn):
    return _comedi.do_insn(it, insn)
do_insn = _comedi.do_insn

def lock(it, subdevice):
    return _comedi.lock(it, subdevice)
lock = _comedi.lock

def unlock(it, subdevice):
    return _comedi.unlock(it, subdevice)
unlock = _comedi.unlock

def to_phys(data, rng, maxdata):
    return _comedi.to_phys(data, rng, maxdata)
to_phys = _comedi.to_phys

def from_phys(data, rng, maxdata):
    return _comedi.from_phys(data, rng, maxdata)
from_phys = _comedi.from_phys

def sampl_to_phys(dest, dst_stride, src, src_stride, rng, maxdata, n):
    return _comedi.sampl_to_phys(dest, dst_stride, src, src_stride, rng, maxdata, n)
sampl_to_phys = _comedi.sampl_to_phys

def sampl_from_phys(dest, dst_stride, src, src_stride, rng, maxdata, n):
    return _comedi.sampl_from_phys(dest, dst_stride, src, src_stride, rng, maxdata, n)
sampl_from_phys = _comedi.sampl_from_phys

def data_read(it, subd, chan, range, aref):
    return _comedi.data_read(it, subd, chan, range, aref)
data_read = _comedi.data_read

def data_read_n(it, subd, chan, range, aref, n):
    return _comedi.data_read_n(it, subd, chan, range, aref, n)
data_read_n = _comedi.data_read_n

def data_read_hint(it, subd, chan, range, aref):
    return _comedi.data_read_hint(it, subd, chan, range, aref)
data_read_hint = _comedi.data_read_hint

def data_read_delayed(it, subd, chan, range, aref, nano_sec):
    return _comedi.data_read_delayed(it, subd, chan, range, aref, nano_sec)
data_read_delayed = _comedi.data_read_delayed

def data_write(it, subd, chan, range, aref, data):
    return _comedi.data_write(it, subd, chan, range, aref, data)
data_write = _comedi.data_write

def dio_config(it, subd, chan, dir):
    return _comedi.dio_config(it, subd, chan, dir)
dio_config = _comedi.dio_config

def dio_get_config(it, subd, chan):
    return _comedi.dio_get_config(it, subd, chan)
dio_get_config = _comedi.dio_get_config

def dio_read(it, subd, chan):
    return _comedi.dio_read(it, subd, chan)
dio_read = _comedi.dio_read

def dio_write(it, subd, chan, bit):
    return _comedi.dio_write(it, subd, chan, bit)
dio_write = _comedi.dio_write

def dio_bitfield2(it, subd, write_mask, INOUT, base_channel):
    return _comedi.dio_bitfield2(it, subd, write_mask, INOUT, base_channel)
dio_bitfield2 = _comedi.dio_bitfield2

def dio_bitfield(it, subd, write_mask, INOUT):
    return _comedi.dio_bitfield(it, subd, write_mask, INOUT)
dio_bitfield = _comedi.dio_bitfield

def sv_init(it, dev, subd, chan):
    return _comedi.sv_init(it, dev, subd, chan)
sv_init = _comedi.sv_init

def sv_update(it):
    return _comedi.sv_update(it)
sv_update = _comedi.sv_update

def sv_measure(it):
    return _comedi.sv_measure(it)
sv_measure = _comedi.sv_measure

def get_cmd_src_mask(dev, subdevice, INOUT):
    return _comedi.get_cmd_src_mask(dev, subdevice, INOUT)
get_cmd_src_mask = _comedi.get_cmd_src_mask

def get_cmd_generic_timed(dev, subdevice, INOUT, chanlist_len, scan_period_ns):
    return _comedi.get_cmd_generic_timed(dev, subdevice, INOUT, chanlist_len, scan_period_ns)
get_cmd_generic_timed = _comedi.get_cmd_generic_timed

def cancel(it, subdevice):
    return _comedi.cancel(it, subdevice)
cancel = _comedi.cancel

def command(it, cmd):
    return _comedi.command(it, cmd)
command = _comedi.command

def command_test(it, INOUT):
    return _comedi.command_test(it, INOUT)
command_test = _comedi.command_test

def poll(dev, subdevice):
    return _comedi.poll(dev, subdevice)
poll = _comedi.poll

def set_max_buffer_size(it, subdev, max_size):
    return _comedi.set_max_buffer_size(it, subdev, max_size)
set_max_buffer_size = _comedi.set_max_buffer_size

def get_buffer_contents(it, subdev):
    return _comedi.get_buffer_contents(it, subdev)
get_buffer_contents = _comedi.get_buffer_contents

def mark_buffer_read(it, subdev, bytes):
    return _comedi.mark_buffer_read(it, subdev, bytes)
mark_buffer_read = _comedi.mark_buffer_read

def mark_buffer_written(it, subdev, bytes):
    return _comedi.mark_buffer_written(it, subdev, bytes)
mark_buffer_written = _comedi.mark_buffer_written

def get_buffer_offset(it, subdev):
    return _comedi.get_buffer_offset(it, subdev)
get_buffer_offset = _comedi.get_buffer_offset
class caldac_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, caldac_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, caldac_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["subdevice"] = _comedi.caldac_t_subdevice_set
    __swig_getmethods__["subdevice"] = _comedi.caldac_t_subdevice_get
    if _newclass:
        subdevice = _swig_property(_comedi.caldac_t_subdevice_get, _comedi.caldac_t_subdevice_set)
    __swig_setmethods__["channel"] = _comedi.caldac_t_channel_set
    __swig_getmethods__["channel"] = _comedi.caldac_t_channel_get
    if _newclass:
        channel = _swig_property(_comedi.caldac_t_channel_get, _comedi.caldac_t_channel_set)
    __swig_setmethods__["value"] = _comedi.caldac_t_value_set
    __swig_getmethods__["value"] = _comedi.caldac_t_value_get
    if _newclass:
        value = _swig_property(_comedi.caldac_t_value_get, _comedi.caldac_t_value_set)

    def __init__(self):
        this = _comedi.new_caldac_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_caldac_t
    __del__ = lambda self: None
caldac_t_swigregister = _comedi.caldac_t_swigregister
caldac_t_swigregister(caldac_t)


_comedi.MAX_NUM_POLYNOMIAL_COEFFICIENTS_swigconstant(_comedi)
MAX_NUM_POLYNOMIAL_COEFFICIENTS = _comedi.MAX_NUM_POLYNOMIAL_COEFFICIENTS
class polynomial_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, polynomial_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, polynomial_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["coefficients"] = _comedi.polynomial_t_coefficients_set
    __swig_getmethods__["coefficients"] = _comedi.polynomial_t_coefficients_get
    if _newclass:
        coefficients = _swig_property(_comedi.polynomial_t_coefficients_get, _comedi.polynomial_t_coefficients_set)
    __swig_setmethods__["expansion_origin"] = _comedi.polynomial_t_expansion_origin_set
    __swig_getmethods__["expansion_origin"] = _comedi.polynomial_t_expansion_origin_get
    if _newclass:
        expansion_origin = _swig_property(_comedi.polynomial_t_expansion_origin_get, _comedi.polynomial_t_expansion_origin_set)
    __swig_setmethods__["order"] = _comedi.polynomial_t_order_set
    __swig_getmethods__["order"] = _comedi.polynomial_t_order_get
    if _newclass:
        order = _swig_property(_comedi.polynomial_t_order_get, _comedi.polynomial_t_order_set)

    def __init__(self):
        this = _comedi.new_polynomial_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_polynomial_t
    __del__ = lambda self: None
polynomial_t_swigregister = _comedi.polynomial_t_swigregister
polynomial_t_swigregister(polynomial_t)

class softcal_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, softcal_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, softcal_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["to_phys"] = _comedi.softcal_t_to_phys_set
    __swig_getmethods__["to_phys"] = _comedi.softcal_t_to_phys_get
    if _newclass:
        to_phys = _swig_property(_comedi.softcal_t_to_phys_get, _comedi.softcal_t_to_phys_set)
    __swig_setmethods__["from_phys"] = _comedi.softcal_t_from_phys_set
    __swig_getmethods__["from_phys"] = _comedi.softcal_t_from_phys_get
    if _newclass:
        from_phys = _swig_property(_comedi.softcal_t_from_phys_get, _comedi.softcal_t_from_phys_set)

    def __init__(self):
        this = _comedi.new_softcal_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_softcal_t
    __del__ = lambda self: None
softcal_t_swigregister = _comedi.softcal_t_swigregister
softcal_t_swigregister(softcal_t)


_comedi.CS_MAX_AREFS_LENGTH_swigconstant(_comedi)
CS_MAX_AREFS_LENGTH = _comedi.CS_MAX_AREFS_LENGTH
class calibration_setting_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, calibration_setting_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, calibration_setting_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["subdevice"] = _comedi.calibration_setting_t_subdevice_set
    __swig_getmethods__["subdevice"] = _comedi.calibration_setting_t_subdevice_get
    if _newclass:
        subdevice = _swig_property(_comedi.calibration_setting_t_subdevice_get, _comedi.calibration_setting_t_subdevice_set)
    __swig_setmethods__["channels"] = _comedi.calibration_setting_t_channels_set
    __swig_getmethods__["channels"] = _comedi.calibration_setting_t_channels_get
    if _newclass:
        channels = _swig_property(_comedi.calibration_setting_t_channels_get, _comedi.calibration_setting_t_channels_set)
    __swig_setmethods__["num_channels"] = _comedi.calibration_setting_t_num_channels_set
    __swig_getmethods__["num_channels"] = _comedi.calibration_setting_t_num_channels_get
    if _newclass:
        num_channels = _swig_property(_comedi.calibration_setting_t_num_channels_get, _comedi.calibration_setting_t_num_channels_set)
    __swig_setmethods__["ranges"] = _comedi.calibration_setting_t_ranges_set
    __swig_getmethods__["ranges"] = _comedi.calibration_setting_t_ranges_get
    if _newclass:
        ranges = _swig_property(_comedi.calibration_setting_t_ranges_get, _comedi.calibration_setting_t_ranges_set)
    __swig_setmethods__["num_ranges"] = _comedi.calibration_setting_t_num_ranges_set
    __swig_getmethods__["num_ranges"] = _comedi.calibration_setting_t_num_ranges_get
    if _newclass:
        num_ranges = _swig_property(_comedi.calibration_setting_t_num_ranges_get, _comedi.calibration_setting_t_num_ranges_set)
    __swig_setmethods__["arefs"] = _comedi.calibration_setting_t_arefs_set
    __swig_getmethods__["arefs"] = _comedi.calibration_setting_t_arefs_get
    if _newclass:
        arefs = _swig_property(_comedi.calibration_setting_t_arefs_get, _comedi.calibration_setting_t_arefs_set)
    __swig_setmethods__["num_arefs"] = _comedi.calibration_setting_t_num_arefs_set
    __swig_getmethods__["num_arefs"] = _comedi.calibration_setting_t_num_arefs_get
    if _newclass:
        num_arefs = _swig_property(_comedi.calibration_setting_t_num_arefs_get, _comedi.calibration_setting_t_num_arefs_set)
    __swig_setmethods__["caldacs"] = _comedi.calibration_setting_t_caldacs_set
    __swig_getmethods__["caldacs"] = _comedi.calibration_setting_t_caldacs_get
    if _newclass:
        caldacs = _swig_property(_comedi.calibration_setting_t_caldacs_get, _comedi.calibration_setting_t_caldacs_set)
    __swig_setmethods__["num_caldacs"] = _comedi.calibration_setting_t_num_caldacs_set
    __swig_getmethods__["num_caldacs"] = _comedi.calibration_setting_t_num_caldacs_get
    if _newclass:
        num_caldacs = _swig_property(_comedi.calibration_setting_t_num_caldacs_get, _comedi.calibration_setting_t_num_caldacs_set)
    __swig_setmethods__["soft_calibration"] = _comedi.calibration_setting_t_soft_calibration_set
    __swig_getmethods__["soft_calibration"] = _comedi.calibration_setting_t_soft_calibration_get
    if _newclass:
        soft_calibration = _swig_property(_comedi.calibration_setting_t_soft_calibration_get, _comedi.calibration_setting_t_soft_calibration_set)

    def __init__(self):
        this = _comedi.new_calibration_setting_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_calibration_setting_t
    __del__ = lambda self: None
calibration_setting_t_swigregister = _comedi.calibration_setting_t_swigregister
calibration_setting_t_swigregister(calibration_setting_t)

class calibration_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, calibration_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, calibration_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["driver_name"] = _comedi.calibration_t_driver_name_set
    __swig_getmethods__["driver_name"] = _comedi.calibration_t_driver_name_get
    if _newclass:
        driver_name = _swig_property(_comedi.calibration_t_driver_name_get, _comedi.calibration_t_driver_name_set)
    __swig_setmethods__["board_name"] = _comedi.calibration_t_board_name_set
    __swig_getmethods__["board_name"] = _comedi.calibration_t_board_name_get
    if _newclass:
        board_name = _swig_property(_comedi.calibration_t_board_name_get, _comedi.calibration_t_board_name_set)
    __swig_setmethods__["settings"] = _comedi.calibration_t_settings_set
    __swig_getmethods__["settings"] = _comedi.calibration_t_settings_get
    if _newclass:
        settings = _swig_property(_comedi.calibration_t_settings_get, _comedi.calibration_t_settings_set)
    __swig_setmethods__["num_settings"] = _comedi.calibration_t_num_settings_set
    __swig_getmethods__["num_settings"] = _comedi.calibration_t_num_settings_get
    if _newclass:
        num_settings = _swig_property(_comedi.calibration_t_num_settings_get, _comedi.calibration_t_num_settings_set)

    def __init__(self):
        this = _comedi.new_calibration_t()
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_calibration_t
    __del__ = lambda self: None
calibration_t_swigregister = _comedi.calibration_t_swigregister
calibration_t_swigregister(calibration_t)


def parse_calibration_file(cal_file_path):
    return _comedi.parse_calibration_file(cal_file_path)
parse_calibration_file = _comedi.parse_calibration_file

def apply_parsed_calibration(dev, subdev, channel, range, aref, calibration):
    return _comedi.apply_parsed_calibration(dev, subdev, channel, range, aref, calibration)
apply_parsed_calibration = _comedi.apply_parsed_calibration

def get_default_calibration_path(dev):
    return _comedi.get_default_calibration_path(dev)
get_default_calibration_path = _comedi.get_default_calibration_path

def cleanup_calibration(calibration):
    return _comedi.cleanup_calibration(calibration)
cleanup_calibration = _comedi.cleanup_calibration

def apply_calibration(dev, subdev, channel, range, aref, cal_file_path):
    return _comedi.apply_calibration(dev, subdev, channel, range, aref, cal_file_path)
apply_calibration = _comedi.apply_calibration

_comedi.TO_PHYSICAL_swigconstant(_comedi)
TO_PHYSICAL = _comedi.TO_PHYSICAL

_comedi.FROM_PHYSICAL_swigconstant(_comedi)
FROM_PHYSICAL = _comedi.FROM_PHYSICAL

def get_softcal_converter(subdevice, channel, range, direction, calibration, OUTPUT):
    return _comedi.get_softcal_converter(subdevice, channel, range, direction, calibration, OUTPUT)
get_softcal_converter = _comedi.get_softcal_converter

def get_hardcal_converter(dev, subdevice, channel, range, direction, OUTPUT):
    return _comedi.get_hardcal_converter(dev, subdevice, channel, range, direction, OUTPUT)
get_hardcal_converter = _comedi.get_hardcal_converter

def to_physical(data, conversion_polynomial):
    return _comedi.to_physical(data, conversion_polynomial)
to_physical = _comedi.to_physical

def from_physical(data, conversion_polynomial):
    return _comedi.from_physical(data, conversion_polynomial)
from_physical = _comedi.from_physical

def internal_trigger(dev, subd, trignum):
    return _comedi.internal_trigger(dev, subd, trignum)
internal_trigger = _comedi.internal_trigger

def arm(device, subdevice, source):
    return _comedi.arm(device, subdevice, source)
arm = _comedi.arm

def reset(device, subdevice):
    return _comedi.reset(device, subdevice)
reset = _comedi.reset

def get_clock_source(device, subdevice, channel):
    return _comedi.get_clock_source(device, subdevice, channel)
get_clock_source = _comedi.get_clock_source

def get_gate_source(device, subdevice, channel, gate):
    return _comedi.get_gate_source(device, subdevice, channel, gate)
get_gate_source = _comedi.get_gate_source

def get_routing(device, subdevice, channel):
    return _comedi.get_routing(device, subdevice, channel)
get_routing = _comedi.get_routing

def set_counter_mode(device, subdevice, channel, mode_bits):
    return _comedi.set_counter_mode(device, subdevice, channel, mode_bits)
set_counter_mode = _comedi.set_counter_mode

def set_clock_source(device, subdevice, channel, clock, period_ns):
    return _comedi.set_clock_source(device, subdevice, channel, clock, period_ns)
set_clock_source = _comedi.set_clock_source

def set_filter(device, subdevice, channel, filter):
    return _comedi.set_filter(device, subdevice, channel, filter)
set_filter = _comedi.set_filter

def set_gate_source(device, subdevice, channel, gate_index, gate_source):
    return _comedi.set_gate_source(device, subdevice, channel, gate_index, gate_source)
set_gate_source = _comedi.set_gate_source

def set_other_source(device, subdevice, channel, other, source):
    return _comedi.set_other_source(device, subdevice, channel, other, source)
set_other_source = _comedi.set_other_source

def set_routing(device, subdevice, channel, routing):
    return _comedi.set_routing(device, subdevice, channel, routing)
set_routing = _comedi.set_routing

def get_hardware_buffer_size(device, subdevice, direction):
    return _comedi.get_hardware_buffer_size(device, subdevice, direction)
get_hardware_buffer_size = _comedi.get_hardware_buffer_size
class chanlist(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, chanlist, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, chanlist, name)
    __repr__ = _swig_repr

    def __init__(self, nelements):
        this = _comedi.new_chanlist(nelements)
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_chanlist
    __del__ = lambda self: None

    def __getitem__(self, index):
        return _comedi.chanlist___getitem__(self, index)

    def __setitem__(self, index, value):
        return _comedi.chanlist___setitem__(self, index, value)

    def cast(self):
        return _comedi.chanlist_cast(self)
    __swig_getmethods__["frompointer"] = lambda x: _comedi.chanlist_frompointer
    if _newclass:
        frompointer = staticmethod(_comedi.chanlist_frompointer)
chanlist_swigregister = _comedi.chanlist_swigregister
chanlist_swigregister(chanlist)

def chanlist_frompointer(t):
    return _comedi.chanlist_frompointer(t)
chanlist_frompointer = _comedi.chanlist_frompointer

class sampl_array(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, sampl_array, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, sampl_array, name)
    __repr__ = _swig_repr

    def __init__(self, nelements):
        this = _comedi.new_sampl_array(nelements)
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_sampl_array
    __del__ = lambda self: None

    def __getitem__(self, index):
        return _comedi.sampl_array___getitem__(self, index)

    def __setitem__(self, index, value):
        return _comedi.sampl_array___setitem__(self, index, value)

    def cast(self):
        return _comedi.sampl_array_cast(self)
    __swig_getmethods__["frompointer"] = lambda x: _comedi.sampl_array_frompointer
    if _newclass:
        frompointer = staticmethod(_comedi.sampl_array_frompointer)
sampl_array_swigregister = _comedi.sampl_array_swigregister
sampl_array_swigregister(sampl_array)

def sampl_array_frompointer(t):
    return _comedi.sampl_array_frompointer(t)
sampl_array_frompointer = _comedi.sampl_array_frompointer

class lsampl_array(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, lsampl_array, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, lsampl_array, name)
    __repr__ = _swig_repr

    def __init__(self, nelements):
        this = _comedi.new_lsampl_array(nelements)
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_lsampl_array
    __del__ = lambda self: None

    def __getitem__(self, index):
        return _comedi.lsampl_array___getitem__(self, index)

    def __setitem__(self, index, value):
        return _comedi.lsampl_array___setitem__(self, index, value)

    def cast(self):
        return _comedi.lsampl_array_cast(self)
    __swig_getmethods__["frompointer"] = lambda x: _comedi.lsampl_array_frompointer
    if _newclass:
        frompointer = staticmethod(_comedi.lsampl_array_frompointer)
lsampl_array_swigregister = _comedi.lsampl_array_swigregister
lsampl_array_swigregister(lsampl_array)

def lsampl_array_frompointer(t):
    return _comedi.lsampl_array_frompointer(t)
lsampl_array_frompointer = _comedi.lsampl_array_frompointer

class insn_array(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, insn_array, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, insn_array, name)
    __repr__ = _swig_repr

    def __init__(self, nelements):
        this = _comedi.new_insn_array(nelements)
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _comedi.delete_insn_array
    __del__ = lambda self: None

    def __getitem__(self, index):
        return _comedi.insn_array___getitem__(self, index)

    def __setitem__(self, index, value):
        return _comedi.insn_array___setitem__(self, index, value)

    def cast(self):
        return _comedi.insn_array_cast(self)
    __swig_getmethods__["frompointer"] = lambda x: _comedi.insn_array_frompointer
    if _newclass:
        frompointer = staticmethod(_comedi.insn_array_frompointer)
insn_array_swigregister = _comedi.insn_array_swigregister
insn_array_swigregister(insn_array)

def insn_array_frompointer(t):
    return _comedi.insn_array_frompointer(t)
insn_array_frompointer = _comedi.insn_array_frompointer


# Trick to allow accessing functions and constants with their original C name
import sys

class __Wrapper(object):
    def __init__(self, wrapped):
        self.wrapped = wrapped

    def __getattr__(self, name):
        try:
            return getattr(self.wrapped, name)
        except AttributeError:
            if name.startswith("comedi_") or name.startswith("COMEDI_"):
                return getattr(self.wrapped, name[7:])
            else:
                raise

sys.modules[__name__] = __Wrapper(sys.modules[__name__])

# This file is compatible with both classic and new-style classes.