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_ ) // National Instruments LabWindows/CVI
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;
44 #elif defined( _MSC_VER )
47 #error "C99 stdint types not defined!"
51 #if defined( _WIN32 ) || defined( _WIN64 ) || defined( __WIN32__ ) || defined( __TOS_WIN__ ) || defined( __WINDOWS__ )
52 #ifndef HAVE_WINDOWS_H
53 #define HAVE_WINDOWS_H
63 #define LIBTIEPIE_VERSION_MAJOR 0
64 #define LIBTIEPIE_VERSION_MINOR 4
65 #define LIBTIEPIE_VERSION_RELEASE 3
81 #define ARB_DISABLED 0
82 #define ARB_NATIVEONLY 1
92 #define ARM_ALL ( ( 1 << ARN_COUNT ) - 1 )
100 #define AR_DISABLED ( 1 << ARB_DISABLED )
101 #define AR_NATIVEONLY ( 1 << ARB_NATIVEONLY )
102 #define AR_ALL ( 1 << ARB_ALL )
120 #define BMB_DISABLED 0
122 #define BMB_GATED_PERIODS 2
130 #define BM_DISABLED ( 1 << BMB_DISABLED )
131 #define BM_COUNT ( 1 << BMB_COUNT )
132 #define BM_GATED_PERIODS ( 1 << BMB_GATED_PERIODS )
139 #define BMM_NONE 0x0000000000000000ULL
140 #define BMM_ALL ( ( 1ULL << BMN_COUNT ) - 1 )
171 #define CK_DCV ( 1 << CKB_DCV )
172 #define CK_ACV ( 1 << CKB_ACV )
173 #define CK_DCA ( 1 << CKB_DCA )
174 #define CK_ACA ( 1 << CKB_ACA )
175 #define CK_OHM ( 1 << CKB_OHM )
182 #define CKM_V ( CK_DCV | CK_ACV )
183 #define CKM_A ( CK_DCA | CK_ACA )
184 #define CKM_OHM ( CK_OHM )
186 #define CKM_ASYMMETRICRANGE ( CKM_OHM )
187 #define CKM_SYMMETRICRANGE ( CKM_V | CKM_A )
214 #define CO_SAMPLE ( 1 << COB_SAMPLE )
215 #define CO_10MHZ ( 1 << COB_10MHZ )
233 #define CSB_EXTERNAL 0
234 #define CSB_INTERNAL 1
240 #define CS_EXTERNAL ( 1 << CSB_EXTERNAL )
241 #define CS_INTERNAL ( 1 << CSB_INTERNAL )
259 #define FMB_SIGNALFREQUENCY 0
260 #define FMB_SAMPLEFREQUENCY 1
266 #define FM_UNKNOWN 0x00000000
268 #define FM_SIGNALFREQUENCY ( 1 << FMB_SIGNALFREQUENCY )
269 #define FM_SAMPLEFREQUENCY ( 1 << FMB_SAMPLEFREQUENCY )
276 #define FMM_NONE 0x00000000
277 #define FMM_ALL ( ( 1 << FMN_COUNT ) - 1 )
305 #define MM_STREAM ( 1 << MMB_STREAM )
306 #define MM_BLOCK ( 1 << MMB_BLOCK )
325 #define STB_TRIANGLE 1
329 #define STB_ARBITRARY 5
337 #define ST_SINE ( 1 << STB_SINE )
338 #define ST_TRIANGLE ( 1 << STB_TRIANGLE )
339 #define ST_SQUARE ( 1 << STB_SQUARE )
340 #define ST_DC ( 1 << STB_DC )
341 #define ST_NOISE ( 1 << STB_NOISE )
342 #define ST_ARBITRARY ( 1 << STB_ARBITRARY )
349 #define STM_AMPLITUDE ( ST_SINE | ST_TRIANGLE | ST_SQUARE | ST_NOISE | ST_ARBITRARY )
350 #define STM_OFFSET ( ST_SINE | ST_TRIANGLE | ST_SQUARE | ST_DC | ST_NOISE | ST_ARBITRARY )
351 #define STM_FREQUENCY ( ST_SINE | ST_TRIANGLE | ST_SQUARE | ST_NOISE | ST_ARBITRARY )
352 #define STM_PHASE ( ST_SINE | ST_TRIANGLE | ST_SQUARE | ST_ARBITRARY )
353 #define STM_SYMMETRY ( ST_SINE | ST_TRIANGLE | ST_SQUARE )
354 #define STM_DATALENGTH ( ST_ARBITRARY )
355 #define STM_DATA ( ST_ARBITRARY )
374 #define TCB_GREATER 0
383 #define TC_GREATER ( 1 << TCB_GREATER )
384 #define TC_LESS ( 1 << TCB_LESS )
392 #define TCM_ALL ( ( 1 << TCN_COUNT ) - 1 )
404 #define TH_ALLPRESAMPLES 0xffffffffffffffffULL
422 #define TKB_RISINGEDGE 0
423 #define TKB_FALLINGEDGE 1
424 #define TKB_INWINDOW 2
425 #define TKB_OUTWINDOW 3
426 #define TKB_ANYEDGE 4
427 #define TKB_ENTERWINDOW 5
428 #define TKB_EXITWINDOW 6
429 #define TKB_PULSEWIDTHPOSITIVE 7
430 #define TKB_PULSEWIDTHNEGATIVE 8
433 #define TKB_RISING TKB_RISINGEDGE
434 #define TKB_FALLING TKB_FALLINGEDGE
435 #define TKB_EDGE TKB_ANYEDGE
436 #define TKB_DROPINWINDOW TKB_ENTERWINDOW
437 #define TKB_DROPOUTWINDOW TKB_EXITWINDOW
445 #define TK_RISINGEDGE ( 1ULL << TKB_RISINGEDGE )
446 #define TK_FALLINGEDGE ( 1ULL << TKB_FALLINGEDGE )
447 #define TK_INWINDOW ( 1ULL << TKB_INWINDOW )
448 #define TK_OUTWINDOW ( 1ULL << TKB_OUTWINDOW )
449 #define TK_ANYEDGE ( 1ULL << TKB_ANYEDGE )
450 #define TK_ENTERWINDOW ( 1ULL << TKB_ENTERWINDOW )
451 #define TK_EXITWINDOW ( 1ULL << TKB_EXITWINDOW )
452 #define TK_PULSEWIDTHPOSITIVE ( 1ULL << TKB_PULSEWIDTHPOSITIVE )
453 #define TK_PULSEWIDTHNEGATIVE ( 1ULL << TKB_PULSEWIDTHNEGATIVE )
456 #define TK_RISING TK_RISINGEDGE
457 #define TK_FALLING TK_FALLINGEDGE
458 #define TK_EDGE TK_ANYEDGE
459 #define TK_DROPINWINDOW TK_ENTERWINDOW
460 #define TK_DROPOUTWINDOW TK_EXITWINDOW
469 #define TKM_EDGE ( TK_RISINGEDGE | TK_FALLINGEDGE | TK_ANYEDGE )
470 #define TKM_WINDOW ( TK_INWINDOW | TK_OUTWINDOW | TK_ENTERWINDOW | TK_EXITWINDOW )
471 #define TKM_PULSEWIDTH ( TK_PULSEWIDTHPOSITIVE | TK_PULSEWIDTHNEGATIVE )
472 #define TKM_ALL ( ( 1ULL << TKN_COUNT ) - 1 )
484 #define TO_INFINITY -1
502 #define TOEB_GENERATOR_START 0
503 #define TOEB_GENERATOR_STOP 1
504 #define TOEB_GENERATOR_NEWPERIOD 2
510 #define TOE_UNKNOWN 0
511 #define TOE_GENERATOR_START ( 1 << TOEB_GENERATOR_START )
512 #define TOE_GENERATOR_STOP ( 1 << TOEB_GENERATOR_STOP )
513 #define TOE_GENERATOR_NEWPERIOD ( 1 << TOEB_GENERATOR_NEWPERIOD )
521 #define TOEM_GENERATOR ( TOE_GENERATOR_START | TOE_GENERATOR_STOP | TOE_GENERATOR_NEWPERIOD )
522 #define TOEM_ALL ( ( 1ULL << TOEN_COUNT ) - 1 )
534 #define TSN_CHANNEL_COUNT 32
536 #define TS_NONE 0x0000000000000000ULL
538 #define TS_CH1 0x0000000000000001ULL
539 #define TS_CH2 0x0000000000000002ULL
540 #define TS_CH3 0x0000000000000004ULL
541 #define TS_CH4 0x0000000000000008ULL
542 #define TS_CH5 0x0000000000000010ULL
543 #define TS_CH6 0x0000000000000020ULL
544 #define TS_CH7 0x0000000000000040ULL
545 #define TS_CH8 0x0000000000000080ULL
546 #define TS_CH9 0x0000000000000100ULL
547 #define TS_CH10 0x0000000000000200ULL
548 #define TS_CH11 0x0000000000000400ULL
549 #define TS_CH12 0x0000000000000800ULL
550 #define TS_CH13 0x0000000000001000ULL
551 #define TS_CH14 0x0000000000002000ULL
552 #define TS_CH15 0x0000000000004000ULL
553 #define TS_CH16 0x0000000000008000ULL
554 #define TS_CH17 0x0000000000010000ULL
555 #define TS_CH18 0x0000000000020000ULL
556 #define TS_CH19 0x0000000000040000ULL
557 #define TS_CH20 0x0000000000080000ULL
558 #define TS_CH21 0x0000000000100000ULL
559 #define TS_CH22 0x0000000000200000ULL
560 #define TS_CH23 0x0000000000400000ULL
561 #define TS_CH24 0x0000000000800000ULL
562 #define TS_CH25 0x0000000001000000ULL
563 #define TS_CH26 0x0000000002000000ULL
564 #define TS_CH27 0x0000000004000000ULL
565 #define TS_CH28 0x0000000008000000ULL
566 #define TS_CH29 0x0000000010000000ULL
567 #define TS_CH30 0x0000000020000000ULL
568 #define TS_CH31 0x0000000040000000ULL
569 #define TS_CH32 0x0000000080000000ULL
571 #define TS_GENSTOP 0x0400000000000000ULL
572 #define TS_GENNEW 0x0800000000000000ULL
573 #define TS_GENSTART 0x1000000000000000ULL
574 #define TS_EXT2 0x2000000000000000ULL
575 #define TS_EXTANALOG 0x4000000000000000ULL
576 #define TS_EXT 0x8000000000000000ULL
583 #define TSM_NONE 0x0000000000000000ULL
584 #define TSM_ALL 0xFFFFFFFFFFFFFFFFULL
585 #define TSM_CHANNELS ( ( 1ULL << TSN_CHANNEL_COUNT ) - 1 )
586 #define TSM_NONCHANNELS ( TSM_ALL - TSM_CHANNELS )
587 #define TSM_GENALL ( TS_GENSTART | TS_GENNEW | TS_GENSTOP )
611 #ifdef INCLUDED_BY_MATLAB
614 typedef void(*TpCallback_t)(
void* pData );
974 #define TPDEVICEHANDLE_INVALID 0
982 #define DEVICETYPE_OSCILLOSCOPE 0x00000001
983 #define DEVICETYPE_GENERATOR 0x00000002
984 #define DEVICETYPE_I2CHOST 0x00000004
992 #define IDKIND_DEVICEID 0x00000001
993 #define IDKIND_INDEX 0x00000002
994 #define IDKIND_SERIALNUMBER 0x00000004
1008 #define LIBTIEPIESTATUS_SUCCESS 0
1009 #define LIBTIEPIESTATUS_VALUE_CLIPPED 1
1010 #define LIBTIEPIESTATUS_VALUE_MODIFIED 2
1011 #define LIBTIEPIESTATUS_UNSUCCESSFUL -1
1012 #define LIBTIEPIESTATUS_NOT_SUPPORTED -2
1013 #define LIBTIEPIESTATUS_INVALID_HANDLE -3
1014 #define LIBTIEPIESTATUS_INVALID_VALUE -4
1015 #define LIBTIEPIESTATUS_INVALID_CHANNEL -5
1016 #define LIBTIEPIESTATUS_INVALID_TRIGGER_SOURCE -6
1017 #define LIBTIEPIESTATUS_INVALID_DEVICE_TYPE -7
1018 #define LIBTIEPIESTATUS_INVALID_DEVICE_INDEX -8
1019 #define LIBTIEPIESTATUS_INVALID_DEVICE_ID -9
1020 #define LIBTIEPIESTATUS_INVALID_DEVICE_SERIALNUMBER -10
1021 #define LIBTIEPIESTATUS_DEVICE_GONE -11
1022 #define LIBTIEPIESTATUS_INTERNAL_ADDRESS -12
1023 #define LIBTIEPIESTATUS_NOT_CONTROLLABLE -13
1024 #define LIBTIEPIESTATUS_BIT_ERROR -14
1025 #define LIBTIEPIESTATUS_NO_ACKNOWLEDGE -15
1026 #define LIBTIEPIESTATUS_INVALID_CONTAINED_DEVICE_SERIALNUMBER -16
1027 #define LIBTIEPIESTATUS_INVALID_INPUT -17
1028 #define LIBTIEPIESTATUS_INVALID_OUTPUT -18
1029 #define LIBTIEPIESTATUS_INVALID_DRIVER -19
1037 #define CONNECTORTYPE_UNKNOWN 0x00000000
1039 #define CONNECTORTYPE_BNC 0x00000001
1040 #define CONNECTORTYPE_BANANA 0x00000002
1041 #define CONNECTORTYPE_POWERPLUG 0x00000004
1043 #define CONNECTORTYPE_MASK ( CONNECTORTYPE_BNC | CONNECTORTYPE_BANANA | CONNECTORTYPE_POWERPLUG )
1051 #define DATARAWTYPE_UNKNOWN 0x00000000
1053 #define DATARAWTYPE_INT8 0x00000001
1054 #define DATARAWTYPE_INT16 0x00000002
1055 #define DATARAWTYPE_INT32 0x00000004
1056 #define DATARAWTYPE_INT64 0x00000008
1058 #define DATARAWTYPE_UINT8 0x00000010
1059 #define DATARAWTYPE_UINT16 0x00000020
1060 #define DATARAWTYPE_UINT32 0x00000040
1061 #define DATARAWTYPE_UINT64 0x00000080
1063 #define DATARAWTYPE_FLOAT32 0x00000100
1064 #define DATARAWTYPE_FLOAT64 0x00000200
1071 #define DATARAWTYPE_MASK_INT ( DATARAWTYPE_INT8 | DATARAWTYPE_INT16 | DATARAWTYPE_INT32 | DATARAWTYPE_INT64 )
1072 #define DATARAWTYPE_MASK_UINT ( DATARAWTYPE_UINT8 | DATARAWTYPE_UINT16 | DATARAWTYPE_UINT32 | DATARAWTYPE_UINT64 )
1073 #define DATARAWTYPE_MASK_FLOAT ( DATARAWTYPE_FLOAT32 | DATARAWTYPE_FLOAT64 )
1074 #define DATARAWTYPE_MASK_FIXED ( DATARAWTYPE_MASK_INT | DATARAWTYPE_MASK_UINT )
1085 #define IDM_DEVICEID 0x80000000
1086 #define IDM_ALL 0xffffffff
1100 #define IDB_HL0516 6
1108 #define ID_HS3 ( IDM_DEVICEID | ( 1 << IDB_HS3 ) )
1109 #define ID_HS4 ( IDM_DEVICEID | ( 1 << IDB_HS4 ) )
1110 #define ID_HS4D ( IDM_DEVICEID | ( 1 << IDB_HS4D ) )
1111 #define ID_HS805 ( IDM_DEVICEID | ( 1 << IDB_HS805 ) )
1112 #define ID_HP3 ( IDM_DEVICEID | ( 1 << IDB_HP3 ) )
1113 #define ID_HS5 ( IDM_DEVICEID | ( 1 << IDB_HS5 ) )
1114 #define ID_HL0516 ( IDM_DEVICEID | ( 1 << IDB_HL0516 ) )
1115 #define ID_PA1 ( IDM_DEVICEID | ( 1 << IDB_PA1 ) )
1116 #define ID_COMBI ( IDM_DEVICEID | ( 1 << IDB_COMBI ) )
1124 #define BOOL8_FALSE 0
1125 #define BOOL8_TRUE 1
1133 #define LIBTIEPIE_TRISTATE_UNDEFINED 0
1134 #define LIBTIEPIE_TRISTATE_FALSE 1
1135 #define LIBTIEPIE_TRISTATE_TRUE 2
1148 #define LIBTIEPIE_RANGEINDEX_AUTO 0xffffffff
1176 #define TPVERSION_MAJOR( x ) ( x >> 48 )
1177 #define TPVERSION_MINOR( x ) ( ( x >> 32 ) & 0xffff )
1178 #define TPVERSION_RELEASE( x ) ( ( x >> 16 ) & 0xffff )
1179 #define TPVERSION_BUILD( x ) ( x & 0xffff )
1181 #define TPDATE_YEAR( x ) ( x >> 16 )
1182 #define TPDATE_MONTH( x ) ( ( x >> 8 ) & 0xff )
1183 #define TPDATE_DAY( x ) ( x & 0xff )
1189 #ifdef HAVE_WINDOWS_H
1196 #define WM_LIBTIEPIE ( WM_USER + 1337 )
1198 #define WM_LIBTIEPIE_LST_DEVICEADDED ( WM_LIBTIEPIE + 2 )
1199 #define WM_LIBTIEPIE_LST_DEVICEREMOVED ( WM_LIBTIEPIE + 3 )
1201 #define WM_LIBTIEPIE_DEV_REMOVED ( WM_LIBTIEPIE + 4 )
1203 #define WM_LIBTIEPIE_SCP_DATAREADY ( WM_LIBTIEPIE + 0 )
1204 #define WM_LIBTIEPIE_SCP_DATAOVERFLOW ( WM_LIBTIEPIE + 1 )
1205 #define WM_LIBTIEPIE_SCP_CONNECTIONTESTCOMPLETED ( WM_LIBTIEPIE + 7 )
1207 #define WM_LIBTIEPIE_GEN_BURSTCOMPLETED ( WM_LIBTIEPIE + 5 )
1208 #define WM_LIBTIEPIE_GEN_CONTROLLABLECHANGED ( WM_LIBTIEPIE + 6 )
1241 #ifdef LIBTIEPIE_DYNAMIC
1242 typedef TpVersion_t(*LibTiePieLibGetVersion_t)( void );
1268 #ifdef LIBTIEPIE_DYNAMIC
1269 typedef uint32_t(*LibTiePieLibGetConfig_t)( uint8_t* pBuffer , uint32_t dwBufferLength );
1271 uint32_t
LibGetConfig( uint8_t* pBuffer , uint32_t dwBufferLength );
1285 #ifdef LIBTIEPIE_DYNAMIC
1302 #ifdef LIBTIEPIE_DYNAMIC
1303 typedef const char*(*LibTiePieLibGetLastStatusStr_t)( void );
1321 #ifdef LIBTIEPIE_DYNAMIC
1322 typedef uint32_t(*LibTiePieLstGetCount_t)( void );
1335 #ifdef LIBTIEPIE_DYNAMIC
1336 typedef bool8_t(*LibTiePieLstGetDeviceCanOpen_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwDeviceType );
1348 #ifdef LIBTIEPIE_DYNAMIC
1349 typedef uint32_t(*LibTiePieLstGetDeviceProductId_t)( uint32_t dwIdKind , uint32_t dwId );
1361 #ifdef LIBTIEPIE_DYNAMIC
1362 typedef uint32_t(*LibTiePieLstGetDeviceVendorId_t)( uint32_t dwIdKind , uint32_t dwId );
1388 #ifdef LIBTIEPIE_DYNAMIC
1389 typedef uint32_t(*LibTiePieLstGetDeviceName_t)( uint32_t dwIdKind , uint32_t dwId ,
char* pBuffer , uint32_t dwBufferLength );
1391 uint32_t
LstGetDeviceName( uint32_t dwIdKind , uint32_t dwId ,
char* pBuffer , uint32_t dwBufferLength );
1415 #ifdef LIBTIEPIE_DYNAMIC
1416 typedef uint32_t(*LibTiePieLstGetDeviceNameShort_t)( uint32_t dwIdKind , uint32_t dwId ,
char* pBuffer , uint32_t dwBufferLength );
1418 uint32_t
LstGetDeviceNameShort( uint32_t dwIdKind , uint32_t dwId ,
char* pBuffer , uint32_t dwBufferLength );
1428 #ifdef LIBTIEPIE_DYNAMIC
1429 typedef TpVersion_t(*LibTiePieLstDevGetDriverVersion_t)( uint32_t dwIdKind , uint32_t dwId );
1441 #ifdef LIBTIEPIE_DYNAMIC
1442 typedef TpVersion_t(*LibTiePieLstDevGetRecommendedDriverVersion_t)( uint32_t dwIdKind , uint32_t dwId );
1454 #ifdef LIBTIEPIE_DYNAMIC
1455 typedef TpVersion_t(*LibTiePieLstDevGetFirmwareVersion_t)( uint32_t dwIdKind , uint32_t dwId );
1467 #ifdef LIBTIEPIE_DYNAMIC
1468 typedef TpDate_t(*LibTiePieLstDevGetCalibrationDate_t)( uint32_t dwIdKind , uint32_t dwId );
1480 #ifdef LIBTIEPIE_DYNAMIC
1481 typedef uint32_t(*LibTiePieLstGetDeviceSerialNumber_t)( uint32_t dwIdKind , uint32_t dwId );
1508 #ifdef LIBTIEPIE_DYNAMIC
1509 typedef uint32_t(*LibTiePieLstGetDeviceTypes_t)( uint32_t dwIdKind , uint32_t dwId );
1526 #ifdef LIBTIEPIE_DYNAMIC
1527 typedef TpDeviceHandle_t(*LibTiePieLstOpenDevice_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwDeviceType );
1529 TpDeviceHandle_t
LstOpenDevice( uint32_t dwIdKind , uint32_t dwId , uint32_t dwDeviceType );
1543 #ifdef LIBTIEPIE_DYNAMIC
1544 typedef TpDeviceHandle_t(*LibTiePieLstOpenOscilloscope_t)( uint32_t dwIdKind , uint32_t dwId );
1560 #ifdef LIBTIEPIE_DYNAMIC
1561 typedef TpDeviceHandle_t(*LibTiePieLstOpenGenerator_t)( uint32_t dwIdKind , uint32_t dwId );
1576 #ifdef LIBTIEPIE_DYNAMIC
1577 typedef TpDeviceHandle_t(*LibTiePieLstOpenI2CHost_t)( uint32_t dwIdKind , uint32_t dwId );
1579 TpDeviceHandle_t
LstOpenI2CHost( uint32_t dwIdKind , uint32_t dwId );
1587 #ifdef LIBTIEPIE_DYNAMIC
1588 typedef void(*LibTiePieLstRemoveDevice_t)( uint32_t dwSerialNumber );
1608 #ifdef LIBTIEPIE_DYNAMIC
1609 typedef void(*LibTiePieLstUpdate_t)( uint32_t dwDeviceIdMask );
1611 void LstUpdate( uint32_t dwDeviceIdMask );
1642 #ifdef LIBTIEPIE_DYNAMIC
1643 typedef uint32_t(*LibTiePieLstDevGetContainedSerialNumbers_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t* pBuffer , uint32_t dwBufferLength );
1656 #ifdef LIBTIEPIE_DYNAMIC
1657 typedef uint32_t(*LibTiePieLstCbDevGetProductId_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
1659 uint32_t
LstCbDevGetProductId( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
1670 #ifdef LIBTIEPIE_DYNAMIC
1671 typedef uint32_t(*LibTiePieLstCbDevGetVendorId_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
1673 uint32_t
LstCbDevGetVendorId( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
1686 #ifdef LIBTIEPIE_DYNAMIC
1687 typedef uint32_t(*LibTiePieLstCbDevGetName_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber ,
char* pBuffer , uint32_t dwBufferLength );
1689 uint32_t
LstCbDevGetName( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber ,
char* pBuffer , uint32_t dwBufferLength );
1702 #ifdef LIBTIEPIE_DYNAMIC
1703 typedef uint32_t(*LibTiePieLstCbDevGetNameShort_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber ,
char* pBuffer , uint32_t dwBufferLength );
1705 uint32_t
LstCbDevGetNameShort( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber ,
char* pBuffer , uint32_t dwBufferLength );
1716 #ifdef LIBTIEPIE_DYNAMIC
1717 typedef TpVersion_t(*LibTiePieLstCbDevGetDriverVersion_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
1719 TpVersion_t
LstCbDevGetDriverVersion( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
1730 #ifdef LIBTIEPIE_DYNAMIC
1731 typedef TpVersion_t(*LibTiePieLstCbDevGetFirmwareVersion_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
1744 #ifdef LIBTIEPIE_DYNAMIC
1745 typedef TpDate_t(*LibTiePieLstCbDevGetCalibrationDate_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
1758 #ifdef LIBTIEPIE_DYNAMIC
1759 typedef uint16_t(*LibTiePieLstCbScpGetChannelCount_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
1761 uint16_t
LstCbScpGetChannelCount( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
1778 #ifdef LIBTIEPIE_DYNAMIC
1779 typedef void(*LibTiePieLstSetCallbackDeviceAdded_t)( TpCallback_t pCallback ,
void* pData );
1790 #ifdef LIBTIEPIE_DYNAMIC
1791 typedef void(*LibTiePieLstSetCallbackDeviceRemoved_t)( TpCallback_t pCallback ,
void* pData );
1804 #ifdef LIBTIEPIE_DYNAMIC
1805 typedef void(*LibTiePieLstSetEventDeviceAdded_t)(
int fdEvent );
1816 #ifdef LIBTIEPIE_DYNAMIC
1817 typedef void(*LibTiePieLstSetEventDeviceRemoved_t)(
int fdEvent );
1824 #ifdef HAVE_WINDOWS_H
1832 #ifdef LIBTIEPIE_DYNAMIC
1833 typedef void(*LibTiePieLstSetEventDeviceAdded_t)( HANDLE hEvent );
1844 #ifdef LIBTIEPIE_DYNAMIC
1845 typedef void(*LibTiePieLstSetEventDeviceRemoved_t)( HANDLE hEvent );
1858 #ifdef LIBTIEPIE_DYNAMIC
1859 typedef void(*LibTiePieLstSetMessageDeviceAdded_t)( HWND hWnd );
1872 #ifdef LIBTIEPIE_DYNAMIC
1873 typedef void(*LibTiePieLstSetMessageDeviceRemoved_t)( HWND hWnd );
1898 #ifdef LIBTIEPIE_DYNAMIC
1899 typedef void(*LibTiePieDevClose_t)( TpDeviceHandle_t hDevice );
1901 void DevClose( TpDeviceHandle_t hDevice );
1917 #ifdef LIBTIEPIE_DYNAMIC
1918 typedef bool8_t(*LibTiePieDevIsRemoved_t)( TpDeviceHandle_t hDevice );
1948 #ifdef LIBTIEPIE_DYNAMIC
1949 typedef TpVersion_t(*LibTiePieDevGetDriverVersion_t)( TpDeviceHandle_t hDevice );
1971 #ifdef LIBTIEPIE_DYNAMIC
1972 typedef TpVersion_t(*LibTiePieDevGetFirmwareVersion_t)( TpDeviceHandle_t hDevice );
1993 #ifdef LIBTIEPIE_DYNAMIC
1994 typedef TpDate_t(*LibTiePieDevGetCalibrationDate_t)( TpDeviceHandle_t hDevice );
2005 #ifdef LIBTIEPIE_DYNAMIC
2006 typedef uint32_t(*LibTiePieDevGetSerialNumber_t)( TpDeviceHandle_t hDevice );
2017 #ifdef LIBTIEPIE_DYNAMIC
2018 typedef uint32_t(*LibTiePieDevGetProductId_t)( TpDeviceHandle_t hDevice );
2029 #ifdef LIBTIEPIE_DYNAMIC
2030 typedef uint32_t(*LibTiePieDevGetVendorId_t)( TpDeviceHandle_t hDevice );
2041 #ifdef LIBTIEPIE_DYNAMIC
2042 typedef uint32_t(*LibTiePieDevGetType_t)( TpDeviceHandle_t hDevice );
2044 uint32_t
DevGetType( TpDeviceHandle_t hDevice );
2067 #ifdef LIBTIEPIE_DYNAMIC
2068 typedef uint32_t(*LibTiePieDevGetName_t)( TpDeviceHandle_t hDevice ,
char* pBuffer , uint32_t dwBufferLength );
2070 uint32_t
DevGetName( TpDeviceHandle_t hDevice ,
char* pBuffer , uint32_t dwBufferLength );
2093 #ifdef LIBTIEPIE_DYNAMIC
2094 typedef uint32_t(*LibTiePieDevGetNameShort_t)( TpDeviceHandle_t hDevice ,
char* pBuffer , uint32_t dwBufferLength );
2096 uint32_t
DevGetNameShort( TpDeviceHandle_t hDevice ,
char* pBuffer , uint32_t dwBufferLength );
2116 #ifdef LIBTIEPIE_DYNAMIC
2117 typedef void(*LibTiePieDevSetCallbackRemoved_t)( TpDeviceHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
2131 #ifdef LIBTIEPIE_DYNAMIC
2132 typedef void(*LibTiePieDevSetEventRemoved_t)( TpDeviceHandle_t hDevice ,
int fdEvent );
2139 #ifdef HAVE_WINDOWS_H
2148 #ifdef LIBTIEPIE_DYNAMIC
2149 typedef void(*LibTiePieDevSetEventRemoved_t)( TpDeviceHandle_t hDevice , HANDLE hEvent );
2163 #ifdef LIBTIEPIE_DYNAMIC
2164 typedef void(*LibTiePieDevSetMessageRemoved_t)( TpDeviceHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
2166 void DevSetMessageRemoved( TpDeviceHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
2194 #ifdef LIBTIEPIE_DYNAMIC
2195 typedef uint16_t(*LibTiePieDevTrGetInputCount_t)( TpDeviceHandle_t hDevice );
2218 #ifdef LIBTIEPIE_DYNAMIC
2219 typedef bool8_t(*LibTiePieDevTrInGetEnabled_t)( TpDeviceHandle_t hDevice , uint16_t wInput );
2233 #ifdef LIBTIEPIE_DYNAMIC
2234 typedef bool8_t(*LibTiePieDevTrInSetEnabled_t)( TpDeviceHandle_t hDevice , uint16_t wInput , bool8_t bEnable );
2236 bool8_t
DevTrInSetEnabled( TpDeviceHandle_t hDevice , uint16_t wInput , bool8_t bEnable );
2262 #ifdef LIBTIEPIE_DYNAMIC
2263 typedef uint64_t(*LibTiePieDevTrInGetKinds_t)( TpDeviceHandle_t hDevice , uint16_t wInput );
2265 uint64_t
DevTrInGetKinds( TpDeviceHandle_t hDevice , uint16_t wInput );
2277 #ifdef LIBTIEPIE_DYNAMIC
2278 typedef uint64_t(*LibTiePieDevTrInGetKind_t)( TpDeviceHandle_t hDevice , uint16_t wInput );
2280 uint64_t
DevTrInGetKind( TpDeviceHandle_t hDevice , uint16_t wInput );
2293 #ifdef LIBTIEPIE_DYNAMIC
2294 typedef uint64_t(*LibTiePieDevTrInSetKind_t)( TpDeviceHandle_t hDevice , uint16_t wInput , uint64_t qwKind );
2296 uint64_t
DevTrInSetKind( TpDeviceHandle_t hDevice , uint16_t wInput , uint64_t qwKind );
2320 #ifdef LIBTIEPIE_DYNAMIC
2321 typedef uint32_t(*LibTiePieDevTrInGetName_t)( TpDeviceHandle_t hDevice , uint16_t wInput ,
char* pBuffer , uint32_t dwBufferLength );
2323 uint32_t
DevTrInGetName( TpDeviceHandle_t hDevice , uint16_t wInput ,
char* pBuffer , uint32_t dwBufferLength );
2342 #ifdef LIBTIEPIE_DYNAMIC
2343 typedef uint16_t(*LibTiePieDevTrGetOutputCount_t)( TpDeviceHandle_t hDevice );
2364 #ifdef LIBTIEPIE_DYNAMIC
2365 typedef bool8_t(*LibTiePieDevTrOutGetEnabled_t)( TpDeviceHandle_t hDevice , uint16_t wOutput );
2379 #ifdef LIBTIEPIE_DYNAMIC
2380 typedef bool8_t(*LibTiePieDevTrOutSetEnabled_t)( TpDeviceHandle_t hDevice , uint16_t wOutput , bool8_t bEnable );
2382 bool8_t
DevTrOutSetEnabled( TpDeviceHandle_t hDevice , uint16_t wOutput , bool8_t bEnable );
2403 #ifdef LIBTIEPIE_DYNAMIC
2404 typedef uint64_t(*LibTiePieDevTrOutGetEvents_t)( TpDeviceHandle_t hDevice , uint16_t wOutput );
2418 #ifdef LIBTIEPIE_DYNAMIC
2419 typedef uint64_t(*LibTiePieDevTrOutGetEvent_t)( TpDeviceHandle_t hDevice , uint16_t wOutput );
2434 #ifdef LIBTIEPIE_DYNAMIC
2435 typedef uint64_t(*LibTiePieDevTrOutSetEvent_t)( TpDeviceHandle_t hDevice , uint16_t wOutput , uint64_t qwEvent );
2437 uint64_t
DevTrOutSetEvent( TpDeviceHandle_t hDevice , uint16_t wOutput , uint64_t qwEvent );
2457 #ifdef LIBTIEPIE_DYNAMIC
2458 typedef uint32_t(*LibTiePieDevTrOutGetName_t)( TpDeviceHandle_t hDevice , uint16_t wOutput ,
char* pBuffer , uint32_t dwBufferLength );
2460 uint32_t
DevTrOutGetName( TpDeviceHandle_t hDevice , uint16_t wOutput ,
char* pBuffer , uint32_t dwBufferLength );
2482 #ifdef LIBTIEPIE_DYNAMIC
2483 typedef uint16_t(*LibTiePieScpGetChannelCount_t)( TpDeviceHandle_t hDevice );
2495 #ifdef LIBTIEPIE_DYNAMIC
2496 typedef uint32_t(*LibTiePieScpGetSharedChannelGroupCount_t)( TpDeviceHandle_t hDevice );
2511 #ifdef LIBTIEPIE_DYNAMIC
2512 typedef uint32_t(*LibTiePieScpGetSharedChannelGroup_t)( TpDeviceHandle_t hDevice , uint32_t dwGroupIndex , uint16_t* pChannelNumbers , uint32_t dwLength );
2514 uint32_t
ScpGetSharedChannelGroup( TpDeviceHandle_t hDevice , uint32_t dwGroupIndex , uint16_t* pChannelNumbers , uint32_t dwLength );
2531 #ifdef LIBTIEPIE_DYNAMIC
2532 typedef uint32_t(*LibTiePieScpChGetConnectorType_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
2544 #ifdef LIBTIEPIE_DYNAMIC
2545 typedef bool8_t(*LibTiePieScpChIsDifferential_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
2566 #ifdef LIBTIEPIE_DYNAMIC
2567 typedef uint64_t(*LibTiePieScpChGetCouplings_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
2579 #ifdef LIBTIEPIE_DYNAMIC
2580 typedef uint64_t(*LibTiePieScpChGetCoupling_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
2593 #ifdef LIBTIEPIE_DYNAMIC
2594 typedef uint64_t(*LibTiePieScpChSetCoupling_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint64_t qwCoupling );
2596 uint64_t
ScpChSetCoupling( TpDeviceHandle_t hDevice , uint16_t wCh , uint64_t qwCoupling );
2615 #ifdef LIBTIEPIE_DYNAMIC
2616 typedef bool8_t(*LibTiePieScpChGetEnabled_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
2630 #ifdef LIBTIEPIE_DYNAMIC
2631 typedef bool8_t(*LibTiePieScpChSetEnabled_t)( TpDeviceHandle_t hDevice , uint16_t wCh , bool8_t bEnable );
2633 bool8_t
ScpChSetEnabled( TpDeviceHandle_t hDevice , uint16_t wCh , bool8_t bEnable );
2652 #ifdef LIBTIEPIE_DYNAMIC
2653 typedef double(*LibTiePieScpChGetProbeGain_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
2666 #ifdef LIBTIEPIE_DYNAMIC
2667 typedef double(*LibTiePieScpChSetProbeGain_t)( TpDeviceHandle_t hDevice , uint16_t wCh ,
double dProbeGain );
2669 double ScpChSetProbeGain( TpDeviceHandle_t hDevice , uint16_t wCh ,
double dProbeGain );
2688 #ifdef LIBTIEPIE_DYNAMIC
2689 typedef bool8_t(*LibTiePieScpChGetAutoRanging_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
2702 #ifdef LIBTIEPIE_DYNAMIC
2703 typedef bool8_t(*LibTiePieScpChSetAutoRanging_t)( TpDeviceHandle_t hDevice , uint16_t wCh , bool8_t bEnable );
2733 #ifdef LIBTIEPIE_DYNAMIC
2734 typedef uint32_t(*LibTiePieScpChGetRanges_t)( TpDeviceHandle_t hDevice , uint16_t wCh ,
double* pList , uint32_t dwLength );
2736 uint32_t
ScpChGetRanges( TpDeviceHandle_t hDevice , uint16_t wCh ,
double* pList , uint32_t dwLength );
2751 #ifdef LIBTIEPIE_DYNAMIC
2752 typedef uint32_t(*LibTiePieScpChGetRangesEx_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint64_t qwCoupling ,
double* pList , uint32_t dwLength );
2754 uint32_t ScpChGetRangesEx( TpDeviceHandle_t hDevice , uint16_t wCh , uint64_t qwCoupling ,
double* pList , uint32_t dwLength );
2765 #ifdef LIBTIEPIE_DYNAMIC
2766 typedef double(*LibTiePieScpChGetRange_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
2768 double ScpChGetRange( TpDeviceHandle_t hDevice , uint16_t wCh );
2789 #ifdef LIBTIEPIE_DYNAMIC
2790 typedef double(*LibTiePieScpChSetRange_t)( TpDeviceHandle_t hDevice , uint16_t wCh ,
double dRange );
2792 double ScpChSetRange( TpDeviceHandle_t hDevice , uint16_t wCh ,
double dRange );
2811 #ifdef LIBTIEPIE_DYNAMIC
2812 typedef bool8_t(*LibTiePieScpChHasTrigger_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
2835 #ifdef LIBTIEPIE_DYNAMIC
2836 typedef bool8_t(*LibTiePieScpChTrGetEnabled_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
2850 #ifdef LIBTIEPIE_DYNAMIC
2851 typedef bool8_t(*LibTiePieScpChTrSetEnabled_t)( TpDeviceHandle_t hDevice , uint16_t wCh , bool8_t bEnable );
2853 bool8_t
ScpChTrSetEnabled( TpDeviceHandle_t hDevice , uint16_t wCh , bool8_t bEnable );
2880 #ifdef LIBTIEPIE_DYNAMIC
2881 typedef uint64_t(*LibTiePieScpChTrGetKinds_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
2895 #ifdef LIBTIEPIE_DYNAMIC
2896 typedef uint64_t(*LibTiePieScpChTrGetKindsEx_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode );
2898 uint64_t ScpChTrGetKindsEx( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode );
2911 #ifdef LIBTIEPIE_DYNAMIC
2912 typedef uint64_t(*LibTiePieScpChTrGetKind_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
2914 uint64_t
ScpChTrGetKind( TpDeviceHandle_t hDevice , uint16_t wCh );
2927 #ifdef LIBTIEPIE_DYNAMIC
2928 typedef uint64_t(*LibTiePieScpChTrSetKind_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint64_t qwTriggerKind );
2930 uint64_t
ScpChTrSetKind( TpDeviceHandle_t hDevice , uint16_t wCh , uint64_t qwTriggerKind );
2962 #ifdef LIBTIEPIE_DYNAMIC
2963 typedef uint32_t(*LibTiePieScpChTrGetLevelCount_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
2976 #ifdef LIBTIEPIE_DYNAMIC
2977 typedef double(*LibTiePieScpChTrGetLevel_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex );
2979 double ScpChTrGetLevel( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex );
2991 #ifdef LIBTIEPIE_DYNAMIC
2992 typedef double(*LibTiePieScpChTrSetLevel_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dLevel );
2994 double ScpChTrSetLevel( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dLevel );
3026 #ifdef LIBTIEPIE_DYNAMIC
3027 typedef uint32_t(*LibTiePieScpChTrGetHysteresisCount_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3040 #ifdef LIBTIEPIE_DYNAMIC
3041 typedef double(*LibTiePieScpChTrGetHysteresis_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex );
3055 #ifdef LIBTIEPIE_DYNAMIC
3056 typedef double(*LibTiePieScpChTrSetHysteresis_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dHysteresis );
3058 double ScpChTrSetHysteresis( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dHysteresis );
3086 #ifdef LIBTIEPIE_DYNAMIC
3087 typedef uint32_t(*LibTiePieScpChTrGetConditions_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3101 #ifdef LIBTIEPIE_DYNAMIC
3102 typedef uint32_t(*LibTiePieScpChTrGetCondition_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3117 #ifdef LIBTIEPIE_DYNAMIC
3118 typedef uint32_t(*LibTiePieScpChTrSetCondition_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwCondition );
3120 uint32_t
ScpChTrSetCondition( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwCondition );
3152 #ifdef LIBTIEPIE_DYNAMIC
3153 typedef uint32_t(*LibTiePieScpChTrGetTimeCount_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3172 #ifdef LIBTIEPIE_DYNAMIC
3173 typedef double(*LibTiePieScpChTrGetTime_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex );
3175 double ScpChTrGetTime( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex );
3193 #ifdef LIBTIEPIE_DYNAMIC
3194 typedef double(*LibTiePieScpChTrSetTime_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dTime );
3196 double ScpChTrSetTime( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dTime );
3214 #ifdef LIBTIEPIE_DYNAMIC
3215 typedef double(*LibTiePieScpChTrVerifyTime_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dTime );
3217 double ScpChTrVerifyTime( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dTime );
3234 #ifdef LIBTIEPIE_DYNAMIC
3235 typedef double(*LibTiePieScpChTrVerifyTimeEx_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dTime ,
double dSampleFrequency );
3237 double ScpChTrVerifyTimeEx( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dTime ,
double dSampleFrequency );
3346 #ifdef INCLUDED_BY_MATLAB
3347 #ifdef LIBTIEPIE_DYNAMIC
3348 typedef uint64_t(*LibTiePieScpGetData_t)( TpDeviceHandle_t hDevice ,
void** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
3350 uint64_t
ScpGetData( TpDeviceHandle_t hDevice ,
void** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
3353 #ifdef LIBTIEPIE_DYNAMIC
3354 typedef uint64_t(*LibTiePieScpGetData_t)( TpDeviceHandle_t hDevice ,
float** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
3356 uint64_t
ScpGetData( TpDeviceHandle_t hDevice ,
float** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
3369 #ifdef LIBTIEPIE_DYNAMIC
3370 typedef uint64_t(*LibTiePieScpGetData1Ch_t)( TpDeviceHandle_t hDevice ,
float* pBufferCh1 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3372 uint64_t
ScpGetData1Ch( TpDeviceHandle_t hDevice ,
float* pBufferCh1 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3385 #ifdef LIBTIEPIE_DYNAMIC
3386 typedef uint64_t(*LibTiePieScpGetData2Ch_t)( TpDeviceHandle_t hDevice ,
float* pBufferCh1 ,
float* pBufferCh2 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3388 uint64_t
ScpGetData2Ch( TpDeviceHandle_t hDevice ,
float* pBufferCh1 ,
float* pBufferCh2 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3402 #ifdef LIBTIEPIE_DYNAMIC
3403 typedef uint64_t(*LibTiePieScpGetData3Ch_t)( TpDeviceHandle_t hDevice ,
float* pBufferCh1 ,
float* pBufferCh2 ,
float* pBufferCh3 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3405 uint64_t
ScpGetData3Ch( TpDeviceHandle_t hDevice ,
float* pBufferCh1 ,
float* pBufferCh2 ,
float* pBufferCh3 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3420 #ifdef LIBTIEPIE_DYNAMIC
3421 typedef uint64_t(*LibTiePieScpGetData4Ch_t)( TpDeviceHandle_t hDevice ,
float* pBufferCh1 ,
float* pBufferCh2 ,
float* pBufferCh3 ,
float* pBufferCh4 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3423 uint64_t
ScpGetData4Ch( TpDeviceHandle_t hDevice ,
float* pBufferCh1 ,
float* pBufferCh2 ,
float* pBufferCh3 ,
float* pBufferCh4 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3438 #ifdef LIBTIEPIE_DYNAMIC
3439 typedef uint64_t(*LibTiePieScpGetValidPreSampleCount_t)( TpDeviceHandle_t hDevice );
3454 #ifdef LIBTIEPIE_DYNAMIC
3455 typedef void(*LibTiePieScpChGetDataValueRange_t)( TpDeviceHandle_t hDevice , uint16_t wCh ,
double* pMin ,
double* pMax );
3469 #ifdef LIBTIEPIE_DYNAMIC
3470 typedef double(*LibTiePieScpChGetDataValueMax_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3484 #ifdef LIBTIEPIE_DYNAMIC
3485 typedef double(*LibTiePieScpChGetDataValueMin_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3509 #ifdef LIBTIEPIE_DYNAMIC
3510 typedef uint64_t(*LibTiePieScpGetDataRaw_t)( TpDeviceHandle_t hDevice ,
void** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
3512 uint64_t ScpGetDataRaw( TpDeviceHandle_t hDevice ,
void** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
3524 #ifdef LIBTIEPIE_DYNAMIC
3525 typedef uint64_t(*LibTiePieScpGetDataRaw1Ch_t)( TpDeviceHandle_t hDevice ,
void* pBufferCh1 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3527 uint64_t ScpGetDataRaw1Ch( TpDeviceHandle_t hDevice ,
void* pBufferCh1 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3540 #ifdef LIBTIEPIE_DYNAMIC
3541 typedef uint64_t(*LibTiePieScpGetDataRaw2Ch_t)( TpDeviceHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3543 uint64_t ScpGetDataRaw2Ch( TpDeviceHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3557 #ifdef LIBTIEPIE_DYNAMIC
3558 typedef uint64_t(*LibTiePieScpGetDataRaw3Ch_t)( TpDeviceHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 ,
void* pBufferCh3 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3560 uint64_t ScpGetDataRaw3Ch( TpDeviceHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 ,
void* pBufferCh3 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3575 #ifdef LIBTIEPIE_DYNAMIC
3576 typedef uint64_t(*LibTiePieScpGetDataRaw4Ch_t)( TpDeviceHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 ,
void* pBufferCh3 ,
void* pBufferCh4 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3578 uint64_t ScpGetDataRaw4Ch( TpDeviceHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 ,
void* pBufferCh3 ,
void* pBufferCh4 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3588 #ifdef LIBTIEPIE_DYNAMIC
3589 typedef uint32_t(*LibTiePieScpChGetDataRawType_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3591 uint32_t ScpChGetDataRawType( TpDeviceHandle_t hDevice , uint16_t wCh );
3606 #ifdef LIBTIEPIE_DYNAMIC
3607 typedef void(*LibTiePieScpChGetDataRawValueRange_t)( TpDeviceHandle_t hDevice , uint16_t wCh , int64_t* pMin , int64_t* pZero , int64_t* pMax );
3609 void ScpChGetDataRawValueRange( TpDeviceHandle_t hDevice , uint16_t wCh , int64_t* pMin , int64_t* pZero , int64_t* pMax );
3622 #ifdef LIBTIEPIE_DYNAMIC
3623 typedef int64_t(*LibTiePieScpChGetDataRawValueMax_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3625 int64_t ScpChGetDataRawValueMax( TpDeviceHandle_t hDevice , uint16_t wCh );
3638 #ifdef LIBTIEPIE_DYNAMIC
3639 typedef int64_t(*LibTiePieScpChGetDataRawValueZero_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3641 int64_t ScpChGetDataRawValueZero( TpDeviceHandle_t hDevice , uint16_t wCh );
3654 #ifdef LIBTIEPIE_DYNAMIC
3655 typedef int64_t(*LibTiePieScpChGetDataRawValueMin_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3657 int64_t ScpChGetDataRawValueMin( TpDeviceHandle_t hDevice , uint16_t wCh );
3667 #ifdef LIBTIEPIE_DYNAMIC
3668 typedef bool8_t(*LibTiePieScpChIsRangeMaxReachable_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3670 bool8_t ScpChIsRangeMaxReachable( TpDeviceHandle_t hDevice , uint16_t wCh );
3692 #ifdef LIBTIEPIE_DYNAMIC
3693 typedef void(*LibTiePieScpSetCallbackDataReady_t)( TpDeviceHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
3713 #ifdef LIBTIEPIE_DYNAMIC
3714 typedef void(*LibTiePieScpSetCallbackDataOverflow_t)( TpDeviceHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
3734 #ifdef LIBTIEPIE_DYNAMIC
3735 typedef void(*LibTiePieScpSetCallbackConnectionTestCompleted_t)( TpDeviceHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
3754 #ifdef LIBTIEPIE_DYNAMIC
3755 typedef void(*LibTiePieScpSetEventDataReady_t)( TpDeviceHandle_t hDevice ,
int fdEvent );
3768 #ifdef LIBTIEPIE_DYNAMIC
3769 typedef void(*LibTiePieScpSetEventDataOverflow_t)( TpDeviceHandle_t hDevice ,
int fdEvent );
3782 #ifdef LIBTIEPIE_DYNAMIC
3783 typedef void(*LibTiePieScpSetEventConnectionTestCompleted_t)( TpDeviceHandle_t hDevice ,
int fdEvent );
3790 #ifdef HAVE_WINDOWS_H
3800 #ifdef LIBTIEPIE_DYNAMIC
3801 typedef void(*LibTiePieScpSetEventDataReady_t)( TpDeviceHandle_t hDevice , HANDLE hEvent );
3814 #ifdef LIBTIEPIE_DYNAMIC
3815 typedef void(*LibTiePieScpSetEventDataOverflow_t)( TpDeviceHandle_t hDevice , HANDLE hEvent );
3828 #ifdef LIBTIEPIE_DYNAMIC
3829 typedef void(*LibTiePieScpSetEventConnectionTestCompleted_t)( TpDeviceHandle_t hDevice , HANDLE hEvent );
3844 #ifdef LIBTIEPIE_DYNAMIC
3845 typedef void(*LibTiePieScpSetMessageDataReady_t)( TpDeviceHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
3860 #ifdef LIBTIEPIE_DYNAMIC
3861 typedef void(*LibTiePieScpSetMessageDataOverflow_t)( TpDeviceHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
3876 #ifdef LIBTIEPIE_DYNAMIC
3877 typedef void(*LibTiePieScpSetMessageConnectionTestCompleted_t)( TpDeviceHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
3905 #ifdef LIBTIEPIE_DYNAMIC
3906 typedef bool8_t(*LibTiePieScpStart_t)( TpDeviceHandle_t hDevice );
3908 bool8_t
ScpStart( TpDeviceHandle_t hDevice );
3916 #ifdef LIBTIEPIE_DYNAMIC
3917 typedef void(*LibTiePieScpStop_t)( TpDeviceHandle_t hDevice );
3919 void ScpStop( TpDeviceHandle_t hDevice );
3931 #ifdef LIBTIEPIE_DYNAMIC
3932 typedef void(*LibTiePieScpForceTrigger_t)( TpDeviceHandle_t hDevice );
3980 #ifdef LIBTIEPIE_DYNAMIC
3981 typedef uint32_t(*LibTiePieScpGetMeasureModes_t)( TpDeviceHandle_t hDevice );
3992 #ifdef LIBTIEPIE_DYNAMIC
3993 typedef uint32_t(*LibTiePieScpGetMeasureMode_t)( TpDeviceHandle_t hDevice );
4006 #ifdef LIBTIEPIE_DYNAMIC
4007 typedef uint32_t(*LibTiePieScpSetMeasureMode_t)( TpDeviceHandle_t hDevice , uint32_t dwMeasureMode );
4009 uint32_t
ScpSetMeasureMode( TpDeviceHandle_t hDevice , uint32_t dwMeasureMode );
4027 #ifdef LIBTIEPIE_DYNAMIC
4028 typedef bool8_t(*LibTiePieScpIsRunning_t)( TpDeviceHandle_t hDevice );
4041 #ifdef LIBTIEPIE_DYNAMIC
4042 typedef bool8_t(*LibTiePieScpIsTriggered_t)( TpDeviceHandle_t hDevice );
4061 #ifdef LIBTIEPIE_DYNAMIC
4062 typedef bool8_t(*LibTiePieScpIsDataReady_t)( TpDeviceHandle_t hDevice );
4078 #ifdef LIBTIEPIE_DYNAMIC
4079 typedef bool8_t(*LibTiePieScpIsDataOverflow_t)( TpDeviceHandle_t hDevice );
4119 #ifdef LIBTIEPIE_DYNAMIC
4120 typedef uint32_t(*LibTiePieScpGetAutoResolutionModes_t)( TpDeviceHandle_t hDevice );
4131 #ifdef LIBTIEPIE_DYNAMIC
4132 typedef uint32_t(*LibTiePieScpGetAutoResolutionMode_t)( TpDeviceHandle_t hDevice );
4144 #ifdef LIBTIEPIE_DYNAMIC
4145 typedef uint32_t(*LibTiePieScpSetAutoResolutionMode_t)( TpDeviceHandle_t hDevice , uint32_t dwAutoResolutionMode );
4173 #ifdef LIBTIEPIE_DYNAMIC
4174 typedef uint32_t(*LibTiePieScpGetResolutions_t)( TpDeviceHandle_t hDevice , uint8_t* pList , uint32_t dwLength );
4176 uint32_t
ScpGetResolutions( TpDeviceHandle_t hDevice , uint8_t* pList , uint32_t dwLength );
4185 #ifdef LIBTIEPIE_DYNAMIC
4186 typedef uint8_t(*LibTiePieScpGetResolution_t)( TpDeviceHandle_t hDevice );
4200 #ifdef LIBTIEPIE_DYNAMIC
4201 typedef uint8_t(*LibTiePieScpSetResolution_t)( TpDeviceHandle_t hDevice , uint8_t byResolution );
4203 uint8_t
ScpSetResolution( TpDeviceHandle_t hDevice , uint8_t byResolution );
4212 #ifdef LIBTIEPIE_DYNAMIC
4213 typedef bool8_t(*LibTiePieScpIsResolutionEnhanced_t)( TpDeviceHandle_t hDevice );
4226 #ifdef LIBTIEPIE_DYNAMIC
4227 typedef bool8_t(*LibTiePieScpIsResolutionEnhancedEx_t)( TpDeviceHandle_t hDevice , uint8_t byResolution );
4229 bool8_t ScpIsResolutionEnhancedEx( TpDeviceHandle_t hDevice , uint8_t byResolution );
4250 #ifdef LIBTIEPIE_DYNAMIC
4251 typedef uint32_t(*LibTiePieScpGetClockSources_t)( TpDeviceHandle_t hDevice );
4262 #ifdef LIBTIEPIE_DYNAMIC
4263 typedef uint32_t(*LibTiePieScpGetClockSource_t)( TpDeviceHandle_t hDevice );
4275 #ifdef LIBTIEPIE_DYNAMIC
4276 typedef uint32_t(*LibTiePieScpSetClockSource_t)( TpDeviceHandle_t hDevice , uint32_t dwClockSource );
4278 uint32_t
ScpSetClockSource( TpDeviceHandle_t hDevice , uint32_t dwClockSource );
4296 #ifdef LIBTIEPIE_DYNAMIC
4297 typedef uint32_t(*LibTiePieScpGetClockOutputs_t)( TpDeviceHandle_t hDevice );
4308 #ifdef LIBTIEPIE_DYNAMIC
4309 typedef uint32_t(*LibTiePieScpGetClockOutput_t)( TpDeviceHandle_t hDevice );
4321 #ifdef LIBTIEPIE_DYNAMIC
4322 typedef uint32_t(*LibTiePieScpSetClockOutput_t)( TpDeviceHandle_t hDevice , uint32_t dwClockOutput );
4324 uint32_t
ScpSetClockOutput( TpDeviceHandle_t hDevice , uint32_t dwClockOutput );
4358 #ifdef LIBTIEPIE_DYNAMIC
4359 typedef double(*LibTiePieScpGetPreSampleRatio_t)( TpDeviceHandle_t hDevice );
4371 #ifdef LIBTIEPIE_DYNAMIC
4372 typedef double(*LibTiePieScpSetPreSampleRatio_t)( TpDeviceHandle_t hDevice ,
double dPreSampleRatio );
4401 #ifdef LIBTIEPIE_DYNAMIC
4402 typedef uint64_t(*LibTiePieScpGetTriggerHoldOffCountMax_t)( TpDeviceHandle_t hDevice );
4415 #ifdef LIBTIEPIE_DYNAMIC
4416 typedef uint64_t(*LibTiePieScpGetTriggerHoldOffCountMaxEx_t)( TpDeviceHandle_t hDevice , uint32_t dwMeasureMode );
4418 uint64_t ScpGetTriggerHoldOffCountMaxEx( TpDeviceHandle_t hDevice , uint32_t dwMeasureMode );
4428 #ifdef LIBTIEPIE_DYNAMIC
4429 typedef uint64_t(*LibTiePieScpGetTriggerHoldOffCount_t)( TpDeviceHandle_t hDevice );
4441 #ifdef LIBTIEPIE_DYNAMIC
4442 typedef uint64_t(*LibTiePieScpSetTriggerHoldOffCount_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerHoldOffCount );
4471 #ifdef LIBTIEPIE_DYNAMIC
4472 typedef uint64_t(*LibTiePieScpGetRecordLengthMax_t)( TpDeviceHandle_t hDevice );
4486 #ifdef LIBTIEPIE_DYNAMIC
4487 typedef uint64_t(*LibTiePieScpGetRecordLengthMaxEx_t)( TpDeviceHandle_t hDevice , uint32_t dwMeasureMode , uint8_t byResolution );
4489 uint64_t ScpGetRecordLengthMaxEx( TpDeviceHandle_t hDevice , uint32_t dwMeasureMode , uint8_t byResolution );
4499 #ifdef LIBTIEPIE_DYNAMIC
4500 typedef uint64_t(*LibTiePieScpGetRecordLength_t)( TpDeviceHandle_t hDevice );
4513 #ifdef LIBTIEPIE_DYNAMIC
4514 typedef uint64_t(*LibTiePieScpSetRecordLength_t)( TpDeviceHandle_t hDevice , uint64_t qwRecordLength );
4528 #ifdef LIBTIEPIE_DYNAMIC
4529 typedef uint64_t(*LibTiePieScpVerifyRecordLength_t)( TpDeviceHandle_t hDevice , uint64_t qwRecordLength );
4531 uint64_t ScpVerifyRecordLength( TpDeviceHandle_t hDevice , uint64_t qwRecordLength );
4544 #ifdef LIBTIEPIE_DYNAMIC
4545 typedef uint64_t(*LibTiePieScpVerifyRecordLengthEx_t)( TpDeviceHandle_t hDevice , uint64_t qwRecordLength , uint32_t dwMeasureMode , uint8_t byResolution , uint64_t qwActiveChannelMask );
4547 uint64_t ScpVerifyRecordLengthEx( TpDeviceHandle_t hDevice , uint64_t qwRecordLength , uint32_t dwMeasureMode , uint8_t byResolution , uint64_t qwActiveChannelMask );
4576 #ifdef LIBTIEPIE_DYNAMIC
4577 typedef double(*LibTiePieScpGetSampleFrequencyMax_t)( TpDeviceHandle_t hDevice );
4588 #ifdef LIBTIEPIE_DYNAMIC
4589 typedef double(*LibTiePieScpGetSampleFrequency_t)( TpDeviceHandle_t hDevice );
4603 #ifdef LIBTIEPIE_DYNAMIC
4604 typedef double(*LibTiePieScpSetSampleFrequency_t)( TpDeviceHandle_t hDevice ,
double dSampleFrequency );
4618 #ifdef LIBTIEPIE_DYNAMIC
4619 typedef double(*LibTiePieScpVerifySampleFrequency_t)( TpDeviceHandle_t hDevice ,
double dSampleFrequency );
4621 double ScpVerifySampleFrequency( TpDeviceHandle_t hDevice ,
double dSampleFrequency );
4634 #ifdef LIBTIEPIE_DYNAMIC
4635 typedef double(*LibTiePieScpVerifySampleFrequencyEx_t)( TpDeviceHandle_t hDevice ,
double dSampleFrequency , uint32_t dwMeasureMode , uint8_t byResolution , uint64_t qwActiveChannelMask );
4637 double ScpVerifySampleFrequencyEx( TpDeviceHandle_t hDevice ,
double dSampleFrequency , uint32_t dwMeasureMode , uint8_t byResolution , uint64_t qwActiveChannelMask );
4657 #ifdef LIBTIEPIE_DYNAMIC
4658 typedef uint32_t(*LibTiePieScpGetSegmentCountMax_t)( TpDeviceHandle_t hDevice );
4669 #ifdef LIBTIEPIE_DYNAMIC
4670 typedef uint32_t(*LibTiePieScpGetSegmentCount_t)( TpDeviceHandle_t hDevice );
4682 #ifdef LIBTIEPIE_DYNAMIC
4683 typedef uint32_t(*LibTiePieScpSetSegmentCount_t)( TpDeviceHandle_t hDevice , uint32_t dwSegmentCount );
4697 #ifdef LIBTIEPIE_DYNAMIC
4698 typedef uint32_t(*LibTiePieScpVerifySegmentCount_t)( TpDeviceHandle_t hDevice , uint32_t dwSegmentCount );
4700 uint32_t ScpVerifySegmentCount( TpDeviceHandle_t hDevice , uint32_t dwSegmentCount );
4712 #ifdef LIBTIEPIE_DYNAMIC
4713 typedef uint32_t(*LibTiePieScpVerifySegmentCountEx_t)( TpDeviceHandle_t hDevice , uint32_t dwSegmentCount , uint64_t qwRecordLength ,
double dSampleFrequency );
4715 uint32_t ScpVerifySegmentCountEx( TpDeviceHandle_t hDevice , uint32_t dwSegmentCount , uint64_t qwRecordLength ,
double dSampleFrequency );
4758 #ifdef LIBTIEPIE_DYNAMIC
4759 typedef double(*LibTiePieScpGetTriggerTimeOut_t)( TpDeviceHandle_t hDevice );
4771 #ifdef LIBTIEPIE_DYNAMIC
4772 typedef double(*LibTiePieScpSetTriggerTimeOut_t)( TpDeviceHandle_t hDevice ,
double dTimeout );
4786 #ifdef LIBTIEPIE_DYNAMIC
4787 typedef double(*LibTiePieScpVerifyTriggerTimeOut_t)( TpDeviceHandle_t hDevice ,
double dTimeout );
4789 double ScpVerifyTriggerTimeOut( TpDeviceHandle_t hDevice ,
double dTimeout );
4801 #ifdef LIBTIEPIE_DYNAMIC
4802 typedef double(*LibTiePieScpVerifyTriggerTimeOutEx_t)( TpDeviceHandle_t hDevice ,
double dTimeout , uint32_t dwMeasureMode ,
double dSampleFrequency );
4804 double ScpVerifyTriggerTimeOutEx( TpDeviceHandle_t hDevice ,
double dTimeout , uint32_t dwMeasureMode ,
double dSampleFrequency );
4819 #ifdef LIBTIEPIE_DYNAMIC
4820 typedef double(*LibTiePieScpGetTriggerDelay_t)( TpDeviceHandle_t hDevice );
4832 #ifdef LIBTIEPIE_DYNAMIC
4833 typedef double(*LibTiePieScpSetTriggerDelay_t)( TpDeviceHandle_t hDevice ,
double dDelay );
4847 #ifdef LIBTIEPIE_DYNAMIC
4848 typedef double(*LibTiePieScpVerifyTriggerDelay_t)( TpDeviceHandle_t hDevice ,
double dDelay );
4850 double ScpVerifyTriggerDelay( TpDeviceHandle_t hDevice ,
double dDelay );
4862 #ifdef LIBTIEPIE_DYNAMIC
4863 typedef double(*LibTiePieScpVerifyTriggerDelayEx_t)( TpDeviceHandle_t hDevice ,
double dDelay , uint32_t dwMeasureMode ,
double dSampleFrequency );
4865 double ScpVerifyTriggerDelayEx( TpDeviceHandle_t hDevice ,
double dDelay , uint32_t dwMeasureMode ,
double dSampleFrequency );
4878 #ifdef LIBTIEPIE_DYNAMIC
4879 typedef uint64_t(*LibTiePieScpGetTriggerSources_t)( TpDeviceHandle_t hDevice );
4893 #ifdef LIBTIEPIE_DYNAMIC
4894 typedef uint64_t(*LibTiePieScpGetTriggerSourcesEx_t)( TpDeviceHandle_t hDevice , uint32_t dwMeasureMode );
4896 uint64_t ScpGetTriggerSourcesEx( TpDeviceHandle_t hDevice , uint32_t dwMeasureMode );
4907 #ifdef LIBTIEPIE_DYNAMIC
4908 typedef uint64_t(*LibTiePieScpGetTriggerSourceOR_t)( TpDeviceHandle_t hDevice );
4921 #ifdef LIBTIEPIE_DYNAMIC
4922 typedef uint64_t(*LibTiePieScpSetTriggerSourceOR_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSourceMask );
4934 #ifdef LIBTIEPIE_DYNAMIC
4935 typedef uint64_t(*LibTiePieScpGetTriggerSourceAND_t)( TpDeviceHandle_t hDevice );
4948 #ifdef LIBTIEPIE_DYNAMIC
4949 typedef uint64_t(*LibTiePieScpSetTriggerSourceAND_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSourceMask );
4965 #ifdef LIBTIEPIE_DYNAMIC
4966 typedef uint64_t(*LibTiePieScpGetTriggerKinds_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSourceMask );
4968 uint64_t
ScpGetTriggerKinds( TpDeviceHandle_t hDevice , uint64_t qwTriggerSourceMask );
4984 #ifdef LIBTIEPIE_DYNAMIC
4985 typedef uint64_t(*LibTiePieScpGetTriggerKindsEx_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSourceMask , uint32_t dwMeasureMode );
4987 uint64_t ScpGetTriggerKindsEx( TpDeviceHandle_t hDevice , uint64_t qwTriggerSourceMask , uint32_t dwMeasureMode );
4999 #ifdef LIBTIEPIE_DYNAMIC
5000 typedef uint64_t(*LibTiePieScpGetTriggerKind_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource );
5002 uint64_t
ScpGetTriggerKind( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource );
5014 #ifdef LIBTIEPIE_DYNAMIC
5015 typedef uint64_t(*LibTiePieScpSetTriggerKind_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint64_t qwTriggerKind );
5017 uint64_t
ScpSetTriggerKind( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint64_t qwTriggerKind );
5029 #ifdef LIBTIEPIE_DYNAMIC
5030 typedef double(*LibTiePieScpGetTriggerLevel_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint32_t dwIndex );
5032 double ScpGetTriggerLevel( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint32_t dwIndex );
5045 #ifdef LIBTIEPIE_DYNAMIC
5046 typedef double(*LibTiePieScpSetTriggerLevel_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint32_t dwIndex ,
double dLevel );
5048 double ScpSetTriggerLevel( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint32_t dwIndex ,
double dLevel );
5060 #ifdef LIBTIEPIE_DYNAMIC
5061 typedef double(*LibTiePieScpGetTriggerHysteresis_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint32_t dwIndex );
5076 #ifdef LIBTIEPIE_DYNAMIC
5077 typedef double(*LibTiePieScpSetTriggerHysteresis_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint32_t dwIndex ,
double dHysteresis );
5079 double ScpSetTriggerHysteresis( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint32_t dwIndex ,
double dHysteresis );
5090 #ifdef LIBTIEPIE_DYNAMIC
5091 typedef uint64_t(*LibTiePieScpChGetTriggerKinds_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
5106 #ifdef LIBTIEPIE_DYNAMIC
5107 typedef uint64_t(*LibTiePieScpChGetTriggerKindsEx_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode );
5109 uint64_t ScpChGetTriggerKindsEx( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode );
5121 #ifdef LIBTIEPIE_DYNAMIC
5122 typedef uint64_t(*LibTiePieScpChGetTriggerKind_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
5136 #ifdef LIBTIEPIE_DYNAMIC
5137 typedef uint64_t(*LibTiePieScpChSetTriggerKind_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint64_t qwTriggerKind );
5139 uint64_t
ScpChSetTriggerKind( TpDeviceHandle_t hDevice , uint16_t wCh , uint64_t qwTriggerKind );
5151 #ifdef LIBTIEPIE_DYNAMIC
5152 typedef double(*LibTiePieScpChGetTriggerLevel_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex );
5167 #ifdef LIBTIEPIE_DYNAMIC
5168 typedef double(*LibTiePieScpChSetTriggerLevel_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dLevel );
5170 double ScpChSetTriggerLevel( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dLevel );
5182 #ifdef LIBTIEPIE_DYNAMIC
5183 typedef double(*LibTiePieScpChGetTriggerHysteresis_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex );
5198 #ifdef LIBTIEPIE_DYNAMIC
5199 typedef double(*LibTiePieScpChSetTriggerHysteresis_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dHysteresis );
5212 #ifdef LIBTIEPIE_DYNAMIC
5213 typedef double(*LibTiePieScpChGetTriggerPulseTime_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
5227 #ifdef LIBTIEPIE_DYNAMIC
5228 typedef double(*LibTiePieScpChSetTriggerPulseTime_t)( TpDeviceHandle_t hDevice , uint16_t wCh ,
double dPulseTime );
5247 #ifdef LIBTIEPIE_DYNAMIC
5248 typedef bool8_t(*LibTiePieScpHasConnectionTest_t)( TpDeviceHandle_t hDevice );
5260 #ifdef LIBTIEPIE_DYNAMIC
5261 typedef bool8_t(*LibTiePieScpChHasConnectionTest_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
5273 #ifdef LIBTIEPIE_DYNAMIC
5274 typedef bool8_t(*LibTiePieScpStartConnectionTest_t)( TpDeviceHandle_t hDevice , uint64_t qwChannelMask );
5285 #ifdef LIBTIEPIE_DYNAMIC
5286 typedef bool8_t(*LibTiePieScpIsConnectionTestCompleted_t)( TpDeviceHandle_t hDevice );
5299 #ifdef LIBTIEPIE_DYNAMIC
5300 typedef uint16_t(*LibTiePieScpGetConnectionTestData_t)( TpDeviceHandle_t hDevice , LibTiePieTriState_t* pBuffer , uint16_t wChannelCount );
5302 uint16_t
ScpGetConnectionTestData( TpDeviceHandle_t hDevice , LibTiePieTriState_t* pBuffer , uint16_t wChannelCount );
5322 #ifdef LIBTIEPIE_DYNAMIC
5323 typedef uint32_t(*LibTiePieGenGetConnectorType_t)( TpDeviceHandle_t hDevice );
5334 #ifdef LIBTIEPIE_DYNAMIC
5335 typedef bool8_t(*LibTiePieGenIsDifferential_t)( TpDeviceHandle_t hDevice );
5346 #ifdef LIBTIEPIE_DYNAMIC
5347 typedef double(*LibTiePieGenGetImpedance_t)( TpDeviceHandle_t hDevice );
5358 #ifdef LIBTIEPIE_DYNAMIC
5359 typedef uint8_t(*LibTiePieGenGetResolution_t)( TpDeviceHandle_t hDevice );
5378 #ifdef LIBTIEPIE_DYNAMIC
5379 typedef bool8_t(*LibTiePieGenIsControllable_t)( TpDeviceHandle_t hDevice );
5390 #ifdef LIBTIEPIE_DYNAMIC
5391 typedef bool8_t(*LibTiePieGenGetOutputOn_t)( TpDeviceHandle_t hDevice );
5403 #ifdef LIBTIEPIE_DYNAMIC
5404 typedef bool8_t(*LibTiePieGenSetOutputOn_t)( TpDeviceHandle_t hDevice , bool8_t bOutputOn );
5406 bool8_t
GenSetOutputOn( TpDeviceHandle_t hDevice , bool8_t bOutputOn );
5414 #ifdef LIBTIEPIE_DYNAMIC
5415 typedef void(*LibTiePieGenStart_t)( TpDeviceHandle_t hDevice );
5417 void GenStart( TpDeviceHandle_t hDevice );
5425 #ifdef LIBTIEPIE_DYNAMIC
5426 typedef void(*LibTiePieGenStop_t)( TpDeviceHandle_t hDevice );
5428 void GenStop( TpDeviceHandle_t hDevice );
5446 #ifdef LIBTIEPIE_DYNAMIC
5447 typedef bool8_t(*LibTiePieGenIsBurstActive_t)( TpDeviceHandle_t hDevice );
5458 #ifdef LIBTIEPIE_DYNAMIC
5459 typedef uint64_t(*LibTiePieGenGetBurstCount_t)( TpDeviceHandle_t hDevice );
5470 #ifdef LIBTIEPIE_DYNAMIC
5471 typedef uint64_t(*LibTiePieGenGetBurstCountMax_t)( TpDeviceHandle_t hDevice );
5483 #ifdef LIBTIEPIE_DYNAMIC
5484 typedef uint64_t(*LibTiePieGenSetBurstCount_t)( TpDeviceHandle_t hDevice , uint64_t qwBurstCount );
5486 uint64_t
GenSetBurstCount( TpDeviceHandle_t hDevice , uint64_t qwBurstCount );
5495 #ifdef LIBTIEPIE_DYNAMIC
5496 typedef uint64_t(*LibTiePieGenGetBurstModes_t)( TpDeviceHandle_t hDevice );
5507 #ifdef LIBTIEPIE_DYNAMIC
5508 typedef uint64_t(*LibTiePieGenGetBurstMode_t)( TpDeviceHandle_t hDevice );
5520 #ifdef LIBTIEPIE_DYNAMIC
5521 typedef uint64_t(*LibTiePieGenSetBurstMode_t)( TpDeviceHandle_t hDevice , uint64_t qwBurstMode );
5523 uint64_t
GenSetBurstMode( TpDeviceHandle_t hDevice , uint64_t qwBurstMode );
5541 #ifdef LIBTIEPIE_DYNAMIC
5542 typedef uint32_t(*LibTiePieGenGetSignalTypes_t)( TpDeviceHandle_t hDevice );
5553 #ifdef LIBTIEPIE_DYNAMIC
5554 typedef uint32_t(*LibTiePieGenGetSignalType_t)( TpDeviceHandle_t hDevice );
5566 #ifdef LIBTIEPIE_DYNAMIC
5567 typedef uint32_t(*LibTiePieGenSetSignalType_t)( TpDeviceHandle_t hDevice , uint32_t dwSignalType );
5569 uint32_t
GenSetSignalType( TpDeviceHandle_t hDevice , uint32_t dwSignalType );
5591 #ifdef LIBTIEPIE_DYNAMIC
5592 typedef void(*LibTiePieGenGetAmplitudeMinMaxEx_t)( TpDeviceHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
5594 void GenGetAmplitudeMinMaxEx( TpDeviceHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
5605 #ifdef LIBTIEPIE_DYNAMIC
5606 typedef double(*LibTiePieGenGetAmplitudeMax_t)( TpDeviceHandle_t hDevice );
5617 #ifdef LIBTIEPIE_DYNAMIC
5618 typedef double(*LibTiePieGenGetAmplitudeMin_t)( TpDeviceHandle_t hDevice );
5629 #ifdef LIBTIEPIE_DYNAMIC
5630 typedef double(*LibTiePieGenGetAmplitude_t)( TpDeviceHandle_t hDevice );
5642 #ifdef LIBTIEPIE_DYNAMIC
5643 typedef double(*LibTiePieGenSetAmplitude_t)( TpDeviceHandle_t hDevice ,
double dAmplitude );
5645 double GenSetAmplitude( TpDeviceHandle_t hDevice ,
double dAmplitude );
5657 #ifdef LIBTIEPIE_DYNAMIC
5658 typedef double(*LibTiePieGenVerifyAmplitude_t)( TpDeviceHandle_t hDevice ,
double dAmplitude );
5660 double GenVerifyAmplitude( TpDeviceHandle_t hDevice ,
double dAmplitude );
5673 #ifdef LIBTIEPIE_DYNAMIC
5674 typedef double(*LibTiePieGenVerifyAmplitudeEx_t)( TpDeviceHandle_t hDevice ,
double dAmplitude , uint32_t dwSignalType , uint32_t dwAmplitudeRangeIndex ,
double dOffset );
5676 double GenVerifyAmplitudeEx( TpDeviceHandle_t hDevice ,
double dAmplitude , uint32_t dwSignalType , uint32_t dwAmplitudeRangeIndex ,
double dOffset );
5687 #ifdef LIBTIEPIE_DYNAMIC
5688 typedef bool8_t(*LibTiePieGenGetAmplitudeAutoRanging_t)( TpDeviceHandle_t hDevice );
5700 #ifdef LIBTIEPIE_DYNAMIC
5701 typedef bool8_t(*LibTiePieGenSetAmplitudeAutoRanging_t)( TpDeviceHandle_t hDevice , bool8_t bEnable );
5728 #ifdef LIBTIEPIE_DYNAMIC
5729 typedef uint32_t(*LibTiePieGenGetAmplitudeRanges_t)( TpDeviceHandle_t hDevice ,
double* pList , uint32_t dwLength );
5740 #ifdef LIBTIEPIE_DYNAMIC
5741 typedef double(*LibTiePieGenGetAmplitudeRange_t)( TpDeviceHandle_t hDevice );
5762 #ifdef LIBTIEPIE_DYNAMIC
5763 typedef double(*LibTiePieGenSetAmplitudeRange_t)( TpDeviceHandle_t hDevice ,
double dRange );
5787 #ifdef LIBTIEPIE_DYNAMIC
5788 typedef void(*LibTiePieGenGetFrequencyMinMaxEx_t)( TpDeviceHandle_t hDevice , uint32_t dwFrequencyMode , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
5790 void GenGetFrequencyMinMaxEx( TpDeviceHandle_t hDevice , uint32_t dwFrequencyMode , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
5803 #ifdef LIBTIEPIE_DYNAMIC
5804 typedef void(*LibTiePieGenGetFrequencyMinMax_t)( TpDeviceHandle_t hDevice , uint32_t dwFrequencyMode ,
double* pMin ,
double* pMax );
5806 void GenGetFrequencyMinMax( TpDeviceHandle_t hDevice , uint32_t dwFrequencyMode ,
double* pMin ,
double* pMax );
5815 #ifdef LIBTIEPIE_DYNAMIC
5816 typedef double(*LibTiePieGenGetFrequencyMin_t)( TpDeviceHandle_t hDevice );
5827 #ifdef LIBTIEPIE_DYNAMIC
5828 typedef double(*LibTiePieGenGetFrequencyMax_t)( TpDeviceHandle_t hDevice );
5839 #ifdef LIBTIEPIE_DYNAMIC
5840 typedef double(*LibTiePieGenGetFrequency_t)( TpDeviceHandle_t hDevice );
5852 #ifdef LIBTIEPIE_DYNAMIC
5853 typedef double(*LibTiePieGenSetFrequency_t)( TpDeviceHandle_t hDevice ,
double dFrequency );
5855 double GenSetFrequency( TpDeviceHandle_t hDevice ,
double dFrequency );
5867 #ifdef LIBTIEPIE_DYNAMIC
5868 typedef double(*LibTiePieGenVerifyFrequency_t)( TpDeviceHandle_t hDevice ,
double dFrequency );
5870 double GenVerifyFrequency( TpDeviceHandle_t hDevice ,
double dFrequency );
5881 #ifdef LIBTIEPIE_DYNAMIC
5882 typedef double(*LibTiePieGenVerifyFrequencyEx_t)( TpDeviceHandle_t hDevice ,
double dFrequency , uint32_t dwFrequencyMode );
5884 double GenVerifyFrequencyEx( TpDeviceHandle_t hDevice ,
double dFrequency , uint32_t dwFrequencyMode );
5897 #ifdef LIBTIEPIE_DYNAMIC
5898 typedef double(*LibTiePieGenVerifyFrequencyEx2_t)( TpDeviceHandle_t hDevice ,
double dFrequency , uint32_t dwFrequencyMode , uint32_t dwSignalType , uint64_t qwDataLength );
5900 double GenVerifyFrequencyEx2( TpDeviceHandle_t hDevice ,
double dFrequency , uint32_t dwFrequencyMode , uint32_t dwSignalType , uint64_t qwDataLength );
5911 #ifdef LIBTIEPIE_DYNAMIC
5912 typedef uint32_t(*LibTiePieGenGetFrequencyModes_t)( TpDeviceHandle_t hDevice );
5925 #ifdef LIBTIEPIE_DYNAMIC
5926 typedef uint32_t(*LibTiePieGenGetFrequencyModesEx_t)( TpDeviceHandle_t hDevice , uint32_t dwSignalType );
5928 uint32_t GenGetFrequencyModesEx( TpDeviceHandle_t hDevice , uint32_t dwSignalType );
5938 #ifdef LIBTIEPIE_DYNAMIC
5939 typedef uint32_t(*LibTiePieGenGetFrequencyMode_t)( TpDeviceHandle_t hDevice );
5951 #ifdef LIBTIEPIE_DYNAMIC
5952 typedef uint32_t(*LibTiePieGenSetFrequencyMode_t)( TpDeviceHandle_t hDevice , uint32_t dwFrequencyMode );
5976 #ifdef LIBTIEPIE_DYNAMIC
5977 typedef void(*LibTiePieGenGetOffsetMinMaxEx_t)( TpDeviceHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
5979 void GenGetOffsetMinMaxEx( TpDeviceHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
5990 #ifdef LIBTIEPIE_DYNAMIC
5991 typedef double(*LibTiePieGenGetOffsetMin_t)( TpDeviceHandle_t hDevice );
6002 #ifdef LIBTIEPIE_DYNAMIC
6003 typedef double(*LibTiePieGenGetOffsetMax_t)( TpDeviceHandle_t hDevice );
6014 #ifdef LIBTIEPIE_DYNAMIC
6015 typedef double(*LibTiePieGenGetOffset_t)( TpDeviceHandle_t hDevice );
6027 #ifdef LIBTIEPIE_DYNAMIC
6028 typedef double(*LibTiePieGenSetOffset_t)( TpDeviceHandle_t hDevice ,
double dOffset );
6030 double GenSetOffset( TpDeviceHandle_t hDevice ,
double dOffset );
6042 #ifdef LIBTIEPIE_DYNAMIC
6043 typedef double(*LibTiePieGenVerifyOffset_t)( TpDeviceHandle_t hDevice ,
double dOffset );
6045 double GenVerifyOffset( TpDeviceHandle_t hDevice ,
double dOffset );
6057 #ifdef LIBTIEPIE_DYNAMIC
6058 typedef double(*LibTiePieGenVerifyOffsetEx_t)( TpDeviceHandle_t hDevice ,
double dOffset , uint32_t dwSignalType ,
double dAmplitude );
6060 double GenVerifyOffsetEx( TpDeviceHandle_t hDevice ,
double dOffset , uint32_t dwSignalType ,
double dAmplitude );
6084 #ifdef LIBTIEPIE_DYNAMIC
6085 typedef void(*LibTiePieGenGetPhaseMinMaxEx_t)( TpDeviceHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
6087 void GenGetPhaseMinMaxEx( TpDeviceHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
6098 #ifdef LIBTIEPIE_DYNAMIC
6099 typedef double(*LibTiePieGenGetPhaseMin_t)( TpDeviceHandle_t hDevice );
6110 #ifdef LIBTIEPIE_DYNAMIC
6111 typedef double(*LibTiePieGenGetPhaseMax_t)( TpDeviceHandle_t hDevice );
6122 #ifdef LIBTIEPIE_DYNAMIC
6123 typedef double(*LibTiePieGenGetPhase_t)( TpDeviceHandle_t hDevice );
6135 #ifdef LIBTIEPIE_DYNAMIC
6136 typedef double(*LibTiePieGenSetPhase_t)( TpDeviceHandle_t hDevice ,
double dPhase );
6138 double GenSetPhase( TpDeviceHandle_t hDevice ,
double dPhase );
6150 #ifdef LIBTIEPIE_DYNAMIC
6151 typedef double(*LibTiePieGenVerifyPhase_t)( TpDeviceHandle_t hDevice ,
double dPhase );
6153 double GenVerifyPhase( TpDeviceHandle_t hDevice ,
double dPhase );
6164 #ifdef LIBTIEPIE_DYNAMIC
6165 typedef double(*LibTiePieGenVerifyPhaseEx_t)( TpDeviceHandle_t hDevice ,
double dPhase , uint32_t dwSignalType );
6167 double GenVerifyPhaseEx( TpDeviceHandle_t hDevice ,
double dPhase , uint32_t dwSignalType );
6191 #ifdef LIBTIEPIE_DYNAMIC
6192 typedef void(*LibTiePieGenGetSymmetryMinMaxEx_t)( TpDeviceHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
6194 void GenGetSymmetryMinMaxEx( TpDeviceHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
6205 #ifdef LIBTIEPIE_DYNAMIC
6206 typedef double(*LibTiePieGenGetSymmetryMin_t)( TpDeviceHandle_t hDevice );
6217 #ifdef LIBTIEPIE_DYNAMIC
6218 typedef double(*LibTiePieGenGetSymmetryMax_t)( TpDeviceHandle_t hDevice );
6229 #ifdef LIBTIEPIE_DYNAMIC
6230 typedef double(*LibTiePieGenGetSymmetry_t)( TpDeviceHandle_t hDevice );
6242 #ifdef LIBTIEPIE_DYNAMIC
6243 typedef double(*LibTiePieGenSetSymmetry_t)( TpDeviceHandle_t hDevice ,
double dSymmetry );
6245 double GenSetSymmetry( TpDeviceHandle_t hDevice ,
double dSymmetry );
6257 #ifdef LIBTIEPIE_DYNAMIC
6258 typedef double(*LibTiePieGenVerifySymmetry_t)( TpDeviceHandle_t hDevice ,
double dSymmetry );
6260 double GenVerifySymmetry( TpDeviceHandle_t hDevice ,
double dSymmetry );
6271 #ifdef LIBTIEPIE_DYNAMIC
6272 typedef double(*LibTiePieGenVerifySymmetryEx_t)( TpDeviceHandle_t hDevice ,
double dSymmetry , uint32_t dwSignalType );
6274 double GenVerifySymmetryEx( TpDeviceHandle_t hDevice ,
double dSymmetry , uint32_t dwSignalType );
6297 #ifdef LIBTIEPIE_DYNAMIC
6298 typedef void(*LibTiePieGenGetDataLengthMinMaxEx_t)( TpDeviceHandle_t hDevice , uint32_t dwSignalType , uint64_t* pMin , uint64_t* pMax );
6300 void GenGetDataLengthMinMaxEx( TpDeviceHandle_t hDevice , uint32_t dwSignalType , uint64_t* pMin , uint64_t* pMax );
6311 #ifdef LIBTIEPIE_DYNAMIC
6312 typedef uint64_t(*LibTiePieGenGetDataLengthMin_t)( TpDeviceHandle_t hDevice );
6323 #ifdef LIBTIEPIE_DYNAMIC
6324 typedef uint64_t(*LibTiePieGenGetDataLengthMax_t)( TpDeviceHandle_t hDevice );
6335 #ifdef LIBTIEPIE_DYNAMIC
6336 typedef uint64_t(*LibTiePieGenGetDataLength_t)( TpDeviceHandle_t hDevice );
6350 #ifdef LIBTIEPIE_DYNAMIC
6351 typedef uint64_t(*LibTiePieGenVerifyDataLength_t)( TpDeviceHandle_t hDevice , uint64_t qwDataLength );
6353 uint64_t GenVerifyDataLength( TpDeviceHandle_t hDevice , uint64_t qwDataLength );
6364 #ifdef LIBTIEPIE_DYNAMIC
6365 typedef uint64_t(*LibTiePieGenVerifyDataLengthEx_t)( TpDeviceHandle_t hDevice , uint64_t qwDataLength , uint32_t dwSignalType );
6367 uint64_t GenVerifyDataLengthEx( TpDeviceHandle_t hDevice , uint64_t qwDataLength , uint32_t dwSignalType );
6379 #ifdef LIBTIEPIE_DYNAMIC
6380 typedef uint32_t(*LibTiePieGenGetDataRawType_t)( TpDeviceHandle_t hDevice );
6392 #ifdef LIBTIEPIE_DYNAMIC
6393 typedef void(*LibTiePieGenSetData_t)( TpDeviceHandle_t hDevice ,
float* pBuffer , uint64_t qwSampleCount );
6395 void GenSetData( TpDeviceHandle_t hDevice ,
float* pBuffer , uint64_t qwSampleCount );
6409 #ifdef LIBTIEPIE_DYNAMIC
6410 typedef void(*LibTiePieGenSetDataEx_t)( TpDeviceHandle_t hDevice ,
float* pBuffer , uint64_t qwSampleCount , uint32_t dwSignalType , uint32_t dwReserved );
6412 void GenSetDataEx( TpDeviceHandle_t hDevice ,
float* pBuffer , uint64_t qwSampleCount , uint32_t dwSignalType , uint32_t dwReserved );
6425 #ifdef LIBTIEPIE_DYNAMIC
6426 typedef void(*LibTiePieGenSetDataRaw_t)( TpDeviceHandle_t hDevice ,
void* pBuffer , uint64_t qwSampleCount );
6428 void GenSetDataRaw( TpDeviceHandle_t hDevice ,
void* pBuffer , uint64_t qwSampleCount );
6443 #ifdef LIBTIEPIE_DYNAMIC
6444 typedef void(*LibTiePieGenSetDataRawEx_t)( TpDeviceHandle_t hDevice ,
void* pBuffer , uint64_t qwSampleCount , uint32_t dwSignalType , uint32_t dwReserved );
6446 void GenSetDataRawEx( TpDeviceHandle_t hDevice ,
void* pBuffer , uint64_t qwSampleCount , uint32_t dwSignalType , uint32_t dwReserved );
6468 #ifdef LIBTIEPIE_DYNAMIC
6469 typedef void(*LibTiePieGenSetCallbackBurstCompleted_t)( TpDeviceHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
6489 #ifdef LIBTIEPIE_DYNAMIC
6490 typedef void(*LibTiePieGenSetCallbackControllableChanged_t)( TpDeviceHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
6509 #ifdef LIBTIEPIE_DYNAMIC
6510 typedef void(*LibTiePieGenSetEventBurstCompleted_t)( TpDeviceHandle_t hDevice ,
int fdEvent );
6523 #ifdef LIBTIEPIE_DYNAMIC
6524 typedef void(*LibTiePieGenSetEventControllableChanged_t)( TpDeviceHandle_t hDevice ,
int fdEvent );
6531 #ifdef HAVE_WINDOWS_H
6541 #ifdef LIBTIEPIE_DYNAMIC
6542 typedef void(*LibTiePieGenSetEventBurstCompleted_t)( TpDeviceHandle_t hDevice , HANDLE hEvent );
6555 #ifdef LIBTIEPIE_DYNAMIC
6556 typedef void(*LibTiePieGenSetEventControllableChanged_t)( TpDeviceHandle_t hDevice , HANDLE hEvent );
6571 #ifdef LIBTIEPIE_DYNAMIC
6572 typedef void(*LibTiePieGenSetMessageBurstCompleted_t)( TpDeviceHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
6587 #ifdef LIBTIEPIE_DYNAMIC
6588 typedef void(*LibTiePieGenSetMessageControllableChanged_t)( TpDeviceHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
6610 #ifdef LIBTIEPIE_DYNAMIC
6611 typedef uint32_t(*LibTiePieGenGetModes_t)( TpDeviceHandle_t hDevice );
6625 #ifdef LIBTIEPIE_DYNAMIC
6626 typedef uint32_t(*LibTiePieGenGetModesEx_t)( TpDeviceHandle_t hDevice , uint32_t dwSignalType );
6628 uint32_t GenGetModesEx( TpDeviceHandle_t hDevice , uint32_t dwSignalType );
6639 #ifdef LIBTIEPIE_DYNAMIC
6640 typedef uint32_t(*LibTiePieGenGetMode_t)( TpDeviceHandle_t hDevice );
6642 uint32_t
GenGetMode( TpDeviceHandle_t hDevice );
6653 #ifdef LIBTIEPIE_DYNAMIC
6654 typedef uint32_t(*LibTiePieGenSetMode_t)( TpDeviceHandle_t hDevice , uint32_t dwMode );
6656 uint32_t
GenSetMode( TpDeviceHandle_t hDevice , uint32_t dwMode );
6666 #ifdef LIBTIEPIE_DYNAMIC
6667 typedef bool8_t(*LibTiePieGenGetAutoRanging_t)( TpDeviceHandle_t hDevice );
6680 #ifdef LIBTIEPIE_DYNAMIC
6681 typedef bool8_t(*LibTiePieGenSetAutoRanging_t)( TpDeviceHandle_t hDevice , bool8_t bEnable );
6695 #ifdef LIBTIEPIE_DYNAMIC
6696 typedef uint32_t(*LibTiePieGenGetRanges_t)( TpDeviceHandle_t hDevice ,
double* pList , uint32_t dwLength );
6698 uint32_t
GenGetRanges( TpDeviceHandle_t hDevice ,
double* pList , uint32_t dwLength );
6708 #ifdef LIBTIEPIE_DYNAMIC
6709 typedef double(*LibTiePieGenGetRange_t)( TpDeviceHandle_t hDevice );
6731 #ifdef LIBTIEPIE_DYNAMIC
6732 typedef double(*LibTiePieGenSetRange_t)( TpDeviceHandle_t hDevice ,
double dRange );
6734 double GenSetRange( TpDeviceHandle_t hDevice ,
double dRange );
6744 #ifdef LIBTIEPIE_DYNAMIC
6745 typedef uint64_t(*LibTiePieGenGetTriggerSources_t)( TpDeviceHandle_t hDevice );
6757 #ifdef LIBTIEPIE_DYNAMIC
6758 typedef uint64_t(*LibTiePieGenGetTriggerSourceAND_t)( TpDeviceHandle_t hDevice );
6771 #ifdef LIBTIEPIE_DYNAMIC
6772 typedef uint64_t(*LibTiePieGenSetTriggerSourceAND_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSourceMask );
6784 #ifdef LIBTIEPIE_DYNAMIC
6785 typedef uint64_t(*LibTiePieGenGetTriggerSourceOR_t)( TpDeviceHandle_t hDevice );
6798 #ifdef LIBTIEPIE_DYNAMIC
6799 typedef uint64_t(*LibTiePieGenSetTriggerSourceOR_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSourceMask );
6820 #ifdef LIBTIEPIE_DYNAMIC
6821 typedef bool8_t(*LibTiePieI2CIsInternalAddress_t)( TpDeviceHandle_t hDevice , uint16_t wAddress );
6843 #ifdef LIBTIEPIE_DYNAMIC
6844 typedef bool8_t(*LibTiePieI2CRead_t)( TpDeviceHandle_t hDevice , uint16_t wAddress ,
void* pBuffer , uint32_t dwSize , bool8_t bStop );
6846 bool8_t
I2CRead( TpDeviceHandle_t hDevice , uint16_t wAddress ,
void* pBuffer , uint32_t dwSize , bool8_t bStop );
6857 #ifdef LIBTIEPIE_DYNAMIC
6858 typedef bool8_t(*LibTiePieI2CReadByte_t)( TpDeviceHandle_t hDevice , uint16_t wAddress , uint8_t* pValue );
6860 bool8_t
I2CReadByte( TpDeviceHandle_t hDevice , uint16_t wAddress , uint8_t* pValue );
6871 #ifdef LIBTIEPIE_DYNAMIC
6872 typedef bool8_t(*LibTiePieI2CReadWord_t)( TpDeviceHandle_t hDevice , uint16_t wAddress , uint16_t* pValue );
6874 bool8_t
I2CReadWord( TpDeviceHandle_t hDevice , uint16_t wAddress , uint16_t* pValue );
6895 #ifdef LIBTIEPIE_DYNAMIC
6896 typedef bool8_t(*LibTiePieI2CWrite_t)( TpDeviceHandle_t hDevice , uint16_t wAddress ,
void* pBuffer , uint32_t dwSize , bool8_t bStop );
6898 bool8_t
I2CWrite( TpDeviceHandle_t hDevice , uint16_t wAddress ,
void* pBuffer , uint32_t dwSize , bool8_t bStop );
6909 #ifdef LIBTIEPIE_DYNAMIC
6910 typedef bool8_t(*LibTiePieI2CWriteByte_t)( TpDeviceHandle_t hDevice , uint16_t wAddress , uint8_t byValue );
6912 bool8_t
I2CWriteByte( TpDeviceHandle_t hDevice , uint16_t wAddress , uint8_t byValue );
6924 #ifdef LIBTIEPIE_DYNAMIC
6925 typedef bool8_t(*LibTiePieI2CWriteByteByte_t)( TpDeviceHandle_t hDevice , uint16_t wAddress , uint8_t byValue1 , uint8_t byValue2 );
6927 bool8_t
I2CWriteByteByte( TpDeviceHandle_t hDevice , uint16_t wAddress , uint8_t byValue1 , uint8_t byValue2 );
6939 #ifdef LIBTIEPIE_DYNAMIC
6940 typedef bool8_t(*LibTiePieI2CWriteByteWord_t)( TpDeviceHandle_t hDevice , uint16_t wAddress , uint8_t byValue1 , uint16_t wValue2 );
6942 bool8_t
I2CWriteByteWord( TpDeviceHandle_t hDevice , uint16_t wAddress , uint8_t byValue1 , uint16_t wValue2 );
6953 #ifdef LIBTIEPIE_DYNAMIC
6954 typedef bool8_t(*LibTiePieI2CWriteWord_t)( TpDeviceHandle_t hDevice , uint16_t wAddress , uint16_t wValue );
6956 bool8_t
I2CWriteWord( TpDeviceHandle_t hDevice , uint16_t wAddress , uint16_t wValue );
6973 #ifdef LIBTIEPIE_DYNAMIC
6974 typedef double(*LibTiePieI2CGetSpeed_t)( TpDeviceHandle_t hDevice );
6985 #ifdef LIBTIEPIE_DYNAMIC
6986 typedef double(*LibTiePieI2CGetSpeedMax_t)( TpDeviceHandle_t hDevice );
6998 #ifdef LIBTIEPIE_DYNAMIC
6999 typedef double(*LibTiePieI2CSetSpeed_t)( TpDeviceHandle_t hDevice ,
double dSpeed );
7001 double I2CSetSpeed( TpDeviceHandle_t hDevice ,
double dSpeed );
7013 #ifdef LIBTIEPIE_DYNAMIC
7014 typedef double(*LibTiePieI2CVerifySpeed_t)( TpDeviceHandle_t hDevice ,
double dSpeed );
7016 double I2CVerifySpeed( TpDeviceHandle_t hDevice ,
double dSpeed );
7060 #ifdef LIBTIEPIE_DYNAMIC
7071 #ifdef LIBTIEPIE_DYNAMIC
7072 typedef void(*LibTiePieHlpPointerArrayDelete_t)( LibTiePiePointerArray_t pArray );
7084 #ifdef LIBTIEPIE_DYNAMIC
7085 typedef void(*LibTiePieHlpPointerArraySet_t)( LibTiePiePointerArray_t pArray , uint32_t dwIndex ,
void* pPointer );
7087 void HlpPointerArraySet( LibTiePiePointerArray_t pArray , uint32_t dwIndex ,
void* pPointer );