10 #if ( defined( __STDC_VERSION__ ) && __STDC_VERSION__ >= 199901L ) || ( defined( __GNUC__ ) && defined( __cplusplus ) ) 12 #elif defined( INCLUDED_BY_MATLAB ) // MathWorks Matlab, see libtiepiematlab.h 16 typedef INT8_T int8_t;
17 typedef INT16_T int16_t;
18 typedef INT32_T int32_t;
19 typedef INT64_T int64_t;
21 typedef UINT8_T uint8_t;
22 typedef UINT16_T uint16_t;
23 typedef UINT32_T uint32_t;
24 typedef UINT64_T uint64_t;
25 #elif defined( _CVI_ ) || defined( LIBTIEPIE_LABVIEW ) // National Instruments LabWindows/CVI/LabView 26 #ifdef _CVI_C99_EXTENSIONS_ 31 typedef short int16_t;
33 typedef __int64 int64_t;
35 typedef unsigned char uint8_t;
36 typedef unsigned short uint16_t;
37 typedef unsigned int uint32_t;
38 typedef unsigned __int64 uint64_t;
40 #elif defined( _MSC_VER ) 43 #error "C99 stdint types not defined!" 47 #if defined( _WIN32 ) || defined( _WIN64 ) || defined( __WIN32__ ) || defined( __TOS_WIN__ ) || defined( __WINDOWS__ ) 48 #define LIBTIEPIE_WINDOWS 50 #elif defined( __linux__ ) || defined( _NI_linux_ ) 51 #define LIBTIEPIE_LINUX 59 #define LIBTIEPIE_VERSION_MAJOR 0 60 #define LIBTIEPIE_VERSION_MINOR 7 61 #define LIBTIEPIE_VERSION_RELEASE 4 62 #define LIBTIEPIE_VERSION_NUMBER "0.7.4" 63 #define LIBTIEPIE_VERSION "0.7.4" 64 #define LIBTIEPIE_REVISION 12616 416 #define LIBTIEPIE_HANDLE_INVALID 0 417 #define TPDEVICEHANDLE_INVALID LIBTIEPIE_HANDLE_INVALID 425 #define LIBTIEPIE_INTERFACE_DEVICE 0x0000000000000001 426 #define LIBTIEPIE_INTERFACE_OSCILLOSCOPE 0x0000000000000002 427 #define LIBTIEPIE_INTERFACE_GENERATOR 0x0000000000000004 428 #define LIBTIEPIE_INTERFACE_I2CHOST 0x0000000000000008 436 #define DEVICETYPE_OSCILLOSCOPE 0x00000001 437 #define DEVICETYPE_GENERATOR 0x00000002 438 #define DEVICETYPE_I2CHOST 0x00000004 440 #define DEVICETYPE_COUNT 3 448 #define IDKIND_PRODUCTID 0x00000001 449 #define IDKIND_INDEX 0x00000002 450 #define IDKIND_SERIALNUMBER 0x00000004 452 #define IDKIND_COUNT 3 466 #define LIBTIEPIESTATUS_SUCCESS 0 467 #define LIBTIEPIESTATUS_VALUE_CLIPPED 1 468 #define LIBTIEPIESTATUS_VALUE_MODIFIED 2 469 #define LIBTIEPIESTATUS_UNSUCCESSFUL -1 470 #define LIBTIEPIESTATUS_NOT_SUPPORTED -2 471 #define LIBTIEPIESTATUS_INVALID_HANDLE -3 472 #define LIBTIEPIESTATUS_INVALID_VALUE -4 473 #define LIBTIEPIESTATUS_INVALID_CHANNEL -5 474 #define LIBTIEPIESTATUS_INVALID_TRIGGER_SOURCE -6 475 #define LIBTIEPIESTATUS_INVALID_DEVICE_TYPE -7 476 #define LIBTIEPIESTATUS_INVALID_DEVICE_INDEX -8 477 #define LIBTIEPIESTATUS_INVALID_PRODUCT_ID -9 478 #define LIBTIEPIESTATUS_INVALID_DEVICE_SERIALNUMBER -10 479 #define LIBTIEPIESTATUS_OBJECT_GONE -11 480 #define LIBTIEPIESTATUS_DEVICE_GONE LIBTIEPIESTATUS_OBJECT_GONE 481 #define LIBTIEPIESTATUS_INTERNAL_ADDRESS -12 482 #define LIBTIEPIESTATUS_NOT_CONTROLLABLE -13 483 #define LIBTIEPIESTATUS_BIT_ERROR -14 484 #define LIBTIEPIESTATUS_NO_ACKNOWLEDGE -15 485 #define LIBTIEPIESTATUS_INVALID_CONTAINED_DEVICE_SERIALNUMBER -16 486 #define LIBTIEPIESTATUS_INVALID_INPUT -17 487 #define LIBTIEPIESTATUS_INVALID_OUTPUT -18 488 #define LIBTIEPIESTATUS_INVALID_DRIVER -19 489 #define LIBTIEPIESTATUS_NOT_AVAILABLE -20 490 #define LIBTIEPIESTATUS_INVALID_FIRMWARE -21 491 #define LIBTIEPIESTATUS_INVALID_INDEX -22 492 #define LIBTIEPIESTATUS_INVALID_EEPROM -23 493 #define LIBTIEPIESTATUS_INITIALIZATION_FAILED -24 494 #define LIBTIEPIESTATUS_LIBRARY_NOT_INITIALIZED -25 495 #define LIBTIEPIESTATUS_NO_TRIGGER_ENABLED -26 496 #define LIBTIEPIESTATUS_SYNCHRONIZATION_FAILED -29 497 #define LIBTIEPIESTATUS_INVALID_HS56_COMBINED_DEVICE -30 498 #define LIBTIEPIESTATUS_MEASUREMENT_RUNNING -31 500 #define LIBTIEPIESTATUS_INITIALIZATION_ERROR_10001 -10001 501 #define LIBTIEPIESTATUS_INITIALIZATION_ERROR_10002 -10002 502 #define LIBTIEPIESTATUS_INITIALIZATION_ERROR_10003 -10003 503 #define LIBTIEPIESTATUS_INITIALIZATION_ERROR_10004 -10004 504 #define LIBTIEPIESTATUS_INITIALIZATION_ERROR_10005 -10005 505 #define LIBTIEPIESTATUS_INITIALIZATION_ERROR_10006 -10006 513 #define CONNECTORTYPE_UNKNOWN 0x00000000 515 #define CONNECTORTYPE_BNC 0x00000001 516 #define CONNECTORTYPE_BANANA 0x00000002 517 #define CONNECTORTYPE_POWERPLUG 0x00000004 519 #define CONNECTORTYPE_COUNT 3 526 #define CONNECTORTYPE_MASK ( CONNECTORTYPE_BNC | CONNECTORTYPE_BANANA | CONNECTORTYPE_POWERPLUG ) 535 #define DATARAWTYPE_UNKNOWN 0x00000000 537 #define DATARAWTYPE_INT8 0x00000001 538 #define DATARAWTYPE_INT16 0x00000002 539 #define DATARAWTYPE_INT32 0x00000004 540 #define DATARAWTYPE_INT64 0x00000008 542 #define DATARAWTYPE_UINT8 0x00000010 543 #define DATARAWTYPE_UINT16 0x00000020 544 #define DATARAWTYPE_UINT32 0x00000040 545 #define DATARAWTYPE_UINT64 0x00000080 547 #define DATARAWTYPE_FLOAT32 0x00000100 548 #define DATARAWTYPE_FLOAT64 0x00000200 550 #define DATARAWTYPE_COUNT 10 557 #define DATARAWTYPE_MASK_INT ( DATARAWTYPE_INT8 | DATARAWTYPE_INT16 | DATARAWTYPE_INT32 | DATARAWTYPE_INT64 ) 558 #define DATARAWTYPE_MASK_UINT ( DATARAWTYPE_UINT8 | DATARAWTYPE_UINT16 | DATARAWTYPE_UINT32 | DATARAWTYPE_UINT64 ) 559 #define DATARAWTYPE_MASK_FLOAT ( DATARAWTYPE_FLOAT32 | DATARAWTYPE_FLOAT64 ) 560 #define DATARAWTYPE_MASK_FIXED ( DATARAWTYPE_MASK_INT | DATARAWTYPE_MASK_UINT ) 569 #define BOOL8_FALSE 0 578 #define LIBTIEPIE_TRISTATE_UNDEFINED 0 579 #define LIBTIEPIE_TRISTATE_FALSE 1 580 #define LIBTIEPIE_TRISTATE_TRUE 2 588 #define LIBTIEPIE_TRIGGERIO_INDEX_INVALID 0xffff 596 #define LIBTIEPIE_STRING_LENGTH_NULL_TERMINATED 0xffffffff 609 #define LIBTIEPIE_RANGEINDEX_AUTO 0xffffffff 622 #define LIBTIEPIE_POINTER_ARRAY_MAX_LENGTH 256 637 #define ARB_DISABLED 0 638 #define ARB_NATIVEONLY 1 647 #define AR_DISABLED ( 1 << ARB_DISABLED ) 648 #define AR_NATIVEONLY ( 1 << ARB_NATIVEONLY ) 649 #define AR_ALL ( 1 << ARB_ALL ) 657 #define ARM_ALL ( ( 1 << ARN_COUNT ) - 1 ) 658 #define ARM_ENABLED ( ARM_ALL & ~AR_DISABLED ) 686 #define CK_DCV ( 1 << CKB_DCV ) 687 #define CK_ACV ( 1 << CKB_ACV ) 688 #define CK_DCA ( 1 << CKB_DCA ) 689 #define CK_ACA ( 1 << CKB_ACA ) 690 #define CK_OHM ( 1 << CKB_OHM ) 698 #define CKM_V ( CK_DCV | CK_ACV ) 699 #define CKM_A ( CK_DCA | CK_ACA ) 700 #define CKM_OHM ( CK_OHM ) 702 #define CKM_ASYMMETRICRANGE ( CKM_OHM ) 703 #define CKM_SYMMETRICRANGE ( CKM_V | CKM_A ) 719 #define COB_DISABLED 0 727 #define CO_DISABLED ( 1 << COB_DISABLED ) 728 #define CO_SAMPLE ( 1 << COB_SAMPLE ) 729 #define CO_FIXED ( 1 << COB_FIXED ) 737 #define COM_ALL ( ( 1 << CON_COUNT ) - 1 ) 738 #define COM_ENABLED ( COM_ALL & ~CO_DISABLED ) 739 #define COM_FREQUENCY ( CO_FIXED ) 755 #define CSB_EXTERNAL 0 756 #define CSB_INTERNAL 1 762 #define CS_EXTERNAL ( 1 << CSB_EXTERNAL ) 763 #define CS_INTERNAL ( 1 << CSB_INTERNAL ) 771 #define CSM_ALL ( ( 1 << CSN_COUNT ) - 1 ) 772 #define CSM_FREQUENCY ( CS_EXTERNAL ) 788 #define FMB_SIGNALFREQUENCY 0 789 #define FMB_SAMPLEFREQUENCY 1 795 #define FM_UNKNOWN 0x00000000 797 #define FM_SIGNALFREQUENCY ( 1 << FMB_SIGNALFREQUENCY ) 798 #define FM_SAMPLEFREQUENCY ( 1 << FMB_SAMPLEFREQUENCY ) 805 #define FMM_NONE 0x00000000 806 #define FMM_ALL ( ( 1 << FMN_COUNT ) - 1 ) 822 #define GMB_CONTINUOUS 0 823 #define GMB_BURST_COUNT 1 824 #define GMB_GATED_PERIODS 2 826 #define GMB_GATED_PERIOD_START 4 827 #define GMB_GATED_PERIOD_FINISH 5 828 #define GMB_GATED_RUN 6 829 #define GMB_GATED_RUN_OUTPUT 7 830 #define GMB_BURST_SAMPLE_COUNT 8 831 #define GMB_BURST_SAMPLE_COUNT_OUTPUT 9 832 #define GMB_BURST_SEGMENT_COUNT 10 833 #define GMB_BURST_SEGMENT_COUNT_OUTPUT 11 841 #define GM_CONTINUOUS ( 1 << GMB_CONTINUOUS ) 842 #define GM_BURST_COUNT ( 1 << GMB_BURST_COUNT ) 843 #define GM_GATED_PERIODS ( 1 << GMB_GATED_PERIODS ) 844 #define GM_GATED ( 1 << GMB_GATED ) 845 #define GM_GATED_PERIOD_START ( 1 << GMB_GATED_PERIOD_START ) 846 #define GM_GATED_PERIOD_FINISH ( 1 << GMB_GATED_PERIOD_FINISH ) 847 #define GM_GATED_RUN ( 1 << GMB_GATED_RUN ) 848 #define GM_GATED_RUN_OUTPUT ( 1 << GMB_GATED_RUN_OUTPUT ) 849 #define GM_BURST_SAMPLE_COUNT ( 1 << GMB_BURST_SAMPLE_COUNT ) 850 #define GM_BURST_SAMPLE_COUNT_OUTPUT ( 1 << GMB_BURST_SAMPLE_COUNT_OUTPUT ) 851 #define GM_BURST_SEGMENT_COUNT ( 1 << GMB_BURST_SEGMENT_COUNT ) 852 #define GM_BURST_SEGMENT_COUNT_OUTPUT ( 1 << GMB_BURST_SEGMENT_COUNT_OUTPUT ) 860 #define GMM_BURST_COUNT ( GM_BURST_COUNT ) 861 #define GMM_GATED ( GM_GATED_PERIODS | GM_GATED | GM_GATED_PERIOD_START | GM_GATED_PERIOD_FINISH | GM_GATED_RUN | GM_GATED_RUN_OUTPUT ) 862 #define GMM_BURST_SAMPLE_COUNT ( GM_BURST_SAMPLE_COUNT | GM_BURST_SAMPLE_COUNT_OUTPUT ) 863 #define GMM_BURST_SEGMENT_COUNT ( GM_BURST_SEGMENT_COUNT | GM_BURST_SEGMENT_COUNT_OUTPUT ) 864 #define GMM_BURST ( GMM_BURST_COUNT | GMM_BURST_SAMPLE_COUNT | GMM_BURST_SEGMENT_COUNT ) 865 #define GMM_REQUIRE_TRIGGER ( GMM_GATED | GMM_BURST_SAMPLE_COUNT | GMM_BURST_SEGMENT_COUNT ) 866 #define GMM_ALL ( ( 1ULL << GMN_COUNT ) - 1 ) 868 #define GMM_SIGNALFREQUENCY ( GMM_ALL & ~GMM_BURST_SAMPLE_COUNT ) 869 #define GMM_SAMPLEFREQUENCY ( GMM_ALL ) 871 #define GMM_SINE ( GMM_SIGNALFREQUENCY ) 872 #define GMM_TRIANGLE ( GMM_SIGNALFREQUENCY ) 873 #define GMM_SQUARE ( GMM_SIGNALFREQUENCY ) 874 #define GMM_DC ( GM_CONTINUOUS ) 875 #define GMM_NOISE ( GM_CONTINUOUS | GM_GATED ) 876 #define GMM_ARBITRARY ( GMM_SIGNALFREQUENCY | GMM_SAMPLEFREQUENCY ) 877 #define GMM_PULSE ( GMM_SIGNALFREQUENCY & ~GMM_BURST_SEGMENT_COUNT ) 895 #define GSB_STOPPED 0 896 #define GSB_RUNNING 1 897 #define GSB_BURSTACTIVE 2 898 #define GSB_WAITING 3 904 #define GS_STOPPED ( 1 << GSB_STOPPED ) 905 #define GS_RUNNING ( 1 << GSB_RUNNING ) 906 #define GS_BURSTACTIVE ( 1 << GSB_BURSTACTIVE ) 907 #define GS_WAITING ( 1 << GSB_WAITING ) 915 #define GSM_ALL ( ( 1UL << GSN_COUNT ) - 1 ) 941 #define MMM_ALL ( ( 1 << MMN_COUNT ) - 1 ) 949 #define MM_STREAM ( 1 << MMB_STREAM ) 950 #define MM_BLOCK ( 1 << MMB_BLOCK ) 966 #define STB_TRIANGLE 1 970 #define STB_ARBITRARY 5 979 #define ST_SINE ( 1 << STB_SINE ) 980 #define ST_TRIANGLE ( 1 << STB_TRIANGLE ) 981 #define ST_SQUARE ( 1 << STB_SQUARE ) 982 #define ST_DC ( 1 << STB_DC ) 983 #define ST_NOISE ( 1 << STB_NOISE ) 984 #define ST_ARBITRARY ( 1 << STB_ARBITRARY ) 985 #define ST_PULSE ( 1 << STB_PULSE ) 994 #define STM_AMPLITUDE ( ST_SINE | ST_TRIANGLE | ST_SQUARE | ST_NOISE | ST_ARBITRARY | ST_PULSE ) 995 #define STM_OFFSET ( ST_SINE | ST_TRIANGLE | ST_SQUARE | ST_DC | ST_NOISE | ST_ARBITRARY | ST_PULSE ) 996 #define STM_FREQUENCY ( ST_SINE | ST_TRIANGLE | ST_SQUARE | ST_NOISE | ST_ARBITRARY | ST_PULSE ) 997 #define STM_PHASE ( ST_SINE | ST_TRIANGLE | ST_SQUARE | ST_ARBITRARY | ST_PULSE ) 998 #define STM_SYMMETRY ( ST_SINE | ST_TRIANGLE | ST_SQUARE ) 999 #define STM_WIDTH ( ST_PULSE ) 1000 #define STM_LEADINGEDGETIME ( ST_PULSE ) 1001 #define STM_TRAILINGEDGETIME ( ST_PULSE ) 1002 #define STM_DATALENGTH ( ST_ARBITRARY ) 1003 #define STM_DATA ( ST_ARBITRARY ) 1005 #define STM_EDGETIME ( STM_LEADINGEDGETIME & STM_TRAILINGEDGETIME ) 1022 #define TCB_SMALLER 1 1023 #define TCB_LARGER 2 1024 #define TCB_INSIDE 3 1025 #define TCB_OUTSIDE 4 1031 #define TC_UNKNOWN 0 1033 #define TC_NONE ( 1 << TCB_NONE ) 1034 #define TC_SMALLER ( 1 << TCB_SMALLER ) 1035 #define TC_LARGER ( 1 << TCB_LARGER ) 1036 #define TC_INSIDE ( 1 << TCB_INSIDE ) 1037 #define TC_OUTSIDE ( 1 << TCB_OUTSIDE ) 1045 #define TCM_ALL ( ( 1 << TCN_COUNT ) - 1 ) 1046 #define TCM_ENABLED ( TCM_ALL & ~TC_NONE ) 1055 #define TH_ALLPRESAMPLES 0xffffffffffffffffULL 1066 #define DN_SUB_FIRST 1 1067 #define DN_SUB_SECOND 2 1075 #define PGID_OSCILLOSCOPE 1 1076 #define PGID_GENERATOR 2 1077 #define PGID_EXTERNAL_DSUB 3 1088 #define SGID_CHANNEL1 1 1089 #define SGID_CHANNEL2 2 1110 #define FID_SCP_TRIGGERED 0 1118 #define FID_GEN_START 0 1119 #define FID_GEN_STOP 1 1120 #define FID_GEN_NEW_PERIOD 2 1128 #define FID_EXT_TRIGGERED 0 1137 #define TIOID_SHIFT_PGID 20 1138 #define TIOID_SHIFT_DN 24 1139 #define TIOID_SHIFT_SGID 8 1140 #define TIOID_SHIFT_FID 0 1148 #define TIID_INVALID 0 1149 #define TIID_EXT1 TRIGGER_IO_ID( PGID_EXTERNAL_DSUB , SGID_PIN1 , FID_EXT_TRIGGERED ) 1150 #define TIID_EXT2 TRIGGER_IO_ID( PGID_EXTERNAL_DSUB , SGID_PIN2 , FID_EXT_TRIGGERED ) 1151 #define TIID_EXT3 TRIGGER_IO_ID( PGID_EXTERNAL_DSUB , SGID_PIN3 , FID_EXT_TRIGGERED ) 1152 #define TIID_GENERATOR_START TRIGGER_IO_ID( PGID_GENERATOR , SGID_MAIN , FID_GEN_START ) 1153 #define TIID_GENERATOR_STOP TRIGGER_IO_ID( PGID_GENERATOR , SGID_MAIN , FID_GEN_STOP ) 1154 #define TIID_GENERATOR_NEW_PERIOD TRIGGER_IO_ID( PGID_GENERATOR , SGID_MAIN , FID_GEN_NEW_PERIOD ) 1162 #define TOID_INVALID 0 1163 #define TOID_EXT1 TRIGGER_IO_ID( PGID_EXTERNAL_DSUB , SGID_PIN1 , FID_EXT_TRIGGERED ) 1164 #define TOID_EXT2 TRIGGER_IO_ID( PGID_EXTERNAL_DSUB , SGID_PIN2 , FID_EXT_TRIGGERED ) 1165 #define TOID_EXT3 TRIGGER_IO_ID( PGID_EXTERNAL_DSUB , SGID_PIN3 , FID_EXT_TRIGGERED ) 1174 #define TKN_COUNT 13 1181 #define TKB_RISINGEDGE 0 1182 #define TKB_FALLINGEDGE 1 1183 #define TKB_INWINDOW 2 1184 #define TKB_OUTWINDOW 3 1185 #define TKB_ANYEDGE 4 1186 #define TKB_ENTERWINDOW 5 1187 #define TKB_EXITWINDOW 6 1188 #define TKB_PULSEWIDTHPOSITIVE 7 1189 #define TKB_PULSEWIDTHNEGATIVE 8 1190 #define TKB_PULSEWIDTHEITHER 9 1191 #define TKB_RUNTPULSEPOSITIVE 10 1192 #define TKB_RUNTPULSENEGATIVE 11 1193 #define TKB_RUNTPULSEEITHER 12 1199 #define TK_UNKNOWN 0 1200 #define TK_RISINGEDGE ( 1ULL << TKB_RISINGEDGE ) 1201 #define TK_FALLINGEDGE ( 1ULL << TKB_FALLINGEDGE ) 1202 #define TK_INWINDOW ( 1ULL << TKB_INWINDOW ) 1203 #define TK_OUTWINDOW ( 1ULL << TKB_OUTWINDOW ) 1204 #define TK_ANYEDGE ( 1ULL << TKB_ANYEDGE ) 1205 #define TK_ENTERWINDOW ( 1ULL << TKB_ENTERWINDOW ) 1206 #define TK_EXITWINDOW ( 1ULL << TKB_EXITWINDOW ) 1207 #define TK_PULSEWIDTHPOSITIVE ( 1ULL << TKB_PULSEWIDTHPOSITIVE ) 1208 #define TK_PULSEWIDTHNEGATIVE ( 1ULL << TKB_PULSEWIDTHNEGATIVE ) 1209 #define TK_PULSEWIDTHEITHER ( 1ULL << TKB_PULSEWIDTHEITHER ) 1210 #define TK_RUNTPULSEPOSITIVE ( 1ULL << TKB_RUNTPULSEPOSITIVE ) 1211 #define TK_RUNTPULSENEGATIVE ( 1ULL << TKB_RUNTPULSENEGATIVE ) 1212 #define TK_RUNTPULSEEITHER ( 1ULL << TKB_RUNTPULSEEITHER ) 1220 #define TKM_EDGE ( TK_RISINGEDGE | TK_FALLINGEDGE | TK_ANYEDGE ) 1221 #define TKM_WINDOW ( TK_INWINDOW | TK_OUTWINDOW | TK_ENTERWINDOW | TK_EXITWINDOW ) 1222 #define TKM_PULSEWIDTH ( TK_PULSEWIDTHPOSITIVE | TK_PULSEWIDTHNEGATIVE | TK_PULSEWIDTHEITHER ) 1223 #define TKM_RUNTPULSE ( TK_RUNTPULSEPOSITIVE | TK_RUNTPULSENEGATIVE | TK_RUNTPULSEEITHER ) 1224 #define TKM_PULSE ( TKM_PULSEWIDTH | TKM_RUNTPULSE ) 1225 #define TKM_TIME ( TKM_PULSEWIDTH | TKM_WINDOW ) 1226 #define TKM_ALL ( ( 1ULL << TKN_COUNT ) - 1 ) 1235 #define TLMN_COUNT 2 1242 #define TLMB_RELATIVE 0 1243 #define TLMB_ABSOLUTE 1 1249 #define TLM_UNKNOWN 0 1251 #define TLM_RELATIVE ( 1 << TLMB_RELATIVE ) 1252 #define TLM_ABSOLUTE ( 1 << TLMB_ABSOLUTE ) 1260 #define TLMM_ALL ( ( 1 << TLMN_COUNT ) - 1 ) 1269 #define TO_INFINITY -1 1277 #define TOEN_COUNT 6 1284 #define TOEB_GENERATOR_START 0 1285 #define TOEB_GENERATOR_STOP 1 1286 #define TOEB_GENERATOR_NEWPERIOD 2 1287 #define TOEB_OSCILLOSCOPE_RUNNING 3 1288 #define TOEB_OSCILLOSCOPE_TRIGGERED 4 1289 #define TOEB_MANUAL 5 1295 #define TOE_UNKNOWN 0 1296 #define TOE_GENERATOR_START ( 1 << TOEB_GENERATOR_START ) 1297 #define TOE_GENERATOR_STOP ( 1 << TOEB_GENERATOR_STOP ) 1298 #define TOE_GENERATOR_NEWPERIOD ( 1 << TOEB_GENERATOR_NEWPERIOD ) 1299 #define TOE_OSCILLOSCOPE_RUNNING ( 1 << TOEB_OSCILLOSCOPE_RUNNING ) 1300 #define TOE_OSCILLOSCOPE_TRIGGERED ( 1 << TOEB_OSCILLOSCOPE_TRIGGERED ) 1301 #define TOE_MANUAL ( 1 << TOEB_MANUAL ) 1309 #define TOEM_GENERATOR ( TOE_GENERATOR_START | TOE_GENERATOR_STOP | TOE_GENERATOR_NEWPERIOD ) 1310 #define TOEM_OSCILLOSCOPE ( TOE_OSCILLOSCOPE_RUNNING | TOE_OSCILLOSCOPE_TRIGGERED ) 1311 #define TOEM_ALL ( ( 1ULL << TOEN_COUNT ) - 1 ) 1326 #define PID_TP450 19 1330 #define PID_ATS610004D 31 1331 #define PID_ATS605004D 32 1342 #define LIBTIEPIE_EVENTID_INVALID 0 1343 #define LIBTIEPIE_EVENTID_OBJ_REMOVED 1 1344 #define LIBTIEPIE_EVENTID_SCP_DATAREADY 2 1345 #define LIBTIEPIE_EVENTID_SCP_DATAOVERFLOW 3 1346 #define LIBTIEPIE_EVENTID_SCP_CONNECTIONTESTCOMPLETED 4 1347 #define LIBTIEPIE_EVENTID_SCP_TRIGGERED 5 1348 #define LIBTIEPIE_EVENTID_GEN_BURSTCOMPLETED 6 1349 #define LIBTIEPIE_EVENTID_GEN_CONTROLLABLECHANGED 7 1350 #define LIBTIEPIE_EVENTID_SRV_STATUSCHANGED 8 1351 #define LIBTIEPIE_EVENTID_SCP_SAFEGROUNDERROR 9 1354 #define LIBTIEPIE_EVENTID_SCP_GETDATAASYNCCOMPLETED 10 1365 typedef int32_t LibTiePieStatus_t; 1366 typedef uint32_t LibTiePieHandle_t; 1367 typedef LibTiePieHandle_t TpDeviceHandle_t; 1424 #ifdef INCLUDED_BY_MATLAB 1430 typedef void(*TpCallback_t)(
void* pData );
1431 typedef void(*TpCallbackDeviceList_t)(
void* pData , uint32_t dwDeviceTypes , uint32_t dwSerialNumber );
1433 typedef void(*TpCallbackEvent_t)(
void* pData , uint32_t dwEvent , uint32_t dwValue );
1442 #define TPVERSION_MAJOR( x ) ( x >> 48 ) 1443 #define TPVERSION_MINOR( x ) ( ( x >> 32 ) & 0xffff ) 1444 #define TPVERSION_RELEASE( x ) ( ( x >> 16 ) & 0xffff ) 1445 #define TPVERSION_BUILD( x ) ( x & 0xffff ) 1447 #define TPDATE_YEAR( x ) ( x >> 16 ) 1448 #define TPDATE_MONTH( x ) ( ( x >> 8 ) & 0xff ) 1449 #define TPDATE_DAY( x ) ( x & 0xff ) 1451 #define TRIGGER_IO_ID( pgid , sgid , fid ) ( ( DN_MAIN << TIOID_SHIFT_DN ) | ( ( pgid ) << TIOID_SHIFT_PGID ) | ( ( sgid ) << TIOID_SHIFT_SGID ) | ( ( fid ) << TIOID_SHIFT_FID ) ) 1453 #define COMBI_TRIGGER_IO_ID( dn , tiid ) ( ( ( dn ) << TIOID_SHIFT_DN ) | ( ( tiid ) & ( ( 1 << TIOID_SHIFT_DN ) - 1 ) ) ) 1459 #ifdef LIBTIEPIE_WINDOWS 1466 #define WM_LIBTIEPIE ( WM_USER + 1337 ) 1468 #define WM_LIBTIEPIE_LST_DEVICEADDED ( WM_LIBTIEPIE + 2 ) 1469 #define WM_LIBTIEPIE_LST_DEVICEREMOVED ( WM_LIBTIEPIE + 3 ) 1470 #define WM_LIBTIEPIE_LST_DEVICECANOPENCHANGED ( WM_LIBTIEPIE + 9 ) 1472 #define WM_LIBTIEPIE_DEV_REMOVED ( WM_LIBTIEPIE + 4 ) 1474 #define WM_LIBTIEPIE_SCP_DATAREADY ( WM_LIBTIEPIE + 0 ) 1475 #define WM_LIBTIEPIE_SCP_DATAOVERFLOW ( WM_LIBTIEPIE + 1 ) 1476 #define WM_LIBTIEPIE_SCP_CONNECTIONTESTCOMPLETED ( WM_LIBTIEPIE + 7 ) 1477 #define WM_LIBTIEPIE_SCP_TRIGGERED ( WM_LIBTIEPIE + 8 ) 1479 #define WM_LIBTIEPIE_GEN_BURSTCOMPLETED ( WM_LIBTIEPIE + 5 ) 1480 #define WM_LIBTIEPIE_GEN_CONTROLLABLECHANGED ( WM_LIBTIEPIE + 6 ) 1482 #define WM_LIBTIEPIE_EVENT ( WM_LIBTIEPIE + 10 ) 1525 #ifdef LIBTIEPIE_DYNAMIC 1526 typedef void(*LibTiePieLibInit_t)( void );
1541 #ifdef LIBTIEPIE_DYNAMIC 1542 typedef bool8_t(*LibTiePieLibIsInitialized_t)( void );
1558 #ifdef LIBTIEPIE_DYNAMIC 1559 typedef void(*LibTiePieLibExit_t)( void );
1584 #ifdef LIBTIEPIE_DYNAMIC 1585 typedef TpVersion_t(*LibTiePieLibGetVersion_t)( void );
1600 #ifdef LIBTIEPIE_DYNAMIC 1601 typedef const char*(*LibTiePieLibGetVersionExtra_t)( void );
1630 #ifdef LIBTIEPIE_DYNAMIC 1631 typedef uint32_t(*LibTiePieLibGetConfig_t)( uint8_t* pBuffer , uint32_t dwBufferLength );
1633 uint32_t
LibGetConfig( uint8_t* pBuffer , uint32_t dwBufferLength );
1653 #ifdef LIBTIEPIE_DYNAMIC 1676 #ifdef LIBTIEPIE_DYNAMIC 1677 typedef const char*(*LibTiePieLibGetLastStatusStr_t)( void );
1792 #ifdef LIBTIEPIE_DYNAMIC 1793 typedef void(*LibTiePieLstUpdate_t)( void );
1809 #ifdef LIBTIEPIE_DYNAMIC 1810 typedef uint32_t(*LibTiePieLstGetCount_t)( void );
1854 #ifdef LIBTIEPIE_DYNAMIC 1855 typedef LibTiePieHandle_t(*LibTiePieLstOpenDevice_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwDeviceType );
1897 #ifdef LIBTIEPIE_DYNAMIC 1898 typedef LibTiePieHandle_t(*LibTiePieLstOpenOscilloscope_t)( uint32_t dwIdKind , uint32_t dwId );
1940 #ifdef LIBTIEPIE_DYNAMIC 1941 typedef LibTiePieHandle_t(*LibTiePieLstOpenGenerator_t)( uint32_t dwIdKind , uint32_t dwId );
1983 #ifdef LIBTIEPIE_DYNAMIC 1984 typedef LibTiePieHandle_t(*LibTiePieLstOpenI2CHost_t)( uint32_t dwIdKind , uint32_t dwId );
2009 #ifdef LIBTIEPIE_DYNAMIC 2010 typedef uint32_t(*LibTiePieLstCreateCombinedDevice_t)(
const LibTiePieHandle_t* pDeviceHandles , uint32_t dwCount );
2036 #ifdef LIBTIEPIE_DYNAMIC 2056 #ifdef LIBTIEPIE_DYNAMIC 2057 typedef void(*LibTiePieLstRemoveDevice_t)( uint32_t dwSerialNumber );
2113 #ifdef LIBTIEPIE_DYNAMIC 2114 typedef bool8_t(*LibTiePieLstDevCanOpen_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwDeviceType );
2116 bool8_t
LstDevCanOpen( uint32_t dwIdKind , uint32_t dwId , uint32_t dwDeviceType );
2137 #ifdef LIBTIEPIE_DYNAMIC 2138 typedef uint32_t(*LibTiePieLstDevGetProductId_t)( uint32_t dwIdKind , uint32_t dwId );
2163 #ifdef LIBTIEPIE_DYNAMIC 2164 typedef uint32_t(*LibTiePieLstDevGetVendorId_t)( uint32_t dwIdKind , uint32_t dwId );
2166 uint32_t LstDevGetVendorId( uint32_t dwIdKind , uint32_t dwId );
2207 #ifdef LIBTIEPIE_DYNAMIC 2208 typedef uint32_t(*LibTiePieLstDevGetName_t)( uint32_t dwIdKind , uint32_t dwId ,
char* pBuffer , uint32_t dwBufferLength );
2210 uint32_t
LstDevGetName( uint32_t dwIdKind , uint32_t dwId ,
char* pBuffer , uint32_t dwBufferLength );
2249 #ifdef LIBTIEPIE_DYNAMIC 2250 typedef uint32_t(*LibTiePieLstDevGetNameShort_t)( uint32_t dwIdKind , uint32_t dwId ,
char* pBuffer , uint32_t dwBufferLength );
2252 uint32_t
LstDevGetNameShort( uint32_t dwIdKind , uint32_t dwId ,
char* pBuffer , uint32_t dwBufferLength );
2291 #ifdef LIBTIEPIE_DYNAMIC 2292 typedef uint32_t(*LibTiePieLstDevGetNameShortest_t)( uint32_t dwIdKind , uint32_t dwId ,
char* pBuffer , uint32_t dwBufferLength );
2294 uint32_t
LstDevGetNameShortest( uint32_t dwIdKind , uint32_t dwId ,
char* pBuffer , uint32_t dwBufferLength );
2315 #ifdef LIBTIEPIE_DYNAMIC 2316 typedef TpVersion_t(*LibTiePieLstDevGetDriverVersion_t)( uint32_t dwIdKind , uint32_t dwId );
2339 #ifdef LIBTIEPIE_DYNAMIC 2340 typedef TpVersion_t(*LibTiePieLstDevGetRecommendedDriverVersion_t)( uint32_t dwIdKind , uint32_t dwId );
2363 #ifdef LIBTIEPIE_DYNAMIC 2364 typedef TpVersion_t(*LibTiePieLstDevGetFirmwareVersion_t)( uint32_t dwIdKind , uint32_t dwId );
2389 #ifdef LIBTIEPIE_DYNAMIC 2390 typedef TpVersion_t(*LibTiePieLstDevGetRecommendedFirmwareVersion_t)( uint32_t dwIdKind , uint32_t dwId );
2392 TpVersion_t LstDevGetRecommendedFirmwareVersion( uint32_t dwIdKind , uint32_t dwId );
2424 #ifdef LIBTIEPIE_DYNAMIC 2425 typedef TpDate_t(*LibTiePieLstDevGetCalibrationDate_t)( uint32_t dwIdKind , uint32_t dwId );
2452 #ifdef LIBTIEPIE_DYNAMIC 2453 typedef uint32_t(*LibTiePieLstDevGetSerialNumber_t)( uint32_t dwIdKind , uint32_t dwId );
2496 #ifdef LIBTIEPIE_DYNAMIC 2497 typedef uint32_t(*LibTiePieLstDevGetTypes_t)( uint32_t dwIdKind , uint32_t dwId );
2564 #ifdef LIBTIEPIE_DYNAMIC 2565 typedef uint32_t(*LibTiePieLstDevGetContainedSerialNumbers_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t* pBuffer , uint32_t dwBufferLength );
2590 #ifdef LIBTIEPIE_DYNAMIC 2591 typedef uint32_t(*LibTiePieLstCbDevGetProductId_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
2593 uint32_t
LstCbDevGetProductId( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
2618 #ifdef LIBTIEPIE_DYNAMIC 2619 typedef uint32_t(*LibTiePieLstCbDevGetVendorId_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
2621 uint32_t LstCbDevGetVendorId( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
2650 #ifdef LIBTIEPIE_DYNAMIC 2651 typedef uint32_t(*LibTiePieLstCbDevGetName_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber ,
char* pBuffer , uint32_t dwBufferLength );
2653 uint32_t
LstCbDevGetName( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber ,
char* pBuffer , uint32_t dwBufferLength );
2680 #ifdef LIBTIEPIE_DYNAMIC 2681 typedef uint32_t(*LibTiePieLstCbDevGetNameShort_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber ,
char* pBuffer , uint32_t dwBufferLength );
2683 uint32_t
LstCbDevGetNameShort( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber ,
char* pBuffer , uint32_t dwBufferLength );
2710 #ifdef LIBTIEPIE_DYNAMIC 2711 typedef uint32_t(*LibTiePieLstCbDevGetNameShortest_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber ,
char* pBuffer , uint32_t dwBufferLength );
2713 uint32_t
LstCbDevGetNameShortest( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber ,
char* pBuffer , uint32_t dwBufferLength );
2736 #ifdef LIBTIEPIE_DYNAMIC 2737 typedef TpVersion_t(*LibTiePieLstCbDevGetDriverVersion_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
2739 TpVersion_t
LstCbDevGetDriverVersion( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
2762 #ifdef LIBTIEPIE_DYNAMIC 2763 typedef TpVersion_t(*LibTiePieLstCbDevGetFirmwareVersion_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
2788 #ifdef LIBTIEPIE_DYNAMIC 2789 typedef TpDate_t(*LibTiePieLstCbDevGetCalibrationDate_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
2814 #ifdef LIBTIEPIE_DYNAMIC 2815 typedef uint16_t(*LibTiePieLstCbScpGetChannelCount_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
2817 uint16_t
LstCbScpGetChannelCount( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
2851 #ifdef LIBTIEPIE_DYNAMIC 2852 typedef void(*LibTiePieLstSetCallbackDeviceAdded_t)( TpCallbackDeviceList_t pCallback ,
void* pData );
2878 #ifdef LIBTIEPIE_DYNAMIC 2879 typedef void(*LibTiePieLstSetCallbackDeviceRemoved_t)( TpCallbackDeviceList_t pCallback ,
void* pData );
2905 #ifdef LIBTIEPIE_DYNAMIC 2906 typedef void(*LibTiePieLstSetCallbackDeviceCanOpenChanged_t)( TpCallbackDeviceList_t pCallback ,
void* pData );
2915 #ifdef LIBTIEPIE_LINUX 2930 #ifdef LIBTIEPIE_DYNAMIC 2931 typedef void(*LibTiePieLstSetEventDeviceAdded_t)(
int fdEvent );
2949 #ifdef LIBTIEPIE_DYNAMIC 2950 typedef void(*LibTiePieLstSetEventDeviceRemoved_t)(
int fdEvent );
2968 #ifdef LIBTIEPIE_DYNAMIC 2969 typedef void(*LibTiePieLstSetEventDeviceCanOpenChanged_t)(
int fdEvent );
2976 #ifdef LIBTIEPIE_WINDOWS 2991 #ifdef LIBTIEPIE_DYNAMIC 2992 typedef void(*LibTiePieLstSetEventDeviceAdded_t)( HANDLE hEvent );
3010 #ifdef LIBTIEPIE_DYNAMIC 3011 typedef void(*LibTiePieLstSetEventDeviceRemoved_t)( HANDLE hEvent );
3029 #ifdef LIBTIEPIE_DYNAMIC 3030 typedef void(*LibTiePieLstSetEventDeviceCanOpenChanged_t)( HANDLE hEvent );
3052 #ifdef LIBTIEPIE_DYNAMIC 3053 typedef void(*LibTiePieLstSetMessageDeviceAdded_t)( HWND hWnd );
3075 #ifdef LIBTIEPIE_DYNAMIC 3076 typedef void(*LibTiePieLstSetMessageDeviceRemoved_t)( HWND hWnd );
3098 #ifdef LIBTIEPIE_DYNAMIC 3099 typedef void(*LibTiePieLstSetMessageDeviceCanOpenChanged_t)( HWND hWnd );
3149 #ifdef LIBTIEPIE_DYNAMIC 3168 #ifdef LIBTIEPIE_DYNAMIC 3187 #ifdef LIBTIEPIE_DYNAMIC 3215 #ifdef LIBTIEPIE_DYNAMIC 3216 typedef void(*LibTiePieObjSetEventCallback_t)(
LibTiePieHandle_t hHandle , TpCallbackEvent_t pCallback ,
void* pData );
3231 #ifdef LIBTIEPIE_DYNAMIC 3237 #ifdef LIBTIEPIE_LINUX 3247 #ifdef LIBTIEPIE_DYNAMIC 3248 typedef void(*LibTiePieObjSetEventEvent_t)(
LibTiePieHandle_t hHandle ,
int fdEvent );
3255 #ifdef LIBTIEPIE_WINDOWS 3265 #ifdef LIBTIEPIE_DYNAMIC 3266 typedef void(*LibTiePieObjSetEventEvent_t)(
LibTiePieHandle_t hHandle , HANDLE hEvent );
3283 #ifdef LIBTIEPIE_DYNAMIC 3284 typedef void(*LibTiePieObjSetEventWindowHandle_t)(
LibTiePieHandle_t hHandle , HWND hWnd );
3322 #ifdef LIBTIEPIE_DYNAMIC 3350 #ifdef LIBTIEPIE_DYNAMIC 3391 #ifdef LIBTIEPIE_DYNAMIC 3423 #ifdef LIBTIEPIE_DYNAMIC 3454 #ifdef LIBTIEPIE_DYNAMIC 3490 #ifdef LIBTIEPIE_DYNAMIC 3491 typedef uint32_t(*LibTiePieDevGetCalibrationToken_t)(
LibTiePieHandle_t hDevice ,
char* pBuffer , uint32_t dwBufferLength );
3493 uint32_t DevGetCalibrationToken(
LibTiePieHandle_t hDevice ,
char* pBuffer , uint32_t dwBufferLength );
3513 #ifdef LIBTIEPIE_DYNAMIC 3534 #ifdef LIBTIEPIE_DYNAMIC 3557 #ifdef LIBTIEPIE_DYNAMIC 3580 #ifdef LIBTIEPIE_DYNAMIC 3619 #ifdef LIBTIEPIE_DYNAMIC 3620 typedef uint32_t(*LibTiePieDevGetName_t)(
LibTiePieHandle_t hDevice ,
char* pBuffer , uint32_t dwBufferLength );
3658 #ifdef LIBTIEPIE_DYNAMIC 3659 typedef uint32_t(*LibTiePieDevGetNameShort_t)(
LibTiePieHandle_t hDevice ,
char* pBuffer , uint32_t dwBufferLength );
3697 #ifdef LIBTIEPIE_DYNAMIC 3698 typedef uint32_t(*LibTiePieDevGetNameShortest_t)(
LibTiePieHandle_t hDevice ,
char* pBuffer , uint32_t dwBufferLength );
3738 #ifdef LIBTIEPIE_DYNAMIC 3739 typedef void(*LibTiePieDevSetCallbackRemoved_t)(
LibTiePieHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
3744 #ifdef LIBTIEPIE_LINUX 3762 #ifdef LIBTIEPIE_DYNAMIC 3763 typedef void(*LibTiePieDevSetEventRemoved_t)(
LibTiePieHandle_t hDevice ,
int fdEvent );
3770 #ifdef LIBTIEPIE_WINDOWS 3788 #ifdef LIBTIEPIE_DYNAMIC 3789 typedef void(*LibTiePieDevSetEventRemoved_t)(
LibTiePieHandle_t hDevice , HANDLE hEvent );
3812 #ifdef LIBTIEPIE_DYNAMIC 3813 typedef void(*LibTiePieDevSetMessageRemoved_t)(
LibTiePieHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
3852 #ifdef LIBTIEPIE_DYNAMIC 3878 #ifdef LIBTIEPIE_DYNAMIC 3879 typedef uint16_t(*LibTiePieDevTrGetInputIndexById_t)(
LibTiePieHandle_t hDevice , uint32_t dwId );
3903 #ifdef LIBTIEPIE_DYNAMIC 3939 #ifdef LIBTIEPIE_DYNAMIC 3965 #ifdef LIBTIEPIE_DYNAMIC 4005 #ifdef LIBTIEPIE_DYNAMIC 4006 typedef uint64_t(*LibTiePieDevTrInGetKinds_t)(
LibTiePieHandle_t hDevice , uint16_t wInput );
4035 #ifdef LIBTIEPIE_DYNAMIC 4036 typedef uint64_t(*LibTiePieScpTrInGetKindsEx_t)(
LibTiePieHandle_t hDevice , uint16_t wInput , uint32_t dwMeasureMode );
4038 uint64_t ScpTrInGetKindsEx(
LibTiePieHandle_t hDevice , uint16_t wInput , uint32_t dwMeasureMode );
4063 #ifdef LIBTIEPIE_DYNAMIC 4064 typedef uint64_t(*LibTiePieDevTrInGetKind_t)(
LibTiePieHandle_t hDevice , uint16_t wInput );
4091 #ifdef LIBTIEPIE_DYNAMIC 4092 typedef uint64_t(*LibTiePieDevTrInSetKind_t)(
LibTiePieHandle_t hDevice , uint16_t wInput , uint64_t qwKind );
4132 #ifdef LIBTIEPIE_DYNAMIC 4149 #ifdef LIBTIEPIE_DYNAMIC 4150 typedef bool8_t(*LibTiePieScpTrInIsAvailableEx_t)(
LibTiePieHandle_t hDevice , uint16_t wInput , uint32_t dwMeasureMode );
4152 bool8_t ScpTrInIsAvailableEx(
LibTiePieHandle_t hDevice , uint16_t wInput , uint32_t dwMeasureMode );
4175 #ifdef LIBTIEPIE_DYNAMIC 4176 typedef uint32_t(*LibTiePieDevTrInGetId_t)(
LibTiePieHandle_t hDevice , uint16_t wInput );
4200 #ifdef LIBTIEPIE_DYNAMIC 4201 typedef uint32_t(*LibTiePieDevTrInGetName_t)(
LibTiePieHandle_t hDevice , uint16_t wInput ,
char* pBuffer , uint32_t dwBufferLength );
4236 #ifdef LIBTIEPIE_DYNAMIC 4260 #ifdef LIBTIEPIE_DYNAMIC 4261 typedef uint16_t(*LibTiePieDevTrGetOutputIndexById_t)(
LibTiePieHandle_t hDevice , uint32_t dwId );
4294 #ifdef LIBTIEPIE_DYNAMIC 4319 #ifdef LIBTIEPIE_DYNAMIC 4362 #ifdef LIBTIEPIE_DYNAMIC 4363 typedef uint64_t(*LibTiePieDevTrOutGetEvents_t)(
LibTiePieHandle_t hDevice , uint16_t wOutput );
4387 #ifdef LIBTIEPIE_DYNAMIC 4388 typedef uint64_t(*LibTiePieDevTrOutGetEvent_t)(
LibTiePieHandle_t hDevice , uint16_t wOutput );
4414 #ifdef LIBTIEPIE_DYNAMIC 4415 typedef uint64_t(*LibTiePieDevTrOutSetEvent_t)(
LibTiePieHandle_t hDevice , uint16_t wOutput , uint64_t qwEvent );
4451 #ifdef LIBTIEPIE_DYNAMIC 4452 typedef uint32_t(*LibTiePieDevTrOutGetId_t)(
LibTiePieHandle_t hDevice , uint16_t wOutput );
4476 #ifdef LIBTIEPIE_DYNAMIC 4477 typedef uint32_t(*LibTiePieDevTrOutGetName_t)(
LibTiePieHandle_t hDevice , uint16_t wOutput ,
char* pBuffer , uint32_t dwBufferLength );
4500 #ifdef LIBTIEPIE_DYNAMIC 4546 #ifdef LIBTIEPIE_DYNAMIC 4571 #ifdef LIBTIEPIE_DYNAMIC 4592 #ifdef LIBTIEPIE_DYNAMIC 4593 typedef bool8_t(*LibTiePieScpChIsAvailableEx_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode ,
double dSampleFrequency , uint8_t byResolution ,
const bool8_t* pChannelEnabled , uint16_t wChannelCount );
4595 bool8_t ScpChIsAvailableEx(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode ,
double dSampleFrequency , uint8_t byResolution ,
const bool8_t* pChannelEnabled , uint16_t wChannelCount );
4625 #ifdef LIBTIEPIE_DYNAMIC 4626 typedef uint32_t(*LibTiePieScpChGetConnectorType_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
4647 #ifdef LIBTIEPIE_DYNAMIC 4670 #ifdef LIBTIEPIE_DYNAMIC 4671 typedef double(*LibTiePieScpChGetImpedance_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
4708 #ifdef LIBTIEPIE_DYNAMIC 4709 typedef uint32_t(*LibTiePieScpChGetBandwidths_t)(
LibTiePieHandle_t hDevice , uint16_t wCh ,
double* pList , uint32_t dwLength );
4733 #ifdef LIBTIEPIE_DYNAMIC 4734 typedef double(*LibTiePieScpChGetBandwidth_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
4759 #ifdef LIBTIEPIE_DYNAMIC 4760 typedef double(*LibTiePieScpChSetBandwidth_t)(
LibTiePieHandle_t hDevice , uint16_t wCh ,
double dBandwidth );
4794 #ifdef LIBTIEPIE_DYNAMIC 4795 typedef uint64_t(*LibTiePieScpChGetCouplings_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
4818 #ifdef LIBTIEPIE_DYNAMIC 4819 typedef uint64_t(*LibTiePieScpChGetCoupling_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
4846 #ifdef LIBTIEPIE_DYNAMIC 4847 typedef uint64_t(*LibTiePieScpChSetCoupling_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint64_t qwCoupling );
4882 #ifdef LIBTIEPIE_DYNAMIC 4907 #ifdef LIBTIEPIE_DYNAMIC 4953 #ifdef LIBTIEPIE_DYNAMIC 4954 typedef double(*LibTiePieScpChGetProbeGain_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
4982 #ifdef LIBTIEPIE_DYNAMIC 4983 typedef double(*LibTiePieScpChSetProbeGain_t)(
LibTiePieHandle_t hDevice , uint16_t wCh ,
double dProbeGain );
5010 #ifdef LIBTIEPIE_DYNAMIC 5011 typedef double(*LibTiePieScpChGetProbeOffset_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
5040 #ifdef LIBTIEPIE_DYNAMIC 5041 typedef double(*LibTiePieScpChSetProbeOffset_t)(
LibTiePieHandle_t hDevice , uint16_t wCh ,
double dProbeOffset );
5086 #ifdef LIBTIEPIE_DYNAMIC 5111 #ifdef LIBTIEPIE_DYNAMIC 5155 #ifdef LIBTIEPIE_DYNAMIC 5156 typedef uint32_t(*LibTiePieScpChGetRanges_t)(
LibTiePieHandle_t hDevice , uint16_t wCh ,
double* pList , uint32_t dwLength );
5175 #ifdef LIBTIEPIE_DYNAMIC 5176 typedef uint32_t(*LibTiePieScpChGetRangesEx_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint64_t qwCoupling ,
double* pList , uint32_t dwLength );
5178 uint32_t ScpChGetRangesEx(
LibTiePieHandle_t hDevice , uint16_t wCh , uint64_t qwCoupling ,
double* pList , uint32_t dwLength );
5201 #ifdef LIBTIEPIE_DYNAMIC 5202 typedef double(*LibTiePieScpChGetRange_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
5243 #ifdef LIBTIEPIE_DYNAMIC 5244 typedef double(*LibTiePieScpChSetRange_t)(
LibTiePieHandle_t hDevice , uint16_t wCh ,
double dRange );
5288 #ifdef LIBTIEPIE_DYNAMIC 5313 #ifdef LIBTIEPIE_DYNAMIC 5345 #ifdef LIBTIEPIE_DYNAMIC 5346 typedef bool8_t(*LibTiePieScpChSetSafeGroundEnabled_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , bool8_t bEnable );
5372 #ifdef LIBTIEPIE_DYNAMIC 5373 typedef double(*LibTiePieScpChGetSafeGroundThresholdMin_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
5399 #ifdef LIBTIEPIE_DYNAMIC 5400 typedef double(*LibTiePieScpChGetSafeGroundThresholdMax_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
5426 #ifdef LIBTIEPIE_DYNAMIC 5427 typedef double(*LibTiePieScpChGetSafeGroundThreshold_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
5460 #ifdef LIBTIEPIE_DYNAMIC 5461 typedef double(*LibTiePieScpChSetSafeGroundThreshold_t)(
LibTiePieHandle_t hDevice , uint16_t wCh ,
double dThreshold );
5477 #ifdef LIBTIEPIE_DYNAMIC 5478 typedef double(*LibTiePieScpChVerifySafeGroundThreshold_t)(
LibTiePieHandle_t hDevice , uint16_t wCh ,
double dThreshold );
5480 double ScpChVerifySafeGroundThreshold(
LibTiePieHandle_t hDevice , uint16_t wCh ,
double dThreshold );
5518 #ifdef LIBTIEPIE_DYNAMIC 5544 #ifdef LIBTIEPIE_DYNAMIC 5545 typedef bool8_t(*LibTiePieScpChHasTriggerEx_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode );
5547 bool8_t ScpChHasTriggerEx(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode );
5568 #ifdef LIBTIEPIE_DYNAMIC 5590 #ifdef LIBTIEPIE_DYNAMIC 5591 typedef bool8_t(*LibTiePieScpChTrIsAvailableEx_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode ,
double dSampleFrequency , uint8_t byResolution ,
const bool8_t* pChannelEnabled ,
const bool8_t* pChannelTriggerEnabled , uint16_t wChannelCount );
5593 bool8_t ScpChTrIsAvailableEx(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode ,
double dSampleFrequency , uint8_t byResolution ,
const bool8_t* pChannelEnabled ,
const bool8_t* pChannelTriggerEnabled , uint16_t wChannelCount );
5610 #ifdef LIBTIEPIE_DYNAMIC 5648 #ifdef LIBTIEPIE_DYNAMIC 5675 #ifdef LIBTIEPIE_DYNAMIC 5715 #ifdef LIBTIEPIE_DYNAMIC 5716 typedef uint64_t(*LibTiePieScpChTrGetKinds_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
5732 #ifdef LIBTIEPIE_DYNAMIC 5733 typedef uint64_t(*LibTiePieScpChTrGetKindsEx_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode );
5735 uint64_t ScpChTrGetKindsEx(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode );
5759 #ifdef LIBTIEPIE_DYNAMIC 5760 typedef uint64_t(*LibTiePieScpChTrGetKind_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
5787 #ifdef LIBTIEPIE_DYNAMIC 5788 typedef uint64_t(*LibTiePieScpChTrSetKind_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint64_t qwTriggerKind );
5832 #ifdef LIBTIEPIE_DYNAMIC 5833 typedef uint32_t(*LibTiePieScpChTrGetLevelModes_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
5855 #ifdef LIBTIEPIE_DYNAMIC 5856 typedef uint32_t(*LibTiePieScpChTrGetLevelMode_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
5880 #ifdef LIBTIEPIE_DYNAMIC 5881 typedef uint32_t(*LibTiePieScpChTrSetLevelMode_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwLevelMode );
5927 #ifdef LIBTIEPIE_DYNAMIC 5928 typedef uint32_t(*LibTiePieScpChTrGetLevelCount_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
5954 #ifdef LIBTIEPIE_DYNAMIC 5955 typedef double(*LibTiePieScpChTrGetLevel_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwIndex );
5984 #ifdef LIBTIEPIE_DYNAMIC 5985 typedef double(*LibTiePieScpChTrSetLevel_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dLevel );
6029 #ifdef LIBTIEPIE_DYNAMIC 6030 typedef uint32_t(*LibTiePieScpChTrGetHysteresisCount_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
6056 #ifdef LIBTIEPIE_DYNAMIC 6057 typedef double(*LibTiePieScpChTrGetHysteresis_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwIndex );
6085 #ifdef LIBTIEPIE_DYNAMIC 6086 typedef double(*LibTiePieScpChTrSetHysteresis_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dHysteresis );
6126 #ifdef LIBTIEPIE_DYNAMIC 6127 typedef uint32_t(*LibTiePieScpChTrGetConditions_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
6144 #ifdef LIBTIEPIE_DYNAMIC 6145 typedef uint32_t(*LibTiePieScpChTrGetConditionsEx_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode , uint64_t qwTriggerKind );
6147 uint32_t ScpChTrGetConditionsEx(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode , uint64_t qwTriggerKind );
6171 #ifdef LIBTIEPIE_DYNAMIC 6172 typedef uint32_t(*LibTiePieScpChTrGetCondition_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
6198 #ifdef LIBTIEPIE_DYNAMIC 6199 typedef uint32_t(*LibTiePieScpChTrSetCondition_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwCondition );
6246 #ifdef LIBTIEPIE_DYNAMIC 6247 typedef uint32_t(*LibTiePieScpChTrGetTimeCount_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
6277 #ifdef LIBTIEPIE_DYNAMIC 6278 typedef double(*LibTiePieScpChTrGetTime_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwIndex );
6311 #ifdef LIBTIEPIE_DYNAMIC 6312 typedef double(*LibTiePieScpChTrSetTime_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dTime );
6333 #ifdef LIBTIEPIE_DYNAMIC 6334 typedef double(*LibTiePieScpChTrVerifyTime_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dTime );
6336 double ScpChTrVerifyTime(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dTime );
6358 #ifdef LIBTIEPIE_DYNAMIC 6359 typedef double(*LibTiePieScpChTrVerifyTimeEx2_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dTime , uint32_t dwMeasureMode ,
double dSampleFrequency , uint64_t qwTriggerKind , uint32_t dwCondition );
6361 double ScpChTrVerifyTimeEx2(
LibTiePieHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dTime , uint32_t dwMeasureMode ,
double dSampleFrequency , uint64_t qwTriggerKind , uint32_t dwCondition );
6487 #ifdef INCLUDED_BY_MATLAB 6488 #ifdef LIBTIEPIE_DYNAMIC 6489 typedef uint64_t(*LibTiePieScpGetData_t)(
LibTiePieHandle_t hDevice ,
void** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
6491 uint64_t
ScpGetData(
LibTiePieHandle_t hDevice ,
void** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
6494 #ifdef LIBTIEPIE_DYNAMIC 6495 typedef uint64_t(*LibTiePieScpGetData_t)(
LibTiePieHandle_t hDevice ,
float** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
6497 uint64_t
ScpGetData(
LibTiePieHandle_t hDevice ,
float** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
6524 #ifdef LIBTIEPIE_DYNAMIC 6525 typedef uint64_t(*LibTiePieScpGetData1Ch_t)(
LibTiePieHandle_t hDevice ,
float* pBufferCh1 , uint64_t qwStartIndex , uint64_t qwSampleCount );
6554 #ifdef LIBTIEPIE_DYNAMIC 6555 typedef uint64_t(*LibTiePieScpGetData2Ch_t)(
LibTiePieHandle_t hDevice ,
float* pBufferCh1 ,
float* pBufferCh2 , uint64_t qwStartIndex , uint64_t qwSampleCount );
6585 #ifdef LIBTIEPIE_DYNAMIC 6586 typedef uint64_t(*LibTiePieScpGetData3Ch_t)(
LibTiePieHandle_t hDevice ,
float* pBufferCh1 ,
float* pBufferCh2 ,
float* pBufferCh3 , uint64_t qwStartIndex , uint64_t qwSampleCount );
6588 uint64_t
ScpGetData3Ch(
LibTiePieHandle_t hDevice ,
float* pBufferCh1 ,
float* pBufferCh2 ,
float* pBufferCh3 , uint64_t qwStartIndex , uint64_t qwSampleCount );
6617 #ifdef LIBTIEPIE_DYNAMIC 6618 typedef uint64_t(*LibTiePieScpGetData4Ch_t)(
LibTiePieHandle_t hDevice ,
float* pBufferCh1 ,
float* pBufferCh2 ,
float* pBufferCh3 ,
float* pBufferCh4 , uint64_t qwStartIndex , uint64_t qwSampleCount );
6620 uint64_t
ScpGetData4Ch(
LibTiePieHandle_t hDevice ,
float* pBufferCh1 ,
float* pBufferCh2 ,
float* pBufferCh3 ,
float* pBufferCh4 , uint64_t qwStartIndex , uint64_t qwSampleCount );
6642 #ifdef LIBTIEPIE_DYNAMIC 6643 typedef uint64_t(*LibTiePieScpGetValidPreSampleCount_t)(
LibTiePieHandle_t hDevice );
6670 #ifdef LIBTIEPIE_DYNAMIC 6671 typedef void(*LibTiePieScpChGetDataValueRange_t)(
LibTiePieHandle_t hDevice , uint16_t wCh ,
double* pMin ,
double* pMax );
6695 #ifdef LIBTIEPIE_DYNAMIC 6696 typedef double(*LibTiePieScpChGetDataValueMin_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
6720 #ifdef LIBTIEPIE_DYNAMIC 6721 typedef double(*LibTiePieScpChGetDataValueMax_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
6746 #ifdef LIBTIEPIE_DYNAMIC 6747 typedef uint64_t(*LibTiePieScpGetDataRaw_t)(
LibTiePieHandle_t hDevice ,
void** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
6749 uint64_t ScpGetDataRaw(
LibTiePieHandle_t hDevice ,
void** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
6762 #ifdef LIBTIEPIE_DYNAMIC 6763 typedef uint64_t(*LibTiePieScpGetDataRaw1Ch_t)(
LibTiePieHandle_t hDevice ,
void* pBufferCh1 , uint64_t qwStartIndex , uint64_t qwSampleCount );
6765 uint64_t ScpGetDataRaw1Ch(
LibTiePieHandle_t hDevice ,
void* pBufferCh1 , uint64_t qwStartIndex , uint64_t qwSampleCount );
6779 #ifdef LIBTIEPIE_DYNAMIC 6780 typedef uint64_t(*LibTiePieScpGetDataRaw2Ch_t)(
LibTiePieHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 , uint64_t qwStartIndex , uint64_t qwSampleCount );
6782 uint64_t ScpGetDataRaw2Ch(
LibTiePieHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 , uint64_t qwStartIndex , uint64_t qwSampleCount );
6797 #ifdef LIBTIEPIE_DYNAMIC 6798 typedef uint64_t(*LibTiePieScpGetDataRaw3Ch_t)(
LibTiePieHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 ,
void* pBufferCh3 , uint64_t qwStartIndex , uint64_t qwSampleCount );
6800 uint64_t ScpGetDataRaw3Ch(
LibTiePieHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 ,
void* pBufferCh3 , uint64_t qwStartIndex , uint64_t qwSampleCount );
6816 #ifdef LIBTIEPIE_DYNAMIC 6817 typedef uint64_t(*LibTiePieScpGetDataRaw4Ch_t)(
LibTiePieHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 ,
void* pBufferCh3 ,
void* pBufferCh4 , uint64_t qwStartIndex , uint64_t qwSampleCount );
6819 uint64_t ScpGetDataRaw4Ch(
LibTiePieHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 ,
void* pBufferCh3 ,
void* pBufferCh4 , uint64_t qwStartIndex , uint64_t qwSampleCount );
6830 #ifdef LIBTIEPIE_DYNAMIC 6831 typedef uint32_t(*LibTiePieScpChGetDataRawType_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
6849 #ifdef LIBTIEPIE_DYNAMIC 6850 typedef void(*LibTiePieScpChGetDataRawValueRange_t)(
LibTiePieHandle_t hDevice , uint16_t wCh , int64_t* pMin , int64_t* pZero , int64_t* pMax );
6852 void ScpChGetDataRawValueRange(
LibTiePieHandle_t hDevice , uint16_t wCh , int64_t* pMin , int64_t* pZero , int64_t* pMax );
6866 #ifdef LIBTIEPIE_DYNAMIC 6867 typedef int64_t(*LibTiePieScpChGetDataRawValueMin_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
6883 #ifdef LIBTIEPIE_DYNAMIC 6884 typedef int64_t(*LibTiePieScpChGetDataRawValueZero_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
6900 #ifdef LIBTIEPIE_DYNAMIC 6901 typedef int64_t(*LibTiePieScpChGetDataRawValueMax_t)(
LibTiePieHandle_t hDevice , uint16_t wCh );
6914 #ifdef LIBTIEPIE_DYNAMIC 6934 #ifdef LIBTIEPIE_DYNAMIC 6951 #ifdef LIBTIEPIE_DYNAMIC 6952 typedef bool8_t(*LibTiePieScpStartGetDataAsync_t)(
LibTiePieHandle_t hDevice ,
float** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
6954 bool8_t ScpStartGetDataAsync(
LibTiePieHandle_t hDevice ,
float** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
6968 #ifdef LIBTIEPIE_DYNAMIC 6969 typedef bool8_t(*LibTiePieScpStartGetDataAsyncRaw_t)(
LibTiePieHandle_t hDevice ,
void** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
6971 bool8_t ScpStartGetDataAsyncRaw(
LibTiePieHandle_t hDevice ,
void** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
6981 #ifdef LIBTIEPIE_DYNAMIC 7024 #ifdef LIBTIEPIE_DYNAMIC 7025 typedef void(*LibTiePieScpSetCallbackDataReady_t)(
LibTiePieHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
7059 #ifdef LIBTIEPIE_DYNAMIC 7060 typedef void(*LibTiePieScpSetCallbackDataOverflow_t)(
LibTiePieHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
7091 #ifdef LIBTIEPIE_DYNAMIC 7092 typedef void(*LibTiePieScpSetCallbackConnectionTestCompleted_t)(
LibTiePieHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
7122 #ifdef LIBTIEPIE_DYNAMIC 7123 typedef void(*LibTiePieScpSetCallbackTriggered_t)(
LibTiePieHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
7132 #ifdef LIBTIEPIE_LINUX 7152 #ifdef LIBTIEPIE_DYNAMIC 7153 typedef void(*LibTiePieScpSetEventDataReady_t)(
LibTiePieHandle_t hDevice ,
int fdEvent );
7176 #ifdef LIBTIEPIE_DYNAMIC 7177 typedef void(*LibTiePieScpSetEventDataOverflow_t)(
LibTiePieHandle_t hDevice ,
int fdEvent );
7200 #ifdef LIBTIEPIE_DYNAMIC 7201 typedef void(*LibTiePieScpSetEventConnectionTestCompleted_t)(
LibTiePieHandle_t hDevice ,
int fdEvent );
7223 #ifdef LIBTIEPIE_DYNAMIC 7224 typedef void(*LibTiePieScpSetEventTriggered_t)(
LibTiePieHandle_t hDevice ,
int fdEvent );
7231 #ifdef LIBTIEPIE_WINDOWS 7251 #ifdef LIBTIEPIE_DYNAMIC 7252 typedef void(*LibTiePieScpSetEventDataReady_t)(
LibTiePieHandle_t hDevice , HANDLE hEvent );
7275 #ifdef LIBTIEPIE_DYNAMIC 7276 typedef void(*LibTiePieScpSetEventDataOverflow_t)(
LibTiePieHandle_t hDevice , HANDLE hEvent );
7299 #ifdef LIBTIEPIE_DYNAMIC 7300 typedef void(*LibTiePieScpSetEventConnectionTestCompleted_t)(
LibTiePieHandle_t hDevice , HANDLE hEvent );
7322 #ifdef LIBTIEPIE_DYNAMIC 7323 typedef void(*LibTiePieScpSetEventTriggered_t)(
LibTiePieHandle_t hDevice , HANDLE hEvent );
7348 #ifdef LIBTIEPIE_DYNAMIC 7349 typedef void(*LibTiePieScpSetMessageDataReady_t)(
LibTiePieHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
7374 #ifdef LIBTIEPIE_DYNAMIC 7375 typedef void(*LibTiePieScpSetMessageDataOverflow_t)(
LibTiePieHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
7400 #ifdef LIBTIEPIE_DYNAMIC 7401 typedef void(*LibTiePieScpSetMessageConnectionTestCompleted_t)(
LibTiePieHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
7425 #ifdef LIBTIEPIE_DYNAMIC 7426 typedef void(*LibTiePieScpSetMessageTriggered_t)(
LibTiePieHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
7464 #ifdef LIBTIEPIE_DYNAMIC 7485 #ifdef LIBTIEPIE_DYNAMIC 7512 #ifdef LIBTIEPIE_DYNAMIC 7575 #ifdef LIBTIEPIE_DYNAMIC 7597 #ifdef LIBTIEPIE_DYNAMIC 7622 #ifdef LIBTIEPIE_DYNAMIC 7623 typedef uint32_t(*LibTiePieScpSetMeasureMode_t)(
LibTiePieHandle_t hDevice , uint32_t dwMeasureMode );
7654 #ifdef LIBTIEPIE_DYNAMIC 7680 #ifdef LIBTIEPIE_DYNAMIC 7704 #ifdef LIBTIEPIE_DYNAMIC 7728 #ifdef LIBTIEPIE_DYNAMIC 7757 #ifdef LIBTIEPIE_DYNAMIC 7783 #ifdef LIBTIEPIE_DYNAMIC 7848 #ifdef LIBTIEPIE_DYNAMIC 7849 typedef uint32_t(*LibTiePieScpGetAutoResolutionModes_t)(
LibTiePieHandle_t hDevice );
7871 #ifdef LIBTIEPIE_DYNAMIC 7872 typedef uint32_t(*LibTiePieScpGetAutoResolutionMode_t)(
LibTiePieHandle_t hDevice );
7896 #ifdef LIBTIEPIE_DYNAMIC 7897 typedef uint32_t(*LibTiePieScpSetAutoResolutionMode_t)(
LibTiePieHandle_t hDevice , uint32_t dwAutoResolutionMode );
7937 #ifdef LIBTIEPIE_DYNAMIC 7938 typedef uint32_t(*LibTiePieScpGetResolutions_t)(
LibTiePieHandle_t hDevice , uint8_t* pList , uint32_t dwLength );
7959 #ifdef LIBTIEPIE_DYNAMIC 7985 #ifdef LIBTIEPIE_DYNAMIC 7986 typedef uint8_t(*LibTiePieScpSetResolution_t)(
LibTiePieHandle_t hDevice , uint8_t byResolution );
8005 #ifdef LIBTIEPIE_DYNAMIC 8021 #ifdef LIBTIEPIE_DYNAMIC 8024 bool8_t ScpIsResolutionEnhancedEx(
LibTiePieHandle_t hDevice , uint8_t byResolution );
8072 #ifdef LIBTIEPIE_DYNAMIC 8097 #ifdef LIBTIEPIE_DYNAMIC 8124 #ifdef LIBTIEPIE_DYNAMIC 8125 typedef uint32_t(*LibTiePieScpSetClockSource_t)(
LibTiePieHandle_t hDevice , uint32_t dwClockSource );
8168 #ifdef LIBTIEPIE_DYNAMIC 8169 typedef uint32_t(*LibTiePieScpGetClockSourceFrequencies_t)(
LibTiePieHandle_t hDevice ,
double* pList , uint32_t dwLength );
8204 #ifdef LIBTIEPIE_DYNAMIC 8205 typedef uint32_t(*LibTiePieScpGetClockSourceFrequenciesEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwClockSource ,
double* pList , uint32_t dwLength );
8207 uint32_t ScpGetClockSourceFrequenciesEx(
LibTiePieHandle_t hDevice , uint32_t dwClockSource ,
double* pList , uint32_t dwLength );
8234 #ifdef LIBTIEPIE_DYNAMIC 8235 typedef double(*LibTiePieScpGetClockSourceFrequency_t)(
LibTiePieHandle_t hDevice );
8266 #ifdef LIBTIEPIE_DYNAMIC 8267 typedef double(*LibTiePieScpSetClockSourceFrequency_t)(
LibTiePieHandle_t hDevice ,
double dClockSourceFrequency );
8311 #ifdef LIBTIEPIE_DYNAMIC 8336 #ifdef LIBTIEPIE_DYNAMIC 8363 #ifdef LIBTIEPIE_DYNAMIC 8364 typedef uint32_t(*LibTiePieScpSetClockOutput_t)(
LibTiePieHandle_t hDevice , uint32_t dwClockOutput );
8407 #ifdef LIBTIEPIE_DYNAMIC 8408 typedef uint32_t(*LibTiePieScpGetClockOutputFrequencies_t)(
LibTiePieHandle_t hDevice ,
double* pList , uint32_t dwLength );
8443 #ifdef LIBTIEPIE_DYNAMIC 8444 typedef uint32_t(*LibTiePieScpGetClockOutputFrequenciesEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwClockOutput ,
double* pList , uint32_t dwLength );
8446 uint32_t ScpGetClockOutputFrequenciesEx(
LibTiePieHandle_t hDevice , uint32_t dwClockOutput ,
double* pList , uint32_t dwLength );
8473 #ifdef LIBTIEPIE_DYNAMIC 8474 typedef double(*LibTiePieScpGetClockOutputFrequency_t)(
LibTiePieHandle_t hDevice );
8505 #ifdef LIBTIEPIE_DYNAMIC 8506 typedef double(*LibTiePieScpSetClockOutputFrequency_t)(
LibTiePieHandle_t hDevice ,
double dClockOutputFrequency );
8552 #ifdef LIBTIEPIE_DYNAMIC 8553 typedef double(*LibTiePieScpGetSampleFrequencyMax_t)(
LibTiePieHandle_t hDevice );
8574 #ifdef LIBTIEPIE_DYNAMIC 8602 #ifdef LIBTIEPIE_DYNAMIC 8603 typedef double(*LibTiePieScpSetSampleFrequency_t)(
LibTiePieHandle_t hDevice ,
double dSampleFrequency );
8623 #ifdef LIBTIEPIE_DYNAMIC 8624 typedef double(*LibTiePieScpVerifySampleFrequency_t)(
LibTiePieHandle_t hDevice ,
double dSampleFrequency );
8626 double ScpVerifySampleFrequency(
LibTiePieHandle_t hDevice ,
double dSampleFrequency );
8646 #ifdef LIBTIEPIE_DYNAMIC 8647 typedef double(*LibTiePieScpVerifySampleFrequencyEx_t)(
LibTiePieHandle_t hDevice ,
double dSampleFrequency , uint32_t dwMeasureMode , uint8_t byResolution ,
const bool8_t* pChannelEnabled , uint16_t wChannelCount );
8649 double ScpVerifySampleFrequencyEx(
LibTiePieHandle_t hDevice ,
double dSampleFrequency , uint32_t dwMeasureMode , uint8_t byResolution ,
const bool8_t* pChannelEnabled , uint16_t wChannelCount );
8670 #ifdef LIBTIEPIE_DYNAMIC 8671 typedef void(*LibTiePieScpVerifySampleFrequenciesEx_t)(
LibTiePieHandle_t hDevice ,
double* pSampleFrequencies , uint32_t dwSampleFrequencyCount , uint32_t dwMeasureMode , uint32_t dwAutoResolutionMode , uint8_t byResolution ,
const bool8_t* pChannelEnabled , uint16_t wChannelCount );
8673 void ScpVerifySampleFrequenciesEx(
LibTiePieHandle_t hDevice ,
double* pSampleFrequencies , uint32_t dwSampleFrequencyCount , uint32_t dwMeasureMode , uint32_t dwAutoResolutionMode , uint8_t byResolution ,
const bool8_t* pChannelEnabled , uint16_t wChannelCount );
8714 #ifdef LIBTIEPIE_DYNAMIC 8715 typedef uint64_t(*LibTiePieScpGetRecordLengthMax_t)(
LibTiePieHandle_t hDevice );
8736 #ifdef LIBTIEPIE_DYNAMIC 8737 typedef uint64_t(*LibTiePieScpGetRecordLengthMaxEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwMeasureMode , uint8_t byResolution );
8739 uint64_t ScpGetRecordLengthMaxEx(
LibTiePieHandle_t hDevice , uint32_t dwMeasureMode , uint8_t byResolution );
8760 #ifdef LIBTIEPIE_DYNAMIC 8787 #ifdef LIBTIEPIE_DYNAMIC 8788 typedef uint64_t(*LibTiePieScpSetRecordLength_t)(
LibTiePieHandle_t hDevice , uint64_t qwRecordLength );
8808 #ifdef LIBTIEPIE_DYNAMIC 8809 typedef uint64_t(*LibTiePieScpVerifyRecordLength_t)(
LibTiePieHandle_t hDevice , uint64_t qwRecordLength );
8811 uint64_t ScpVerifyRecordLength(
LibTiePieHandle_t hDevice , uint64_t qwRecordLength );
8831 #ifdef LIBTIEPIE_DYNAMIC 8832 typedef uint64_t(*LibTiePieScpVerifyRecordLengthEx_t)(
LibTiePieHandle_t hDevice , uint64_t qwRecordLength , uint32_t dwMeasureMode , uint8_t byResolution ,
const bool8_t* pChannelEnabled , uint16_t wChannelCount );
8834 uint64_t ScpVerifyRecordLengthEx(
LibTiePieHandle_t hDevice , uint64_t qwRecordLength , uint32_t dwMeasureMode , uint8_t byResolution ,
const bool8_t* pChannelEnabled , uint16_t wChannelCount );
8880 #ifdef LIBTIEPIE_DYNAMIC 8906 #ifdef LIBTIEPIE_DYNAMIC 8907 typedef double(*LibTiePieScpSetPreSampleRatio_t)(
LibTiePieHandle_t hDevice ,
double dPreSampleRatio );
8940 #ifdef LIBTIEPIE_DYNAMIC 8941 typedef uint32_t(*LibTiePieScpGetSegmentCountMax_t)(
LibTiePieHandle_t hDevice );
8961 #ifdef LIBTIEPIE_DYNAMIC 8962 typedef uint32_t(*LibTiePieScpGetSegmentCountMaxEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwMeasureMode );
8964 uint32_t ScpGetSegmentCountMaxEx(
LibTiePieHandle_t hDevice , uint32_t dwMeasureMode );
8987 #ifdef LIBTIEPIE_DYNAMIC 9014 #ifdef LIBTIEPIE_DYNAMIC 9015 typedef uint32_t(*LibTiePieScpSetSegmentCount_t)(
LibTiePieHandle_t hDevice , uint32_t dwSegmentCount );
9035 #ifdef LIBTIEPIE_DYNAMIC 9036 typedef uint32_t(*LibTiePieScpVerifySegmentCount_t)(
LibTiePieHandle_t hDevice , uint32_t dwSegmentCount );
9038 uint32_t ScpVerifySegmentCount(
LibTiePieHandle_t hDevice , uint32_t dwSegmentCount );
9058 #ifdef LIBTIEPIE_DYNAMIC 9059 typedef uint32_t(*LibTiePieScpVerifySegmentCountEx2_t)(
LibTiePieHandle_t hDevice , uint32_t dwSegmentCount , uint32_t dwMeasureMode , uint64_t qwRecordLength ,
const bool8_t* pChannelEnabled , uint16_t wChannelCount );
9061 uint32_t ScpVerifySegmentCountEx2(
LibTiePieHandle_t hDevice , uint32_t dwSegmentCount , uint32_t dwMeasureMode , uint64_t qwRecordLength ,
const bool8_t* pChannelEnabled , uint16_t wChannelCount );
9092 #ifdef LIBTIEPIE_DYNAMIC 9117 #ifdef LIBTIEPIE_DYNAMIC 9167 #ifdef LIBTIEPIE_DYNAMIC 9192 #ifdef LIBTIEPIE_DYNAMIC 9193 typedef double(*LibTiePieScpSetTriggerTimeOut_t)(
LibTiePieHandle_t hDevice ,
double dTimeOut );
9211 #ifdef LIBTIEPIE_DYNAMIC 9212 typedef double(*LibTiePieScpVerifyTriggerTimeOut_t)(
LibTiePieHandle_t hDevice ,
double dTimeOut );
9230 #ifdef LIBTIEPIE_DYNAMIC 9231 typedef double(*LibTiePieScpVerifyTriggerTimeOutEx_t)(
LibTiePieHandle_t hDevice ,
double dTimeOut , uint32_t dwMeasureMode ,
double dSampleFrequency );
9233 double ScpVerifyTriggerTimeOutEx(
LibTiePieHandle_t hDevice ,
double dTimeOut , uint32_t dwMeasureMode ,
double dSampleFrequency );
9269 #ifdef LIBTIEPIE_DYNAMIC 9294 #ifdef LIBTIEPIE_DYNAMIC 9297 bool8_t ScpHasTriggerDelayEx(
LibTiePieHandle_t hDevice , uint32_t dwMeasureMode );
9320 #ifdef LIBTIEPIE_DYNAMIC 9352 #ifdef LIBTIEPIE_DYNAMIC 9353 typedef double(*LibTiePieScpGetTriggerDelayMaxEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwMeasureMode ,
double dSampleFrequency );
9355 double ScpGetTriggerDelayMaxEx(
LibTiePieHandle_t hDevice , uint32_t dwMeasureMode ,
double dSampleFrequency );
9378 #ifdef LIBTIEPIE_DYNAMIC 9405 #ifdef LIBTIEPIE_DYNAMIC 9406 typedef double(*LibTiePieScpSetTriggerDelay_t)(
LibTiePieHandle_t hDevice ,
double dDelay );
9427 #ifdef LIBTIEPIE_DYNAMIC 9428 typedef double(*LibTiePieScpVerifyTriggerDelay_t)(
LibTiePieHandle_t hDevice ,
double dDelay );
9449 #ifdef LIBTIEPIE_DYNAMIC 9450 typedef double(*LibTiePieScpVerifyTriggerDelayEx_t)(
LibTiePieHandle_t hDevice ,
double dDelay , uint32_t dwMeasureMode ,
double dSampleFrequency );
9452 double ScpVerifyTriggerDelayEx(
LibTiePieHandle_t hDevice ,
double dDelay , uint32_t dwMeasureMode ,
double dSampleFrequency );
9492 #ifdef LIBTIEPIE_DYNAMIC 9521 #ifdef LIBTIEPIE_DYNAMIC 9524 bool8_t ScpHasTriggerHoldOffEx(
LibTiePieHandle_t hDevice , uint32_t dwMeasureMode );
9547 #ifdef LIBTIEPIE_DYNAMIC 9548 typedef uint64_t(*LibTiePieScpGetTriggerHoldOffCountMax_t)(
LibTiePieHandle_t hDevice );
9568 #ifdef LIBTIEPIE_DYNAMIC 9569 typedef uint64_t(*LibTiePieScpGetTriggerHoldOffCountMaxEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwMeasureMode );
9571 uint64_t ScpGetTriggerHoldOffCountMaxEx(
LibTiePieHandle_t hDevice , uint32_t dwMeasureMode );
9594 #ifdef LIBTIEPIE_DYNAMIC 9595 typedef uint64_t(*LibTiePieScpGetTriggerHoldOffCount_t)(
LibTiePieHandle_t hDevice );
9620 #ifdef LIBTIEPIE_DYNAMIC 9621 typedef uint64_t(*LibTiePieScpSetTriggerHoldOffCount_t)(
LibTiePieHandle_t hDevice , uint64_t qwTriggerHoldOffCount );
9662 #ifdef LIBTIEPIE_DYNAMIC 9685 #ifdef LIBTIEPIE_DYNAMIC 9711 #ifdef LIBTIEPIE_DYNAMIC 9747 #ifdef LIBTIEPIE_DYNAMIC 9748 typedef bool8_t(*LibTiePieScpStartConnectionTestEx_t)(
LibTiePieHandle_t hDevice ,
const bool8_t* pChannelEnabled , uint16_t wChannelCount );
9750 bool8_t ScpStartConnectionTestEx(
LibTiePieHandle_t hDevice ,
const bool8_t* pChannelEnabled , uint16_t wChannelCount );
9775 #ifdef LIBTIEPIE_DYNAMIC 9839 #ifdef LIBTIEPIE_DYNAMIC 9840 typedef uint16_t(*LibTiePieScpGetConnectionTestData_t)(
LibTiePieHandle_t hDevice , LibTiePieTriState_t* pBuffer , uint16_t wChannelCount );
9880 #ifdef LIBTIEPIE_DYNAMIC 9900 #ifdef LIBTIEPIE_DYNAMIC 9921 #ifdef LIBTIEPIE_DYNAMIC 9942 #ifdef LIBTIEPIE_DYNAMIC 9963 #ifdef LIBTIEPIE_DYNAMIC 9984 #ifdef LIBTIEPIE_DYNAMIC 10007 #ifdef LIBTIEPIE_DYNAMIC 10008 typedef void(*LibTiePieGenGetOutputValueMinMax_t)(
LibTiePieHandle_t hDevice ,
double* pMin ,
double* pMax );
10010 void GenGetOutputValueMinMax(
LibTiePieHandle_t hDevice ,
double* pMin ,
double* pMax );
10053 #ifdef LIBTIEPIE_DYNAMIC 10066 #ifdef LIBTIEPIE_DYNAMIC 10088 #ifdef LIBTIEPIE_DYNAMIC 10109 #ifdef LIBTIEPIE_DYNAMIC 10133 #ifdef LIBTIEPIE_DYNAMIC 10155 #ifdef LIBTIEPIE_DYNAMIC 10178 #ifdef LIBTIEPIE_DYNAMIC 10204 #ifdef LIBTIEPIE_DYNAMIC 10228 #ifdef LIBTIEPIE_DYNAMIC 10251 #ifdef LIBTIEPIE_DYNAMIC 10305 #ifdef LIBTIEPIE_DYNAMIC 10327 #ifdef LIBTIEPIE_DYNAMIC 10355 #ifdef LIBTIEPIE_DYNAMIC 10356 typedef uint32_t(*LibTiePieGenSetSignalType_t)(
LibTiePieHandle_t hDevice , uint32_t dwSignalType );
10403 #ifdef LIBTIEPIE_DYNAMIC 10427 #ifdef LIBTIEPIE_DYNAMIC 10430 bool8_t GenHasAmplitudeEx(
LibTiePieHandle_t hDevice , uint32_t dwSignalType );
10456 #ifdef LIBTIEPIE_DYNAMIC 10483 #ifdef LIBTIEPIE_DYNAMIC 10517 #ifdef LIBTIEPIE_DYNAMIC 10518 typedef void(*LibTiePieGenGetAmplitudeMinMaxEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
10520 void GenGetAmplitudeMinMaxEx(
LibTiePieHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
10543 #ifdef LIBTIEPIE_DYNAMIC 10574 #ifdef LIBTIEPIE_DYNAMIC 10575 typedef double(*LibTiePieGenSetAmplitude_t)(
LibTiePieHandle_t hDevice ,
double dAmplitude );
10608 #ifdef LIBTIEPIE_DYNAMIC 10609 typedef double(*LibTiePieGenVerifyAmplitude_t)(
LibTiePieHandle_t hDevice ,
double dAmplitude );
10642 #ifdef LIBTIEPIE_DYNAMIC 10643 typedef double(*LibTiePieGenVerifyAmplitudeEx_t)(
LibTiePieHandle_t hDevice ,
double dAmplitude , uint32_t dwSignalType , uint32_t dwAmplitudeRangeIndex ,
double dOffset );
10645 double GenVerifyAmplitudeEx(
LibTiePieHandle_t hDevice ,
double dAmplitude , uint32_t dwSignalType , uint32_t dwAmplitudeRangeIndex ,
double dOffset );
10700 #ifdef LIBTIEPIE_DYNAMIC 10701 typedef uint32_t(*LibTiePieGenGetAmplitudeRanges_t)(
LibTiePieHandle_t hDevice ,
double* pList , uint32_t dwLength );
10725 #ifdef LIBTIEPIE_DYNAMIC 10767 #ifdef LIBTIEPIE_DYNAMIC 10768 typedef double(*LibTiePieGenSetAmplitudeRange_t)(
LibTiePieHandle_t hDevice ,
double dRange );
10792 #ifdef LIBTIEPIE_DYNAMIC 10820 #ifdef LIBTIEPIE_DYNAMIC 10866 #ifdef LIBTIEPIE_DYNAMIC 10890 #ifdef LIBTIEPIE_DYNAMIC 10916 #ifdef LIBTIEPIE_DYNAMIC 10940 #ifdef LIBTIEPIE_DYNAMIC 10972 #ifdef LIBTIEPIE_DYNAMIC 10973 typedef void(*LibTiePieGenGetOffsetMinMaxEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
10975 void GenGetOffsetMinMaxEx(
LibTiePieHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
10998 #ifdef LIBTIEPIE_DYNAMIC 11026 #ifdef LIBTIEPIE_DYNAMIC 11027 typedef double(*LibTiePieGenSetOffset_t)(
LibTiePieHandle_t hDevice ,
double dOffset );
11058 #ifdef LIBTIEPIE_DYNAMIC 11059 typedef double(*LibTiePieGenVerifyOffset_t)(
LibTiePieHandle_t hDevice ,
double dOffset );
11091 #ifdef LIBTIEPIE_DYNAMIC 11092 typedef double(*LibTiePieGenVerifyOffsetEx_t)(
LibTiePieHandle_t hDevice ,
double dOffset , uint32_t dwSignalType ,
double dAmplitude );
11094 double GenVerifyOffsetEx(
LibTiePieHandle_t hDevice ,
double dOffset , uint32_t dwSignalType ,
double dAmplitude );
11152 #ifdef LIBTIEPIE_DYNAMIC 11153 typedef uint32_t(*LibTiePieGenGetFrequencyModes_t)(
LibTiePieHandle_t hDevice );
11180 #ifdef LIBTIEPIE_DYNAMIC 11181 typedef uint32_t(*LibTiePieGenGetFrequencyModesEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwSignalType );
11183 uint32_t GenGetFrequencyModesEx(
LibTiePieHandle_t hDevice , uint32_t dwSignalType );
11205 #ifdef LIBTIEPIE_DYNAMIC 11206 typedef uint32_t(*LibTiePieGenGetFrequencyMode_t)(
LibTiePieHandle_t hDevice );
11235 #ifdef LIBTIEPIE_DYNAMIC 11236 typedef uint32_t(*LibTiePieGenSetFrequencyMode_t)(
LibTiePieHandle_t hDevice , uint32_t dwFrequencyMode );
11265 #ifdef LIBTIEPIE_DYNAMIC 11290 #ifdef LIBTIEPIE_DYNAMIC 11291 typedef bool8_t(*LibTiePieGenHasFrequencyEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwFrequencyMode , uint32_t dwSignalType );
11293 bool8_t GenHasFrequencyEx(
LibTiePieHandle_t hDevice , uint32_t dwFrequencyMode , uint32_t dwSignalType );
11316 #ifdef LIBTIEPIE_DYNAMIC 11340 #ifdef LIBTIEPIE_DYNAMIC 11373 #ifdef LIBTIEPIE_DYNAMIC 11374 typedef void(*LibTiePieGenGetFrequencyMinMax_t)(
LibTiePieHandle_t hDevice , uint32_t dwFrequencyMode ,
double* pMin ,
double* pMax );
11376 void GenGetFrequencyMinMax(
LibTiePieHandle_t hDevice , uint32_t dwFrequencyMode ,
double* pMin ,
double* pMax );
11405 #ifdef LIBTIEPIE_DYNAMIC 11406 typedef void(*LibTiePieGenGetFrequencyMinMaxEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwFrequencyMode , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
11408 void GenGetFrequencyMinMaxEx(
LibTiePieHandle_t hDevice , uint32_t dwFrequencyMode , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
11431 #ifdef LIBTIEPIE_DYNAMIC 11462 #ifdef LIBTIEPIE_DYNAMIC 11463 typedef double(*LibTiePieGenSetFrequency_t)(
LibTiePieHandle_t hDevice ,
double dFrequency );
11494 #ifdef LIBTIEPIE_DYNAMIC 11495 typedef double(*LibTiePieGenVerifyFrequency_t)(
LibTiePieHandle_t hDevice ,
double dFrequency );
11529 #ifdef LIBTIEPIE_DYNAMIC 11530 typedef double(*LibTiePieGenVerifyFrequencyEx2_t)(
LibTiePieHandle_t hDevice ,
double dFrequency , uint32_t dwFrequencyMode , uint32_t dwSignalType , uint64_t qwDataLength ,
double dWidth );
11532 double GenVerifyFrequencyEx2(
LibTiePieHandle_t hDevice ,
double dFrequency , uint32_t dwFrequencyMode , uint32_t dwSignalType , uint64_t qwDataLength ,
double dWidth );
11576 #ifdef LIBTIEPIE_DYNAMIC 11600 #ifdef LIBTIEPIE_DYNAMIC 11627 #ifdef LIBTIEPIE_DYNAMIC 11652 #ifdef LIBTIEPIE_DYNAMIC 11684 #ifdef LIBTIEPIE_DYNAMIC 11685 typedef void(*LibTiePieGenGetPhaseMinMaxEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
11687 void GenGetPhaseMinMaxEx(
LibTiePieHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
11711 #ifdef LIBTIEPIE_DYNAMIC 11742 #ifdef LIBTIEPIE_DYNAMIC 11743 typedef double(*LibTiePieGenSetPhase_t)(
LibTiePieHandle_t hDevice ,
double dPhase );
11774 #ifdef LIBTIEPIE_DYNAMIC 11775 typedef double(*LibTiePieGenVerifyPhase_t)(
LibTiePieHandle_t hDevice ,
double dPhase );
11806 #ifdef LIBTIEPIE_DYNAMIC 11807 typedef double(*LibTiePieGenVerifyPhaseEx_t)(
LibTiePieHandle_t hDevice ,
double dPhase , uint32_t dwSignalType );
11809 double GenVerifyPhaseEx(
LibTiePieHandle_t hDevice ,
double dPhase , uint32_t dwSignalType );
11854 #ifdef LIBTIEPIE_DYNAMIC 11878 #ifdef LIBTIEPIE_DYNAMIC 11904 #ifdef LIBTIEPIE_DYNAMIC 11928 #ifdef LIBTIEPIE_DYNAMIC 11960 #ifdef LIBTIEPIE_DYNAMIC 11961 typedef void(*LibTiePieGenGetSymmetryMinMaxEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
11963 void GenGetSymmetryMinMaxEx(
LibTiePieHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
11986 #ifdef LIBTIEPIE_DYNAMIC 12015 #ifdef LIBTIEPIE_DYNAMIC 12016 typedef double(*LibTiePieGenSetSymmetry_t)(
LibTiePieHandle_t hDevice ,
double dSymmetry );
12047 #ifdef LIBTIEPIE_DYNAMIC 12048 typedef double(*LibTiePieGenVerifySymmetry_t)(
LibTiePieHandle_t hDevice ,
double dSymmetry );
12079 #ifdef LIBTIEPIE_DYNAMIC 12080 typedef double(*LibTiePieGenVerifySymmetryEx_t)(
LibTiePieHandle_t hDevice ,
double dSymmetry , uint32_t dwSignalType );
12082 double GenVerifySymmetryEx(
LibTiePieHandle_t hDevice ,
double dSymmetry , uint32_t dwSignalType );
12130 #ifdef LIBTIEPIE_DYNAMIC 12154 #ifdef LIBTIEPIE_DYNAMIC 12180 #ifdef LIBTIEPIE_DYNAMIC 12204 #ifdef LIBTIEPIE_DYNAMIC 12237 #ifdef LIBTIEPIE_DYNAMIC 12238 typedef void(*LibTiePieGenGetWidthMinMaxEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwSignalType ,
double dSignalFrequency ,
double* pMin ,
double* pMax );
12240 void GenGetWidthMinMaxEx(
LibTiePieHandle_t hDevice , uint32_t dwSignalType ,
double dSignalFrequency ,
double* pMin ,
double* pMax );
12263 #ifdef LIBTIEPIE_DYNAMIC 12293 #ifdef LIBTIEPIE_DYNAMIC 12294 typedef double(*LibTiePieGenSetWidth_t)(
LibTiePieHandle_t hDevice ,
double dWidth );
12325 #ifdef LIBTIEPIE_DYNAMIC 12326 typedef double(*LibTiePieGenVerifyWidth_t)(
LibTiePieHandle_t hDevice ,
double dWidth );
12358 #ifdef LIBTIEPIE_DYNAMIC 12359 typedef double(*LibTiePieGenVerifyWidthEx_t)(
LibTiePieHandle_t hDevice ,
double dWidth , uint32_t dwSignalType ,
double dSignalFrequency );
12361 double GenVerifyWidthEx(
LibTiePieHandle_t hDevice ,
double dWidth , uint32_t dwSignalType ,
double dSignalFrequency );
12421 #ifdef LIBTIEPIE_DYNAMIC 12460 #ifdef LIBTIEPIE_DYNAMIC 12491 #ifdef LIBTIEPIE_DYNAMIC 12492 typedef double(*LibTiePieGenGetLeadingEdgeTimeMin_t)(
LibTiePieHandle_t hDevice );
12520 #ifdef LIBTIEPIE_DYNAMIC 12521 typedef double(*LibTiePieGenGetLeadingEdgeTimeMax_t)(
LibTiePieHandle_t hDevice );
12564 #ifdef LIBTIEPIE_DYNAMIC 12565 typedef void(*LibTiePieGenGetLeadingEdgeTimeMinMaxEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwSignalType ,
double dSignalFrequency ,
double dSymmetry ,
double dWidth ,
double dTrailingEdgeTime ,
double* pMin ,
double* pMax );
12567 void GenGetLeadingEdgeTimeMinMaxEx(
LibTiePieHandle_t hDevice , uint32_t dwSignalType ,
double dSignalFrequency ,
double dSymmetry ,
double dWidth ,
double dTrailingEdgeTime ,
double* pMin ,
double* pMax );
12595 #ifdef LIBTIEPIE_DYNAMIC 12596 typedef double(*LibTiePieGenGetLeadingEdgeTime_t)(
LibTiePieHandle_t hDevice );
12629 #ifdef LIBTIEPIE_DYNAMIC 12630 typedef double(*LibTiePieGenSetLeadingEdgeTime_t)(
LibTiePieHandle_t hDevice ,
double dLeadingEdgeTime );
12670 #ifdef LIBTIEPIE_DYNAMIC 12671 typedef double(*LibTiePieGenVerifyLeadingEdgeTime_t)(
LibTiePieHandle_t hDevice ,
double dLeadingEdgeTime );
12673 double GenVerifyLeadingEdgeTime(
LibTiePieHandle_t hDevice ,
double dLeadingEdgeTime );
12714 #ifdef LIBTIEPIE_DYNAMIC 12715 typedef double(*LibTiePieGenVerifyLeadingEdgeTimeEx_t)(
LibTiePieHandle_t hDevice ,
double dLeadingEdgeTime , uint32_t dwSignalType ,
double dSignalFrequency ,
double dSymmetry ,
double dWidth ,
double dTrailingEdgeTime );
12717 double GenVerifyLeadingEdgeTimeEx(
LibTiePieHandle_t hDevice ,
double dLeadingEdgeTime , uint32_t dwSignalType ,
double dSignalFrequency ,
double dSymmetry ,
double dWidth ,
double dTrailingEdgeTime );
12745 #ifdef LIBTIEPIE_DYNAMIC 12746 typedef double(*LibTiePieGenGetTrailingEdgeTimeMin_t)(
LibTiePieHandle_t hDevice );
12774 #ifdef LIBTIEPIE_DYNAMIC 12775 typedef double(*LibTiePieGenGetTrailingEdgeTimeMax_t)(
LibTiePieHandle_t hDevice );
12819 #ifdef LIBTIEPIE_DYNAMIC 12820 typedef void(*LibTiePieGenGetTrailingEdgeTimeMinMaxEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwSignalType ,
double dSignalFrequency ,
double dSymmetry ,
double dWidth ,
double dLeadingEdgeTime ,
double* pMin ,
double* pMax );
12822 void GenGetTrailingEdgeTimeMinMaxEx(
LibTiePieHandle_t hDevice , uint32_t dwSignalType ,
double dSignalFrequency ,
double dSymmetry ,
double dWidth ,
double dLeadingEdgeTime ,
double* pMin ,
double* pMax );
12850 #ifdef LIBTIEPIE_DYNAMIC 12851 typedef double(*LibTiePieGenGetTrailingEdgeTime_t)(
LibTiePieHandle_t hDevice );
12884 #ifdef LIBTIEPIE_DYNAMIC 12885 typedef double(*LibTiePieGenSetTrailingEdgeTime_t)(
LibTiePieHandle_t hDevice ,
double dTrailingEdgeTime );
12924 #ifdef LIBTIEPIE_DYNAMIC 12925 typedef double(*LibTiePieGenVerifyTrailingEdgeTime_t)(
LibTiePieHandle_t hDevice ,
double dTrailingEdgeTime );
12927 double GenVerifyTrailingEdgeTime(
LibTiePieHandle_t hDevice ,
double dTrailingEdgeTime );
12967 #ifdef LIBTIEPIE_DYNAMIC 12968 typedef double(*LibTiePieGenVerifyTrailingEdgeTimeEx_t)(
LibTiePieHandle_t hDevice ,
double dTrailingEdgeTime , uint32_t dwSignalType ,
double dSignalFrequency ,
double dSymmetry ,
double dWidth ,
double dLeadingEdgeTime );
12970 double GenVerifyTrailingEdgeTimeEx(
LibTiePieHandle_t hDevice ,
double dTrailingEdgeTime , uint32_t dwSignalType ,
double dSignalFrequency ,
double dSymmetry ,
double dWidth ,
double dLeadingEdgeTime );
13044 #ifdef LIBTIEPIE_DYNAMIC 13068 #ifdef LIBTIEPIE_DYNAMIC 13093 #ifdef LIBTIEPIE_DYNAMIC 13094 typedef uint64_t(*LibTiePieGenGetDataLengthMin_t)(
LibTiePieHandle_t hDevice );
13116 #ifdef LIBTIEPIE_DYNAMIC 13117 typedef uint64_t(*LibTiePieGenGetDataLengthMax_t)(
LibTiePieHandle_t hDevice );
13147 #ifdef LIBTIEPIE_DYNAMIC 13148 typedef void(*LibTiePieGenGetDataLengthMinMaxEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwSignalType , uint64_t* pMin , uint64_t* pMax );
13150 void GenGetDataLengthMinMaxEx(
LibTiePieHandle_t hDevice , uint32_t dwSignalType , uint64_t* pMin , uint64_t* pMax );
13172 #ifdef LIBTIEPIE_DYNAMIC 13204 #ifdef LIBTIEPIE_DYNAMIC 13205 typedef uint64_t(*LibTiePieGenVerifyDataLength_t)(
LibTiePieHandle_t hDevice , uint64_t qwDataLength );
13207 uint64_t GenVerifyDataLength(
LibTiePieHandle_t hDevice , uint64_t qwDataLength );
13235 #ifdef LIBTIEPIE_DYNAMIC 13236 typedef uint64_t(*LibTiePieGenVerifyDataLengthEx_t)(
LibTiePieHandle_t hDevice , uint64_t qwDataLength , uint32_t dwSignalType );
13238 uint64_t GenVerifyDataLengthEx(
LibTiePieHandle_t hDevice , uint64_t qwDataLength , uint32_t dwSignalType );
13270 #ifdef LIBTIEPIE_DYNAMIC 13271 typedef void(*LibTiePieGenSetData_t)(
LibTiePieHandle_t hDevice ,
const float* pBuffer , uint64_t qwSampleCount );
13304 #ifdef LIBTIEPIE_DYNAMIC 13305 typedef void(*LibTiePieGenSetDataEx_t)(
LibTiePieHandle_t hDevice ,
const float* pBuffer , uint64_t qwSampleCount , uint32_t dwSignalType , uint32_t dwReserved );
13307 void GenSetDataEx(
LibTiePieHandle_t hDevice ,
const float* pBuffer , uint64_t qwSampleCount , uint32_t dwSignalType , uint32_t dwReserved );
13326 #ifdef LIBTIEPIE_DYNAMIC 13341 #ifdef LIBTIEPIE_DYNAMIC 13342 typedef void(*LibTiePieGenGetDataRawValueRange_t)(
LibTiePieHandle_t hDevice , int64_t* pMin , int64_t* pZero , int64_t* pMax );
13344 void GenGetDataRawValueRange(
LibTiePieHandle_t hDevice , int64_t* pMin , int64_t* pZero , int64_t* pMax );
13354 #ifdef LIBTIEPIE_DYNAMIC 13355 typedef int64_t(*LibTiePieGenGetDataRawValueMin_t)(
LibTiePieHandle_t hDevice );
13367 #ifdef LIBTIEPIE_DYNAMIC 13368 typedef int64_t(*LibTiePieGenGetDataRawValueZero_t)(
LibTiePieHandle_t hDevice );
13380 #ifdef LIBTIEPIE_DYNAMIC 13381 typedef int64_t(*LibTiePieGenGetDataRawValueMax_t)(
LibTiePieHandle_t hDevice );
13396 #ifdef LIBTIEPIE_DYNAMIC 13397 typedef void(*LibTiePieGenSetDataRaw_t)(
LibTiePieHandle_t hDevice ,
const void* pBuffer , uint64_t qwSampleCount );
13399 void GenSetDataRaw(
LibTiePieHandle_t hDevice ,
const void* pBuffer , uint64_t qwSampleCount );
13414 #ifdef LIBTIEPIE_DYNAMIC 13415 typedef void(*LibTiePieGenSetDataRawEx_t)(
LibTiePieHandle_t hDevice ,
const void* pBuffer , uint64_t qwSampleCount , uint32_t dwSignalType , uint32_t dwReserved );
13417 void GenSetDataRawEx(
LibTiePieHandle_t hDevice ,
const void* pBuffer , uint64_t qwSampleCount , uint32_t dwSignalType , uint32_t dwReserved );
13467 #ifdef LIBTIEPIE_DYNAMIC 13492 #ifdef LIBTIEPIE_DYNAMIC 13493 typedef uint64_t(*LibTiePieGenGetModesEx_t)(
LibTiePieHandle_t hDevice , uint32_t dwSignalType , uint32_t dwFrequencyMode );
13495 uint64_t GenGetModesEx(
LibTiePieHandle_t hDevice , uint32_t dwSignalType , uint32_t dwFrequencyMode );
13517 #ifdef LIBTIEPIE_DYNAMIC 13540 #ifdef LIBTIEPIE_DYNAMIC 13567 #ifdef LIBTIEPIE_DYNAMIC 13568 typedef uint64_t(*LibTiePieGenSetMode_t)(
LibTiePieHandle_t hDevice , uint64_t qwGeneratorMode );
13647 #ifdef LIBTIEPIE_DYNAMIC 13671 #ifdef LIBTIEPIE_DYNAMIC 13672 typedef uint64_t(*LibTiePieGenGetBurstCountMin_t)(
LibTiePieHandle_t hDevice );
13695 #ifdef LIBTIEPIE_DYNAMIC 13696 typedef uint64_t(*LibTiePieGenGetBurstCountMax_t)(
LibTiePieHandle_t hDevice );
13725 #ifdef LIBTIEPIE_DYNAMIC 13726 typedef void(*LibTiePieGenGetBurstCountMinMaxEx_t)(
LibTiePieHandle_t hDevice , uint64_t qwGeneratorMode , uint64_t* pMin , uint64_t* pMax );
13728 void GenGetBurstCountMinMaxEx(
LibTiePieHandle_t hDevice , uint64_t qwGeneratorMode , uint64_t* pMin , uint64_t* pMax );
13751 #ifdef LIBTIEPIE_DYNAMIC 13779 #ifdef LIBTIEPIE_DYNAMIC 13780 typedef uint64_t(*LibTiePieGenSetBurstCount_t)(
LibTiePieHandle_t hDevice , uint64_t qwBurstCount );
13803 #ifdef LIBTIEPIE_DYNAMIC 13804 typedef uint64_t(*LibTiePieGenGetBurstSampleCountMin_t)(
LibTiePieHandle_t hDevice );
13827 #ifdef LIBTIEPIE_DYNAMIC 13828 typedef uint64_t(*LibTiePieGenGetBurstSampleCountMax_t)(
LibTiePieHandle_t hDevice );
13857 #ifdef LIBTIEPIE_DYNAMIC 13858 typedef void(*LibTiePieGenGetBurstSampleCountMinMaxEx_t)(
LibTiePieHandle_t hDevice , uint64_t qwGeneratorMode , uint64_t* pMin , uint64_t* pMax );
13860 void GenGetBurstSampleCountMinMaxEx(
LibTiePieHandle_t hDevice , uint64_t qwGeneratorMode , uint64_t* pMin , uint64_t* pMax );
13883 #ifdef LIBTIEPIE_DYNAMIC 13884 typedef uint64_t(*LibTiePieGenGetBurstSampleCount_t)(
LibTiePieHandle_t hDevice );
13911 #ifdef LIBTIEPIE_DYNAMIC 13912 typedef uint64_t(*LibTiePieGenSetBurstSampleCount_t)(
LibTiePieHandle_t hDevice , uint64_t qwBurstSampleCount );
13935 #ifdef LIBTIEPIE_DYNAMIC 13936 typedef uint64_t(*LibTiePieGenGetBurstSegmentCountMin_t)(
LibTiePieHandle_t hDevice );
13959 #ifdef LIBTIEPIE_DYNAMIC 13960 typedef uint64_t(*LibTiePieGenGetBurstSegmentCountMax_t)(
LibTiePieHandle_t hDevice );
13993 #ifdef LIBTIEPIE_DYNAMIC 13994 typedef void(*LibTiePieGenGetBurstSegmentCountMinMaxEx_t)(
LibTiePieHandle_t hDevice , uint64_t qwGeneratorMode , uint32_t dwSignalType , uint32_t dwFrequencyMode ,
double dFrequency , uint64_t qwDataLength , uint64_t* pMin , uint64_t* pMax );
13996 void GenGetBurstSegmentCountMinMaxEx(
LibTiePieHandle_t hDevice , uint64_t qwGeneratorMode , uint32_t dwSignalType , uint32_t dwFrequencyMode ,
double dFrequency , uint64_t qwDataLength , uint64_t* pMin , uint64_t* pMax );
14019 #ifdef LIBTIEPIE_DYNAMIC 14020 typedef uint64_t(*LibTiePieGenGetBurstSegmentCount_t)(
LibTiePieHandle_t hDevice );
14047 #ifdef LIBTIEPIE_DYNAMIC 14048 typedef uint64_t(*LibTiePieGenSetBurstSegmentCount_t)(
LibTiePieHandle_t hDevice , uint64_t qwBurstSegmentCount );
14078 #ifdef LIBTIEPIE_DYNAMIC 14079 typedef uint64_t(*LibTiePieGenVerifyBurstSegmentCount_t)(
LibTiePieHandle_t hDevice , uint64_t qwBurstSegmentCount );
14081 uint64_t GenVerifyBurstSegmentCount(
LibTiePieHandle_t hDevice , uint64_t qwBurstSegmentCount );
14113 #ifdef LIBTIEPIE_DYNAMIC 14114 typedef uint64_t(*LibTiePieGenVerifyBurstSegmentCountEx_t)(
LibTiePieHandle_t hDevice , uint64_t qwBurstSegmentCount , uint64_t qwGeneratorMode , uint32_t dwSignalType , uint32_t dwFrequencyMode ,
double dFrequency , uint64_t qwDataLength );
14116 uint64_t GenVerifyBurstSegmentCountEx(
LibTiePieHandle_t hDevice , uint64_t qwBurstSegmentCount , uint64_t qwGeneratorMode , uint32_t dwSignalType , uint32_t dwFrequencyMode ,
double dFrequency , uint64_t qwDataLength );
14189 #ifdef LIBTIEPIE_DYNAMIC 14190 typedef void(*LibTiePieGenSetCallbackBurstCompleted_t)(
LibTiePieHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
14195 #ifdef LIBTIEPIE_LINUX 14214 #ifdef LIBTIEPIE_DYNAMIC 14215 typedef void(*LibTiePieGenSetEventBurstCompleted_t)(
LibTiePieHandle_t hDevice ,
int fdEvent );
14222 #ifdef LIBTIEPIE_WINDOWS 14241 #ifdef LIBTIEPIE_DYNAMIC 14242 typedef void(*LibTiePieGenSetEventBurstCompleted_t)(
LibTiePieHandle_t hDevice , HANDLE hEvent );
14266 #ifdef LIBTIEPIE_DYNAMIC 14267 typedef void(*LibTiePieGenSetMessageBurstCompleted_t)(
LibTiePieHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
14302 #ifdef LIBTIEPIE_DYNAMIC 14303 typedef void(*LibTiePieGenSetCallbackControllableChanged_t)(
LibTiePieHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
14308 #ifdef LIBTIEPIE_LINUX 14327 #ifdef LIBTIEPIE_DYNAMIC 14328 typedef void(*LibTiePieGenSetEventControllableChanged_t)(
LibTiePieHandle_t hDevice ,
int fdEvent );
14335 #ifdef LIBTIEPIE_WINDOWS 14354 #ifdef LIBTIEPIE_DYNAMIC 14355 typedef void(*LibTiePieGenSetEventControllableChanged_t)(
LibTiePieHandle_t hDevice , HANDLE hEvent );
14379 #ifdef LIBTIEPIE_DYNAMIC 14380 typedef void(*LibTiePieGenSetMessageControllableChanged_t)(
LibTiePieHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
14422 #ifdef LIBTIEPIE_DYNAMIC 14459 #ifdef LIBTIEPIE_DYNAMIC 14460 typedef uint32_t(*LibTiePieI2CGetInternalAddresses_t)(
LibTiePieHandle_t hDevice , uint16_t* pAddresses , uint32_t dwLength );
14496 #ifdef LIBTIEPIE_DYNAMIC 14497 typedef bool8_t(*LibTiePieI2CRead_t)(
LibTiePieHandle_t hDevice , uint16_t wAddress ,
void* pBuffer , uint32_t dwSize , bool8_t bStop );
14499 bool8_t
I2CRead(
LibTiePieHandle_t hDevice , uint16_t wAddress ,
void* pBuffer , uint32_t dwSize , bool8_t bStop );
14525 #ifdef LIBTIEPIE_DYNAMIC 14555 #ifdef LIBTIEPIE_DYNAMIC 14595 #ifdef LIBTIEPIE_DYNAMIC 14596 typedef bool8_t(*LibTiePieI2CWrite_t)(
LibTiePieHandle_t hDevice , uint16_t wAddress ,
const void* pBuffer , uint32_t dwSize , bool8_t bStop );
14598 bool8_t
I2CWrite(
LibTiePieHandle_t hDevice , uint16_t wAddress ,
const void* pBuffer , uint32_t dwSize , bool8_t bStop );
14626 #ifdef LIBTIEPIE_DYNAMIC 14658 #ifdef LIBTIEPIE_DYNAMIC 14659 typedef bool8_t(*LibTiePieI2CWriteByteByte_t)(
LibTiePieHandle_t hDevice , uint16_t wAddress , uint8_t byValue1 , uint8_t byValue2 );
14691 #ifdef LIBTIEPIE_DYNAMIC 14692 typedef bool8_t(*LibTiePieI2CWriteByteWord_t)(
LibTiePieHandle_t hDevice , uint16_t wAddress , uint8_t byValue1 , uint16_t wValue2 );
14723 #ifdef LIBTIEPIE_DYNAMIC 14767 #ifdef LIBTIEPIE_DYNAMIC 14768 typedef bool8_t(*LibTiePieI2CWriteRead_t)(
LibTiePieHandle_t hDevice , uint16_t wAddress ,
const void* pWriteBuffer , uint32_t dwWriteSize ,
void* pReadBuffer , uint32_t dwReadSize );
14770 bool8_t
I2CWriteRead(
LibTiePieHandle_t hDevice , uint16_t wAddress ,
const void* pWriteBuffer , uint32_t dwWriteSize ,
void* pReadBuffer , uint32_t dwReadSize );
14798 #ifdef LIBTIEPIE_DYNAMIC 14821 #ifdef LIBTIEPIE_DYNAMIC 14846 #ifdef LIBTIEPIE_DYNAMIC 14847 typedef double(*LibTiePieI2CSetSpeed_t)(
LibTiePieHandle_t hDevice ,
double dSpeed );
14874 #ifdef LIBTIEPIE_DYNAMIC 14875 typedef double(*LibTiePieI2CVerifySpeed_t)(
LibTiePieHandle_t hDevice ,
double dSpeed );
14937 #ifdef LIBTIEPIE_DYNAMIC 14958 #ifdef LIBTIEPIE_DYNAMIC 14959 typedef void(*LibTiePieHlpPointerArraySet_t)( LibTiePiePointerArray_t pArray , uint32_t dwIndex ,
void* pPointer );
14961 void HlpPointerArraySet( LibTiePiePointerArray_t pArray , uint32_t dwIndex ,
void* pPointer );
14976 #ifdef LIBTIEPIE_DYNAMIC 14977 typedef void(*LibTiePieHlpPointerArrayDelete_t)( LibTiePiePointerArray_t pArray );
uint64_t ScpSetRecordLength(LibTiePieHandle_t hDevice, uint64_t qwRecordLength)
Set the record length of a specified oscilloscope.
bool8_t ScpChGetSafeGroundEnabled(LibTiePieHandle_t hDevice, uint16_t wCh)
Check whether SafeGround is enabled for a specified channel.
uint64_t GenGetBurstSegmentCountMax(LibTiePieHandle_t hDevice)
Get the maximum burst segment count for the current settings of a specified generator.
bool8_t GenHasAmplitude(LibTiePieHandle_t hDevice)
Check whether the current signal type of a specified generator supports controlling the signal amplit...
uint32_t ScpGetClockSource(LibTiePieHandle_t hDevice)
Get the currently selected clock source of the specified oscilloscope.
uint16_t ScpGetConnectionTestData(LibTiePieHandle_t hDevice, LibTiePieTriState_t *pBuffer, uint16_t wChannelCount)
Get the connection test result data for a specified oscilloscope.
uint32_t GenGetFrequencyMode(LibTiePieHandle_t hDevice)
Get the current generator frequency mode of a specified generator.
uint32_t DevGetName(LibTiePieHandle_t hDevice, char *pBuffer, uint32_t dwBufferLength)
Get the full name of the device.
void ScpSetEventDataReady(LibTiePieHandle_t hDevice, int fdEvent)
Set an event file descriptor which is set when the oscilloscope has new measurement data ready...
bool8_t GenGetOutputOn(LibTiePieHandle_t hDevice)
Check whether the output of a specified generator is enabled.
bool8_t I2CWriteByteWord(LibTiePieHandle_t hDevice, uint16_t wAddress, uint8_t byValue1, uint16_t wValue2)
Write one byte and one word to a specified address on the I2C bus, using a specified I2C host...
double GenGetLeadingEdgeTimeMin(LibTiePieHandle_t hDevice)
Get the minimum leading edge time with the current pulse width and signal frequency, of a specified generator.
uint32_t LstDevGetProductId(uint32_t dwIdKind, uint32_t dwId)
Get the product id of the listed device.
TpVersion_t LstDevGetDriverVersion(uint32_t dwIdKind, uint32_t dwId)
Get the version number of the driver currently used by the listed device.
bool8_t ScpChHasSafeGround(LibTiePieHandle_t hDevice, uint16_t wCh)
Check whether the specified channel has SafeGround.
void GenSetMessageControllableChanged(LibTiePieHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
Set window handle to which a WM_LIBTIEPIE_GEN_CONTROLLABLECHANGED message is sent when the generator ...
uint32_t ScpGetClockSourceFrequencies(LibTiePieHandle_t hDevice, double *pList, uint32_t dwLength)
Get an array with the supported clock source frequencies of the specified oscilloscope.
double GenGetLeadingEdgeTime(LibTiePieHandle_t hDevice)
Get the current leading edge time with the current pulse width and signal frequency, of a specified generator.
double ScpChGetDataValueMax(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the maximum value of the input range the current data was measured with.
void(* TpCallbackDeviceList_t)(void *pData, uint32_t dwDeviceTypes, uint32_t dwSerialNumber)
void ObjSetEventEvent(LibTiePieHandle_t hHandle, int fdEvent)
Set an event file descriptor which is set when an event occurs.
bool8_t I2CWriteByte(LibTiePieHandle_t hDevice, uint16_t wAddress, uint8_t byValue)
Write one byte to a specified address on the I2C bus, using a specified I2C host. ...
uint8_t ScpGetResolution(LibTiePieHandle_t hDevice)
Get the current resolution of the specified oscilloscope.
uint32_t ScpChGetBandwidths(LibTiePieHandle_t hDevice, uint16_t wCh, double *pList, uint32_t dwLength)
Get the supported input bandwidths for a specified channel.
double GenGetTrailingEdgeTimeMin(LibTiePieHandle_t hDevice)
Get the minimum trailing edge time with the current pulse width and signal frequency, of a specified generator.
bool8_t ScpChTrSetEnabled(LibTiePieHandle_t hDevice, uint16_t wCh, bool8_t bEnable)
To select a channel as trigger source, set channel trigger enable.
bool8_t GenStart(LibTiePieHandle_t hDevice)
Start the signal generation of a specified generator.
uint32_t GenGetStatus(LibTiePieHandle_t hDevice)
Get the current signal generation status of a specified generator.
bool8_t ScpIsDataReady(LibTiePieHandle_t hDevice)
Check whether new, unread measured data is available.
double GenGetTrailingEdgeTime(LibTiePieHandle_t hDevice)
Get the current trailing edge time with the current pulse width and signal frequency, of a specified generator.
bool8_t GenIsDifferential(LibTiePieHandle_t hDevice)
Check whether the output of a specified generator is differential.
uint8_t ScpSetResolution(LibTiePieHandle_t hDevice, uint8_t byResolution)
Set the resolution of the specified oscilloscope.
uint32_t LstCreateCombinedDevice(const LibTiePieHandle_t *pDeviceHandles, uint32_t dwCount)
Create a combined instrument.
double ScpGetTriggerDelay(LibTiePieHandle_t hDevice)
Get the currently selected trigger delay in seconds, for a specified oscilloscope.
uint32_t DevGetSerialNumber(LibTiePieHandle_t hDevice)
Get the serial number of the device.
void(* TpCallbackEvent_t)(void *pData, uint32_t dwEvent, uint32_t dwValue)
bool8_t ScpHasTrigger(LibTiePieHandle_t hDevice)
Check whether the oscilloscope has trigger support with the currently selected measure mode...
double ScpSetTriggerDelay(LibTiePieHandle_t hDevice, double dDelay)
Set trigger delay in seconds, for a specified oscilloscope.
double ScpGetTriggerTimeOut(LibTiePieHandle_t hDevice)
Get the currently selected trigger time out in seconds, for a specified oscilloscope.
bool8_t ScpStartConnectionTest(LibTiePieHandle_t hDevice)
Perform a connection test on all enabled channels of a specified oscilloscope.
double GenGetOutputValueMin(LibTiePieHandle_t hDevice)
Get the minimum output value of a specified generator.
void LstSetMessageDeviceCanOpenChanged(HWND hWnd)
Set a window handle to which a WM_LIBTIEPIE_LST_DEVICEREMOVED message is sent when the device can ope...
double GenGetPhase(LibTiePieHandle_t hDevice)
Get the current signal phase of a specified generator.
uint32_t GenGetSignalType(LibTiePieHandle_t hDevice)
Get the currently selected signal type of a specified generator.
void LstSetEventDeviceRemoved(int fdEvent)
Set an event file descriptor which is set when a device is removed from the device list...
bool8_t I2CIsInternalAddress(LibTiePieHandle_t hDevice, uint16_t wAddress)
Check whether an address is used internally.
void GenSetCallbackControllableChanged(LibTiePieHandle_t hDevice, TpCallback_t pCallback, void *pData)
Set a callback function which is called when the generator controllable property changes.
void GenSetEventControllableChanged(LibTiePieHandle_t hDevice, int fdEvent)
Set an event file descriptor which is set when the generator controllable property changes...
TpVersion_t LstDevGetFirmwareVersion(uint32_t dwIdKind, uint32_t dwId)
Get the version number of the firmware currently used by the listed device.
TpVersion_t LibGetVersion(void)
Get the library version number.
uint64_t GenGetBurstSampleCountMax(LibTiePieHandle_t hDevice)
Get the maximum burst sample count for the current generator mode of a specified generator.
double ScpGetClockSourceFrequency(LibTiePieHandle_t hDevice)
Get the current clock source frequency of the specified oscilloscope.
void ScpSetCallbackDataOverflow(LibTiePieHandle_t hDevice, TpCallback_t pCallback, void *pData)
Set a callback function which is called when the oscilloscope streaming measurement caused an data ov...
double ScpChGetSafeGroundThresholdMax(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the maximum SafeGround threshold current for the specified channel.
bool8_t GenIsRunning(LibTiePieHandle_t hDevice)
Check whether the generator is running.
double ScpSetClockOutputFrequency(LibTiePieHandle_t hDevice, double dClockOutputFrequency)
Set the clock output frequency of the specified oscilloscope.
void LstSetCallbackDeviceRemoved(TpCallbackDeviceList_t pCallback, void *pData)
Set a callback function which is called when a device is removed from the device list.
uint32_t ScpChTrSetCondition(LibTiePieHandle_t hDevice, uint16_t wCh, uint32_t dwCondition)
Set the trigger condition for a specified channel.
uint32_t ScpChGetRanges(LibTiePieHandle_t hDevice, uint16_t wCh, double *pList, uint32_t dwLength)
Get the supported input ranges for a specified channel, with the currently selected coupling...
double GenSetFrequency(LibTiePieHandle_t hDevice, double dFrequency)
Set signal/sample frequency, of a specified generator.
uint64_t GenSetBurstSegmentCount(LibTiePieHandle_t hDevice, uint64_t qwBurstSegmentCount)
Set the burst segment count of a specified generator.
double GenSetSymmetry(LibTiePieHandle_t hDevice, double dSymmetry)
Set the signal symmetry of a specified generator.
double GenSetAmplitudeRange(LibTiePieHandle_t hDevice, double dRange)
Set the amplitude range for a specified generator.
double ScpChSetRange(LibTiePieHandle_t hDevice, uint16_t wCh, double dRange)
Set the input range for a specified channel.
uint64_t ScpGetData(LibTiePieHandle_t hDevice, float **pBuffers, uint16_t wChannelCount, uint64_t qwStartIndex, uint64_t qwSampleCount)
Get the measurement data for specified channels.
bool8_t DevIsRemoved(LibTiePieHandle_t hDevice)
Check whether a device is removed.
double GenGetSymmetryMin(LibTiePieHandle_t hDevice)
Get the minimum signal symmetry of a specified generator.
const char * LibGetLastStatusStr(void)
Get the last status value as text.
double GenGetOutputValueMax(LibTiePieHandle_t hDevice)
Get the maximum output value of a specified generator.
void LstSetMessageDeviceAdded(HWND hWnd)
Set a window handle to which a WM_LIBTIEPIE_LST_DEVICEADDED message is sent when a device is added to...
bool8_t I2CWrite(LibTiePieHandle_t hDevice, uint16_t wAddress, const void *pBuffer, uint32_t dwSize, bool8_t bStop)
Write data to a specified address on the I2C bus, using a specified I2C host.
double ScpChSetSafeGroundThreshold(LibTiePieHandle_t hDevice, uint16_t wCh, double dThreshold)
Set the SafeGround threshold current for the specified channel.
void LstSetEventDeviceAdded(int fdEvent)
Set an event file descriptor which is set when a device is added to the device list.
double ScpGetSampleFrequency(LibTiePieHandle_t hDevice)
Get the currently selected sample frequency of a specified oscilloscope.
void ScpSetMessageTriggered(LibTiePieHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
Set a window handle to which a WM_LIBTIEPIE_SCP_TRIGGERED message is sent when the oscilloscope is tr...
uint32_t GenSetFrequencyMode(LibTiePieHandle_t hDevice, uint32_t dwFrequencyMode)
Set the generator frequency mode of a specified generator.
bool8_t ScpChTrIsTriggered(LibTiePieHandle_t hDevice, uint16_t wCh)
Check whether the channel trigger caused a trigger.
uint32_t GenSetSignalType(LibTiePieHandle_t hDevice, uint32_t dwSignalType)
Set the signal type of a specified generator.
bool8_t GenHasPhase(LibTiePieHandle_t hDevice)
Check whether the specified generator and the current signal type of the specified generator support ...
LibTiePieHandle_t LstOpenOscilloscope(uint32_t dwIdKind, uint32_t dwId)
Open an oscilloscope and get a handle to the oscilloscope.
uint64_t DevTrOutSetEvent(LibTiePieHandle_t hDevice, uint16_t wOutput, uint64_t qwEvent)
Set the trigger output event for a specified device trigger output.
uint32_t ScpSetMeasureMode(LibTiePieHandle_t hDevice, uint32_t dwMeasureMode)
Set the measure mode.
uint64_t DevTrOutGetEvent(LibTiePieHandle_t hDevice, uint16_t wOutput)
Get the currently selected trigger output event for a specified device trigger output.
bool8_t ScpChGetEnabled(LibTiePieHandle_t hDevice, uint16_t wCh)
Check whether a specified channel is currently enabled.
bool8_t ScpHasConnectionTest(LibTiePieHandle_t hDevice)
Check whether the specified oscilloscope supports connection testing.
double ScpChSetBandwidth(LibTiePieHandle_t hDevice, uint16_t wCh, double dBandwidth)
Set the channel input bandwidth.
LibTiePieHandle_t LstOpenDevice(uint32_t dwIdKind, uint32_t dwId, uint32_t dwDeviceType)
Open a device and get a handle to the device.
LibTiePiePointerArray_t HlpPointerArrayNew(uint32_t dwLength)
Create a new pointer array.
double ScpChTrSetHysteresis(LibTiePieHandle_t hDevice, uint16_t wCh, uint32_t dwIndex, double dHysteresis)
Set the channel trigger hysteresis value for a specified channel and trigger hysteresis.
void DevSetMessageRemoved(LibTiePieHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
Set a window handle to which a WM_LIBTIEPIE_DEV_REMOVED message is sent when the device is removed...
void ScpSetCallbackDataReady(LibTiePieHandle_t hDevice, TpCallback_t pCallback, void *pData)
Set a callback function which is called when the oscilloscope has new measurement data ready...
void GenSetEventBurstCompleted(LibTiePieHandle_t hDevice, int fdEvent)
Set an event file descriptor which is set when the generator burst is completed.
bool8_t ScpForceTrigger(LibTiePieHandle_t hDevice)
Force a trigger.
bool8_t I2CRead(LibTiePieHandle_t hDevice, uint16_t wAddress, void *pBuffer, uint32_t dwSize, bool8_t bStop)
Read data from a specified address on the I2C bus, using a specified I2C host.
uint32_t ScpChTrGetLevelCount(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the number of channel trigger levels for a specified channel with the currently selected trigger ...
double ScpChGetSafeGroundThreshold(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the actual SafeGround threshold current for the specified channel.
double ScpChTrGetTime(LibTiePieHandle_t hDevice, uint16_t wCh, uint32_t dwIndex)
Get the current trigger time value for a specified channel and trigger type.
double GenGetAmplitudeMin(LibTiePieHandle_t hDevice)
Get the minimum signal amplitude for the current signal type of a specified generator.
uint64_t GenGetDataLength(LibTiePieHandle_t hDevice)
Get the length of the currently loaded waveform pattern of a specified generator. ...
uint64_t ScpChSetCoupling(LibTiePieHandle_t hDevice, uint16_t wCh, uint64_t qwCoupling)
Set the coupling of a specified channel.
uint64_t GenGetBurstSampleCount(LibTiePieHandle_t hDevice)
Get the current burst sample count for the current generator mode of a specified generator.
bool8_t DevTrOutTrigger(LibTiePieHandle_t hDevice, uint16_t wOutput)
Trigger the specified device trigger output.
double GenGetPhaseMin(LibTiePieHandle_t hDevice)
Get the minimum signal phase of a specified generator.
TpDate_t LstCbDevGetCalibrationDate(uint32_t dwIdKind, uint32_t dwId, uint32_t dwContainedDeviceSerialNumber)
Get the calibration date of a device contained in a combined device.
double I2CGetSpeed(LibTiePieHandle_t hDevice)
Get the current clock speed on the I2C bus controlled by a specified I2C host.
double ScpSetPreSampleRatio(LibTiePieHandle_t hDevice, double dPreSampleRatio)
Set the pre sample ratio of a specified oscilloscope.
uint8_t LibTiePieTriState_t
TriState value one byte wide.
bool8_t ScpIsConnectionTestCompleted(LibTiePieHandle_t hDevice)
Check whether the connection test on a specified oscilloscope is completed.
TpVersion_t DevGetDriverVersion(LibTiePieHandle_t hDevice)
Get the version number of the driver used by the device.
uint64_t ScpChTrGetKind(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the currently selected channel trigger kind for a specified channel.
TpVersion_t LstDevGetRecommendedDriverVersion(uint32_t dwIdKind, uint32_t dwId)
Get the version number of the recommended driver for the listed device.
double GenGetSymmetryMax(LibTiePieHandle_t hDevice)
Get the maximum signal symmetry of a specified generator.
void ScpSetEventTriggered(LibTiePieHandle_t hDevice, int fdEvent)
Set an event file descriptor which is set when the oscilloscope is triggered.
double GenGetOffset(LibTiePieHandle_t hDevice)
Get the current signal offset of a specified generator.
bool8_t ScpChSetSafeGroundEnabled(LibTiePieHandle_t hDevice, uint16_t wCh, bool8_t bEnable)
Enable or disable SafeGround for a specified channel.
uint32_t ScpGetClockOutputs(LibTiePieHandle_t hDevice)
Get the supported clock outputs of the specified oscilloscope.
double GenGetSymmetry(LibTiePieHandle_t hDevice)
Get the current signal symmetry of a specified generator.
bool8_t GenHasFrequency(LibTiePieHandle_t hDevice)
Check whether the current signal type and frequency mode of a specified generator support controlling...
uint32_t LstDevGetTypes(uint32_t dwIdKind, uint32_t dwId)
Get the device types of the listed device.
double ScpGetSampleFrequencyMax(LibTiePieHandle_t hDevice)
Get the maximum supported sample frequency of a specified oscilloscope.
bool8_t ScpStart(LibTiePieHandle_t hDevice)
Start a single measurement.
bool8_t ScpChSetAutoRanging(LibTiePieHandle_t hDevice, uint16_t wCh, bool8_t bEnable)
Set auto ranging for a specified channel.
double ScpChGetDataValueMin(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the minimum value of the input range the current data was measured with.
bool8_t GenHasSymmetry(LibTiePieHandle_t hDevice)
Check whether the current signal type of a specified generator supports controlling the signal symmet...
bool8_t ScpHasTriggerHoldOff(LibTiePieHandle_t hDevice)
Check whether the oscilloscope has trigger hold off support with the currently selected measure mode...
double ScpGetPreSampleRatio(LibTiePieHandle_t hDevice)
Get the current pre sample ratio of a specified oscilloscope.
uint16_t ScpGetChannelCount(LibTiePieHandle_t hDevice)
Get the number of channels.
uint32_t DevGetType(LibTiePieHandle_t hDevice)
Get the device type.
double GenSetTrailingEdgeTime(LibTiePieHandle_t hDevice, double dTrailingEdgeTime)
Set the trailing edge time, of a specified generator.
uint32_t ScpSetSegmentCount(LibTiePieHandle_t hDevice, uint32_t dwSegmentCount)
Set the number of segments of a specified oscilloscope.
double I2CGetSpeedMax(LibTiePieHandle_t hDevice)
Get the maximum clock speed on the I2C bus controlled by a specified I2C host.
double ScpChGetProbeGain(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the currently set channel probe gain for a specified channel.
bool8_t ScpIsResolutionEnhanced(LibTiePieHandle_t hDevice)
Check whether the currently selected resolution is enhanced or a native resolution of the hardware...
uint64_t ScpGetTriggerHoldOffCount(LibTiePieHandle_t hDevice)
Get the trigger hold off count in samples, for a specified oscilloscope.
void ObjSetEventWindowHandle(LibTiePieHandle_t hHandle, HWND hWnd)
Set a window handle to which a WM_LIBTIEPIE_EVENT message is sent when an event occurs.
LibTiePieStatus_t LibGetLastStatus(void)
Get the last status value.
uint64_t GenSetMode(LibTiePieHandle_t hDevice, uint64_t qwGeneratorMode)
Set the generator mode of a specified generator.
double ScpChTrSetTime(LibTiePieHandle_t hDevice, uint16_t wCh, uint32_t dwIndex, double dTime)
Set the required trigger time value for a specified channel and trigger type.
uint32_t LibTiePieHandle_t
Generic handle.
uint32_t ScpChTrSetLevelMode(LibTiePieHandle_t hDevice, uint16_t wCh, uint32_t dwLevelMode)
Set the trigger level mode of a specified channel.
uint32_t LstDevGetNameShortest(uint32_t dwIdKind, uint32_t dwId, char *pBuffer, uint32_t dwBufferLength)
Get the short name of the listed device wihout model postfix.
uint32_t ScpChTrGetLevelModes(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the supported trigger level modes of a specified channel.
double ScpChGetRange(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the currently selected input range for a specified channel.
bool8_t ScpChHasTrigger(LibTiePieHandle_t hDevice, uint16_t wCh)
Check whether the specified channel has trigger support with the currently selected measure mode...
uint32_t ScpGetAutoResolutionMode(LibTiePieHandle_t hDevice)
Get the current auto resolution mode of the specified oscilloscope.
uint64_t GenGetMode(LibTiePieHandle_t hDevice)
Get the current generator mode of a specified generator.
uint64_t GenGetBurstCountMin(LibTiePieHandle_t hDevice)
Get the minimum burst count for the current generator mode of a specified generator.
bool8_t ScpIsRunning(LibTiePieHandle_t hDevice)
Check whether the oscilloscope is currently measuring.
uint32_t DevGetNameShortest(LibTiePieHandle_t hDevice, char *pBuffer, uint32_t dwBufferLength)
Get the short name of the device without model postfix.
uint32_t DevTrOutGetId(LibTiePieHandle_t hDevice, uint16_t wOutput)
Get the id of a specified device trigger output.
TpVersion_t LstCbDevGetDriverVersion(uint32_t dwIdKind, uint32_t dwId, uint32_t dwContainedDeviceSerialNumber)
Get the driver version of a device contained in a combined device.
bool8_t ScpChGetAutoRanging(LibTiePieHandle_t hDevice, uint16_t wCh)
Check whether auto ranging is enabled for a specified channel.
uint64_t ScpGetData3Ch(LibTiePieHandle_t hDevice, float *pBufferCh1, float *pBufferCh2, float *pBufferCh3, uint64_t qwStartIndex, uint64_t qwSampleCount)
Get the measurement data for the first three channels.
void ScpSetCallbackTriggered(LibTiePieHandle_t hDevice, TpCallback_t pCallback, void *pData)
Set a callback function which is called when the oscilloscope is triggered.
LibTiePieHandle_t LstOpenI2CHost(uint32_t dwIdKind, uint32_t dwId)
Open an I2C host and get a handle to the I2C host.
uint32_t LstDevGetNameShort(uint32_t dwIdKind, uint32_t dwId, char *pBuffer, uint32_t dwBufferLength)
Get the short name of the listed device.
void LibInit(void)
Create and initialize internal resources used by the library.
int32_t LibTiePieStatus_t
LibTiePie status code.
uint32_t LstCbDevGetNameShort(uint32_t dwIdKind, uint32_t dwId, uint32_t dwContainedDeviceSerialNumber, char *pBuffer, uint32_t dwBufferLength)
Get the short name of a device contained in a combined device.
uint32_t GenGetAmplitudeRanges(LibTiePieHandle_t hDevice, double *pList, uint32_t dwLength)
Get the supported amplitude ranges for a specified generator.
TpVersion_t LstCbDevGetFirmwareVersion(uint32_t dwIdKind, uint32_t dwId, uint32_t dwContainedDeviceSerialNumber)
Get the firmware version of a device contained in a combined device.
void ScpSetCallbackConnectionTestCompleted(LibTiePieHandle_t hDevice, TpCallback_t pCallback, void *pData)
Set a callback function which is called when the oscilloscope connection test is completed.
bool8_t DevTrOutSetEnabled(LibTiePieHandle_t hDevice, uint16_t wOutput, bool8_t bEnable)
Set trigger output enable.
bool8_t ScpIsTriggered(LibTiePieHandle_t hDevice)
Check whether the oscilloscope has triggered.
double ScpGetTriggerDelayMax(LibTiePieHandle_t hDevice)
Get the maximum trigger delay in seconds, for the currently selected measure mode and sample frequenc...
double ScpChTrGetLevel(LibTiePieHandle_t hDevice, uint16_t wCh, uint32_t dwIndex)
Get the currently set channel trigger level value for a specified channel and trigger level...
double GenGetWidth(LibTiePieHandle_t hDevice)
Get the current pulse width, of a specified generator.
uint32_t ScpGetClockOutputFrequencies(LibTiePieHandle_t hDevice, double *pList, uint32_t dwLength)
Get an array with the supported clock output frequencies of the specified oscilloscope.
uint32_t ScpSetClockOutput(LibTiePieHandle_t hDevice, uint32_t dwClockOutput)
Set the clock output of the specified oscilloscope.
uint64_t ScpChTrSetKind(LibTiePieHandle_t hDevice, uint16_t wCh, uint64_t qwTriggerKind)
Set the channel trigger kind for a specified channel.
uint8_t bool8_t
Boolean value one byte wide.
uint64_t TpVersion_t
Data type representing a version number.
uint16_t DevTrGetOutputCount(LibTiePieHandle_t hDevice)
Get the number of trigger outputs.
double GenGetOffsetMin(LibTiePieHandle_t hDevice)
Get the minimum offset for the current signal type, of a specified generator.
void LstSetMessageDeviceRemoved(HWND hWnd)
Set a window handle to which a WM_LIBTIEPIE_LST_DEVICEREMOVED message is sent when a device is remove...
double GenSetWidth(LibTiePieHandle_t hDevice, double dWidth)
Set the pulse width, of a specified generator.
uint16_t DevTrGetOutputIndexById(LibTiePieHandle_t hDevice, uint32_t dwId)
Get the index of trigger output identified by its ID.
bool8_t ScpStop(LibTiePieHandle_t hDevice)
Stop a running measurement.
bool8_t ScpChHasConnectionTest(LibTiePieHandle_t hDevice, uint16_t wCh)
Check whether a specified channel of a specified oscilloscope supports connection testing...
bool8_t ScpIsDataOverflow(LibTiePieHandle_t hDevice)
Check whether a data overflow has occurred.
uint64_t ScpGetTriggerHoldOffCountMax(LibTiePieHandle_t hDevice)
Get the maximum trigger hold off count in samples, for a specified oscilloscope.
void DevSetEventRemoved(LibTiePieHandle_t hDevice, int fdEvent)
Set an event file descriptor which is set when the device is removed.
uint64_t ScpChGetCoupling(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the currently set coupling of a specified channel.
void LstSetCallbackDeviceAdded(TpCallbackDeviceList_t pCallback, void *pData)
Set a callback function which is called when a device is added to the device list.
uint32_t ScpGetAutoResolutionModes(LibTiePieHandle_t hDevice)
Get the supported auto resolution modes of the specified oscilloscope.
void GenSetMessageBurstCompleted(LibTiePieHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
Set a window handle to which a WM_LIBTIEPIE_GEN_BURSTCOMPLETED message is sent when the generator bur...
bool8_t I2CReadByte(LibTiePieHandle_t hDevice, uint16_t wAddress, uint8_t *pValue)
Read one byte from a specified address on the I2C bus, using a specified I2C host.
double GenSetAmplitude(LibTiePieHandle_t hDevice, double dAmplitude)
Set the signal amplitude of a specified generator.
double ScpGetClockOutputFrequency(LibTiePieHandle_t hDevice)
Get the current clock output frequency of the specified oscilloscope.
uint32_t ScpGetClockOutput(LibTiePieHandle_t hDevice)
Get the currently selected clock output of the specified oscilloscope.
uint32_t LibGetConfig(uint8_t *pBuffer, uint32_t dwBufferLength)
Get the library configuration number.
uint64_t GenGetBurstSampleCountMin(LibTiePieHandle_t hDevice)
Get the minimum burst sample count for the current generator mode of a specified generator.
bool8_t DevTrOutGetEnabled(LibTiePieHandle_t hDevice, uint16_t wOutput)
Check whether a trigger output is enabled.
void(* TpCallbackHandle_t)(void *pData, LibTiePieHandle_t hHandle)
TpDate_t LstDevGetCalibrationDate(uint32_t dwIdKind, uint32_t dwId)
Get the calibration date of the listed device.
uint32_t ScpChGetConnectorType(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the channel connector type.
void ScpSetMessageConnectionTestCompleted(LibTiePieHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
Set a window handle to which a WM_LIBTIEPIE_SCP_CONNECTIONTESTCOMPLETED message is sent when the osci...
uint64_t ScpGetRecordLength(LibTiePieHandle_t hDevice)
Get the currently selected record length of a specified oscilloscope.
uint64_t GenSetBurstCount(LibTiePieHandle_t hDevice, uint64_t qwBurstCount)
Set the burst count for the current generator mode of a specified generator.
void ObjClose(LibTiePieHandle_t hHandle)
Close a object.
uint32_t GenGetConnectorType(LibTiePieHandle_t hDevice)
Get the output connector type for a specified generator.
uint32_t LstDevGetContainedSerialNumbers(uint32_t dwIdKind, uint32_t dwId, uint32_t *pBuffer, uint32_t dwBufferLength)
Get the serial numbers of the individual devices contained in a combined device.
void ScpSetEventConnectionTestCompleted(LibTiePieHandle_t hDevice, int fdEvent)
Set an event file descriptor which is set when the oscilloscope connection test is completed...
void GenSetData(LibTiePieHandle_t hDevice, const float *pBuffer, uint64_t qwSampleCount)
Load a waveform pattern into the waveform buffer of a specified generator.
uint32_t ScpGetResolutions(LibTiePieHandle_t hDevice, uint8_t *pList, uint32_t dwLength)
Get an array with the supported resolutions of the specified oscilloscope.
void ScpChGetDataValueRange(LibTiePieHandle_t hDevice, uint16_t wCh, double *pMin, double *pMax)
Get the minimum and maximum values of the input range the current data was measured with...
uint64_t GenGetBurstCountMax(LibTiePieHandle_t hDevice)
Get the maximum burst count for the current generator mode of a specified generator.
double GenGetTrailingEdgeTimeMax(LibTiePieHandle_t hDevice)
Get the maximum trailing edge time with the current pulse width and signal frequency, of a specified generator.
void LstRemoveDevice(uint32_t dwSerialNumber)
Remove an instrument from the device list so it can be used by other applications.
double GenGetImpedance(LibTiePieHandle_t hDevice)
Get the output impedance of a specified generator.
uint32_t GenGetFrequencyModes(LibTiePieHandle_t hDevice)
Get the supported generator frequency modes of a specified generator.
void LibExit(void)
Clear and free internal resources used by the library.
double GenGetFrequencyMax(LibTiePieHandle_t hDevice)
Get the maximum signal/sample frequency with the current frequency mode and signal type...
uint64_t DevTrOutGetEvents(LibTiePieHandle_t hDevice, uint16_t wOutput)
Get the supported trigger output events for a specified device trigger output.
void ObjSetEventCallback(LibTiePieHandle_t hHandle, TpCallbackEvent_t pCallback, void *pData)
Set a callback function which is called when an event occurs.
uint32_t LstDevGetName(uint32_t dwIdKind, uint32_t dwId, char *pBuffer, uint32_t dwBufferLength)
Get the full name of the listed device.
uint32_t ScpChTrGetHysteresisCount(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the number of trigger hystereses for a specified channel with the currently selected trigger kind...
bool8_t GenSetAmplitudeAutoRanging(LibTiePieHandle_t hDevice, bool8_t bEnable)
Set the amplitude auto ranging setting for a specified generator.
double GenGetFrequency(LibTiePieHandle_t hDevice)
Get the current signal/sample frequency, of a specified generator.
uint64_t GenGetBurstCount(LibTiePieHandle_t hDevice)
Get the current burst count for the current generator mode of a specified generator.
double GenSetPhase(LibTiePieHandle_t hDevice, double dPhase)
Set the signal phase of a specified generator.
double ScpChGetSafeGroundThresholdMin(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the minimum SafeGround threshold current for the specified channel.
void GenSetCallbackBurstCompleted(LibTiePieHandle_t hDevice, TpCallback_t pCallback, void *pData)
Set a callback function which is called when the generator burst is completed.
uint8_t GenGetResolution(LibTiePieHandle_t hDevice)
Get the DAC resolution of a specified generator.
uint32_t ScpGetClockSources(LibTiePieHandle_t hDevice)
Get the supported clock sources of the specified oscilloscope.
uint64_t ScpChGetCouplings(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the supported coupling kinds of a specified channel.
void HlpPointerArraySet(LibTiePiePointerArray_t pArray, uint32_t dwIndex, void *pPointer)
Set a pointer at a specified index in a specified pointer array.
uint32_t TpDate_t
Data type representing a date.
TpVersion_t DevGetFirmwareVersion(LibTiePieHandle_t hDevice)
Get the version number of the firmware used by the device.
bool8_t GenGetAmplitudeAutoRanging(LibTiePieHandle_t hDevice)
Get the amplitude auto ranging setting for a specified generator.
bool8_t GenIsControllable(LibTiePieHandle_t hDevice)
Check whether a specified generator can be controlled.
double GenGetFrequencyMin(LibTiePieHandle_t hDevice)
Get the minimum signal/sample frequency with the current frequency mode, of a specified generator...
uint32_t ScpSetAutoResolutionMode(LibTiePieHandle_t hDevice, uint32_t dwAutoResolutionMode)
Set the auto resolution mode of the specified oscilloscope.
uint64_t GenGetDataLengthMax(LibTiePieHandle_t hDevice)
Get the maximum length of the waveform buffer of a specified generator.
uint64_t GenGetDataLengthMin(LibTiePieHandle_t hDevice)
Get the minimum length of the waveform buffer of a specified generator.
uint16_t LstCbScpGetChannelCount(uint32_t dwIdKind, uint32_t dwId, uint32_t dwContainedDeviceSerialNumber)
Get the channel count of an oscilloscope contained in a combined oscilloscope.
uint64_t ScpGetData1Ch(LibTiePieHandle_t hDevice, float *pBufferCh1, uint64_t qwStartIndex, uint64_t qwSampleCount)
Get the measurement data for the first channel.
bool8_t GenHasOffset(LibTiePieHandle_t hDevice)
Check whether the current signal type of a specified generator supports controlling the signal offset...
double ScpChGetProbeOffset(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the currently set channel probe offset for a specified channel.
uint32_t ScpGetMeasureModes(LibTiePieHandle_t hDevice)
Get the supported measure modes for a specified oscilloscope.
bool8_t GenHasEdgeTime(LibTiePieHandle_t hDevice)
Check whether the current signal type of a specified generator supports controlling the edge times...
uint64_t ScpSetTriggerHoldOffCount(LibTiePieHandle_t hDevice, uint64_t qwTriggerHoldOffCount)
Set the trigger hold off count in samples, for a specified oscilloscope.
uint64_t GenGetModes(LibTiePieHandle_t hDevice)
Get the supported generator modes for the current signal type and frequency mode of a specified gener...
uint32_t ScpGetMeasureMode(LibTiePieHandle_t hDevice)
Get the current measure mode.
LibTiePieHandle_t LstCreateAndOpenCombinedDevice(const LibTiePieHandle_t *pDeviceHandles, uint32_t dwCount)
Create and open a combined instrument.
uint32_t DevGetNameShort(LibTiePieHandle_t hDevice, char *pBuffer, uint32_t dwBufferLength)
Get the short name of the device.
bool8_t ScpChSetEnabled(LibTiePieHandle_t hDevice, uint16_t wCh, bool8_t bEnable)
Set channel enable.
bool8_t GenGetOutputInvert(LibTiePieHandle_t hDevice)
Check whether the output of a specified generator is inverted.
void(* TpCallback_t)(void *pData)
bool8_t ScpIsForceTriggered(LibTiePieHandle_t hDevice)
Check whether the trigger was caused by ScpForceTrigger.
bool8_t GenStop(LibTiePieHandle_t hDevice)
Stop the signal generation of a specified generator.
double I2CSetSpeed(LibTiePieHandle_t hDevice, double dSpeed)
Set the clock speed on the I2C bus controlled by a specified I2C host.
uint32_t ScpChTrGetTimeCount(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the number of trigger times for the current trigger kind and trigger condition.
double ScpSetSampleFrequency(LibTiePieHandle_t hDevice, double dSampleFrequency)
Set the sample frequency of a specified oscilloscope.
bool8_t GenSetOutputInvert(LibTiePieHandle_t hDevice, bool8_t bInvert)
Enable or disable the output invert of a specified generator.
double ScpSetClockSourceFrequency(LibTiePieHandle_t hDevice, double dClockSourceFrequency)
Set the clock source frequency of the specified oscilloscope.
double ScpChSetProbeGain(LibTiePieHandle_t hDevice, uint16_t wCh, double dProbeGain)
Set the channel probe gain for a specified channel.
bool8_t ObjIsRemoved(LibTiePieHandle_t hHandle)
Check whether an object is removed.
uint32_t I2CGetInternalAddresses(LibTiePieHandle_t hDevice, uint16_t *pAddresses, uint32_t dwLength)
Get all addresses which are used internally.
bool8_t I2CWriteWord(LibTiePieHandle_t hDevice, uint16_t wAddress, uint16_t wValue)
Write one word to a specified address on the I2C bus, using a specified I2C host. ...
double ScpChSetProbeOffset(LibTiePieHandle_t hDevice, uint16_t wCh, double dProbeOffset)
Set the channel probe offset for a specified channel.
void DevSetCallbackRemoved(LibTiePieHandle_t hDevice, TpCallback_t pCallback, void *pData)
Set a callback function which is called when the device is removed.
bool8_t ScpChTrIsAvailable(LibTiePieHandle_t hDevice, uint16_t wCh)
Check whether the channel trigger for the specified channel is available, with the current oscillosco...
void ScpSetEventDataOverflow(LibTiePieHandle_t hDevice, int fdEvent)
Set an event file descriptor which is set when the oscilloscope streaming measurement caused an data ...
uint32_t LstGetCount(void)
Get the number of devices in the device list.
uint64_t ScpGetData4Ch(LibTiePieHandle_t hDevice, float *pBufferCh1, float *pBufferCh2, float *pBufferCh3, float *pBufferCh4, uint64_t qwStartIndex, uint64_t qwSampleCount)
Get the measurement data for the first four channels.
void HlpPointerArrayDelete(LibTiePiePointerArray_t pArray)
Delete an existing pointer array.
uint32_t DevTrOutGetName(LibTiePieHandle_t hDevice, uint16_t wOutput, char *pBuffer, uint32_t dwBufferLength)
Get the name of a specified device trigger output.
uint32_t ScpSetClockSource(LibTiePieHandle_t hDevice, uint32_t dwClockSource)
Set the clock source of the specified oscilloscope.
uint64_t GenGetBurstSegmentCountMin(LibTiePieHandle_t hDevice)
Get the minimum burst segment count for the current settings of a specified generator.
uint32_t DevGetProductId(LibTiePieHandle_t hDevice)
Get the product id of the device.
const char * LibGetVersionExtra(void)
Get the library version postfix.
bool8_t I2CWriteRead(LibTiePieHandle_t hDevice, uint16_t wAddress, const void *pWriteBuffer, uint32_t dwWriteSize, void *pReadBuffer, uint32_t dwReadSize)
Write and read data to/from to a specified address on the I2C bus, using a specified I2C host...
bool8_t LstDevCanOpen(uint32_t dwIdKind, uint32_t dwId, uint32_t dwDeviceType)
Check whether the listed device can be opened.
uint64_t ScpGetRecordLengthMax(LibTiePieHandle_t hDevice)
Get the maximum supported record length of a specified oscilloscope.
bool8_t GenIsBurstActive(LibTiePieHandle_t hDevice)
Check whether a burst is active, of a specified generator.
uint64_t GenGetModesNative(LibTiePieHandle_t hDevice)
Get all supported generator modes of a specified generator, regardless of the signal type and frequen...
uint64_t ScpGetData2Ch(LibTiePieHandle_t hDevice, float *pBufferCh1, float *pBufferCh2, uint64_t qwStartIndex, uint64_t qwSampleCount)
Get the measurement data for the first two channels.
TpDate_t DevGetCalibrationDate(LibTiePieHandle_t hDevice)
Get the calibration date of the device.
double GenGetWidthMin(LibTiePieHandle_t hDevice)
Get the minimum pulse width with the current signal frequency, of a specified generator.
bool8_t ObjGetEvent(LibTiePieHandle_t hHandle, uint32_t *pEvent, uint32_t *pValue)
Get an event form the event queue.
double GenGetPhaseMax(LibTiePieHandle_t hDevice)
Get the maximum signal phase of a specified generator.
uint64_t GenSetBurstSampleCount(LibTiePieHandle_t hDevice, uint64_t qwBurstSampleCount)
Set the burst sample count for the current generator mode of a specified generator.
uint32_t GenGetSignalTypes(LibTiePieHandle_t hDevice)
Get the supported signal types of a specified generator.
uint64_t ScpChTrGetKinds(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the supported channel trigger kinds for a specified channel with the currently selected measure m...
bool8_t GenHasWidth(LibTiePieHandle_t hDevice)
Check whether the current signal type of a specified generator supports controlling the signal pulse ...
uint32_t ScpChTrGetConditions(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the supported trigger conditions for a specified channel with the currently selected trigger kind...
void LstSetEventDeviceCanOpenChanged(int fdEvent)
Set an event file descriptor which is set when the device can open property changes.
double GenGetAmplitudeMax(LibTiePieHandle_t hDevice)
Get the maximum signal amplitude for the current signal type of a specified generator.
uint64_t ScpGetValidPreSampleCount(LibTiePieHandle_t hDevice)
Get the number of valid pre samples in the measurement.
double ScpSetTriggerTimeOut(LibTiePieHandle_t hDevice, double dTimeOut)
Set the trigger time out in seconds, for a specified oscilloscope.
void ScpSetMessageDataReady(LibTiePieHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
Set a window handle to which a WM_LIBTIEPIE_SCP_DATAREADY message is sent when the oscilloscope has n...
uint64_t GenGetBurstSegmentCount(LibTiePieHandle_t hDevice)
Get the current burst segment count of a specified generator.
uint32_t LstDevGetSerialNumber(uint32_t dwIdKind, uint32_t dwId)
Get the serial number of the listed device.
double GenGetLeadingEdgeTimeMax(LibTiePieHandle_t hDevice)
Get the maximum leading edge time with the current pulse width and signal frequency, of a specified generator.
bool8_t ScpHasTriggerDelay(LibTiePieHandle_t hDevice)
Check whether the oscilloscope has trigger delay support with the currently selected measure mode...
uint32_t ScpGetSegmentCount(LibTiePieHandle_t hDevice)
Get the currently selected number of segments of a specified oscilloscope.
bool8_t I2CWriteByteByte(LibTiePieHandle_t hDevice, uint16_t wAddress, uint8_t byValue1, uint8_t byValue2)
Write two bytes to a specified address on the I2C bus, using a specified I2C host.
double ScpChGetBandwidth(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the current channel input bandwidth.
uint32_t ScpChTrGetLevelMode(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the current trigger level mode of a specified channel.
void LstSetCallbackDeviceCanOpenChanged(TpCallbackDeviceList_t pCallback, void *pData)
Set a callback function which is called when the device can open property changes.
uint32_t LstCbDevGetProductId(uint32_t dwIdKind, uint32_t dwId, uint32_t dwContainedDeviceSerialNumber)
Get the product id of a device contained in a combined device.
void DevClose(LibTiePieHandle_t hDevice)
Close a device.
bool8_t ScpChIsDifferential(LibTiePieHandle_t hDevice, uint16_t wCh)
Check whether the channel has a differential input.
void ** LibTiePiePointerArray_t
Pointer array.
double ScpChTrGetHysteresis(LibTiePieHandle_t hDevice, uint16_t wCh, uint32_t dwIndex)
Get the currently set channel trigger hysteresis value for a specified channel and trigger hysteresis...
double GenSetLeadingEdgeTime(LibTiePieHandle_t hDevice, double dLeadingEdgeTime)
Set the leading edge time, of a specified generator.
double ScpChGetImpedance(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the channel input impedance.
bool8_t GenSetOutputOn(LibTiePieHandle_t hDevice, bool8_t bOutputOn)
Enable or disable the output of a specified generator.
double ScpChTrSetLevel(LibTiePieHandle_t hDevice, uint16_t wCh, uint32_t dwIndex, double dLevel)
Set the channel trigger level value for a specified channel and trigger level.
bool8_t ScpIsTimeOutTriggered(LibTiePieHandle_t hDevice)
Check whether the trigger was caused by the trigger time out.
LibTiePieHandle_t LstOpenGenerator(uint32_t dwIdKind, uint32_t dwId)
Open a generator and get a handle to the generator.
uint32_t LstCbDevGetNameShortest(uint32_t dwIdKind, uint32_t dwId, uint32_t dwContainedDeviceSerialNumber, char *pBuffer, uint32_t dwBufferLength)
Get the short name without model postfix of a device contained in a combined device.
bool8_t GenHasOutputInvert(LibTiePieHandle_t hDevice)
Check whether the output of a specified generator can be inverted.
bool8_t ScpChIsAvailable(LibTiePieHandle_t hDevice, uint16_t wCh)
Check whether the channel is available.
double GenGetAmplitude(LibTiePieHandle_t hDevice)
Get the currently set signal amplitude of a specified generator.
bool8_t LibIsInitialized(void)
Check whether the library's internal resources are initialized.
bool8_t I2CReadWord(LibTiePieHandle_t hDevice, uint16_t wAddress, uint16_t *pValue)
Read one word from a specified address on the I2C bus, using a specified I2C host.
double GenSetOffset(LibTiePieHandle_t hDevice, double dOffset)
Set the signal offset of a specified generator.
double GenGetAmplitudeRange(LibTiePieHandle_t hDevice)
Get the currently set amplitude range for a specified generator.
uint32_t LstCbDevGetName(uint32_t dwIdKind, uint32_t dwId, uint32_t dwContainedDeviceSerialNumber, char *pBuffer, uint32_t dwBufferLength)
Get the full name of a device contained in a combined device.
bool8_t ScpChTrGetEnabled(LibTiePieHandle_t hDevice, uint16_t wCh)
Check whether channel trigger for a specified channel is enabled.
double GenGetWidthMax(LibTiePieHandle_t hDevice)
Get the maximum pulse width with the current signal frequency, of a specified generator.
uint32_t ScpGetSegmentCountMax(LibTiePieHandle_t hDevice)
Get the maximum supported number of segments of a specified oscilloscope.
double GenGetOffsetMax(LibTiePieHandle_t hDevice)
Get the maximum offset for the current signal type, of a specified generator.
uint32_t ScpChTrGetCondition(LibTiePieHandle_t hDevice, uint16_t wCh)
Get the current selected trigger condition for a specified channel.
void ScpSetMessageDataOverflow(LibTiePieHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
Set a window handle to which a WM_LIBTIEPIE_SCP_DATAOVERFLOW message is sent when the oscilloscope st...
void LstUpdate(void)
Update the device list.
uint64_t ObjGetInterfaces(LibTiePieHandle_t hHandle)
Check which interface are supported by the specified object.
bool8_t GenHasData(LibTiePieHandle_t hDevice)
Check whether the current signal type of a specified generator supports controlling the Arbitrary wav...