This file is indexed.

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

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
#!/usr/bin/python
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.12
#
# 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):
        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(self,class_type,name):
    if (name == "thisown"): return self.this.own()
    method = class_type.__swig_getmethods__.get(name,None)
    if method: return method(self)
    raise AttributeError(name)

def _swig_repr(self):
    try: strthis = "proxy of " + self.this.__repr__()
    except: 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(*args):
  return _comedi.cr_pack(*args)
cr_pack = _comedi.cr_pack

def cr_pack_flags(*args):
  return _comedi.cr_pack_flags(*args)
cr_pack_flags = _comedi.cr_pack_flags

def cr_chan(*args):
  return _comedi.cr_chan(*args)
cr_chan = _comedi.cr_chan

def cr_range(*args):
  return _comedi.cr_range(*args)
cr_range = _comedi.cr_range

def cr_aref(*args):
  return _comedi.cr_aref(*args)
cr_aref = _comedi.cr_aref
MAJOR = _comedi.MAJOR
NDEVICES = _comedi.NDEVICES
NDEVCONFOPTS = _comedi.NDEVCONFOPTS
DEVCONF_AUX_DATA3_LENGTH = _comedi.DEVCONF_AUX_DATA3_LENGTH
DEVCONF_AUX_DATA2_LENGTH = _comedi.DEVCONF_AUX_DATA2_LENGTH
DEVCONF_AUX_DATA1_LENGTH = _comedi.DEVCONF_AUX_DATA1_LENGTH
DEVCONF_AUX_DATA0_LENGTH = _comedi.DEVCONF_AUX_DATA0_LENGTH
DEVCONF_AUX_DATA_HI = _comedi.DEVCONF_AUX_DATA_HI
DEVCONF_AUX_DATA_LO = _comedi.DEVCONF_AUX_DATA_LO
DEVCONF_AUX_DATA_LENGTH = _comedi.DEVCONF_AUX_DATA_LENGTH
NAMELEN = _comedi.NAMELEN
CR_FLAGS_MASK = _comedi.CR_FLAGS_MASK
CR_ALT_FILTER = _comedi.CR_ALT_FILTER
CR_DITHER = _comedi.CR_DITHER
CR_DEGLITCH = _comedi.CR_DEGLITCH
CR_ALT_SOURCE = _comedi.CR_ALT_SOURCE
CR_EDGE = _comedi.CR_EDGE
CR_INVERT = _comedi.CR_INVERT
AREF_GROUND = _comedi.AREF_GROUND
AREF_COMMON = _comedi.AREF_COMMON
AREF_DIFF = _comedi.AREF_DIFF
AREF_OTHER = _comedi.AREF_OTHER
GPCT_RESET = _comedi.GPCT_RESET
GPCT_SET_SOURCE = _comedi.GPCT_SET_SOURCE
GPCT_SET_GATE = _comedi.GPCT_SET_GATE
GPCT_SET_DIRECTION = _comedi.GPCT_SET_DIRECTION
GPCT_SET_OPERATION = _comedi.GPCT_SET_OPERATION
GPCT_ARM = _comedi.GPCT_ARM
GPCT_DISARM = _comedi.GPCT_DISARM
GPCT_GET_INT_CLK_FRQ = _comedi.GPCT_GET_INT_CLK_FRQ
GPCT_INT_CLOCK = _comedi.GPCT_INT_CLOCK
GPCT_EXT_PIN = _comedi.GPCT_EXT_PIN
GPCT_NO_GATE = _comedi.GPCT_NO_GATE
GPCT_UP = _comedi.GPCT_UP
GPCT_DOWN = _comedi.GPCT_DOWN
GPCT_HWUD = _comedi.GPCT_HWUD
GPCT_SIMPLE_EVENT = _comedi.GPCT_SIMPLE_EVENT
GPCT_SINGLE_PERIOD = _comedi.GPCT_SINGLE_PERIOD
GPCT_SINGLE_PW = _comedi.GPCT_SINGLE_PW
GPCT_CONT_PULSE_OUT = _comedi.GPCT_CONT_PULSE_OUT
GPCT_SINGLE_PULSE_OUT = _comedi.GPCT_SINGLE_PULSE_OUT
INSN_MASK_WRITE = _comedi.INSN_MASK_WRITE
INSN_MASK_READ = _comedi.INSN_MASK_READ
INSN_MASK_SPECIAL = _comedi.INSN_MASK_SPECIAL
INSN_READ = _comedi.INSN_READ
INSN_WRITE = _comedi.INSN_WRITE
INSN_BITS = _comedi.INSN_BITS
INSN_CONFIG = _comedi.INSN_CONFIG
INSN_GTOD = _comedi.INSN_GTOD
INSN_WAIT = _comedi.INSN_WAIT
INSN_INTTRIG = _comedi.INSN_INTTRIG
TRIG_BOGUS = _comedi.TRIG_BOGUS
TRIG_DITHER = _comedi.TRIG_DITHER
TRIG_DEGLITCH = _comedi.TRIG_DEGLITCH
TRIG_CONFIG = _comedi.TRIG_CONFIG
TRIG_WAKE_EOS = _comedi.TRIG_WAKE_EOS
CMDF_PRIORITY = _comedi.CMDF_PRIORITY
TRIG_RT = _comedi.TRIG_RT
CMDF_WRITE = _comedi.CMDF_WRITE
TRIG_WRITE = _comedi.TRIG_WRITE
CMDF_RAWDATA = _comedi.CMDF_RAWDATA
EV_START = _comedi.EV_START
EV_SCAN_BEGIN = _comedi.EV_SCAN_BEGIN
EV_CONVERT = _comedi.EV_CONVERT
EV_SCAN_END = _comedi.EV_SCAN_END
EV_STOP = _comedi.EV_STOP
TRIG_ROUND_MASK = _comedi.TRIG_ROUND_MASK
TRIG_ROUND_NEAREST = _comedi.TRIG_ROUND_NEAREST
TRIG_ROUND_DOWN = _comedi.TRIG_ROUND_DOWN
TRIG_ROUND_UP = _comedi.TRIG_ROUND_UP
TRIG_ROUND_UP_NEXT = _comedi.TRIG_ROUND_UP_NEXT
TRIG_ANY = _comedi.TRIG_ANY
TRIG_INVALID = _comedi.TRIG_INVALID
TRIG_NONE = _comedi.TRIG_NONE
TRIG_NOW = _comedi.TRIG_NOW
TRIG_FOLLOW = _comedi.TRIG_FOLLOW
TRIG_TIME = _comedi.TRIG_TIME
TRIG_TIMER = _comedi.TRIG_TIMER
TRIG_COUNT = _comedi.TRIG_COUNT
TRIG_EXT = _comedi.TRIG_EXT
TRIG_INT = _comedi.TRIG_INT
TRIG_OTHER = _comedi.TRIG_OTHER
SDF_BUSY = _comedi.SDF_BUSY
SDF_BUSY_OWNER = _comedi.SDF_BUSY_OWNER
SDF_LOCKED = _comedi.SDF_LOCKED
SDF_LOCK_OWNER = _comedi.SDF_LOCK_OWNER
SDF_MAXDATA = _comedi.SDF_MAXDATA
SDF_FLAGS = _comedi.SDF_FLAGS
SDF_RANGETYPE = _comedi.SDF_RANGETYPE
SDF_MODE0 = _comedi.SDF_MODE0
SDF_MODE1 = _comedi.SDF_MODE1
SDF_MODE2 = _comedi.SDF_MODE2
SDF_MODE3 = _comedi.SDF_MODE3
SDF_MODE4 = _comedi.SDF_MODE4
SDF_CMD = _comedi.SDF_CMD
SDF_SOFT_CALIBRATED = _comedi.SDF_SOFT_CALIBRATED
SDF_CMD_WRITE = _comedi.SDF_CMD_WRITE
SDF_CMD_READ = _comedi.SDF_CMD_READ
SDF_READABLE = _comedi.SDF_READABLE
SDF_WRITABLE = _comedi.SDF_WRITABLE
SDF_WRITEABLE = _comedi.SDF_WRITEABLE
SDF_INTERNAL = _comedi.SDF_INTERNAL
SDF_RT = _comedi.SDF_RT
SDF_GROUND = _comedi.SDF_GROUND
SDF_COMMON = _comedi.SDF_COMMON
SDF_DIFF = _comedi.SDF_DIFF
SDF_OTHER = _comedi.SDF_OTHER
SDF_DITHER = _comedi.SDF_DITHER
SDF_DEGLITCH = _comedi.SDF_DEGLITCH
SDF_MMAP = _comedi.SDF_MMAP
SDF_RUNNING = _comedi.SDF_RUNNING
SDF_LSAMPL = _comedi.SDF_LSAMPL
SDF_PACKED = _comedi.SDF_PACKED
SDF_PWM_COUNTER = _comedi.SDF_PWM_COUNTER
SDF_PWM_HBRIDGE = _comedi.SDF_PWM_HBRIDGE
SUBD_UNUSED = _comedi.SUBD_UNUSED
SUBD_AI = _comedi.SUBD_AI
SUBD_AO = _comedi.SUBD_AO
SUBD_DI = _comedi.SUBD_DI
SUBD_DO = _comedi.SUBD_DO
SUBD_DIO = _comedi.SUBD_DIO
SUBD_COUNTER = _comedi.SUBD_COUNTER
SUBD_TIMER = _comedi.SUBD_TIMER
SUBD_MEMORY = _comedi.SUBD_MEMORY
SUBD_CALIB = _comedi.SUBD_CALIB
SUBD_PROC = _comedi.SUBD_PROC
SUBD_SERIAL = _comedi.SUBD_SERIAL
SUBD_PWM = _comedi.SUBD_PWM
INSN_CONFIG_DIO_INPUT = _comedi.INSN_CONFIG_DIO_INPUT
INSN_CONFIG_DIO_OUTPUT = _comedi.INSN_CONFIG_DIO_OUTPUT
INSN_CONFIG_DIO_OPENDRAIN = _comedi.INSN_CONFIG_DIO_OPENDRAIN
INSN_CONFIG_ANALOG_TRIG = _comedi.INSN_CONFIG_ANALOG_TRIG
INSN_CONFIG_ALT_SOURCE = _comedi.INSN_CONFIG_ALT_SOURCE
INSN_CONFIG_DIGITAL_TRIG = _comedi.INSN_CONFIG_DIGITAL_TRIG
INSN_CONFIG_BLOCK_SIZE = _comedi.INSN_CONFIG_BLOCK_SIZE
INSN_CONFIG_TIMER_1 = _comedi.INSN_CONFIG_TIMER_1
INSN_CONFIG_FILTER = _comedi.INSN_CONFIG_FILTER
INSN_CONFIG_CHANGE_NOTIFY = _comedi.INSN_CONFIG_CHANGE_NOTIFY
INSN_CONFIG_SERIAL_CLOCK = _comedi.INSN_CONFIG_SERIAL_CLOCK
INSN_CONFIG_BIDIRECTIONAL_DATA = _comedi.INSN_CONFIG_BIDIRECTIONAL_DATA
INSN_CONFIG_DIO_QUERY = _comedi.INSN_CONFIG_DIO_QUERY
INSN_CONFIG_PWM_OUTPUT = _comedi.INSN_CONFIG_PWM_OUTPUT
INSN_CONFIG_GET_PWM_OUTPUT = _comedi.INSN_CONFIG_GET_PWM_OUTPUT
INSN_CONFIG_ARM = _comedi.INSN_CONFIG_ARM
INSN_CONFIG_DISARM = _comedi.INSN_CONFIG_DISARM
INSN_CONFIG_GET_COUNTER_STATUS = _comedi.INSN_CONFIG_GET_COUNTER_STATUS
INSN_CONFIG_RESET = _comedi.INSN_CONFIG_RESET
INSN_CONFIG_GPCT_SINGLE_PULSE_GENERATOR = _comedi.INSN_CONFIG_GPCT_SINGLE_PULSE_GENERATOR
INSN_CONFIG_GPCT_PULSE_TRAIN_GENERATOR = _comedi.INSN_CONFIG_GPCT_PULSE_TRAIN_GENERATOR
INSN_CONFIG_GPCT_QUADRATURE_ENCODER = _comedi.INSN_CONFIG_GPCT_QUADRATURE_ENCODER
INSN_CONFIG_SET_GATE_SRC = _comedi.INSN_CONFIG_SET_GATE_SRC
INSN_CONFIG_GET_GATE_SRC = _comedi.INSN_CONFIG_GET_GATE_SRC
INSN_CONFIG_SET_CLOCK_SRC = _comedi.INSN_CONFIG_SET_CLOCK_SRC
INSN_CONFIG_GET_CLOCK_SRC = _comedi.INSN_CONFIG_GET_CLOCK_SRC
INSN_CONFIG_SET_OTHER_SRC = _comedi.INSN_CONFIG_SET_OTHER_SRC
INSN_CONFIG_GET_HARDWARE_BUFFER_SIZE = _comedi.INSN_CONFIG_GET_HARDWARE_BUFFER_SIZE
INSN_CONFIG_SET_COUNTER_MODE = _comedi.INSN_CONFIG_SET_COUNTER_MODE
INSN_CONFIG_8254_SET_MODE = _comedi.INSN_CONFIG_8254_SET_MODE
INSN_CONFIG_8254_READ_STATUS = _comedi.INSN_CONFIG_8254_READ_STATUS
INSN_CONFIG_SET_ROUTING = _comedi.INSN_CONFIG_SET_ROUTING
INSN_CONFIG_GET_ROUTING = _comedi.INSN_CONFIG_GET_ROUTING
INSN_CONFIG_PWM_SET_PERIOD = _comedi.INSN_CONFIG_PWM_SET_PERIOD
INSN_CONFIG_PWM_GET_PERIOD = _comedi.INSN_CONFIG_PWM_GET_PERIOD
INSN_CONFIG_GET_PWM_STATUS = _comedi.INSN_CONFIG_GET_PWM_STATUS
INSN_CONFIG_PWM_SET_H_BRIDGE = _comedi.INSN_CONFIG_PWM_SET_H_BRIDGE
INSN_CONFIG_PWM_GET_H_BRIDGE = _comedi.INSN_CONFIG_PWM_GET_H_BRIDGE
DIGITAL_TRIG_DISABLE = _comedi.DIGITAL_TRIG_DISABLE
DIGITAL_TRIG_ENABLE_EDGES = _comedi.DIGITAL_TRIG_ENABLE_EDGES
DIGITAL_TRIG_ENABLE_LEVELS = _comedi.DIGITAL_TRIG_ENABLE_LEVELS
INPUT = _comedi.INPUT
OUTPUT = _comedi.OUTPUT
OPENDRAIN = _comedi.OPENDRAIN
UNKNOWN_SUPPORT = _comedi.UNKNOWN_SUPPORT
SUPPORTED = _comedi.SUPPORTED
UNSUPPORTED = _comedi.UNSUPPORTED
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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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)

RF_EXTERNAL = _comedi.RF_EXTERNAL
UNIT_volt = _comedi.UNIT_volt
UNIT_mA = _comedi.UNIT_mA
UNIT_none = _comedi.UNIT_none
CB_EOS = _comedi.CB_EOS
CB_EOA = _comedi.CB_EOA
CB_BLOCK = _comedi.CB_BLOCK
CB_EOBUF = _comedi.CB_EOBUF
CB_ERROR = _comedi.CB_ERROR
CB_OVERFLOW = _comedi.CB_OVERFLOW
I8254_MODE0 = _comedi.I8254_MODE0
I8254_MODE1 = _comedi.I8254_MODE1
I8254_MODE2 = _comedi.I8254_MODE2
I8254_MODE3 = _comedi.I8254_MODE3
I8254_MODE4 = _comedi.I8254_MODE4
I8254_MODE5 = _comedi.I8254_MODE5
I8254_BCD = _comedi.I8254_BCD
I8254_BINARY = _comedi.I8254_BINARY

def NI_USUAL_PFI_SELECT(*args):
  return _comedi.NI_USUAL_PFI_SELECT(*args)
NI_USUAL_PFI_SELECT = _comedi.NI_USUAL_PFI_SELECT

def NI_USUAL_RTSI_SELECT(*args):
  return _comedi.NI_USUAL_RTSI_SELECT(*args)
NI_USUAL_RTSI_SELECT = _comedi.NI_USUAL_RTSI_SELECT
NI_GPCT_COUNTING_MODE_SHIFT = _comedi.NI_GPCT_COUNTING_MODE_SHIFT
NI_GPCT_INDEX_PHASE_BITSHIFT = _comedi.NI_GPCT_INDEX_PHASE_BITSHIFT
NI_GPCT_COUNTING_DIRECTION_SHIFT = _comedi.NI_GPCT_COUNTING_DIRECTION_SHIFT
NI_GPCT_GATE_ON_BOTH_EDGES_BIT = _comedi.NI_GPCT_GATE_ON_BOTH_EDGES_BIT
NI_GPCT_EDGE_GATE_MODE_MASK = _comedi.NI_GPCT_EDGE_GATE_MODE_MASK
NI_GPCT_EDGE_GATE_STARTS_STOPS_BITS = _comedi.NI_GPCT_EDGE_GATE_STARTS_STOPS_BITS
NI_GPCT_EDGE_GATE_STOPS_STARTS_BITS = _comedi.NI_GPCT_EDGE_GATE_STOPS_STARTS_BITS
NI_GPCT_EDGE_GATE_STARTS_BITS = _comedi.NI_GPCT_EDGE_GATE_STARTS_BITS
NI_GPCT_EDGE_GATE_NO_STARTS_NO_STOPS_BITS = _comedi.NI_GPCT_EDGE_GATE_NO_STARTS_NO_STOPS_BITS
NI_GPCT_STOP_MODE_MASK = _comedi.NI_GPCT_STOP_MODE_MASK
NI_GPCT_STOP_ON_GATE_BITS = _comedi.NI_GPCT_STOP_ON_GATE_BITS
NI_GPCT_STOP_ON_GATE_OR_TC_BITS = _comedi.NI_GPCT_STOP_ON_GATE_OR_TC_BITS
NI_GPCT_STOP_ON_GATE_OR_SECOND_TC_BITS = _comedi.NI_GPCT_STOP_ON_GATE_OR_SECOND_TC_BITS
NI_GPCT_LOAD_B_SELECT_BIT = _comedi.NI_GPCT_LOAD_B_SELECT_BIT
NI_GPCT_OUTPUT_MODE_MASK = _comedi.NI_GPCT_OUTPUT_MODE_MASK
NI_GPCT_OUTPUT_TC_PULSE_BITS = _comedi.NI_GPCT_OUTPUT_TC_PULSE_BITS
NI_GPCT_OUTPUT_TC_TOGGLE_BITS = _comedi.NI_GPCT_OUTPUT_TC_TOGGLE_BITS
NI_GPCT_OUTPUT_TC_OR_GATE_TOGGLE_BITS = _comedi.NI_GPCT_OUTPUT_TC_OR_GATE_TOGGLE_BITS
NI_GPCT_HARDWARE_DISARM_MASK = _comedi.NI_GPCT_HARDWARE_DISARM_MASK
NI_GPCT_NO_HARDWARE_DISARM_BITS = _comedi.NI_GPCT_NO_HARDWARE_DISARM_BITS
NI_GPCT_DISARM_AT_TC_BITS = _comedi.NI_GPCT_DISARM_AT_TC_BITS
NI_GPCT_DISARM_AT_GATE_BITS = _comedi.NI_GPCT_DISARM_AT_GATE_BITS
NI_GPCT_DISARM_AT_TC_OR_GATE_BITS = _comedi.NI_GPCT_DISARM_AT_TC_OR_GATE_BITS
NI_GPCT_LOADING_ON_TC_BIT = _comedi.NI_GPCT_LOADING_ON_TC_BIT
NI_GPCT_LOADING_ON_GATE_BIT = _comedi.NI_GPCT_LOADING_ON_GATE_BIT
NI_GPCT_COUNTING_MODE_MASK = _comedi.NI_GPCT_COUNTING_MODE_MASK
NI_GPCT_COUNTING_MODE_NORMAL_BITS = _comedi.NI_GPCT_COUNTING_MODE_NORMAL_BITS
NI_GPCT_COUNTING_MODE_QUADRATURE_X1_BITS = _comedi.NI_GPCT_COUNTING_MODE_QUADRATURE_X1_BITS
NI_GPCT_COUNTING_MODE_QUADRATURE_X2_BITS = _comedi.NI_GPCT_COUNTING_MODE_QUADRATURE_X2_BITS
NI_GPCT_COUNTING_MODE_QUADRATURE_X4_BITS = _comedi.NI_GPCT_COUNTING_MODE_QUADRATURE_X4_BITS
NI_GPCT_COUNTING_MODE_TWO_PULSE_BITS = _comedi.NI_GPCT_COUNTING_MODE_TWO_PULSE_BITS
NI_GPCT_COUNTING_MODE_SYNC_SOURCE_BITS = _comedi.NI_GPCT_COUNTING_MODE_SYNC_SOURCE_BITS
NI_GPCT_INDEX_PHASE_MASK = _comedi.NI_GPCT_INDEX_PHASE_MASK
NI_GPCT_INDEX_PHASE_LOW_A_LOW_B_BITS = _comedi.NI_GPCT_INDEX_PHASE_LOW_A_LOW_B_BITS
NI_GPCT_INDEX_PHASE_LOW_A_HIGH_B_BITS = _comedi.NI_GPCT_INDEX_PHASE_LOW_A_HIGH_B_BITS
NI_GPCT_INDEX_PHASE_HIGH_A_LOW_B_BITS = _comedi.NI_GPCT_INDEX_PHASE_HIGH_A_LOW_B_BITS
NI_GPCT_INDEX_PHASE_HIGH_A_HIGH_B_BITS = _comedi.NI_GPCT_INDEX_PHASE_HIGH_A_HIGH_B_BITS
NI_GPCT_INDEX_ENABLE_BIT = _comedi.NI_GPCT_INDEX_ENABLE_BIT
NI_GPCT_COUNTING_DIRECTION_MASK = _comedi.NI_GPCT_COUNTING_DIRECTION_MASK
NI_GPCT_COUNTING_DIRECTION_DOWN_BITS = _comedi.NI_GPCT_COUNTING_DIRECTION_DOWN_BITS
NI_GPCT_COUNTING_DIRECTION_UP_BITS = _comedi.NI_GPCT_COUNTING_DIRECTION_UP_BITS
NI_GPCT_COUNTING_DIRECTION_HW_UP_DOWN_BITS = _comedi.NI_GPCT_COUNTING_DIRECTION_HW_UP_DOWN_BITS
NI_GPCT_COUNTING_DIRECTION_HW_GATE_BITS = _comedi.NI_GPCT_COUNTING_DIRECTION_HW_GATE_BITS
NI_GPCT_RELOAD_SOURCE_MASK = _comedi.NI_GPCT_RELOAD_SOURCE_MASK
NI_GPCT_RELOAD_SOURCE_FIXED_BITS = _comedi.NI_GPCT_RELOAD_SOURCE_FIXED_BITS
NI_GPCT_RELOAD_SOURCE_SWITCHING_BITS = _comedi.NI_GPCT_RELOAD_SOURCE_SWITCHING_BITS
NI_GPCT_RELOAD_SOURCE_GATE_SELECT_BITS = _comedi.NI_GPCT_RELOAD_SOURCE_GATE_SELECT_BITS
NI_GPCT_OR_GATE_BIT = _comedi.NI_GPCT_OR_GATE_BIT
NI_GPCT_INVERT_OUTPUT_BIT = _comedi.NI_GPCT_INVERT_OUTPUT_BIT
NI_GPCT_CLOCK_SRC_SELECT_MASK = _comedi.NI_GPCT_CLOCK_SRC_SELECT_MASK
NI_GPCT_TIMEBASE_1_CLOCK_SRC_BITS = _comedi.NI_GPCT_TIMEBASE_1_CLOCK_SRC_BITS
NI_GPCT_TIMEBASE_2_CLOCK_SRC_BITS = _comedi.NI_GPCT_TIMEBASE_2_CLOCK_SRC_BITS
NI_GPCT_TIMEBASE_3_CLOCK_SRC_BITS = _comedi.NI_GPCT_TIMEBASE_3_CLOCK_SRC_BITS
NI_GPCT_LOGIC_LOW_CLOCK_SRC_BITS = _comedi.NI_GPCT_LOGIC_LOW_CLOCK_SRC_BITS
NI_GPCT_NEXT_GATE_CLOCK_SRC_BITS = _comedi.NI_GPCT_NEXT_GATE_CLOCK_SRC_BITS
NI_GPCT_NEXT_TC_CLOCK_SRC_BITS = _comedi.NI_GPCT_NEXT_TC_CLOCK_SRC_BITS
NI_GPCT_SOURCE_PIN_i_CLOCK_SRC_BITS = _comedi.NI_GPCT_SOURCE_PIN_i_CLOCK_SRC_BITS
NI_GPCT_PXI10_CLOCK_SRC_BITS = _comedi.NI_GPCT_PXI10_CLOCK_SRC_BITS
NI_GPCT_PXI_STAR_TRIGGER_CLOCK_SRC_BITS = _comedi.NI_GPCT_PXI_STAR_TRIGGER_CLOCK_SRC_BITS
NI_GPCT_ANALOG_TRIGGER_OUT_CLOCK_SRC_BITS = _comedi.NI_GPCT_ANALOG_TRIGGER_OUT_CLOCK_SRC_BITS
NI_GPCT_PRESCALE_MODE_CLOCK_SRC_MASK = _comedi.NI_GPCT_PRESCALE_MODE_CLOCK_SRC_MASK
NI_GPCT_NO_PRESCALE_CLOCK_SRC_BITS = _comedi.NI_GPCT_NO_PRESCALE_CLOCK_SRC_BITS
NI_GPCT_PRESCALE_X2_CLOCK_SRC_BITS = _comedi.NI_GPCT_PRESCALE_X2_CLOCK_SRC_BITS
NI_GPCT_PRESCALE_X8_CLOCK_SRC_BITS = _comedi.NI_GPCT_PRESCALE_X8_CLOCK_SRC_BITS
NI_GPCT_INVERT_CLOCK_SRC_BIT = _comedi.NI_GPCT_INVERT_CLOCK_SRC_BIT

def NI_GPCT_SOURCE_PIN_CLOCK_SRC_BITS(*args):
  return _comedi.NI_GPCT_SOURCE_PIN_CLOCK_SRC_BITS(*args)
NI_GPCT_SOURCE_PIN_CLOCK_SRC_BITS = _comedi.NI_GPCT_SOURCE_PIN_CLOCK_SRC_BITS

def NI_GPCT_RTSI_CLOCK_SRC_BITS(*args):
  return _comedi.NI_GPCT_RTSI_CLOCK_SRC_BITS(*args)
NI_GPCT_RTSI_CLOCK_SRC_BITS = _comedi.NI_GPCT_RTSI_CLOCK_SRC_BITS

def NI_GPCT_PFI_CLOCK_SRC_BITS(*args):
  return _comedi.NI_GPCT_PFI_CLOCK_SRC_BITS(*args)
NI_GPCT_PFI_CLOCK_SRC_BITS = _comedi.NI_GPCT_PFI_CLOCK_SRC_BITS
NI_GPCT_TIMESTAMP_MUX_GATE_SELECT = _comedi.NI_GPCT_TIMESTAMP_MUX_GATE_SELECT
NI_GPCT_AI_START2_GATE_SELECT = _comedi.NI_GPCT_AI_START2_GATE_SELECT
NI_GPCT_PXI_STAR_TRIGGER_GATE_SELECT = _comedi.NI_GPCT_PXI_STAR_TRIGGER_GATE_SELECT
NI_GPCT_NEXT_OUT_GATE_SELECT = _comedi.NI_GPCT_NEXT_OUT_GATE_SELECT
NI_GPCT_AI_START1_GATE_SELECT = _comedi.NI_GPCT_AI_START1_GATE_SELECT
NI_GPCT_NEXT_SOURCE_GATE_SELECT = _comedi.NI_GPCT_NEXT_SOURCE_GATE_SELECT
NI_GPCT_ANALOG_TRIGGER_OUT_GATE_SELECT = _comedi.NI_GPCT_ANALOG_TRIGGER_OUT_GATE_SELECT
NI_GPCT_LOGIC_LOW_GATE_SELECT = _comedi.NI_GPCT_LOGIC_LOW_GATE_SELECT
NI_GPCT_SOURCE_PIN_i_GATE_SELECT = _comedi.NI_GPCT_SOURCE_PIN_i_GATE_SELECT
NI_GPCT_GATE_PIN_i_GATE_SELECT = _comedi.NI_GPCT_GATE_PIN_i_GATE_SELECT
NI_GPCT_UP_DOWN_PIN_i_GATE_SELECT = _comedi.NI_GPCT_UP_DOWN_PIN_i_GATE_SELECT
NI_GPCT_SELECTED_GATE_GATE_SELECT = _comedi.NI_GPCT_SELECTED_GATE_GATE_SELECT
NI_GPCT_DISABLED_GATE_SELECT = _comedi.NI_GPCT_DISABLED_GATE_SELECT

def NI_GPCT_GATE_PIN_GATE_SELECT(*args):
  return _comedi.NI_GPCT_GATE_PIN_GATE_SELECT(*args)
NI_GPCT_GATE_PIN_GATE_SELECT = _comedi.NI_GPCT_GATE_PIN_GATE_SELECT

def NI_GPCT_RTSI_GATE_SELECT(*args):
  return _comedi.NI_GPCT_RTSI_GATE_SELECT(*args)
NI_GPCT_RTSI_GATE_SELECT = _comedi.NI_GPCT_RTSI_GATE_SELECT

def NI_GPCT_PFI_GATE_SELECT(*args):
  return _comedi.NI_GPCT_PFI_GATE_SELECT(*args)
NI_GPCT_PFI_GATE_SELECT = _comedi.NI_GPCT_PFI_GATE_SELECT

def NI_GPCT_UP_DOWN_PIN_GATE_SELECT(*args):
  return _comedi.NI_GPCT_UP_DOWN_PIN_GATE_SELECT(*args)
NI_GPCT_UP_DOWN_PIN_GATE_SELECT = _comedi.NI_GPCT_UP_DOWN_PIN_GATE_SELECT
NI_GPCT_SOURCE_ENCODER_A = _comedi.NI_GPCT_SOURCE_ENCODER_A
NI_GPCT_SOURCE_ENCODER_B = _comedi.NI_GPCT_SOURCE_ENCODER_B
NI_GPCT_SOURCE_ENCODER_Z = _comedi.NI_GPCT_SOURCE_ENCODER_Z
NI_GPCT_DISABLED_OTHER_SELECT = _comedi.NI_GPCT_DISABLED_OTHER_SELECT

def NI_GPCT_PFI_OTHER_SELECT(*args):
  return _comedi.NI_GPCT_PFI_OTHER_SELECT(*args)
NI_GPCT_PFI_OTHER_SELECT = _comedi.NI_GPCT_PFI_OTHER_SELECT
NI_GPCT_ARM_IMMEDIATE = _comedi.NI_GPCT_ARM_IMMEDIATE
NI_GPCT_ARM_PAIRED_IMMEDIATE = _comedi.NI_GPCT_ARM_PAIRED_IMMEDIATE
NI_GPCT_HW_ARM = _comedi.NI_GPCT_HW_ARM
NI_GPCT_ARM_UNKNOWN = _comedi.NI_GPCT_ARM_UNKNOWN
NI_GPCT_FILTER_OFF = _comedi.NI_GPCT_FILTER_OFF
NI_GPCT_FILTER_TIMEBASE_3_SYNC = _comedi.NI_GPCT_FILTER_TIMEBASE_3_SYNC
NI_GPCT_FILTER_100x_TIMEBASE_1 = _comedi.NI_GPCT_FILTER_100x_TIMEBASE_1
NI_GPCT_FILTER_20x_TIMEBASE_1 = _comedi.NI_GPCT_FILTER_20x_TIMEBASE_1
NI_GPCT_FILTER_10x_TIMEBASE_1 = _comedi.NI_GPCT_FILTER_10x_TIMEBASE_1
NI_GPCT_FILTER_2x_TIMEBASE_1 = _comedi.NI_GPCT_FILTER_2x_TIMEBASE_1
NI_GPCT_FILTER_2x_TIMEBASE_3 = _comedi.NI_GPCT_FILTER_2x_TIMEBASE_3
NI_PFI_FILTER_OFF = _comedi.NI_PFI_FILTER_OFF
NI_PFI_FILTER_125ns = _comedi.NI_PFI_FILTER_125ns
NI_PFI_FILTER_6425ns = _comedi.NI_PFI_FILTER_6425ns
NI_PFI_FILTER_2550us = _comedi.NI_PFI_FILTER_2550us
NI_MIO_INTERNAL_CLOCK = _comedi.NI_MIO_INTERNAL_CLOCK
NI_MIO_RTSI_CLOCK = _comedi.NI_MIO_RTSI_CLOCK
NI_MIO_PLL_PXI_STAR_TRIGGER_CLOCK = _comedi.NI_MIO_PLL_PXI_STAR_TRIGGER_CLOCK
NI_MIO_PLL_PXI10_CLOCK = _comedi.NI_MIO_PLL_PXI10_CLOCK
NI_MIO_PLL_RTSI0_CLOCK = _comedi.NI_MIO_PLL_RTSI0_CLOCK

def NI_MIO_PLL_RTSI_CLOCK(*args):
  return _comedi.NI_MIO_PLL_RTSI_CLOCK(*args)
NI_MIO_PLL_RTSI_CLOCK = _comedi.NI_MIO_PLL_RTSI_CLOCK
NI_RTSI_OUTPUT_ADR_START1 = _comedi.NI_RTSI_OUTPUT_ADR_START1
NI_RTSI_OUTPUT_ADR_START2 = _comedi.NI_RTSI_OUTPUT_ADR_START2
NI_RTSI_OUTPUT_SCLKG = _comedi.NI_RTSI_OUTPUT_SCLKG
NI_RTSI_OUTPUT_DACUPDN = _comedi.NI_RTSI_OUTPUT_DACUPDN
NI_RTSI_OUTPUT_DA_START1 = _comedi.NI_RTSI_OUTPUT_DA_START1
NI_RTSI_OUTPUT_G_SRC0 = _comedi.NI_RTSI_OUTPUT_G_SRC0
NI_RTSI_OUTPUT_G_GATE0 = _comedi.NI_RTSI_OUTPUT_G_GATE0
NI_RTSI_OUTPUT_RGOUT0 = _comedi.NI_RTSI_OUTPUT_RGOUT0
NI_RTSI_OUTPUT_RTSI_BRD_0 = _comedi.NI_RTSI_OUTPUT_RTSI_BRD_0
NI_RTSI_OUTPUT_RTSI_OSC = _comedi.NI_RTSI_OUTPUT_RTSI_OSC

def NI_RTSI_OUTPUT_RTSI_BRD(*args):
  return _comedi.NI_RTSI_OUTPUT_RTSI_BRD(*args)
NI_RTSI_OUTPUT_RTSI_BRD = _comedi.NI_RTSI_OUTPUT_RTSI_BRD
NI_PFI_OUTPUT_PFI_DEFAULT = _comedi.NI_PFI_OUTPUT_PFI_DEFAULT
NI_PFI_OUTPUT_AI_START1 = _comedi.NI_PFI_OUTPUT_AI_START1
NI_PFI_OUTPUT_AI_START2 = _comedi.NI_PFI_OUTPUT_AI_START2
NI_PFI_OUTPUT_AI_CONVERT = _comedi.NI_PFI_OUTPUT_AI_CONVERT
NI_PFI_OUTPUT_G_SRC1 = _comedi.NI_PFI_OUTPUT_G_SRC1
NI_PFI_OUTPUT_G_GATE1 = _comedi.NI_PFI_OUTPUT_G_GATE1
NI_PFI_OUTPUT_AO_UPDATE_N = _comedi.NI_PFI_OUTPUT_AO_UPDATE_N
NI_PFI_OUTPUT_AO_START1 = _comedi.NI_PFI_OUTPUT_AO_START1
NI_PFI_OUTPUT_AI_START_PULSE = _comedi.NI_PFI_OUTPUT_AI_START_PULSE
NI_PFI_OUTPUT_G_SRC0 = _comedi.NI_PFI_OUTPUT_G_SRC0
NI_PFI_OUTPUT_G_GATE0 = _comedi.NI_PFI_OUTPUT_G_GATE0
NI_PFI_OUTPUT_EXT_STROBE = _comedi.NI_PFI_OUTPUT_EXT_STROBE
NI_PFI_OUTPUT_AI_EXT_MUX_CLK = _comedi.NI_PFI_OUTPUT_AI_EXT_MUX_CLK
NI_PFI_OUTPUT_GOUT0 = _comedi.NI_PFI_OUTPUT_GOUT0
NI_PFI_OUTPUT_GOUT1 = _comedi.NI_PFI_OUTPUT_GOUT1
NI_PFI_OUTPUT_FREQ_OUT = _comedi.NI_PFI_OUTPUT_FREQ_OUT
NI_PFI_OUTPUT_PFI_DO = _comedi.NI_PFI_OUTPUT_PFI_DO
NI_PFI_OUTPUT_I_ATRIG = _comedi.NI_PFI_OUTPUT_I_ATRIG
NI_PFI_OUTPUT_RTSI0 = _comedi.NI_PFI_OUTPUT_RTSI0
NI_PFI_OUTPUT_PXI_STAR_TRIGGER_IN = _comedi.NI_PFI_OUTPUT_PXI_STAR_TRIGGER_IN
NI_PFI_OUTPUT_SCXI_TRIG1 = _comedi.NI_PFI_OUTPUT_SCXI_TRIG1
NI_PFI_OUTPUT_DIO_CHANGE_DETECT_RTSI = _comedi.NI_PFI_OUTPUT_DIO_CHANGE_DETECT_RTSI
NI_PFI_OUTPUT_CDI_SAMPLE = _comedi.NI_PFI_OUTPUT_CDI_SAMPLE
NI_PFI_OUTPUT_CDO_UPDATE = _comedi.NI_PFI_OUTPUT_CDO_UPDATE

def NI_PFI_OUTPUT_RTSI(*args):
  return _comedi.NI_PFI_OUTPUT_RTSI(*args)
NI_PFI_OUTPUT_RTSI = _comedi.NI_PFI_OUTPUT_RTSI
NI_660X_PFI_OUTPUT_COUNTER = _comedi.NI_660X_PFI_OUTPUT_COUNTER
NI_660X_PFI_OUTPUT_DIO = _comedi.NI_660X_PFI_OUTPUT_DIO

def NI_EXT_PFI(*args):
  return _comedi.NI_EXT_PFI(*args)
NI_EXT_PFI = _comedi.NI_EXT_PFI

def NI_EXT_RTSI(*args):
  return _comedi.NI_EXT_RTSI(*args)
NI_EXT_RTSI = _comedi.NI_EXT_RTSI
COUNTER_ARMED = _comedi.COUNTER_ARMED
COUNTER_COUNTING = _comedi.COUNTER_COUNTING
COUNTER_TERMINAL_COUNT = _comedi.COUNTER_TERMINAL_COUNT
NI_CDIO_SCAN_BEGIN_SRC_GROUND = _comedi.NI_CDIO_SCAN_BEGIN_SRC_GROUND
NI_CDIO_SCAN_BEGIN_SRC_AI_START = _comedi.NI_CDIO_SCAN_BEGIN_SRC_AI_START
NI_CDIO_SCAN_BEGIN_SRC_AI_CONVERT = _comedi.NI_CDIO_SCAN_BEGIN_SRC_AI_CONVERT
NI_CDIO_SCAN_BEGIN_SRC_PXI_STAR_TRIGGER = _comedi.NI_CDIO_SCAN_BEGIN_SRC_PXI_STAR_TRIGGER
NI_CDIO_SCAN_BEGIN_SRC_G0_OUT = _comedi.NI_CDIO_SCAN_BEGIN_SRC_G0_OUT
NI_CDIO_SCAN_BEGIN_SRC_G1_OUT = _comedi.NI_CDIO_SCAN_BEGIN_SRC_G1_OUT
NI_CDIO_SCAN_BEGIN_SRC_ANALOG_TRIGGER = _comedi.NI_CDIO_SCAN_BEGIN_SRC_ANALOG_TRIGGER
NI_CDIO_SCAN_BEGIN_SRC_AO_UPDATE = _comedi.NI_CDIO_SCAN_BEGIN_SRC_AO_UPDATE
NI_CDIO_SCAN_BEGIN_SRC_FREQ_OUT = _comedi.NI_CDIO_SCAN_BEGIN_SRC_FREQ_OUT
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(*args):
  return _comedi.NI_CDIO_SCAN_BEGIN_SRC_PFI(*args)
NI_CDIO_SCAN_BEGIN_SRC_PFI = _comedi.NI_CDIO_SCAN_BEGIN_SRC_PFI

def NI_CDIO_SCAN_BEGIN_SRC_RTSI(*args):
  return _comedi.NI_CDIO_SCAN_BEGIN_SRC_RTSI(*args)
NI_CDIO_SCAN_BEGIN_SRC_RTSI = _comedi.NI_CDIO_SCAN_BEGIN_SRC_RTSI

def NI_AO_SCAN_BEGIN_SRC_PFI(*args):
  return _comedi.NI_AO_SCAN_BEGIN_SRC_PFI(*args)
NI_AO_SCAN_BEGIN_SRC_PFI = _comedi.NI_AO_SCAN_BEGIN_SRC_PFI

def NI_AO_SCAN_BEGIN_SRC_RTSI(*args):
  return _comedi.NI_AO_SCAN_BEGIN_SRC_RTSI(*args)
NI_AO_SCAN_BEGIN_SRC_RTSI = _comedi.NI_AO_SCAN_BEGIN_SRC_RTSI
NI_FREQ_OUT_TIMEBASE_1_DIV_2_CLOCK_SRC = _comedi.NI_FREQ_OUT_TIMEBASE_1_DIV_2_CLOCK_SRC
NI_FREQ_OUT_TIMEBASE_2_CLOCK_SRC = _comedi.NI_FREQ_OUT_TIMEBASE_2_CLOCK_SRC
AMPLC_DIO_CLK_CLKN = _comedi.AMPLC_DIO_CLK_CLKN
AMPLC_DIO_CLK_10MHZ = _comedi.AMPLC_DIO_CLK_10MHZ
AMPLC_DIO_CLK_1MHZ = _comedi.AMPLC_DIO_CLK_1MHZ
AMPLC_DIO_CLK_100KHZ = _comedi.AMPLC_DIO_CLK_100KHZ
AMPLC_DIO_CLK_10KHZ = _comedi.AMPLC_DIO_CLK_10KHZ
AMPLC_DIO_CLK_1KHZ = _comedi.AMPLC_DIO_CLK_1KHZ
AMPLC_DIO_CLK_OUTNM1 = _comedi.AMPLC_DIO_CLK_OUTNM1
AMPLC_DIO_CLK_EXT = _comedi.AMPLC_DIO_CLK_EXT
AMPLC_DIO_CLK_VCC = _comedi.AMPLC_DIO_CLK_VCC
AMPLC_DIO_CLK_GND = _comedi.AMPLC_DIO_CLK_GND
AMPLC_DIO_CLK_PAT_PRESENT = _comedi.AMPLC_DIO_CLK_PAT_PRESENT
AMPLC_DIO_CLK_20MHZ = _comedi.AMPLC_DIO_CLK_20MHZ
AMPLC_DIO_TS_CLK_1GHZ = _comedi.AMPLC_DIO_TS_CLK_1GHZ
AMPLC_DIO_TS_CLK_1MHZ = _comedi.AMPLC_DIO_TS_CLK_1MHZ
AMPLC_DIO_TS_CLK_1KHZ = _comedi.AMPLC_DIO_TS_CLK_1KHZ
AMPLC_DIO_GAT_VCC = _comedi.AMPLC_DIO_GAT_VCC
AMPLC_DIO_GAT_GND = _comedi.AMPLC_DIO_GAT_GND
AMPLC_DIO_GAT_GATN = _comedi.AMPLC_DIO_GAT_GATN
AMPLC_DIO_GAT_NOUTNM2 = _comedi.AMPLC_DIO_GAT_NOUTNM2
AMPLC_DIO_GAT_RESERVED4 = _comedi.AMPLC_DIO_GAT_RESERVED4
AMPLC_DIO_GAT_RESERVED5 = _comedi.AMPLC_DIO_GAT_RESERVED5
AMPLC_DIO_GAT_RESERVED6 = _comedi.AMPLC_DIO_GAT_RESERVED6
AMPLC_DIO_GAT_RESERVED7 = _comedi.AMPLC_DIO_GAT_RESERVED7
AMPLC_DIO_GAT_NGATN = _comedi.AMPLC_DIO_GAT_NGATN
AMPLC_DIO_GAT_OUTNM2 = _comedi.AMPLC_DIO_GAT_OUTNM2
AMPLC_DIO_GAT_PAT_PRESENT = _comedi.AMPLC_DIO_GAT_PAT_PRESENT
AMPLC_DIO_GAT_PAT_OCCURRED = _comedi.AMPLC_DIO_GAT_PAT_OCCURRED
AMPLC_DIO_GAT_PAT_GONE = _comedi.AMPLC_DIO_GAT_PAT_GONE
AMPLC_DIO_GAT_NPAT_PRESENT = _comedi.AMPLC_DIO_GAT_NPAT_PRESENT
AMPLC_DIO_GAT_NPAT_OCCURRED = _comedi.AMPLC_DIO_GAT_NPAT_OCCURRED
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: 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: 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)

OOR_NUMBER = _comedi.OOR_NUMBER
OOR_NAN = _comedi.OOR_NAN

def open(*args):
  return _comedi.open(*args)
open = _comedi.open

def close(*args):
  return _comedi.close(*args)
close = _comedi.close

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

def perror(*args):
  return _comedi.perror(*args)
perror = _comedi.perror

def strerror(*args):
  return _comedi.strerror(*args)
strerror = _comedi.strerror

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

def fileno(*args):
  return _comedi.fileno(*args)
fileno = _comedi.fileno

def set_global_oor_behavior(*args):
  return _comedi.set_global_oor_behavior(*args)
set_global_oor_behavior = _comedi.set_global_oor_behavior

def get_n_subdevices(*args):
  return _comedi.get_n_subdevices(*args)
get_n_subdevices = _comedi.get_n_subdevices

def get_version_code(*args):
  return _comedi.get_version_code(*args)
get_version_code = _comedi.get_version_code

def get_driver_name(*args):
  return _comedi.get_driver_name(*args)
get_driver_name = _comedi.get_driver_name

def get_board_name(*args):
  return _comedi.get_board_name(*args)
get_board_name = _comedi.get_board_name

def get_read_subdevice(*args):
  return _comedi.get_read_subdevice(*args)
get_read_subdevice = _comedi.get_read_subdevice

def get_write_subdevice(*args):
  return _comedi.get_write_subdevice(*args)
get_write_subdevice = _comedi.get_write_subdevice

def get_subdevice_type(*args):
  return _comedi.get_subdevice_type(*args)
get_subdevice_type = _comedi.get_subdevice_type

def find_subdevice_by_type(*args):
  return _comedi.find_subdevice_by_type(*args)
find_subdevice_by_type = _comedi.find_subdevice_by_type

def get_subdevice_flags(*args):
  return _comedi.get_subdevice_flags(*args)
get_subdevice_flags = _comedi.get_subdevice_flags

def get_n_channels(*args):
  return _comedi.get_n_channels(*args)
get_n_channels = _comedi.get_n_channels

def range_is_chan_specific(*args):
  return _comedi.range_is_chan_specific(*args)
range_is_chan_specific = _comedi.range_is_chan_specific

def maxdata_is_chan_specific(*args):
  return _comedi.maxdata_is_chan_specific(*args)
maxdata_is_chan_specific = _comedi.maxdata_is_chan_specific

def get_maxdata(*args):
  return _comedi.get_maxdata(*args)
get_maxdata = _comedi.get_maxdata

def get_n_ranges(*args):
  return _comedi.get_n_ranges(*args)
get_n_ranges = _comedi.get_n_ranges

def get_range(*args):
  return _comedi.get_range(*args)
get_range = _comedi.get_range

def find_range(*args):
  return _comedi.find_range(*args)
find_range = _comedi.find_range

def get_buffer_size(*args):
  return _comedi.get_buffer_size(*args)
get_buffer_size = _comedi.get_buffer_size

def get_max_buffer_size(*args):
  return _comedi.get_max_buffer_size(*args)
get_max_buffer_size = _comedi.get_max_buffer_size

def set_buffer_size(*args):
  return _comedi.set_buffer_size(*args)
set_buffer_size = _comedi.set_buffer_size

def do_insnlist(*args):
  return _comedi.do_insnlist(*args)
do_insnlist = _comedi.do_insnlist

def do_insn(*args):
  return _comedi.do_insn(*args)
do_insn = _comedi.do_insn

def lock(*args):
  return _comedi.lock(*args)
lock = _comedi.lock

def unlock(*args):
  return _comedi.unlock(*args)
unlock = _comedi.unlock

def to_phys(*args):
  return _comedi.to_phys(*args)
to_phys = _comedi.to_phys

def from_phys(*args):
  return _comedi.from_phys(*args)
from_phys = _comedi.from_phys

def sampl_to_phys(*args):
  return _comedi.sampl_to_phys(*args)
sampl_to_phys = _comedi.sampl_to_phys

def sampl_from_phys(*args):
  return _comedi.sampl_from_phys(*args)
sampl_from_phys = _comedi.sampl_from_phys

def data_read(*args):
  return _comedi.data_read(*args)
data_read = _comedi.data_read

def data_read_n(*args):
  return _comedi.data_read_n(*args)
data_read_n = _comedi.data_read_n

def data_read_hint(*args):
  return _comedi.data_read_hint(*args)
data_read_hint = _comedi.data_read_hint

def data_read_delayed(*args):
  return _comedi.data_read_delayed(*args)
data_read_delayed = _comedi.data_read_delayed

def data_write(*args):
  return _comedi.data_write(*args)
data_write = _comedi.data_write

def dio_config(*args):
  return _comedi.dio_config(*args)
dio_config = _comedi.dio_config

def dio_get_config(*args):
  return _comedi.dio_get_config(*args)
dio_get_config = _comedi.dio_get_config

def dio_read(*args):
  return _comedi.dio_read(*args)
dio_read = _comedi.dio_read

def dio_write(*args):
  return _comedi.dio_write(*args)
dio_write = _comedi.dio_write

def dio_bitfield2(*args):
  return _comedi.dio_bitfield2(*args)
dio_bitfield2 = _comedi.dio_bitfield2

def dio_bitfield(*args):
  return _comedi.dio_bitfield(*args)
dio_bitfield = _comedi.dio_bitfield

def sv_init(*args):
  return _comedi.sv_init(*args)
sv_init = _comedi.sv_init

def sv_update(*args):
  return _comedi.sv_update(*args)
sv_update = _comedi.sv_update

def sv_measure(*args):
  return _comedi.sv_measure(*args)
sv_measure = _comedi.sv_measure

def get_cmd_src_mask(*args):
  return _comedi.get_cmd_src_mask(*args)
get_cmd_src_mask = _comedi.get_cmd_src_mask

def get_cmd_generic_timed(*args):
  return _comedi.get_cmd_generic_timed(*args)
get_cmd_generic_timed = _comedi.get_cmd_generic_timed

def cancel(*args):
  return _comedi.cancel(*args)
cancel = _comedi.cancel

def command(*args):
  return _comedi.command(*args)
command = _comedi.command

def command_test(*args):
  return _comedi.command_test(*args)
command_test = _comedi.command_test

def poll(*args):
  return _comedi.poll(*args)
poll = _comedi.poll

def set_max_buffer_size(*args):
  return _comedi.set_max_buffer_size(*args)
set_max_buffer_size = _comedi.set_max_buffer_size

def get_buffer_contents(*args):
  return _comedi.get_buffer_contents(*args)
get_buffer_contents = _comedi.get_buffer_contents

def mark_buffer_read(*args):
  return _comedi.mark_buffer_read(*args)
mark_buffer_read = _comedi.mark_buffer_read

def mark_buffer_written(*args):
  return _comedi.mark_buffer_written(*args)
mark_buffer_written = _comedi.mark_buffer_written

def get_buffer_offset(*args):
  return _comedi.get_buffer_offset(*args)
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: 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)

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: 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: 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)

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: 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: 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(*args):
  return _comedi.parse_calibration_file(*args)
parse_calibration_file = _comedi.parse_calibration_file

def apply_parsed_calibration(*args):
  return _comedi.apply_parsed_calibration(*args)
apply_parsed_calibration = _comedi.apply_parsed_calibration

def get_default_calibration_path(*args):
  return _comedi.get_default_calibration_path(*args)
get_default_calibration_path = _comedi.get_default_calibration_path

def cleanup_calibration(*args):
  return _comedi.cleanup_calibration(*args)
cleanup_calibration = _comedi.cleanup_calibration

def apply_calibration(*args):
  return _comedi.apply_calibration(*args)
apply_calibration = _comedi.apply_calibration
TO_PHYSICAL = _comedi.TO_PHYSICAL
FROM_PHYSICAL = _comedi.FROM_PHYSICAL

def get_softcal_converter(*args):
  return _comedi.get_softcal_converter(*args)
get_softcal_converter = _comedi.get_softcal_converter

def get_hardcal_converter(*args):
  return _comedi.get_hardcal_converter(*args)
get_hardcal_converter = _comedi.get_hardcal_converter

def to_physical(*args):
  return _comedi.to_physical(*args)
to_physical = _comedi.to_physical

def from_physical(*args):
  return _comedi.from_physical(*args)
from_physical = _comedi.from_physical

def internal_trigger(*args):
  return _comedi.internal_trigger(*args)
internal_trigger = _comedi.internal_trigger

def arm(*args):
  return _comedi.arm(*args)
arm = _comedi.arm

def reset(*args):
  return _comedi.reset(*args)
reset = _comedi.reset

def get_clock_source(*args):
  return _comedi.get_clock_source(*args)
get_clock_source = _comedi.get_clock_source

def get_gate_source(*args):
  return _comedi.get_gate_source(*args)
get_gate_source = _comedi.get_gate_source

def get_routing(*args):
  return _comedi.get_routing(*args)
get_routing = _comedi.get_routing

def set_counter_mode(*args):
  return _comedi.set_counter_mode(*args)
set_counter_mode = _comedi.set_counter_mode

def set_clock_source(*args):
  return _comedi.set_clock_source(*args)
set_clock_source = _comedi.set_clock_source

def set_filter(*args):
  return _comedi.set_filter(*args)
set_filter = _comedi.set_filter

def set_gate_source(*args):
  return _comedi.set_gate_source(*args)
set_gate_source = _comedi.set_gate_source

def set_other_source(*args):
  return _comedi.set_other_source(*args)
set_other_source = _comedi.set_other_source

def set_routing(*args):
  return _comedi.set_routing(*args)
set_routing = _comedi.set_routing

def get_hardware_buffer_size(*args):
  return _comedi.get_hardware_buffer_size(*args)
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, *args): 
        this = _comedi.new_chanlist(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _comedi.delete_chanlist
    __del__ = lambda self : None;
    def __getitem__(self, *args): return _comedi.chanlist___getitem__(self, *args)
    def __setitem__(self, *args): return _comedi.chanlist___setitem__(self, *args)
    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(*args):
  return _comedi.chanlist_frompointer(*args)
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, *args): 
        this = _comedi.new_sampl_array(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _comedi.delete_sampl_array
    __del__ = lambda self : None;
    def __getitem__(self, *args): return _comedi.sampl_array___getitem__(self, *args)
    def __setitem__(self, *args): return _comedi.sampl_array___setitem__(self, *args)
    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(*args):
  return _comedi.sampl_array_frompointer(*args)
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, *args): 
        this = _comedi.new_lsampl_array(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _comedi.delete_lsampl_array
    __del__ = lambda self : None;
    def __getitem__(self, *args): return _comedi.lsampl_array___getitem__(self, *args)
    def __setitem__(self, *args): return _comedi.lsampl_array___setitem__(self, *args)
    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(*args):
  return _comedi.lsampl_array_frompointer(*args)
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, *args): 
        this = _comedi.new_insn_array(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _comedi.delete_insn_array
    __del__ = lambda self : None;
    def __getitem__(self, *args): return _comedi.insn_array___getitem__(self, *args)
    def __setitem__(self, *args): return _comedi.insn_array___setitem__(self, *args)
    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(*args):
  return _comedi.insn_array_frompointer(*args)
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.