16 #if !defined (NT_DRIVER) && !defined (WIN95_DRIVER) 23 #define CURRENTREVNUM 6.3 28 #define DEADDIGITALDEV 2 29 #define DEADCOUNTERDEV 3 32 #define NOTDIGITALCONF 6 33 #define NOTCOUNTERCONF 7 38 #define BADCOUNTERDEVNUM 12 39 #define BADDADEVNUM 13 40 #define BADSAMPLEMODE 14 44 #define BADCNTRCONFIG 18 47 #define ALREADYACTIVE 22 48 #define PAGEOVERRUN 23 52 #define ADSTATUSHUNG 27 57 #define BADFILENAME 32 61 #define TOOMANYGAINS 36 62 #define RATEWARNING 37 64 #define DTCONNECTERR 39 65 #define FORECONTINUOUS 40 66 #define BADBOARDTYPE 41 67 #define WRONGDIGCONFIG 42 68 #define NOTCONFIGURABLE 43 69 #define BADPORTCONFIG 44 70 #define BADFIRSTPOINT 45 74 #define BADTRIGTYPE 49 75 #define BADTRIGVALUE 50 77 #define BADPRETRIGCOUNT 53 81 #define BADTIMEOFDAY 58 82 #define BADGATEINTERVAL 59 83 #define BADGATECNTRL 60 84 #define BADCOUNTEREDGE 61 85 #define BADSPCLGATE 62 87 #define BADRECYCLEFLAG 64 89 #define BADDIRECTION 66 90 #define BADOUTCONTROL 67 91 #define BADBITNUMBER 68 92 #define NONEENABLED 69 93 #define BADCTRCONTROL 70 95 #define WRONGADRANGE 72 97 #define BADTEMPSCALE 74 100 #define CONTINUOUSCOUNT 77 102 #define BADMEMMODE 79 103 #define FREQOVERRUN 80 105 #define BADCHIPNUM 82 106 #define DIGNOTENABLED 83 107 #define CONVERT16BITS 84 108 #define NOMEMBOARD 85 110 #define NOTMEMCONF 87 113 #define NOT8536CTR 90 114 #define FREERUNNING 91 115 #define INTERRUPTED 92 116 #define NOSELECTORS 93 117 #define NOBURSTMODE 94 118 #define NOTWINDOWSFUNC 95 119 #define NOTSIMULCONF 96 120 #define EVENODDMISMATCH 97 121 #define M1RATEWARNING 98 123 #define NOTDOSFUNC 100 124 #define RANGEMISMATCH 101 125 #define CLOCKTOOSLOW 102 126 #define BADCALFACTORS 103 127 #define BADCONFIGTYPE 104 128 #define BADCONFIGITEM 105 129 #define NOPCMCIABOARD 106 130 #define NOBACKGROUND 107 131 #define STRINGTOOSHORT 108 132 #define CONVERTEXTMEM 109 134 #define DAS16JRRATEWARNING 111 135 #define DAS08TOOLOWRATE 112 136 #define AMBIGSENSORONGP 114 137 #define NOSENSORTYPEONGP 115 138 #define NOCONVERSIONNEEDED 116 139 #define NOEXTCONTINUOUS 117 140 #define INVALIDPRETRIGCONVERT 118 141 #define BADCTRREG 119 142 #define BADTRIGTHRESHOLD 120 143 #define BADPCMSLOTREF 121 144 #define AMBIGPCMSLOTREF 122 145 #define BADSENSORTYPE 123 146 #define DELBOARDNOTEXIST 124 147 #define NOBOARDNAMEFILE 125 148 #define CFGFILENOTFOUND 126 149 #define NOVDDINSTALLED 127 150 #define NOWINDOWSMEMORY 128 151 #define OUTOFDOSMEMORY 129 152 #define OBSOLETEOPTION 130 153 #define NOPCMREGKEY 131 154 #define NOCBUL32SYS 132 155 #define NODMAMEMORY 133 156 #define IRQNOTAVAILABLE 134 157 #define NOT7266CTR 135 158 #define BADQUADRATURE 136 159 #define BADCOUNTMODE 137 160 #define BADENCODING 138 161 #define BADINDEXMODE 139 162 #define BADINVERTINDEX 140 163 #define BADFLAGPINS 141 164 #define NOCTRSTATUS 142 165 #define NOGATEALLOWED 143 166 #define NOINDEXALLOWED 144 167 #define OPENCONNECTION 145 168 #define BMCONTINUOUSCOUNT 146 169 #define BADCALLBACKFUNC 147 170 #define MBUSINUSE 148 171 #define MBUSNOCTLR 149 172 #define BADEVENTTYPE 150 173 #define ALREADYENABLED 151 174 #define BADEVENTSIZE 152 175 #define CANTINSTALLEVENT 153 176 #define BADBUFFERSIZE 154 177 #define BADAIMODE 155 178 #define BADSIGNAL 156 179 #define BADCONNECTION 157 181 #define NOCONNECTION 159 182 #define BADBURSTIOCOUNT 160 185 #define INVALIDACCESS 163 186 #define UNAVAILABLE 164 188 #define BITUSEDFORALARM 169 189 #define PORTUSEDFORALARM 170 190 #define PACEROVERRUN 171 191 #define BADCHANTYPE 172 192 #define BADTRIGSENSE 173 193 #define BADTRIGCHAN 174 194 #define BADTRIGLEVEL 175 195 #define NOPRETRIGMODE 176 196 #define BADDEBOUNCETIME 177 197 #define BADDEBOUNCETRIGMODE 178 198 #define BADMAPPEDCOUNTER 179 199 #define BADCOUNTERMODE 180 200 #define BADTCCHANMODE 181 201 #define BADFREQUENCY 182 202 #define BADEVENTPARAM 183 204 #define DEADNETIFC 185 205 #define NOREMOTEACK 186 206 #define INPUTTIMEOUT 187 207 #define MISMATCHSETPOINTCOUNT 188 208 #define INVALIDSETPOINTLEVEL 189 209 #define INVALIDSETPOINTOUTPUTTYPE 190 210 #define INVALIDSETPOINTOUTPUTVALUE 191 211 #define INVALIDSETPOINTLIMITS 192 212 #define STRINGTOOLONG 193 213 #define INVALIDLOGIN 194 214 #define SESSIONINUSE 195 215 #define NOEXTPOWER 196 216 #define BADDUTYCYCLE 197 217 #define BADINITIALDELAY 199 218 #define NOTEDSSENSOR 1000 219 #define INVALIDTEDSSENSOR 1001 220 #define CALIBRATIONFAILED 1002 221 #define BITUSEDFORTERMINALCOUNTSTATUS 1003 222 #define PORTUSEDFORTERMINALCOUNTSTATUS 1004 223 #define BADEXCITATION 1005 224 #define BADBRIDGETYPE 1006 225 #define BADLOADVAL 1007 226 #define BADTICKSIZE 1008 227 #define BADTRIGEVENT 1015 234 #define CTRFUNCTION 5 235 #define DAQIFUNCTION 6 236 #define DAQOFUNCTION 7 239 #define COARSE_GAIN 0x01 240 #define COARSE_OFFSET 0x02 241 #define FINE_GAIN 0x04 242 #define FINE_OFFSET 0x08 243 #define GAIN COARSE_GAIN 244 #define OFFSET COARSE_OFFSET 270 #define INTERNALERR 200 271 #define CANT_LOCK_DMA_BUF 201 272 #define DMA_IN_USE 202 273 #define BAD_MEM_HANDLE 203 274 #define NO_ENHANCED_MODE 204 275 #define MEMBOARDPROGERROR 211 278 #define INTERNAL32_ERR 300 279 #define NO_MEMORY_FOR_BUFFER 301 280 #define WIN95_CANNOT_SETUP_ISR_DATA 302 281 #define WIN31_CANNOT_SETUP_ISR_DATA 303 282 #define CFG_FILE_READ_FAILURE 304 283 #define CFG_FILE_WRITE_FAILURE 305 284 #define CREATE_BOARD_FAILURE 306 285 #define DEVELOPMENT_OPTION 307 286 #define CFGFILE_CANT_OPEN 308 287 #define CFGFILE_BAD_ID 309 288 #define CFGFILE_BAD_REV 310 289 #define CFGFILE_NOINSERT 311 290 #define CFGFILE_NOREPLACE 312 291 #define BIT_NOT_ZERO 313 292 #define BIT_NOT_ONE 314 293 #define BAD_CTRL_REG 315 294 #define BAD_OUTP_REG 316 295 #define BAD_RDBK_REG 317 296 #define NO_CTRL_REG 318 297 #define NO_OUTP_REG 319 298 #define NO_RDBK_REG 320 299 #define CTRL_REG_FAIL 321 300 #define OUTP_REG_FAIL 322 301 #define RDBK_REG_FAIL 323 302 #define FUNCTION_NOT_IMPLEMENTED 324 303 #define BAD_RTD_CONVERSION 325 304 #define NO_PCI_BIOS 326 305 #define BAD_PCI_INDEX 327 306 #define NO_PCI_BOARD 328 307 #define PCI_ASSIGN_FAILED 329 308 #define PCI_NO_ADDRESS 330 309 #define PCI_NO_IRQ 331 310 #define CANT_INIT_ISR_INFO 332 311 #define CANT_PASS_USER_BUFFER 333 312 #define CANT_INSTALL_INT 334 313 #define CANT_UNINSTALL_INT 335 314 #define CANT_START_DMA 336 315 #define CANT_GET_STATUS 337 316 #define CANT_GET_PRINT_PORT 338 317 #define CANT_MAP_PCM_CIS 339 318 #define CANT_GET_PCM_CFG 340 319 #define CANT_GET_PCM_CCSR 341 320 #define CANT_GET_PCI_INFO 342 321 #define NO_USB_BOARD 343 322 #define NOMOREFILES 344 323 #define BADFILENUMBER 345 324 #define INVALIDSTRUCTSIZE 346 325 #define LOSSOFDATA 347 326 #define INVALIDBINARYFILE 348 327 #define INVALIDDELIMITER 349 330 #define DOS_ERR_OFFSET 500 333 #define DOSBADFUNC 501 334 #define DOSFILENOTFOUND 502 335 #define DOSPATHNOTFOUND 503 336 #define DOSNOHANDLES 504 337 #define DOSACCESSDENIED 505 338 #define DOSINVALIDHANDLE 506 339 #define DOSNOMEMORY 507 340 #define DOSBADDRIVE 515 341 #define DOSTOOMANYFILES 518 342 #define DOSWRITEPROTECT 519 343 #define DOSDRIVENOTREADY 521 344 #define DOSSEEKERROR 525 345 #define DOSWRITEFAULT 529 346 #define DOSREADFAULT 530 347 #define DOSGENERALFAULT 531 350 #define WIN_CANNOT_ENABLE_INT 603 351 #define WIN_CANNOT_DISABLE_INT 605 352 #define WIN_CANT_PAGE_LOCK_BUFFER 606 353 #define NO_PCM_CARD 630 356 #define ERRSTRLEN 256 359 #define BOARDNAMELEN 25 367 #define FOREGROUND 0x0000 368 #define BACKGROUND 0x0001 370 #define SINGLEEXEC 0x0000 371 #define CONTINUOUS 0x0002 374 #define EXTCLOCK 0x0004 376 #define NOCONVERTDATA 0x0000 377 #define CONVERTDATA 0x0008 379 #define NODTCONNECT 0x0000 380 #define DTCONNECT 0x0010 381 #define SCALEDATA 0x0010 383 #define DEFAULTIO 0x0000 384 #define SINGLEIO 0x0020 386 #define BLOCKIO 0x0060 387 #define BURSTIO 0x10000 388 #define RETRIGMODE 0x20000 389 #define NONSTREAMEDIO 0x040000 390 #define ADCCLOCKTRIG 0x080000 391 #define ADCCLOCK 0x100000 392 #define HIGHRESRATE 0x200000 393 #define SHUNTCAL 0x400000 395 #define BYTEXFER 0x0000 396 #define WORDXFER 0x0100 398 #define INDIVIDUAL 0x0000 399 #define SIMULTANEOUS 0x0200 401 #define FILTER 0x0000 402 #define NOFILTER 0x0400 404 #define NORMMEMORY 0x0000 405 #define EXTMEMORY 0x0800 407 #define BURSTMODE 0x1000 409 #define NOTODINTS 0x2000 411 #define EXTTRIGGER 0x4000 413 #define NOCALIBRATEDATA 0x8000 414 #define CALIBRATEDATA 0x0000 416 #define CTR16BIT 0x0000 417 #define CTR32BIT 0x0100 418 #define CTR48BIT 0x0200 419 #define CTR64BIT 0x0400 420 #define NOCLEAR 0x0800 426 #define UPDATEIMMEDIATE 0 427 #define UPDATEONCOMMAND 1 436 #define PRINTWARNINGS 1 446 #define ANALOG 0 // Analog channel 447 #define DIGITAL8 1 // 8-bit digital port 448 #define DIGITAL16 2 // 16-bit digital port 449 #define CTR16 3 // 16-bit counter 450 #define CTR32LOW 4 // Lower 16-bits of 32-bit counter 451 #define CTR32HIGH 5 // Upper 16-bits of 32-bit counter 452 #define CJC 6 // CJC channel 453 #define TC 7 // Thermocouple channel 454 #define ANALOG_SE 8 // Analog channel, singel-ended mode 455 #define ANALOG_DIFF 9 // Analog channel, Differential mode 456 #define SETPOINTSTATUS 10 // Setpoint status channel 457 #define CTRBANK0 11 // Bank 0 of counter 458 #define CTRBANK1 12 // Bank 1 of counter 459 #define CTRBANK2 13 // Bank 2 of counter 460 #define CTRBANK3 14 // Bank 3 of counter 461 #define PADZERO 15 // Dummy channel. Fills the corresponding data elements with zero 464 #define SETPOINT_ENABLE 0x100 // Enable setpoint detection 467 #define SF_EQUAL_LIMITA 0x00 // Channel = LimitA value 468 #define SF_LESSTHAN_LIMITA 0x01 // Channel < LimitA value 469 #define SF_INSIDE_LIMITS 0x02 // Channel Inside LimitA and LimitB (LimitA < Channel < LimitB) 470 #define SF_GREATERTHAN_LIMITB 0x03 // Channel > LimitB 471 #define SF_OUTSIDE_LIMITS 0x04 // Channel Outside LimitA and LimitB (LimitA < Channel or Channel > LimitB) 472 #define SF_HYSTERESIS 0x05 // Use As Hysteresis 473 #define SF_UPDATEON_TRUEONLY 0x00 // Latch output condition (output = output1 for duration of acquisition) 474 #define SF_UPDATEON_TRUEANDFALSE 0x08 // Do not latch output condition (output = output1 when criteria met else output = output2) 477 #define SO_NONE 0 // No Output 478 #define SO_DIGITALPORT 1 // Output to digital Port 479 #define SO_FIRSTPORTC 1 // Output to first PortC 480 #define SO_DAC0 2 // Output to DAC0 481 #define SO_DAC1 3 // Output to DAC1 482 #define SO_DAC2 4 // Output to DAC2 483 #define SO_DAC3 5 // Output to DAC3 484 #define SO_TMR0 6 // Output to TMR0 485 #define SO_TMR1 7 // Output to TMR1 488 #define TRIG_IMMEDIATE 0 489 #define TRIG_EXTTTL 1 490 #define TRIG_ANALOG_HW 2 491 #define TRIG_ANALOG_SW 3 492 #define TRIG_DIGPATTERN 4 493 #define TRIG_COUNTER 5 494 #define TRIG_SCANCOUNT 6 497 #define RISING_EDGE 0 498 #define FALLING_EDGE 1 499 #define ABOVE_LEVEL 2 500 #define BELOW_LEVEL 3 507 #define START_EVENT 0 511 #define SETTLE_DEFAULT 0 514 #define SETTLE_10us 3 537 #define DEFAULTOPTION 0x0000 542 #define FIRSTPORTA 10 543 #define FIRSTPORTB 11 544 #define FIRSTPORTCL 12 545 #define FIRSTPORTC 12 546 #define FIRSTPORTCH 13 547 #define SECONDPORTA 14 548 #define SECONDPORTB 15 549 #define SECONDPORTCL 16 550 #define SECONDPORTCH 17 551 #define THIRDPORTA 18 552 #define THIRDPORTB 19 553 #define THIRDPORTCL 20 554 #define THIRDPORTCH 21 555 #define FOURTHPORTA 22 556 #define FOURTHPORTB 23 557 #define FOURTHPORTCL 24 558 #define FOURTHPORTCH 25 559 #define FIFTHPORTA 26 560 #define FIFTHPORTB 27 561 #define FIFTHPORTCL 28 562 #define FIFTHPORTCH 29 563 #define SIXTHPORTA 30 564 #define SIXTHPORTB 31 565 #define SIXTHPORTCL 32 566 #define SIXTHPORTCH 33 567 #define SEVENTHPORTA 34 568 #define SEVENTHPORTB 35 569 #define SEVENTHPORTCL 36 570 #define SEVENTHPORTCH 37 571 #define EIGHTHPORTA 38 572 #define EIGHTHPORTB 39 573 #define EIGHTHPORTCL 40 574 #define EIGHTHPORTCH 41 583 #define BIP60VOLTS 20 584 #define BIP30VOLTS 23 585 #define BIP20VOLTS 15 586 #define BIP15VOLTS 21 590 #define BIP2PT5VOLTS 2 592 #define BIP1PT25VOLTS 3 594 #define BIPPT625VOLTS 5 595 #define BIPPT5VOLTS 6 596 #define BIPPT25VOLTS 12 597 #define BIPPT2VOLTS 13 598 #define BIPPT1VOLTS 7 599 #define BIPPT05VOLTS 8 600 #define BIPPT01VOLTS 9 601 #define BIPPT005VOLTS 10 602 #define BIP1PT67VOLTS 11 603 #define BIPPT312VOLTS 17 604 #define BIPPT156VOLTS 18 605 #define BIPPT125VOLTS 22 606 #define BIPPT078VOLTS 19 609 #define UNI10VOLTS 100 610 #define UNI5VOLTS 101 611 #define UNI4VOLTS 114 612 #define UNI2PT5VOLTS 102 613 #define UNI2VOLTS 103 614 #define UNI1PT67VOLTS 109 615 #define UNI1PT25VOLTS 104 616 #define UNI1VOLTS 105 617 #define UNIPT5VOLTS 110 618 #define UNIPT25VOLTS 111 619 #define UNIPT2VOLTS 112 620 #define UNIPT1VOLTS 106 621 #define UNIPT05VOLTS 113 622 #define UNIPT02VOLTS 108 623 #define UNIPT01VOLTS 107 628 #define MAPT5TO2PT5 203 630 #define BIPPT025AMPS 205 635 #define BIPPT025VOLTSPERVOLT 400 648 #define HW_START_TRIG 0 650 #define SW_START_TRIG 2 653 #define HIGHONLASTCOUNT 0 655 #define RATEGENERATOR 2 657 #define SOFTWARESTROBE 4 658 #define HARDWARESTROBE 5 662 #define LOADANDHOLDREG 1 673 #define POSITIVEEDGE 0 674 #define NEGATIVEEDGE 1 678 #define HIGHPULSEONTC 1 680 #define DISCONNECTED 4 681 #define LOWPULSEONTC 5 682 #define HIGHUNTILTC 6 701 #define CTRINPUT6 101 702 #define CTRINPUT7 102 703 #define CTRINPUT8 103 704 #define CTRINPUT9 104 705 #define CTRINPUT10 105 716 #define CTRINPUT11 201 717 #define CTRINPUT12 202 718 #define CTRINPUT13 203 719 #define CTRINPUT14 204 720 #define CTRINPUT15 205 731 #define CTRINPUT16 301 732 #define CTRINPUT17 302 733 #define CTRINPUT18 303 734 #define CTRINPUT19 304 735 #define CTRINPUT20 305 780 #define HOLDREG10 110 781 #define HOLDREG11 111 782 #define HOLDREG12 112 783 #define HOLDREG13 113 784 #define HOLDREG14 114 785 #define HOLDREG15 115 786 #define HOLDREG16 116 787 #define HOLDREG17 117 788 #define HOLDREG18 118 789 #define HOLDREG19 119 790 #define HOLDREG20 120 792 #define ALARM1CHIP1 201 793 #define ALARM2CHIP1 202 794 #define ALARM1CHIP2 301 795 #define ALARM2CHIP2 302 796 #define ALARM1CHIP3 401 797 #define ALARM2CHIP3 402 798 #define ALARM1CHIP4 501 799 #define ALARM2CHIP4 502 813 #define PRESCALER1 801 814 #define PRESCALER2 802 815 #define PRESCALER3 803 816 #define PRESCALER4 804 818 #define MINLIMITREG0 900 819 #define MINLIMITREG1 901 820 #define MINLIMITREG2 902 821 #define MINLIMITREG3 903 822 #define MINLIMITREG4 904 823 #define MINLIMITREG5 905 824 #define MINLIMITREG6 906 825 #define MINLIMITREG7 907 827 #define MAXLIMITREG0 1000 828 #define MAXLIMITREG1 1001 829 #define MAXLIMITREG2 1002 830 #define MAXLIMITREG3 1003 831 #define MAXLIMITREG4 1004 832 #define MAXLIMITREG5 1005 833 #define MAXLIMITREG6 1006 834 #define MAXLIMITREG7 1007 836 #define OUTPUTVAL0REG0 1100 837 #define OUTPUTVAL0REG1 1101 838 #define OUTPUTVAL0REG2 1102 839 #define OUTPUTVAL0REG3 1103 840 #define OUTPUTVAL0REG4 1104 841 #define OUTPUTVAL0REG5 1105 842 #define OUTPUTVAL0REG6 1106 843 #define OUTPUTVAL0REG7 1107 845 #define OUTPUTVAL1REG0 1200 846 #define OUTPUTVAL1REG1 1201 847 #define OUTPUTVAL1REG2 1202 848 #define OUTPUTVAL1REG3 1203 849 #define OUTPUTVAL1REG4 1204 850 #define OUTPUTVAL1REG5 1205 851 #define OUTPUTVAL1REG6 1206 852 #define OUTPUTVAL1REG7 1207 856 #define AHLTCPREVCTR 1 857 #define AHLNEXTGATE 2 858 #define AHLPREVGATE 3 871 #define NORMAL_MODE 0 872 #define RANGE_LIMIT 1 877 #define BCD_ENCODING 1 878 #define BINARY_ENCODING 2 881 #define INDEX_DISABLED 0 883 #define LOAD_OUT_LATCH 2 887 #define CARRY_BORROW 1 888 #define COMPARE_BORROW 2 889 #define CARRYBORROW_UPDOWN 3 890 #define INDEX_ERROR 4 893 #define C_UNDERFLOW 0x0001 894 #define C_OVERFLOW 0x0002 895 #define C_COMPARE 0x0004 896 #define C_SIGN 0x0008 897 #define C_ERROR 0x0010 898 #define C_UP_DOWN 0x0020 899 #define C_INDEX 0x0040 902 #define TOTALIZE 0x0000 903 #define CLEAR_ON_READ 0x0001 904 #define ROLLOVER 0x0000 905 #define STOP_AT_MAX 0x0002 906 #define DECREMENT_OFF 0x0000 907 #define DECREMENT_ON 0x0020 908 #define BIT_16 0x0000 909 #define BIT_32 0x0004 910 #define BIT_48 0x10000 911 #define GATING_OFF 0x0000 912 #define GATING_ON 0x0010 913 #define LATCH_ON_SOS 0x0000 914 #define LATCH_ON_MAP 0x0008 915 #define UPDOWN_OFF 0x0000 916 #define UPDOWN_ON 0x1000 917 #define RANGE_LIMIT_OFF 0x0000 918 #define RANGE_LIMIT_ON 0x2000 919 #define NO_RECYCLE_OFF 0x0000 920 #define NO_RECYCLE_ON 0x4000 921 #define MODULO_N_OFF 0x0000 922 #define MODULO_N_ON 0x8000 923 #define COUNT_DOWN_OFF 0x00000 924 #define COUNT_DOWN_ON 0x10000 925 #define INVERT_GATE 0x20000 926 #define GATE_CONTROLS_DIR 0x40000 927 #define GATE_CLEARS_CTR 0x80000 928 #define GATE_TRIG_SRC 0x100000 929 #define OUTPUT_ON 0x200000 930 #define OUTPUT_INITIAL_STATE_LOW 0x000000 931 #define OUTPUT_INITIAL_STATE_HIGH 0x400000 933 #define PERIOD 0x0200 934 #define PERIOD_MODE_X1 0x0000 935 #define PERIOD_MODE_X10 0x0001 936 #define PERIOD_MODE_X100 0x0002 937 #define PERIOD_MODE_X1000 0x0003 938 #define PERIOD_MODE_BIT_16 0x0000 939 #define PERIOD_MODE_BIT_32 0x0004 940 #define PERIOD_MODE_BIT_48 0x10000 941 #define PERIOD_MODE_GATING_ON 0x0010 942 #define PERIOD_MODE_INVERT_GATE 0x20000 944 #define PULSEWIDTH 0x0300 945 #define PULSEWIDTH_MODE_BIT_16 0x0000 946 #define PULSEWIDTH_MODE_BIT_32 0x0004 947 #define PULSEWIDTH_MODE_BIT_48 0x10000 948 #define PULSEWIDTH_MODE_GATING_ON 0x0010 949 #define PULSEWIDTH_MODE_INVERT_GATE 0x20000 951 #define TIMING 0x0400 952 #define TIMING_MODE_BIT_16 0x0000 953 #define TIMING_MODE_BIT_32 0x0004 954 #define TIMING_MODE_BIT_48 0x10000 955 #define TIMING_MODE_INVERT_GATE 0x20000 957 #define ENCODER 0x0500 958 #define ENCODER_MODE_X1 0x0000 959 #define ENCODER_MODE_X2 0x0001 960 #define ENCODER_MODE_X4 0x0002 961 #define ENCODER_MODE_BIT_16 0x0000 962 #define ENCODER_MODE_BIT_32 0x0004 963 #define ENCODER_MODE_BIT_48 0x10000 964 #define ENCODER_MODE_LATCH_ON_Z 0x0008 965 #define ENCODER_MODE_CLEAR_ON_Z_OFF 0x0000 966 #define ENCODER_MODE_CLEAR_ON_Z_ON 0x0020 967 #define ENCODER_MODE_RANGE_LIMIT_OFF 0x0000 968 #define ENCODER_MODE_RANGE_LIMIT_ON 0x2000 969 #define ENCODER_MODE_NO_RECYCLE_OFF 0x0000 970 #define ENCODER_MODE_NO_RECYCLE_ON 0x4000 971 #define ENCODER_MODE_MODULO_N_OFF 0x0000 972 #define ENCODER_MODE_MODULO_N_ON 0x8000 975 #define LATCH_ON_Z 0x0008 976 #define CLEAR_ON_Z_OFF 0x0000 977 #define CLEAR_ON_Z_ON 0x0020 981 #define CTR_DEBOUNCE500ns 0 982 #define CTR_DEBOUNCE1500ns 1 983 #define CTR_DEBOUNCE3500ns 2 984 #define CTR_DEBOUNCE7500ns 3 985 #define CTR_DEBOUNCE15500ns 4 986 #define CTR_DEBOUNCE31500ns 5 987 #define CTR_DEBOUNCE63500ns 6 988 #define CTR_DEBOUNCE127500ns 7 989 #define CTR_DEBOUNCE100us 8 990 #define CTR_DEBOUNCE300us 9 991 #define CTR_DEBOUNCE700us 10 992 #define CTR_DEBOUNCE1500us 11 993 #define CTR_DEBOUNCE3100us 12 994 #define CTR_DEBOUNCE6300us 13 995 #define CTR_DEBOUNCE12700us 14 996 #define CTR_DEBOUNCE25500us 15 997 #define CTR_DEBOUNCE_NONE 16 1000 #define CTR_TRIGGER_AFTER_STABLE 0 1001 #define CTR_TRIGGER_BEFORE_STABLE 1 1004 #define CTR_RISING_EDGE 0 1005 #define CTR_FALLING_EDGE 1 1008 #define CTR_TICK20PT83ns 0 1009 #define CTR_TICK208PT3ns 1 1010 #define CTR_TICK2083PT3ns 2 1011 #define CTR_TICK20833PT3ns 3 1016 #define GATE_NEG_HYS 2 1017 #define GATE_POS_HYS 3 1018 #define GATE_ABOVE 4 1019 #define GATE_BELOW 5 1020 #define GATE_IN_WINDOW 6 1021 #define GATE_OUT_WINDOW 7 1024 #define TRIG_HIGH 10 1026 #define TRIG_POS_EDGE 12 1027 #define TRIG_NEG_EDGE 13 1028 #define TRIG_RISING 14 1029 #define TRIG_FALLING 15 1043 #define AUXOUT0 0x0100 1044 #define AUXOUT1 0x0200 1045 #define AUXOUT2 0x0400 1047 #define DS_CONNECTOR 0x01000 1049 #define MAX_CONNECTIONS 4 1053 #define ADC_CONVERT 0x0001 1054 #define ADC_GATE 0x0002 1055 #define ADC_START_TRIG 0x0004 1056 #define ADC_STOP_TRIG 0x0008 1057 #define ADC_TB_SRC 0x0010 1058 #define ADC_SCANCLK 0x0020 1059 #define ADC_SSH 0x0040 1060 #define ADC_STARTSCAN 0x0080 1061 #define ADC_SCAN_STOP 0x0100 1063 #define DAC_UPDATE 0x0200 1064 #define DAC_TB_SRC 0x0400 1065 #define DAC_START_TRIG 0x0800 1067 #define SYNC_CLK 0x1000 1069 #define CTR1_CLK 0x2000 1070 #define CTR2_CLK 0x4000 1076 #define SIGNAL_OUT 4 1080 #define NONINVERTED 0 1084 #define GLOBALINFO 1 1086 #define DIGITALINFO 3 1087 #define COUNTERINFO 4 1088 #define EXPANSIONINFO 5 1090 #define EXPINFOARRAY 7 1094 #define GIVERSION 36 1095 #define GINUMBOARDS 38 1096 #define GINUMEXPBOARDS 40 1100 #define BIBOARDTYPE 1 1101 #define BIINTLEVEL 2 1103 #define BIINITIALIZED 4 1106 #define BINUMADCHANS 7 1107 #define BIUSESEXPS 8 1108 #define BIDINUMDEVS 9 1109 #define BIDIDEVNUM 10 1110 #define BICINUMDEVS 11 1111 #define BICIDEVNUM 12 1112 #define BINUMDACHANS 13 1113 #define BIWAITSTATE 14 1114 #define BINUMIOPORTS 15 1115 #define BIPARENTBOARD 16 1116 #define BIDTBOARD 17 1117 #define BINUMEXPS 18 1121 #define BIDACSAMPLEHOLD 100 1122 #define BIDIOENABLE 101 1123 #define BI330OPMODE 102 1124 #define BI9513CHIPNSRC 103 1125 #define BICTR0SRC 104 1126 #define BICTR1SRC 105 1127 #define BICTR2SRC 106 1128 #define BIPACERCTR0SRC 107 1129 #define BIDAC0VREF 108 1130 #define BIDAC1VREF 109 1131 #define BIINTP2LEVEL 110 1132 #define BIWAITSTATEP2 111 1133 #define BIADPOLARITY 112 1134 #define BITRIGEDGE 113 1135 #define BIDACRANGE 114 1136 #define BIDACUPDATE 115 1137 #define BIDACINSTALLED 116 1139 #define BIADINPUTMODE 118 1140 #define BIDACPOLARITY 119 1141 #define BITEMPMODE 120 1142 #define BITEMPREJFREQ 121 1143 #define BIDISOFILTER 122 1144 #define BIINT32SRC 123 1145 #define BIINT32PRIORITY 124 1146 #define BIMEMSIZE 125 1147 #define BIMEMCOUNT 126 1148 #define BIPRNPORT 127 1149 #define BIPRNDELAY 128 1150 #define BIPPIODIO 129 1151 #define BICTR3SRC 130 1152 #define BICTR4SRC 131 1153 #define BICTR5SRC 132 1154 #define BICTRINTSRC 133 1155 #define BICTRLINKING 134 1156 #define BISBX0BOARDNUM 135 1157 #define BISBX0ADDRESS 136 1158 #define BISBX0DMACHAN 137 1159 #define BISBX0INTLEVEL0 138 1160 #define BISBX0INTLEVEL1 139 1161 #define BISBX1BOARDNUM 140 1162 #define BISBX1ADDRESS 141 1163 #define BISBX1DMACHAN 142 1164 #define BISBX1INTLEVEL0 143 1165 #define BISBX1INTLEVEL1 144 1166 #define BISBXBUSWIDTH 145 1167 #define BICALFACTOR1 146 1168 #define BICALFACTOR2 147 1169 #define BIDACTRIG 148 1170 #define BICHANCFG 149 1171 #define BIPROTOCOL 150 1172 #define BICOMADDR2 151 1173 #define BICTSRTS1 152 1174 #define BICTSRTS2 153 1175 #define BICTRLLINES 154 1176 #define BIWAITSTATEP1 155 1177 #define BIINTP1LEVEL 156 1178 #define BICTR6SRC 157 1179 #define BICTR7SRC 158 1180 #define BICTR8SRC 159 1181 #define BICTR9SRC 160 1182 #define BICTR10SRC 161 1183 #define BICTR11SRC 162 1184 #define BICTR12SRC 163 1185 #define BICTR13SRC 164 1186 #define BICTR14SRC 165 1187 #define BITCGLOBALAVG 166 1188 #define BITCCJCSTATE 167 1189 #define BITCCHANRANGE 168 1190 #define BITCCHANTYPE 169 1191 #define BITCFWVERSION 170 1192 #define BIFWVERSION BITCFWVERSION 1193 #define BIPHACFG 180 1194 #define BIPHBCFG 190 1195 #define BIINDEXCFG 200 1196 #define BISLOTNUM 201 1197 #define BIAIWAVETYPE 202 1198 #define BIPWRUPSTATE 203 1199 #define BIIRQCONNECT 204 1200 #define BITRIGPOLARITY 205 1201 #define BICTLRNUM 206 1202 #define BIPWRJMPR 207 1203 #define BINUMTEMPCHANS 208 1204 #define BIADTRIGSRC 209 1205 #define BIBNCSRC 210 1206 #define BIBNCTHRESHOLD 211 1207 #define BIBURSTMODE 212 1208 #define BIDITHERON 213 1209 #define BISERIALNUM 214 1210 #define BIDACUPDATEMODE 215 1211 #define BIDACUPDATECMD 216 1212 #define BIDACSTARTUP 217 1213 #define BIADTRIGCOUNT 219 1214 #define BIADFIFOSIZE 220 1215 #define BIADSOURCE 221 1216 #define BICALOUTPUT 222 1217 #define BISRCADPACER 223 1218 #define BIMFGSERIALNUM 224 1219 #define BIPCIREVID 225 1220 #define BIDIALARMMASK 230 1222 #define BINETIOTIMEOUT 247 1224 #define BISYNCMODE 251 1226 #define BIDIDEBOUNCESTATE 255 1227 #define BIDIDEBOUNCETIME 256 1230 #define BIRFCHANNEL 259 1233 #define BINODEID 262 1234 #define BIDEVNOTES 263 1236 #define BIADCSETTLETIME 270 1238 #define BIFACTORYID 272 1239 #define BIHTTPPORT 273 1240 #define BIHIDELOGINDLG 274 1241 #define BIDACTRIGCOUNT 284 1242 #define BIADTIMINGMODE 285 1243 #define BIRTDCHANTYPE 286 1246 #define BIDACRES 292 1248 #define BIADXFERMODE 306 1253 #define DIINITIALIZED 1 1256 #define DIREADWRITE 4 1265 #define CIINITIALIZED 1 1268 #define CICONFIGBYTE 4 1271 #define XIBOARDTYPE 0 1272 #define XIMUX_AD_CHAN1 1 1273 #define XIMUX_AD_CHAN2 2 1277 #define XITHERMTYPE 6 1278 #define XINUMEXPCHANS 7 1279 #define XIPARENTBOARD 8 1282 #define XI5VOLTSOURCE 100 1283 #define XICHANCONFIG 101 1284 #define XIVSOURCE 102 1285 #define XIVSELECT 103 1286 #define XICHGAIN 104 1288 #define XIVADCHAN 106 1289 #define XIRESISTANCE 107 1290 #define XIFACGAIN 108 1291 #define XICUSTOMGAIN 109 1292 #define XICHCUSTOM 110 1296 #define MIBASEADR 100 1297 #define MIINTLEVEL 101 1298 #define MIMEMSIZE 102 1299 #define MIMEMCOUNT 103 1304 #define ON_SCAN_ERROR 0x0001 1305 #define ON_EXTERNAL_INTERRUPT 0x0002 1306 #define ON_PRETRIGGER 0x0004 1307 #define ON_DATA_AVAILABLE 0x0008 1308 #define ON_END_OF_AI_SCAN 0x0010 1309 #define ON_END_OF_AO_SCAN 0x0020 1310 #define ON_CHANGE_DI 0x0040 1311 #define ALL_EVENT_TYPES 0xffff 1313 #define NUM_EVENT_TYPES 6 1314 #define MAX_NUM_EVENT_TYPES 32 1316 #define SCAN_ERROR_IDX 0 1317 #define EXTERNAL_INTERRUPT_IDX 1 1318 #define PRETRIGGER_IDX 2 1319 #define DATA_AVAILABLE_IDX 3 1320 #define END_OF_AI_IDX 4 1321 #define END_OF_AO_IDX 5 1329 #define TIMEZONE_LOCAL 0 1330 #define TIMEZONE_GMT 1 1334 #define TIMEFORMAT_12HOUR 0 1335 #define TIMEFORMAT_24HOUR 1 1339 #define DELIMITER_COMMA 0 1340 #define DELIMITER_SEMICOLON 1 1341 #define DELIMITER_SPACE 2 1342 #define DELIMITER_TAB 3 1346 #define UNITS_TEMPERATURE 0 1350 #define XFER_KERNEL 0 1355 typedef unsigned short USHORT;
1358 #define EXTCCONV __stdcall 1368 #if !defined (NT_DRIVER) && ! defined (WIN95_DRIVER) 1370 #if defined (__cplusplus) 1375 #if defined (_WIN32) 1378 #ifdef EVENTCALLBACK 1379 #undef EVENTCALLBACK 1382 typedef void (__stdcall *EVENTCALLBACK)(int, unsigned, unsigned,
void*);
1384 int EXTCCONV cbACalibrateData (
int BoardNum,
long NumPoints,
int Gain,
1386 int EXTCCONV cbGetRevision (
float *RevNum,
float *VxDRevNum);
1387 int EXTCCONV cbLoadConfig(
char *CfgFileName);
1388 int EXTCCONV cbSaveConfig(
char *CfgFileName);
1389 int EXTCCONV cbAConvertData (
int BoardNum,
long NumPoints, USHORT *ADData,
1391 int EXTCCONV cbAConvertPretrigData (
int BoardNum,
long PreTrigCount,
1392 long TotalCount, USHORT *ADData,
1394 int EXTCCONV cbAIn (
int BoardNum,
int Chan,
int Gain, USHORT *DataValue);
1395 int EXTCCONV cbAIn32 (
int BoardNum,
int Chan,
int Gain, ULONG *DataValue,
int Options);
1396 int EXTCCONV cbAInScan (
int BoardNum,
int LowChan,
int HighChan,
long Count,
1397 long *Rate,
int Gain, HGLOBAL MemHandle,
1399 int EXTCCONV cbALoadQueue (
int BoardNum,
short *ChanArray,
short *GainArray,
1401 int EXTCCONV cbAOut (
int BoardNum,
int Chan,
int Gain, USHORT DataValue);
1402 int EXTCCONV cbAOutScan (
int BoardNum,
int LowChan,
int HighChan,
1403 long Count,
long *Rate,
int Gain,
1404 HGLOBAL MemHandle,
int Options);
1405 int EXTCCONV cbAPretrig (
int BoardNum,
int LowChan,
int HighChan,
1406 long *PreTrigCount,
long *TotalCount,
long *Rate,
1407 int Gain, HGLOBAL MemHandle,
int Options);
1408 int EXTCCONV cbATrig (
int BoardNum,
int Chan,
int TrigType,
1409 USHORT TrigValue,
int Gain, USHORT *DataValue);
1410 int EXTCCONV cbC7266Config (
int BoardNum,
int CounterNum,
int Quadrature,
1411 int CountingMode,
int DataEncoding,
int IndexMode,
1412 int InvertIndex,
int FlagPins,
int GateEnable);
1413 int EXTCCONV cbC8254Config (
int BoardNum,
int CounterNum,
int Config);
1414 int EXTCCONV cbC8536Config (
int BoardNum,
int CounterNum,
int OutputControl,
1415 int RecycleMode,
int TrigType);
1416 int EXTCCONV cbC9513Config (
int BoardNum,
int CounterNum,
int GateControl,
1417 int CounterEdge,
int CountSource,
1418 int SpecialGate,
int Reload,
int RecycleMode,
1419 int BCDMode,
int CountDirection,
1421 int EXTCCONV cbC8536Init (
int BoardNum,
int ChipNum,
int Ctr1Output);
1422 int EXTCCONV cbC9513Init (
int BoardNum,
int ChipNum,
int FOutDivider,
1423 int FOutSource,
int Compare1,
int Compare2,
1425 int EXTCCONV cbCFreqIn (
int BoardNum,
int SigSource,
int GateInterval,
1426 USHORT *Count,
long *Freq);
1427 int EXTCCONV cbCIn (
int BoardNum,
int CounterNum, USHORT *Count);
1428 int EXTCCONV cbCIn32 (
int BoardNum,
int CounterNum, ULONG *Count);
1429 int EXTCCONV cbCIn64 (
int BoardNum,
int CounterNum, ULONGLONG *Count);
1430 int EXTCCONV cbCLoad (
int BoardNum,
int RegNum,
unsigned int LoadValue);
1431 int EXTCCONV cbCLoad32 (
int BoardNum,
int RegNum, ULONG LoadValue);
1432 int EXTCCONV cbCLoad64 (
int BoardNum,
int RegNum, ULONGLONG LoadValue);
1433 int EXTCCONV cbCStatus (
int BoardNum,
int CounterNum, ULONG *StatusBits);
1434 int EXTCCONV cbCStoreOnInt (
int BoardNum,
int IntCount,
short *CntrControl,
1436 int EXTCCONV cbCInScan(
int BoardNum,
int FirstCtr,
int LastCtr, LONG Count,
1437 LONG *Rate, HGLOBAL MemHandle, ULONG Options);
1438 int EXTCCONV cbCConfigScan(
int BoardNum,
int CounterNum,
int Mode,
int DebounceTime,
1439 int DebounceMode,
int EdgeDetection,
1440 int TickSize,
int MappedChannel);
1441 int EXTCCONV cbCClear (
int BoardNum,
int CounterNum);
1442 int EXTCCONV cbTimerOutStart (
int BoardNum,
int TimerNum,
double *Frequency);
1443 int EXTCCONV cbTimerOutStop (
int BoardNum,
int TimerNum);
1444 int EXTCCONV cbPulseOutStart (
int BoardNum,
int TimerNum,
double *Frequency,
double *DutyCycle,
unsigned int PulseCount,
double *InitialDelay,
int IdleState,
int Options);
1445 int EXTCCONV cbPulseOutStop (
int BoardNum,
int TimerNum);
1446 int EXTCCONV cbDBitIn (
int BoardNum,
int PortType,
int BitNum,
1448 int EXTCCONV cbDBitOut (
int BoardNum,
int PortType,
int BitNum, USHORT BitValue);
1449 int EXTCCONV cbDConfigPort (
int BoardNum,
int PortNum,
int Direction);
1450 int EXTCCONV cbDConfigBit (
int BoardNum,
int PortNum,
int BitNum,
int Direction);
1451 int EXTCCONV cbDIn (
int BoardNum,
int PortNum, USHORT *DataValue);
1452 int EXTCCONV cbDInScan (
int BoardNum,
int PortNum,
long Count,
long *Rate,
1453 HGLOBAL MemHandle,
int Options);
1454 int EXTCCONV cbDOut(
int BoardNum,
int PortNum, USHORT DataValue);
1455 int EXTCCONV cbDOutScan (
int BoardNum,
int PortNum,
long Count,
long *Rate,
1456 HGLOBAL MemHandle,
int Options);
1457 int EXTCCONV cbErrHandling (
int ErrReporting,
int ErrHandling);
1458 int EXTCCONV cbFileAInScan (
int BoardNum,
int LowChan,
int HighChan,
1459 long Count,
long *Rate,
int Gain,
1460 char *FileName,
int Options);
1461 int EXTCCONV cbFileGetInfo (
char *FileName,
short *LowChan,
short *HighChan,
1462 long *PreTrigCount,
long *TotalCount,
1463 long *Rate,
int *Gain);
1464 int EXTCCONV cbFilePretrig (
int BoardNum,
int LowChan,
int HighChan,
1465 long *PreTrigCount,
long *TotalCount,
1466 long *Rate,
int Gain,
char *FileName,
1468 int EXTCCONV cbFileRead (
char *FileName,
long FirstPoint,
long *NumPoints,
1469 USHORT *DataBuffer);
1470 int EXTCCONV cbFlashLED(
int BoardNum);
1471 int EXTCCONV cbGetErrMsg (
int ErrCode,
char *ErrMsg);
1472 int EXTCCONV cbGetIOStatus (
int BoardNum,
short *Status,
long *CurCount,
1473 long *CurIndex,
int FunctionType);
1474 int EXTCCONV cbRS485 (
int BoardNum,
int Transmit,
int Receive);
1475 int EXTCCONV cbStopIOBackground (
int BoardNum,
int FunctionType);
1476 int EXTCCONV cbTIn (
int BoardNum,
int Chan,
int Scale,
float *TempValue,
1478 int EXTCCONV cbTInScan (
int BoardNum,
int LowChan,
int HighChan,
int Scale,
1479 float *DataBuffer,
int Options);
1480 int EXTCCONV cbMemSetDTMode (
int BoardNum,
int Mode);
1481 int EXTCCONV cbMemReset (
int BoardNum);
1482 int EXTCCONV cbMemRead (
int BoardNum, USHORT *DataBuffer,
long FirstPoint,
1484 int EXTCCONV cbMemWrite (
int BoardNum, USHORT *DataBuffer,
long FirstPoint,
1486 int EXTCCONV cbMemReadPretrig (
int BoardNum, USHORT *DataBuffer,
1487 long FirstPoint,
long Count);
1488 int EXTCCONV cbWinBufToArray (HGLOBAL MemHandle, USHORT *DataArray,
1489 long StartPt,
long Count);
1490 int EXTCCONV cbWinBufToArray32 (HGLOBAL MemHandle, ULONG *DataArray,
1491 long StartPt,
long Count);
1493 int EXTCCONV cbWinBufToArray64 (HGLOBAL MemHandle, ULONGLONG *DataArray,
1494 long StartPt,
long Count);
1496 HGLOBAL EXTCCONV cbScaledWinBufAlloc (
long NumPoints);
1497 int EXTCCONV cbScaledWinBufToArray (HGLOBAL MemHandle,
double *DataArray,
1498 long StartPt,
long Count);
1500 int EXTCCONV cbWinArrayToBuf (USHORT *DataArray, HGLOBAL MemHandle,
1501 long StartPt,
long Count);
1502 int EXTCCONV cbScaledWinArrayToBuf (
double *DataArray, HGLOBAL MemHandle,
1503 long StartPt,
long Count);
1505 HGLOBAL EXTCCONV cbWinBufAlloc (
long NumPoints);
1506 HGLOBAL EXTCCONV cbWinBufAlloc32 (
long NumPoints);
1507 HGLOBAL EXTCCONV cbWinBufAlloc64 (
long NumPoints);
1508 int EXTCCONV cbWinBufFree (HGLOBAL MemHandle);
1509 int EXTCCONV cbInByte (
int BoardNum,
int PortNum);
1510 int EXTCCONV cbOutByte (
int BoardNum,
int PortNum,
int PortVal);
1511 int EXTCCONV cbInWord (
int BoardNum,
int PortNum);
1512 int EXTCCONV cbOutWord (
int BoardNum,
int PortNum,
int PortVal);
1514 int EXTCCONV cbGetConfig (
int InfoType,
int BoardNum,
int DevNum,
1515 int ConfigItem,
int *ConfigVal);
1516 int EXTCCONV cbGetConfigString (
int InfoType,
int BoardNum,
int DevNum,
1517 int ConfigItem,
char* ConfigVal,
int* maxConfigLen);
1519 int EXTCCONV cbSetConfig (
int InfoType,
int BoardNum,
int DevNum,
1520 int ConfigItem,
int ConfigVal);
1521 int EXTCCONV cbSetConfigString (
int InfoType,
int BoardNum,
int DevNum,
1522 int ConfigItem,
char* ConfigVal,
int* configLen);
1524 int EXTCCONV cbToEngUnits (
int BoardNum,
int Range, USHORT DataVal,
1526 int EXTCCONV cbToEngUnits32 (
int BoardNum,
int Range, ULONG DataVal,
1528 int EXTCCONV cbFromEngUnits (
int BoardNum,
int Range,
float EngUnits,
1530 int EXTCCONV cbGetBoardName (
int BoardNum,
char *BoardName);
1531 int EXTCCONV cbDeclareRevision(
float *RevNum);
1532 int EXTCCONV cbSetTrigger (
int BoardNum,
int TrigType, USHORT LowThreshold,
1533 USHORT HighThreshold);
1535 int EXTCCONV cbEnableEvent(
int BoardNum,
unsigned EventType,
unsigned Count,
1536 EVENTCALLBACK CallbackFunc,
void *UserData);
1538 int EXTCCONV cbDisableEvent(
int BoardNum,
unsigned EventType);
1539 int EXTCCONV cbSelectSignal(
int BoardNum,
int Direction,
int Signal,
int Connection,
int Polarity);
1540 int EXTCCONV cbGetSignal(
int BoardNum,
int Direction,
int Signal,
int Index,
int* Connection,
int* Polarity);
1542 int EXTCCONV cbSetCalCoeff(
int BoardNum,
int FunctionType,
int Channel,
int Range,
int Item,
int Value,
int Store);
1543 int EXTCCONV cbGetCalCoeff(
int BoardNum,
int FunctionType,
int Channel,
int Range,
int Item,
int* Value);
1549 int EXTCCONV cbLogSetPreferences(
int timeFormat,
int timeZone,
int units);
1552 int EXTCCONV cbLogGetPreferences(
int* timeFormat,
int* timeZone,
int* units);
1555 int EXTCCONV cbLogGetFileName(
int fileNumber,
char* path,
char* filename);
1558 int EXTCCONV cbLogGetFileInfo(
char* filename,
int* version,
int* fileSize);
1561 int EXTCCONV cbLogGetSampleInfo(
char* filename,
int* sampleInterval,
int* sampleCount,
1562 int* startDate,
int* startTime);
1565 int EXTCCONV cbLogGetAIChannelCount(
char* filename,
int* aiCount);
1568 int EXTCCONV cbLogGetAIInfo(
char* filename,
int* channelNumbers,
int* units);
1571 int EXTCCONV cbLogGetCJCInfo(
char* filename,
int* cjcCount);
1574 int EXTCCONV cbLogGetDIOInfo(
char* filename,
int* dioCount);
1577 int EXTCCONV cbLogReadTimeTags(
char* filename,
int startSample,
int count,
int* dateTags,
int*timeTags);
1580 int EXTCCONV cbLogReadAIChannels(
char* filename,
int startSample,
int count,
float* analog);
1583 int EXTCCONV cbLogReadCJCChannels(
char* filename,
int startSample,
int count,
float* cjc);
1586 int EXTCCONV cbLogReadDIOChannels(
char* filename,
int startSample,
int count,
int* dio);
1589 int EXTCCONV cbLogConvertFile(
char* srcFilename,
char* destFilename,
int startSample,
int count,
int delimiter);
1591 int EXTCCONV cbDaqInScan(
int BoardNum,
short *ChanArray,
short *ChanTypeArray,
short *GainArray,
int ChanCount,
long *Rate,
1592 long *PretrigCount,
long *TotalCount, HGLOBAL MemHandle,
int Options);
1593 int EXTCCONV cbDaqSetTrigger(
int BoardNum,
int TrigSource,
int TrigSense,
int TrigChan,
int ChanType,
1594 int Gain,
float Level,
float Variance,
int TrigEvent);
1595 int EXTCCONV cbDaqSetSetpoints (
int BoardNum,
float *LimitAArray,
float *LimitBArray,
float *Reserved,
int *SetpointFlagsArray,
1596 int *SetpointOutputArray,
float *Output1Array,
float *Output2Array,
float *OutputMask1Array,
1597 float *OutputMask2Array,
int SetpointCount);
1599 int EXTCCONV cbDaqOutScan(
int BoardNum,
short *ChanArray,
short *ChanTypeArray,
short *GainArray,
int ChanCount,
long *Rate,
1600 long Count, HGLOBAL MemHandle,
int Options);
1601 int EXTCCONV cbGetTCValues(
int BoardNum,
short *ChanArray,
short *ChanTypeArray,
int ChanCount, HGLOBAL MemHandle,
int FirstPoint,
1602 long Count,
int Scale,
float *TempValArray);
1604 int EXTCCONV cbVIn (
int BoardNum,
int Chan,
int Gain,
float *DataValue,
int Options);
1605 int EXTCCONV cbVIn32 (
int BoardNum,
int Chan,
int Gain,
double *DataValue,
int Options);
1606 int EXTCCONV cbVOut (
int BoardNum,
int Chan,
int Gain,
float DataValue,
int Options);
1608 int EXTCCONV cbDeviceLogin(
int BoardNum,
char* AccountName,
char* Password);
1609 int EXTCCONV cbDeviceLogout(
int BoardNum);
1611 int EXTCCONV cbTEDSRead(
int BoardNum,
int Chan, BYTE* DataBuffer,
long *Count,
int Options);
1621 #define cbGetStatus cbGetIOStatus 1622 #define cbStopBackground cbStopIOBackground 1627 #if defined (__cplusplus)