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 4
67 #define LIBTIEPIE_REVISION 4786
83 #define ARB_DISABLED 0
84 #define ARB_NATIVEONLY 1
94 #define ARM_ALL ( ( 1 << ARN_COUNT ) - 1 )
102 #define AR_DISABLED ( 1 << ARB_DISABLED )
103 #define AR_NATIVEONLY ( 1 << ARB_NATIVEONLY )
104 #define AR_ALL ( 1 << ARB_ALL )
122 #define BMB_DISABLED 0
124 #define BMB_GATED_PERIODS 2
132 #define BM_DISABLED ( 1 << BMB_DISABLED )
133 #define BM_COUNT ( 1 << BMB_COUNT )
134 #define BM_GATED_PERIODS ( 1 << BMB_GATED_PERIODS )
141 #define BMM_NONE 0x0000000000000000ULL
142 #define BMM_ALL ( ( 1ULL << BMN_COUNT ) - 1 )
173 #define CK_DCV ( 1 << CKB_DCV )
174 #define CK_ACV ( 1 << CKB_ACV )
175 #define CK_DCA ( 1 << CKB_DCA )
176 #define CK_ACA ( 1 << CKB_ACA )
177 #define CK_OHM ( 1 << CKB_OHM )
184 #define CKM_V ( CK_DCV | CK_ACV )
185 #define CKM_A ( CK_DCA | CK_ACA )
186 #define CKM_OHM ( CK_OHM )
188 #define CKM_ASYMMETRICRANGE ( CKM_OHM )
189 #define CKM_SYMMETRICRANGE ( CKM_V | CKM_A )
216 #define CO_SAMPLE ( 1 << COB_SAMPLE )
217 #define CO_10MHZ ( 1 << COB_10MHZ )
235 #define CSB_EXTERNAL 0
236 #define CSB_INTERNAL 1
242 #define CS_EXTERNAL ( 1 << CSB_EXTERNAL )
243 #define CS_INTERNAL ( 1 << CSB_INTERNAL )
261 #define FMB_SIGNALFREQUENCY 0
262 #define FMB_SAMPLEFREQUENCY 1
268 #define FM_UNKNOWN 0x00000000
270 #define FM_SIGNALFREQUENCY ( 1 << FMB_SIGNALFREQUENCY )
271 #define FM_SAMPLEFREQUENCY ( 1 << FMB_SAMPLEFREQUENCY )
278 #define FMM_NONE 0x00000000
279 #define FMM_ALL ( ( 1 << FMN_COUNT ) - 1 )
307 #define MM_STREAM ( 1 << MMB_STREAM )
308 #define MM_BLOCK ( 1 << MMB_BLOCK )
327 #define STB_TRIANGLE 1
331 #define STB_ARBITRARY 5
339 #define ST_SINE ( 1 << STB_SINE )
340 #define ST_TRIANGLE ( 1 << STB_TRIANGLE )
341 #define ST_SQUARE ( 1 << STB_SQUARE )
342 #define ST_DC ( 1 << STB_DC )
343 #define ST_NOISE ( 1 << STB_NOISE )
344 #define ST_ARBITRARY ( 1 << STB_ARBITRARY )
351 #define STM_AMPLITUDE ( ST_SINE | ST_TRIANGLE | ST_SQUARE | ST_NOISE | ST_ARBITRARY )
352 #define STM_OFFSET ( ST_SINE | ST_TRIANGLE | ST_SQUARE | ST_DC | ST_NOISE | ST_ARBITRARY )
353 #define STM_FREQUENCY ( ST_SINE | ST_TRIANGLE | ST_SQUARE | ST_NOISE | ST_ARBITRARY )
354 #define STM_PHASE ( ST_SINE | ST_TRIANGLE | ST_SQUARE | ST_ARBITRARY )
355 #define STM_SYMMETRY ( ST_SINE | ST_TRIANGLE | ST_SQUARE )
356 #define STM_DATALENGTH ( ST_ARBITRARY )
357 #define STM_DATA ( ST_ARBITRARY )
376 #define TCB_GREATER 0
385 #define TC_GREATER ( 1 << TCB_GREATER )
386 #define TC_LESS ( 1 << TCB_LESS )
394 #define TCM_ALL ( ( 1 << TCN_COUNT ) - 1 )
406 #define TH_ALLPRESAMPLES 0xffffffffffffffffULL
415 #define TRIGGER_IO_ID( pgid , sgid , fid ) ( ( DN_MAIN << TIOID_SHIFT_DN ) | ( ( pgid ) << TIOID_SHIFT_PGID ) | ( ( sgid ) << TIOID_SHIFT_SGID ) | ( ( fid ) << TIOID_SHIFT_FID ) )
417 #define COMBI_TRIGGER_IO_ID( dn , tiid ) ( ( ( dn ) << TIOID_SHIFT_DN ) | ( ( tiid ) & ( ( 1 << TIOID_SHIFT_DN ) - 1 ) ) )
430 #define DN_SUB_FIRST 1
431 #define DN_SUB_SECOND 2
439 #define PGID_OSCILLOSCOPE 1
440 #define PGID_GENERATOR 2
441 #define PGID_EXTERNAL_DSUB 3
452 #define SGID_CHANNEL1 1
453 #define SGID_CHANNEL2 2
474 #define FID_SCP_TRIGGERED 0
482 #define FID_GEN_START 0
483 #define FID_GEN_STOP 1
484 #define FID_GEN_NEW_PERIOD 2
492 #define FID_EXT_TRIGGERED 0
501 #define TIOID_SHIFT_PGID 20
502 #define TIOID_SHIFT_DN 24
503 #define TIOID_SHIFT_SGID 8
504 #define TIOID_SHIFT_FID 0
512 #define TIID_INVALID 0
513 #define TIID_EXT1 TRIGGER_IO_ID( PGID_EXTERNAL_DSUB , SGID_PIN1 , FID_EXT_TRIGGERED )
514 #define TIID_EXT2 TRIGGER_IO_ID( PGID_EXTERNAL_DSUB , SGID_PIN2 , FID_EXT_TRIGGERED )
515 #define TIID_EXT3 TRIGGER_IO_ID( PGID_EXTERNAL_DSUB , SGID_PIN3 , FID_EXT_TRIGGERED )
516 #define TIID_GENERATOR_START TRIGGER_IO_ID( PGID_GENERATOR , SGID_MAIN , FID_GEN_START )
517 #define TIID_GENERATOR_STOP TRIGGER_IO_ID( PGID_GENERATOR , SGID_MAIN , FID_GEN_STOP )
518 #define TIID_GENERATOR_NEW_PERIOD TRIGGER_IO_ID( PGID_GENERATOR , SGID_MAIN , FID_GEN_NEW_PERIOD )
526 #define TOID_INVALID 0
527 #define TOID_EXT1 TRIGGER_IO_ID( PGID_EXTERNAL_DSUB , SGID_PIN1 , FID_EXT_TRIGGERED )
528 #define TOID_EXT2 TRIGGER_IO_ID( PGID_EXTERNAL_DSUB , SGID_PIN2 , FID_EXT_TRIGGERED )
529 #define TOID_EXT3 TRIGGER_IO_ID( PGID_EXTERNAL_DSUB , SGID_PIN3 , FID_EXT_TRIGGERED )
548 #define TKB_RISINGEDGE 0
549 #define TKB_FALLINGEDGE 1
550 #define TKB_INWINDOW 2
551 #define TKB_OUTWINDOW 3
552 #define TKB_ANYEDGE 4
553 #define TKB_ENTERWINDOW 5
554 #define TKB_EXITWINDOW 6
555 #define TKB_PULSEWIDTHPOSITIVE 7
556 #define TKB_PULSEWIDTHNEGATIVE 8
559 #define TKB_RISING TKB_RISINGEDGE
560 #define TKB_FALLING TKB_FALLINGEDGE
561 #define TKB_EDGE TKB_ANYEDGE
562 #define TKB_DROPINWINDOW TKB_ENTERWINDOW
563 #define TKB_DROPOUTWINDOW TKB_EXITWINDOW
571 #define TK_RISINGEDGE ( 1ULL << TKB_RISINGEDGE )
572 #define TK_FALLINGEDGE ( 1ULL << TKB_FALLINGEDGE )
573 #define TK_INWINDOW ( 1ULL << TKB_INWINDOW )
574 #define TK_OUTWINDOW ( 1ULL << TKB_OUTWINDOW )
575 #define TK_ANYEDGE ( 1ULL << TKB_ANYEDGE )
576 #define TK_ENTERWINDOW ( 1ULL << TKB_ENTERWINDOW )
577 #define TK_EXITWINDOW ( 1ULL << TKB_EXITWINDOW )
578 #define TK_PULSEWIDTHPOSITIVE ( 1ULL << TKB_PULSEWIDTHPOSITIVE )
579 #define TK_PULSEWIDTHNEGATIVE ( 1ULL << TKB_PULSEWIDTHNEGATIVE )
582 #define TK_RISING TK_RISINGEDGE
583 #define TK_FALLING TK_FALLINGEDGE
584 #define TK_EDGE TK_ANYEDGE
585 #define TK_DROPINWINDOW TK_ENTERWINDOW
586 #define TK_DROPOUTWINDOW TK_EXITWINDOW
595 #define TKM_EDGE ( TK_RISINGEDGE | TK_FALLINGEDGE | TK_ANYEDGE )
596 #define TKM_WINDOW ( TK_INWINDOW | TK_OUTWINDOW | TK_ENTERWINDOW | TK_EXITWINDOW )
597 #define TKM_PULSEWIDTH ( TK_PULSEWIDTHPOSITIVE | TK_PULSEWIDTHNEGATIVE )
598 #define TKM_ALL ( ( 1ULL << TKN_COUNT ) - 1 )
610 #define TO_INFINITY -1
628 #define TOEB_GENERATOR_START 0
629 #define TOEB_GENERATOR_STOP 1
630 #define TOEB_GENERATOR_NEWPERIOD 2
636 #define TOE_UNKNOWN 0
637 #define TOE_GENERATOR_START ( 1 << TOEB_GENERATOR_START )
638 #define TOE_GENERATOR_STOP ( 1 << TOEB_GENERATOR_STOP )
639 #define TOE_GENERATOR_NEWPERIOD ( 1 << TOEB_GENERATOR_NEWPERIOD )
647 #define TOEM_GENERATOR ( TOE_GENERATOR_START | TOE_GENERATOR_STOP | TOE_GENERATOR_NEWPERIOD )
648 #define TOEM_ALL ( ( 1ULL << TOEN_COUNT ) - 1 )
660 #define TSN_CHANNEL_COUNT 32
662 #define TS_NONE 0x0000000000000000ULL
664 #define TS_CH1 0x0000000000000001ULL
665 #define TS_CH2 0x0000000000000002ULL
666 #define TS_CH3 0x0000000000000004ULL
667 #define TS_CH4 0x0000000000000008ULL
668 #define TS_CH5 0x0000000000000010ULL
669 #define TS_CH6 0x0000000000000020ULL
670 #define TS_CH7 0x0000000000000040ULL
671 #define TS_CH8 0x0000000000000080ULL
672 #define TS_CH9 0x0000000000000100ULL
673 #define TS_CH10 0x0000000000000200ULL
674 #define TS_CH11 0x0000000000000400ULL
675 #define TS_CH12 0x0000000000000800ULL
676 #define TS_CH13 0x0000000000001000ULL
677 #define TS_CH14 0x0000000000002000ULL
678 #define TS_CH15 0x0000000000004000ULL
679 #define TS_CH16 0x0000000000008000ULL
680 #define TS_CH17 0x0000000000010000ULL
681 #define TS_CH18 0x0000000000020000ULL
682 #define TS_CH19 0x0000000000040000ULL
683 #define TS_CH20 0x0000000000080000ULL
684 #define TS_CH21 0x0000000000100000ULL
685 #define TS_CH22 0x0000000000200000ULL
686 #define TS_CH23 0x0000000000400000ULL
687 #define TS_CH24 0x0000000000800000ULL
688 #define TS_CH25 0x0000000001000000ULL
689 #define TS_CH26 0x0000000002000000ULL
690 #define TS_CH27 0x0000000004000000ULL
691 #define TS_CH28 0x0000000008000000ULL
692 #define TS_CH29 0x0000000010000000ULL
693 #define TS_CH30 0x0000000020000000ULL
694 #define TS_CH31 0x0000000040000000ULL
695 #define TS_CH32 0x0000000080000000ULL
697 #define TS_GENSTOP 0x0400000000000000ULL
698 #define TS_GENNEW 0x0800000000000000ULL
699 #define TS_GENSTART 0x1000000000000000ULL
700 #define TS_EXT2 0x2000000000000000ULL
701 #define TS_EXTANALOG 0x4000000000000000ULL
702 #define TS_EXT 0x8000000000000000ULL
709 #define TSM_NONE 0x0000000000000000ULL
710 #define TSM_ALL 0xFFFFFFFFFFFFFFFFULL
711 #define TSM_CHANNELS ( ( 1ULL << TSN_CHANNEL_COUNT ) - 1 )
712 #define TSM_NONCHANNELS ( TSM_ALL - TSM_CHANNELS )
713 #define TSM_GENALL ( TS_GENSTART | TS_GENNEW | TS_GENSTOP )
737 #ifdef INCLUDED_BY_MATLAB
740 typedef void(*TpCallback_t)(
void* pData );
1100 #define TPDEVICEHANDLE_INVALID 0
1108 #define DEVICETYPE_OSCILLOSCOPE 0x00000001
1109 #define DEVICETYPE_GENERATOR 0x00000002
1110 #define DEVICETYPE_I2CHOST 0x00000004
1112 #define DEVICETYPE_COUNT 3
1120 #define IDKIND_DEVICEID 0x00000001
1121 #define IDKIND_INDEX 0x00000002
1122 #define IDKIND_SERIALNUMBER 0x00000004
1124 #define IDKIND_COUNT 3
1138 #define LIBTIEPIESTATUS_SUCCESS 0
1139 #define LIBTIEPIESTATUS_VALUE_CLIPPED 1
1140 #define LIBTIEPIESTATUS_VALUE_MODIFIED 2
1141 #define LIBTIEPIESTATUS_UNSUCCESSFUL -1
1142 #define LIBTIEPIESTATUS_NOT_SUPPORTED -2
1143 #define LIBTIEPIESTATUS_INVALID_HANDLE -3
1144 #define LIBTIEPIESTATUS_INVALID_VALUE -4
1145 #define LIBTIEPIESTATUS_INVALID_CHANNEL -5
1146 #define LIBTIEPIESTATUS_INVALID_TRIGGER_SOURCE -6
1147 #define LIBTIEPIESTATUS_INVALID_DEVICE_TYPE -7
1148 #define LIBTIEPIESTATUS_INVALID_DEVICE_INDEX -8
1149 #define LIBTIEPIESTATUS_INVALID_DEVICE_ID -9
1150 #define LIBTIEPIESTATUS_INVALID_DEVICE_SERIALNUMBER -10
1151 #define LIBTIEPIESTATUS_DEVICE_GONE -11
1152 #define LIBTIEPIESTATUS_INTERNAL_ADDRESS -12
1153 #define LIBTIEPIESTATUS_NOT_CONTROLLABLE -13
1154 #define LIBTIEPIESTATUS_BIT_ERROR -14
1155 #define LIBTIEPIESTATUS_NO_ACKNOWLEDGE -15
1156 #define LIBTIEPIESTATUS_INVALID_CONTAINED_DEVICE_SERIALNUMBER -16
1157 #define LIBTIEPIESTATUS_INVALID_INPUT -17
1158 #define LIBTIEPIESTATUS_INVALID_OUTPUT -18
1159 #define LIBTIEPIESTATUS_INVALID_DRIVER -19
1160 #define LIBTIEPIESTATUS_NOT_AVAILABLE -20
1168 #define CONNECTORTYPE_UNKNOWN 0x00000000
1170 #define CONNECTORTYPE_BNC 0x00000001
1171 #define CONNECTORTYPE_BANANA 0x00000002
1172 #define CONNECTORTYPE_POWERPLUG 0x00000004
1174 #define CONNECTORTYPE_COUNT 3
1181 #define CONNECTORTYPE_MASK ( CONNECTORTYPE_BNC | CONNECTORTYPE_BANANA | CONNECTORTYPE_POWERPLUG )
1190 #define DATARAWTYPE_UNKNOWN 0x00000000
1192 #define DATARAWTYPE_INT8 0x00000001
1193 #define DATARAWTYPE_INT16 0x00000002
1194 #define DATARAWTYPE_INT32 0x00000004
1195 #define DATARAWTYPE_INT64 0x00000008
1197 #define DATARAWTYPE_UINT8 0x00000010
1198 #define DATARAWTYPE_UINT16 0x00000020
1199 #define DATARAWTYPE_UINT32 0x00000040
1200 #define DATARAWTYPE_UINT64 0x00000080
1202 #define DATARAWTYPE_FLOAT32 0x00000100
1203 #define DATARAWTYPE_FLOAT64 0x00000200
1205 #define DATARAWTYPE_COUNT 10
1212 #define DATARAWTYPE_MASK_INT ( DATARAWTYPE_INT8 | DATARAWTYPE_INT16 | DATARAWTYPE_INT32 | DATARAWTYPE_INT64 )
1213 #define DATARAWTYPE_MASK_UINT ( DATARAWTYPE_UINT8 | DATARAWTYPE_UINT16 | DATARAWTYPE_UINT32 | DATARAWTYPE_UINT64 )
1214 #define DATARAWTYPE_MASK_FLOAT ( DATARAWTYPE_FLOAT32 | DATARAWTYPE_FLOAT64 )
1215 #define DATARAWTYPE_MASK_FIXED ( DATARAWTYPE_MASK_INT | DATARAWTYPE_MASK_UINT )
1226 #define IDM_DEVICEID 0x80000000
1227 #define IDM_ALL 0xffffffff
1242 #define ID_HS5 ( IDM_DEVICEID | ( 1 << IDB_HS5 ) )
1243 #define ID_COMBI ( IDM_DEVICEID | ( 1 << IDB_COMBI ) )
1251 #define BOOL8_FALSE 0
1252 #define BOOL8_TRUE 1
1260 #define LIBTIEPIE_TRISTATE_UNDEFINED 0
1261 #define LIBTIEPIE_TRISTATE_FALSE 1
1262 #define LIBTIEPIE_TRISTATE_TRUE 2
1270 #define LIBTIEPIE_TRIGGERIO_INDEX_INVALID 0xffff
1283 #define LIBTIEPIE_RANGEINDEX_AUTO 0xffffffff
1311 #define TPVERSION_MAJOR( x ) ( x >> 48 )
1312 #define TPVERSION_MINOR( x ) ( ( x >> 32 ) & 0xffff )
1313 #define TPVERSION_RELEASE( x ) ( ( x >> 16 ) & 0xffff )
1314 #define TPVERSION_BUILD( x ) ( x & 0xffff )
1316 #define TPDATE_YEAR( x ) ( x >> 16 )
1317 #define TPDATE_MONTH( x ) ( ( x >> 8 ) & 0xff )
1318 #define TPDATE_DAY( x ) ( x & 0xff )
1324 #ifdef HAVE_WINDOWS_H
1331 #define WM_LIBTIEPIE ( WM_USER + 1337 )
1333 #define WM_LIBTIEPIE_LST_DEVICEADDED ( WM_LIBTIEPIE + 2 )
1334 #define WM_LIBTIEPIE_LST_DEVICEREMOVED ( WM_LIBTIEPIE + 3 )
1336 #define WM_LIBTIEPIE_DEV_REMOVED ( WM_LIBTIEPIE + 4 )
1338 #define WM_LIBTIEPIE_SCP_DATAREADY ( WM_LIBTIEPIE + 0 )
1339 #define WM_LIBTIEPIE_SCP_DATAOVERFLOW ( WM_LIBTIEPIE + 1 )
1340 #define WM_LIBTIEPIE_SCP_CONNECTIONTESTCOMPLETED ( WM_LIBTIEPIE + 7 )
1342 #define WM_LIBTIEPIE_GEN_BURSTCOMPLETED ( WM_LIBTIEPIE + 5 )
1343 #define WM_LIBTIEPIE_GEN_CONTROLLABLECHANGED ( WM_LIBTIEPIE + 6 )
1378 #ifdef LIBTIEPIE_DYNAMIC
1379 typedef TpVersion_t(*LibTiePieLibGetVersion_t)( void );
1407 #ifdef LIBTIEPIE_DYNAMIC
1408 typedef uint32_t(*LibTiePieLibGetConfig_t)( uint8_t* pBuffer , uint32_t dwBufferLength );
1410 uint32_t
LibGetConfig( uint8_t* pBuffer , uint32_t dwBufferLength );
1426 #ifdef LIBTIEPIE_DYNAMIC
1445 #ifdef LIBTIEPIE_DYNAMIC
1446 typedef const char*(*LibTiePieLibGetLastStatusStr_t)( void );
1465 #ifdef LIBTIEPIE_DYNAMIC
1466 typedef uint32_t(*LibTiePieLstGetCount_t)( void );
1480 #ifdef LIBTIEPIE_DYNAMIC
1481 typedef bool8_t(*LibTiePieLstGetDeviceCanOpen_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwDeviceType );
1494 #ifdef LIBTIEPIE_DYNAMIC
1495 typedef uint32_t(*LibTiePieLstGetDeviceProductId_t)( uint32_t dwIdKind , uint32_t dwId );
1508 #ifdef LIBTIEPIE_DYNAMIC
1509 typedef uint32_t(*LibTiePieLstGetDeviceVendorId_t)( uint32_t dwIdKind , uint32_t dwId );
1538 #ifdef LIBTIEPIE_DYNAMIC
1539 typedef uint32_t(*LibTiePieLstGetDeviceName_t)( uint32_t dwIdKind , uint32_t dwId ,
char* pBuffer , uint32_t dwBufferLength );
1541 uint32_t
LstGetDeviceName( uint32_t dwIdKind , uint32_t dwId ,
char* pBuffer , uint32_t dwBufferLength );
1568 #ifdef LIBTIEPIE_DYNAMIC
1569 typedef uint32_t(*LibTiePieLstGetDeviceNameShort_t)( uint32_t dwIdKind , uint32_t dwId ,
char* pBuffer , uint32_t dwBufferLength );
1571 uint32_t
LstGetDeviceNameShort( uint32_t dwIdKind , uint32_t dwId ,
char* pBuffer , uint32_t dwBufferLength );
1598 #ifdef LIBTIEPIE_DYNAMIC
1599 typedef uint32_t(*LibTiePieLstDevGetNameShortest_t)( uint32_t dwIdKind , uint32_t dwId ,
char* pBuffer , uint32_t dwBufferLength );
1601 uint32_t
LstDevGetNameShortest( uint32_t dwIdKind , uint32_t dwId ,
char* pBuffer , uint32_t dwBufferLength );
1612 #ifdef LIBTIEPIE_DYNAMIC
1613 typedef TpVersion_t(*LibTiePieLstDevGetDriverVersion_t)( uint32_t dwIdKind , uint32_t dwId );
1626 #ifdef LIBTIEPIE_DYNAMIC
1627 typedef TpVersion_t(*LibTiePieLstDevGetRecommendedDriverVersion_t)( uint32_t dwIdKind , uint32_t dwId );
1640 #ifdef LIBTIEPIE_DYNAMIC
1641 typedef TpVersion_t(*LibTiePieLstDevGetFirmwareVersion_t)( uint32_t dwIdKind , uint32_t dwId );
1654 #ifdef LIBTIEPIE_DYNAMIC
1655 typedef TpDate_t(*LibTiePieLstDevGetCalibrationDate_t)( uint32_t dwIdKind , uint32_t dwId );
1668 #ifdef LIBTIEPIE_DYNAMIC
1669 typedef uint32_t(*LibTiePieLstGetDeviceSerialNumber_t)( uint32_t dwIdKind , uint32_t dwId );
1698 #ifdef LIBTIEPIE_DYNAMIC
1699 typedef uint32_t(*LibTiePieLstGetDeviceTypes_t)( uint32_t dwIdKind , uint32_t dwId );
1717 #ifdef LIBTIEPIE_DYNAMIC
1718 typedef TpDeviceHandle_t(*LibTiePieLstOpenDevice_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwDeviceType );
1720 TpDeviceHandle_t
LstOpenDevice( uint32_t dwIdKind , uint32_t dwId , uint32_t dwDeviceType );
1735 #ifdef LIBTIEPIE_DYNAMIC
1736 typedef TpDeviceHandle_t(*LibTiePieLstOpenOscilloscope_t)( uint32_t dwIdKind , uint32_t dwId );
1753 #ifdef LIBTIEPIE_DYNAMIC
1754 typedef TpDeviceHandle_t(*LibTiePieLstOpenGenerator_t)( uint32_t dwIdKind , uint32_t dwId );
1770 #ifdef LIBTIEPIE_DYNAMIC
1771 typedef TpDeviceHandle_t(*LibTiePieLstOpenI2CHost_t)( uint32_t dwIdKind , uint32_t dwId );
1773 TpDeviceHandle_t
LstOpenI2CHost( uint32_t dwIdKind , uint32_t dwId );
1785 #ifdef LIBTIEPIE_DYNAMIC
1786 typedef uint32_t(*LibTiePieLstCreateCombinedDevice_t)( TpDeviceHandle_t* pDeviceHandles , uint32_t dwCount );
1800 #ifdef LIBTIEPIE_DYNAMIC
1801 typedef TpDeviceHandle_t(*LibTiePieLstCreateAndOpenCombinedDevice_t)( TpDeviceHandle_t* pDeviceHandles , uint32_t dwCount );
1812 #ifdef LIBTIEPIE_DYNAMIC
1813 typedef void(*LibTiePieLstRemoveDevice_t)( uint32_t dwSerialNumber );
1833 #ifdef LIBTIEPIE_DYNAMIC
1834 typedef void(*LibTiePieLstUpdate_t)( uint32_t dwDeviceIdMask );
1836 void LstUpdate( uint32_t dwDeviceIdMask );
1871 #ifdef LIBTIEPIE_DYNAMIC
1872 typedef uint32_t(*LibTiePieLstDevGetContainedSerialNumbers_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t* pBuffer , uint32_t dwBufferLength );
1886 #ifdef LIBTIEPIE_DYNAMIC
1887 typedef uint32_t(*LibTiePieLstCbDevGetProductId_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
1889 uint32_t
LstCbDevGetProductId( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
1901 #ifdef LIBTIEPIE_DYNAMIC
1902 typedef uint32_t(*LibTiePieLstCbDevGetVendorId_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
1904 uint32_t
LstCbDevGetVendorId( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
1918 #ifdef LIBTIEPIE_DYNAMIC
1919 typedef uint32_t(*LibTiePieLstCbDevGetName_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber ,
char* pBuffer , uint32_t dwBufferLength );
1921 uint32_t
LstCbDevGetName( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber ,
char* pBuffer , uint32_t dwBufferLength );
1935 #ifdef LIBTIEPIE_DYNAMIC
1936 typedef uint32_t(*LibTiePieLstCbDevGetNameShort_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber ,
char* pBuffer , uint32_t dwBufferLength );
1938 uint32_t
LstCbDevGetNameShort( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber ,
char* pBuffer , uint32_t dwBufferLength );
1952 #ifdef LIBTIEPIE_DYNAMIC
1953 typedef uint32_t(*LibTiePieLstCbDevGetNameShortest_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber ,
char* pBuffer , uint32_t dwBufferLength );
1955 uint32_t
LstCbDevGetNameShortest( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber ,
char* pBuffer , uint32_t dwBufferLength );
1967 #ifdef LIBTIEPIE_DYNAMIC
1968 typedef TpVersion_t(*LibTiePieLstCbDevGetDriverVersion_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
1970 TpVersion_t
LstCbDevGetDriverVersion( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
1982 #ifdef LIBTIEPIE_DYNAMIC
1983 typedef TpVersion_t(*LibTiePieLstCbDevGetFirmwareVersion_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
1997 #ifdef LIBTIEPIE_DYNAMIC
1998 typedef TpDate_t(*LibTiePieLstCbDevGetCalibrationDate_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
2012 #ifdef LIBTIEPIE_DYNAMIC
2013 typedef uint16_t(*LibTiePieLstCbScpGetChannelCount_t)( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
2015 uint16_t
LstCbScpGetChannelCount( uint32_t dwIdKind , uint32_t dwId , uint32_t dwContainedDeviceSerialNumber );
2033 #ifdef LIBTIEPIE_DYNAMIC
2034 typedef void(*LibTiePieLstSetCallbackDeviceAdded_t)( TpCallback_t pCallback ,
void* pData );
2046 #ifdef LIBTIEPIE_DYNAMIC
2047 typedef void(*LibTiePieLstSetCallbackDeviceRemoved_t)( TpCallback_t pCallback ,
void* pData );
2061 #ifdef LIBTIEPIE_DYNAMIC
2062 typedef void(*LibTiePieLstSetEventDeviceAdded_t)(
int fdEvent );
2074 #ifdef LIBTIEPIE_DYNAMIC
2075 typedef void(*LibTiePieLstSetEventDeviceRemoved_t)(
int fdEvent );
2082 #ifdef HAVE_WINDOWS_H
2091 #ifdef LIBTIEPIE_DYNAMIC
2092 typedef void(*LibTiePieLstSetEventDeviceAdded_t)( HANDLE hEvent );
2104 #ifdef LIBTIEPIE_DYNAMIC
2105 typedef void(*LibTiePieLstSetEventDeviceRemoved_t)( HANDLE hEvent );
2119 #ifdef LIBTIEPIE_DYNAMIC
2120 typedef void(*LibTiePieLstSetMessageDeviceAdded_t)( HWND hWnd );
2134 #ifdef LIBTIEPIE_DYNAMIC
2135 typedef void(*LibTiePieLstSetMessageDeviceRemoved_t)( HWND hWnd );
2161 #ifdef LIBTIEPIE_DYNAMIC
2162 typedef void(*LibTiePieDevClose_t)( TpDeviceHandle_t hDevice );
2164 void DevClose( TpDeviceHandle_t hDevice );
2181 #ifdef LIBTIEPIE_DYNAMIC
2182 typedef bool8_t(*LibTiePieDevIsRemoved_t)( TpDeviceHandle_t hDevice );
2214 #ifdef LIBTIEPIE_DYNAMIC
2215 typedef TpVersion_t(*LibTiePieDevGetDriverVersion_t)( TpDeviceHandle_t hDevice );
2239 #ifdef LIBTIEPIE_DYNAMIC
2240 typedef TpVersion_t(*LibTiePieDevGetFirmwareVersion_t)( TpDeviceHandle_t hDevice );
2263 #ifdef LIBTIEPIE_DYNAMIC
2264 typedef TpDate_t(*LibTiePieDevGetCalibrationDate_t)( TpDeviceHandle_t hDevice );
2276 #ifdef LIBTIEPIE_DYNAMIC
2277 typedef uint32_t(*LibTiePieDevGetSerialNumber_t)( TpDeviceHandle_t hDevice );
2289 #ifdef LIBTIEPIE_DYNAMIC
2290 typedef uint32_t(*LibTiePieDevGetProductId_t)( TpDeviceHandle_t hDevice );
2302 #ifdef LIBTIEPIE_DYNAMIC
2303 typedef uint32_t(*LibTiePieDevGetVendorId_t)( TpDeviceHandle_t hDevice );
2315 #ifdef LIBTIEPIE_DYNAMIC
2316 typedef uint32_t(*LibTiePieDevGetType_t)( TpDeviceHandle_t hDevice );
2318 uint32_t
DevGetType( TpDeviceHandle_t hDevice );
2344 #ifdef LIBTIEPIE_DYNAMIC
2345 typedef uint32_t(*LibTiePieDevGetName_t)( TpDeviceHandle_t hDevice ,
char* pBuffer , uint32_t dwBufferLength );
2347 uint32_t
DevGetName( TpDeviceHandle_t hDevice ,
char* pBuffer , uint32_t dwBufferLength );
2373 #ifdef LIBTIEPIE_DYNAMIC
2374 typedef uint32_t(*LibTiePieDevGetNameShort_t)( TpDeviceHandle_t hDevice ,
char* pBuffer , uint32_t dwBufferLength );
2376 uint32_t
DevGetNameShort( TpDeviceHandle_t hDevice ,
char* pBuffer , uint32_t dwBufferLength );
2403 #ifdef LIBTIEPIE_DYNAMIC
2404 typedef uint32_t(*LibTiePieDevGetNameShortest_t)( TpDeviceHandle_t hDevice ,
char* pBuffer , uint32_t dwBufferLength );
2406 uint32_t
DevGetNameShortest( TpDeviceHandle_t hDevice ,
char* pBuffer , uint32_t dwBufferLength );
2427 #ifdef LIBTIEPIE_DYNAMIC
2428 typedef void(*LibTiePieDevSetCallbackRemoved_t)( TpDeviceHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
2443 #ifdef LIBTIEPIE_DYNAMIC
2444 typedef void(*LibTiePieDevSetEventRemoved_t)( TpDeviceHandle_t hDevice ,
int fdEvent );
2451 #ifdef HAVE_WINDOWS_H
2461 #ifdef LIBTIEPIE_DYNAMIC
2462 typedef void(*LibTiePieDevSetEventRemoved_t)( TpDeviceHandle_t hDevice , HANDLE hEvent );
2477 #ifdef LIBTIEPIE_DYNAMIC
2478 typedef void(*LibTiePieDevSetMessageRemoved_t)( TpDeviceHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
2480 void DevSetMessageRemoved( TpDeviceHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
2509 #ifdef LIBTIEPIE_DYNAMIC
2510 typedef uint16_t(*LibTiePieDevTrGetInputCount_t)( TpDeviceHandle_t hDevice );
2523 #ifdef LIBTIEPIE_DYNAMIC
2524 typedef uint16_t(*LibTiePieDevTrGetInputIndexById_t)( TpDeviceHandle_t hDevice , uint32_t dwId );
2548 #ifdef LIBTIEPIE_DYNAMIC
2549 typedef bool8_t(*LibTiePieDevTrInGetEnabled_t)( TpDeviceHandle_t hDevice , uint16_t wInput );
2564 #ifdef LIBTIEPIE_DYNAMIC
2565 typedef bool8_t(*LibTiePieDevTrInSetEnabled_t)( TpDeviceHandle_t hDevice , uint16_t wInput , bool8_t bEnable );
2567 bool8_t
DevTrInSetEnabled( TpDeviceHandle_t hDevice , uint16_t wInput , bool8_t bEnable );
2594 #ifdef LIBTIEPIE_DYNAMIC
2595 typedef uint64_t(*LibTiePieDevTrInGetKinds_t)( TpDeviceHandle_t hDevice , uint16_t wInput );
2597 uint64_t
DevTrInGetKinds( TpDeviceHandle_t hDevice , uint16_t wInput );
2612 #ifdef LIBTIEPIE_DYNAMIC
2613 typedef uint64_t(*LibTiePieScpTrInGetKindsEx_t)( TpDeviceHandle_t hDevice , uint16_t wInput , uint32_t dwMeasureMode );
2615 uint64_t ScpTrInGetKindsEx( TpDeviceHandle_t hDevice , uint16_t wInput , uint32_t dwMeasureMode );
2629 #ifdef LIBTIEPIE_DYNAMIC
2630 typedef uint64_t(*LibTiePieDevTrInGetKind_t)( TpDeviceHandle_t hDevice , uint16_t wInput );
2632 uint64_t
DevTrInGetKind( TpDeviceHandle_t hDevice , uint16_t wInput );
2646 #ifdef LIBTIEPIE_DYNAMIC
2647 typedef uint64_t(*LibTiePieDevTrInSetKind_t)( TpDeviceHandle_t hDevice , uint16_t wInput , uint64_t qwKind );
2649 uint64_t
DevTrInSetKind( TpDeviceHandle_t hDevice , uint16_t wInput , uint64_t qwKind );
2672 #ifdef LIBTIEPIE_DYNAMIC
2673 typedef bool8_t(*LibTiePieDevTrInIsAvailable_t)( TpDeviceHandle_t hDevice , uint16_t wInput );
2688 #ifdef LIBTIEPIE_DYNAMIC
2689 typedef bool8_t(*LibTiePieScpTrInIsAvailableEx_t)( TpDeviceHandle_t hDevice , uint16_t wInput , uint32_t dwMeasureMode );
2691 bool8_t ScpTrInIsAvailableEx( TpDeviceHandle_t hDevice , uint16_t wInput , uint32_t dwMeasureMode );
2703 #ifdef LIBTIEPIE_DYNAMIC
2704 typedef uint32_t(*LibTiePieDevTrInGetId_t)( TpDeviceHandle_t hDevice , uint16_t wInput );
2706 uint32_t
DevTrInGetId( TpDeviceHandle_t hDevice , uint16_t wInput );
2719 #ifdef LIBTIEPIE_DYNAMIC
2720 typedef uint32_t(*LibTiePieDevTrInGetName_t)( TpDeviceHandle_t hDevice , uint16_t wInput ,
char* pBuffer , uint32_t dwBufferLength );
2722 uint32_t
DevTrInGetName( TpDeviceHandle_t hDevice , uint16_t wInput ,
char* pBuffer , uint32_t dwBufferLength );
2742 #ifdef LIBTIEPIE_DYNAMIC
2743 typedef uint16_t(*LibTiePieDevTrGetOutputCount_t)( TpDeviceHandle_t hDevice );
2756 #ifdef LIBTIEPIE_DYNAMIC
2757 typedef uint16_t(*LibTiePieDevTrGetOutputIndexById_t)( TpDeviceHandle_t hDevice , uint32_t dwId );
2779 #ifdef LIBTIEPIE_DYNAMIC
2780 typedef bool8_t(*LibTiePieDevTrOutGetEnabled_t)( TpDeviceHandle_t hDevice , uint16_t wOutput );
2795 #ifdef LIBTIEPIE_DYNAMIC
2796 typedef bool8_t(*LibTiePieDevTrOutSetEnabled_t)( TpDeviceHandle_t hDevice , uint16_t wOutput , bool8_t bEnable );
2798 bool8_t
DevTrOutSetEnabled( TpDeviceHandle_t hDevice , uint16_t wOutput , bool8_t bEnable );
2820 #ifdef LIBTIEPIE_DYNAMIC
2821 typedef uint64_t(*LibTiePieDevTrOutGetEvents_t)( TpDeviceHandle_t hDevice , uint16_t wOutput );
2836 #ifdef LIBTIEPIE_DYNAMIC
2837 typedef uint64_t(*LibTiePieDevTrOutGetEvent_t)( TpDeviceHandle_t hDevice , uint16_t wOutput );
2853 #ifdef LIBTIEPIE_DYNAMIC
2854 typedef uint64_t(*LibTiePieDevTrOutSetEvent_t)( TpDeviceHandle_t hDevice , uint16_t wOutput , uint64_t qwEvent );
2856 uint64_t
DevTrOutSetEvent( TpDeviceHandle_t hDevice , uint16_t wOutput , uint64_t qwEvent );
2875 #ifdef LIBTIEPIE_DYNAMIC
2876 typedef uint32_t(*LibTiePieDevTrOutGetId_t)( TpDeviceHandle_t hDevice , uint16_t wOutput );
2878 uint32_t
DevTrOutGetId( TpDeviceHandle_t hDevice , uint16_t wOutput );
2891 #ifdef LIBTIEPIE_DYNAMIC
2892 typedef uint32_t(*LibTiePieDevTrOutGetName_t)( TpDeviceHandle_t hDevice , uint16_t wOutput ,
char* pBuffer , uint32_t dwBufferLength );
2894 uint32_t
DevTrOutGetName( TpDeviceHandle_t hDevice , uint16_t wOutput ,
char* pBuffer , uint32_t dwBufferLength );
2917 #ifdef LIBTIEPIE_DYNAMIC
2918 typedef uint16_t(*LibTiePieScpGetChannelCount_t)( TpDeviceHandle_t hDevice );
2931 #ifdef LIBTIEPIE_DYNAMIC
2932 typedef uint32_t(*LibTiePieScpGetSharedChannelGroupCount_t)( TpDeviceHandle_t hDevice );
2948 #ifdef LIBTIEPIE_DYNAMIC
2949 typedef uint32_t(*LibTiePieScpGetSharedChannelGroup_t)( TpDeviceHandle_t hDevice , uint32_t dwGroupIndex , uint16_t* pChannelNumbers , uint32_t dwLength );
2951 uint32_t
ScpGetSharedChannelGroup( TpDeviceHandle_t hDevice , uint32_t dwGroupIndex , uint16_t* pChannelNumbers , uint32_t dwLength );
2962 #ifdef LIBTIEPIE_DYNAMIC
2963 typedef bool8_t(*LibTiePieScpChIsAvailable_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
2983 #ifdef LIBTIEPIE_DYNAMIC
2984 typedef bool8_t(*LibTiePieScpChIsAvailableEx_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode ,
double dSampleFrequency , uint8_t byResolution , bool8_t* pChannelEnabled , uint16_t wChannelCount );
2986 bool8_t ScpChIsAvailableEx( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode ,
double dSampleFrequency , uint8_t byResolution , bool8_t* pChannelEnabled , uint16_t wChannelCount );
3006 #ifdef LIBTIEPIE_DYNAMIC
3007 typedef uint32_t(*LibTiePieScpChGetConnectorType_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3020 #ifdef LIBTIEPIE_DYNAMIC
3021 typedef bool8_t(*LibTiePieScpChIsDifferential_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3043 #ifdef LIBTIEPIE_DYNAMIC
3044 typedef uint64_t(*LibTiePieScpChGetCouplings_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3057 #ifdef LIBTIEPIE_DYNAMIC
3058 typedef uint64_t(*LibTiePieScpChGetCoupling_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3072 #ifdef LIBTIEPIE_DYNAMIC
3073 typedef uint64_t(*LibTiePieScpChSetCoupling_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint64_t qwCoupling );
3075 uint64_t
ScpChSetCoupling( TpDeviceHandle_t hDevice , uint16_t wCh , uint64_t qwCoupling );
3095 #ifdef LIBTIEPIE_DYNAMIC
3096 typedef bool8_t(*LibTiePieScpChGetEnabled_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3111 #ifdef LIBTIEPIE_DYNAMIC
3112 typedef bool8_t(*LibTiePieScpChSetEnabled_t)( TpDeviceHandle_t hDevice , uint16_t wCh , bool8_t bEnable );
3114 bool8_t
ScpChSetEnabled( TpDeviceHandle_t hDevice , uint16_t wCh , bool8_t bEnable );
3134 #ifdef LIBTIEPIE_DYNAMIC
3135 typedef double(*LibTiePieScpChGetProbeGain_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3149 #ifdef LIBTIEPIE_DYNAMIC
3150 typedef double(*LibTiePieScpChSetProbeGain_t)( TpDeviceHandle_t hDevice , uint16_t wCh ,
double dProbeGain );
3152 double ScpChSetProbeGain( TpDeviceHandle_t hDevice , uint16_t wCh ,
double dProbeGain );
3163 #ifdef LIBTIEPIE_DYNAMIC
3164 typedef double(*LibTiePieScpChGetProbeOffset_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3178 #ifdef LIBTIEPIE_DYNAMIC
3179 typedef double(*LibTiePieScpChSetProbeOffset_t)( TpDeviceHandle_t hDevice , uint16_t wCh ,
double dProbeOffset );
3181 double ScpChSetProbeOffset( TpDeviceHandle_t hDevice , uint16_t wCh ,
double dProbeOffset );
3201 #ifdef LIBTIEPIE_DYNAMIC
3202 typedef bool8_t(*LibTiePieScpChGetAutoRanging_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3216 #ifdef LIBTIEPIE_DYNAMIC
3217 typedef bool8_t(*LibTiePieScpChSetAutoRanging_t)( TpDeviceHandle_t hDevice , uint16_t wCh , bool8_t bEnable );
3249 #ifdef LIBTIEPIE_DYNAMIC
3250 typedef uint32_t(*LibTiePieScpChGetRanges_t)( TpDeviceHandle_t hDevice , uint16_t wCh ,
double* pList , uint32_t dwLength );
3252 uint32_t
ScpChGetRanges( TpDeviceHandle_t hDevice , uint16_t wCh ,
double* pList , uint32_t dwLength );
3268 #ifdef LIBTIEPIE_DYNAMIC
3269 typedef uint32_t(*LibTiePieScpChGetRangesEx_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint64_t qwCoupling ,
double* pList , uint32_t dwLength );
3271 uint32_t ScpChGetRangesEx( TpDeviceHandle_t hDevice , uint16_t wCh , uint64_t qwCoupling ,
double* pList , uint32_t dwLength );
3283 #ifdef LIBTIEPIE_DYNAMIC
3284 typedef double(*LibTiePieScpChGetRange_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3286 double ScpChGetRange( TpDeviceHandle_t hDevice , uint16_t wCh );
3309 #ifdef LIBTIEPIE_DYNAMIC
3310 typedef double(*LibTiePieScpChSetRange_t)( TpDeviceHandle_t hDevice , uint16_t wCh ,
double dRange );
3312 double ScpChSetRange( TpDeviceHandle_t hDevice , uint16_t wCh ,
double dRange );
3332 #ifdef LIBTIEPIE_DYNAMIC
3333 typedef bool8_t(*LibTiePieScpChHasTrigger_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3346 #ifdef LIBTIEPIE_DYNAMIC
3347 typedef bool8_t(*LibTiePieScpChTrIsAvailable_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3368 #ifdef LIBTIEPIE_DYNAMIC
3369 typedef bool8_t(*LibTiePieScpChTrIsAvailableEx_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode ,
double dSampleFrequency , uint8_t byResolution , bool8_t* pChannelEnabled , bool8_t* pChannelTriggerEnabled , uint16_t wChannelCount );
3371 bool8_t ScpChTrIsAvailableEx( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode ,
double dSampleFrequency , uint8_t byResolution , bool8_t* pChannelEnabled , bool8_t* pChannelTriggerEnabled , uint16_t wChannelCount );
3395 #ifdef LIBTIEPIE_DYNAMIC
3396 typedef bool8_t(*LibTiePieScpChTrGetEnabled_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3411 #ifdef LIBTIEPIE_DYNAMIC
3412 typedef bool8_t(*LibTiePieScpChTrSetEnabled_t)( TpDeviceHandle_t hDevice , uint16_t wCh , bool8_t bEnable );
3414 bool8_t
ScpChTrSetEnabled( TpDeviceHandle_t hDevice , uint16_t wCh , bool8_t bEnable );
3442 #ifdef LIBTIEPIE_DYNAMIC
3443 typedef uint64_t(*LibTiePieScpChTrGetKinds_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3458 #ifdef LIBTIEPIE_DYNAMIC
3459 typedef uint64_t(*LibTiePieScpChTrGetKindsEx_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode );
3461 uint64_t ScpChTrGetKindsEx( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode );
3475 #ifdef LIBTIEPIE_DYNAMIC
3476 typedef uint64_t(*LibTiePieScpChTrGetKind_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3478 uint64_t
ScpChTrGetKind( TpDeviceHandle_t hDevice , uint16_t wCh );
3492 #ifdef LIBTIEPIE_DYNAMIC
3493 typedef uint64_t(*LibTiePieScpChTrSetKind_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint64_t qwTriggerKind );
3495 uint64_t
ScpChTrSetKind( TpDeviceHandle_t hDevice , uint16_t wCh , uint64_t qwTriggerKind );
3528 #ifdef LIBTIEPIE_DYNAMIC
3529 typedef uint32_t(*LibTiePieScpChTrGetLevelCount_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3543 #ifdef LIBTIEPIE_DYNAMIC
3544 typedef double(*LibTiePieScpChTrGetLevel_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex );
3546 double ScpChTrGetLevel( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex );
3559 #ifdef LIBTIEPIE_DYNAMIC
3560 typedef double(*LibTiePieScpChTrSetLevel_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dLevel );
3562 double ScpChTrSetLevel( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dLevel );
3595 #ifdef LIBTIEPIE_DYNAMIC
3596 typedef uint32_t(*LibTiePieScpChTrGetHysteresisCount_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3610 #ifdef LIBTIEPIE_DYNAMIC
3611 typedef double(*LibTiePieScpChTrGetHysteresis_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex );
3626 #ifdef LIBTIEPIE_DYNAMIC
3627 typedef double(*LibTiePieScpChTrSetHysteresis_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dHysteresis );
3629 double ScpChTrSetHysteresis( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dHysteresis );
3658 #ifdef LIBTIEPIE_DYNAMIC
3659 typedef uint32_t(*LibTiePieScpChTrGetConditions_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3674 #ifdef LIBTIEPIE_DYNAMIC
3675 typedef uint32_t(*LibTiePieScpChTrGetCondition_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3691 #ifdef LIBTIEPIE_DYNAMIC
3692 typedef uint32_t(*LibTiePieScpChTrSetCondition_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwCondition );
3694 uint32_t
ScpChTrSetCondition( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwCondition );
3727 #ifdef LIBTIEPIE_DYNAMIC
3728 typedef uint32_t(*LibTiePieScpChTrGetTimeCount_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
3748 #ifdef LIBTIEPIE_DYNAMIC
3749 typedef double(*LibTiePieScpChTrGetTime_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex );
3751 double ScpChTrGetTime( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex );
3770 #ifdef LIBTIEPIE_DYNAMIC
3771 typedef double(*LibTiePieScpChTrSetTime_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dTime );
3773 double ScpChTrSetTime( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dTime );
3792 #ifdef LIBTIEPIE_DYNAMIC
3793 typedef double(*LibTiePieScpChTrVerifyTime_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dTime );
3795 double ScpChTrVerifyTime( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dTime );
3813 #ifdef LIBTIEPIE_DYNAMIC
3814 typedef double(*LibTiePieScpChTrVerifyTimeEx_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dTime ,
double dSampleFrequency );
3816 double ScpChTrVerifyTimeEx( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dTime ,
double dSampleFrequency );
3927 #ifdef INCLUDED_BY_MATLAB
3928 #ifdef LIBTIEPIE_DYNAMIC
3929 typedef uint64_t(*LibTiePieScpGetData_t)( TpDeviceHandle_t hDevice ,
void** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
3931 uint64_t
ScpGetData( TpDeviceHandle_t hDevice ,
void** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
3934 #ifdef LIBTIEPIE_DYNAMIC
3935 typedef uint64_t(*LibTiePieScpGetData_t)( TpDeviceHandle_t hDevice ,
float** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
3937 uint64_t
ScpGetData( TpDeviceHandle_t hDevice ,
float** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
3953 #ifdef LIBTIEPIE_DYNAMIC
3954 typedef uint64_t(*LibTiePieScpGetData1Ch_t)( TpDeviceHandle_t hDevice ,
float* pBufferCh1 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3956 uint64_t
ScpGetData1Ch( TpDeviceHandle_t hDevice ,
float* pBufferCh1 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3972 #ifdef LIBTIEPIE_DYNAMIC
3973 typedef uint64_t(*LibTiePieScpGetData2Ch_t)( TpDeviceHandle_t hDevice ,
float* pBufferCh1 ,
float* pBufferCh2 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3975 uint64_t
ScpGetData2Ch( TpDeviceHandle_t hDevice ,
float* pBufferCh1 ,
float* pBufferCh2 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3992 #ifdef LIBTIEPIE_DYNAMIC
3993 typedef uint64_t(*LibTiePieScpGetData3Ch_t)( TpDeviceHandle_t hDevice ,
float* pBufferCh1 ,
float* pBufferCh2 ,
float* pBufferCh3 , uint64_t qwStartIndex , uint64_t qwSampleCount );
3995 uint64_t
ScpGetData3Ch( TpDeviceHandle_t hDevice ,
float* pBufferCh1 ,
float* pBufferCh2 ,
float* pBufferCh3 , uint64_t qwStartIndex , uint64_t qwSampleCount );
4013 #ifdef LIBTIEPIE_DYNAMIC
4014 typedef uint64_t(*LibTiePieScpGetData4Ch_t)( TpDeviceHandle_t hDevice ,
float* pBufferCh1 ,
float* pBufferCh2 ,
float* pBufferCh3 ,
float* pBufferCh4 , uint64_t qwStartIndex , uint64_t qwSampleCount );
4016 uint64_t
ScpGetData4Ch( TpDeviceHandle_t hDevice ,
float* pBufferCh1 ,
float* pBufferCh2 ,
float* pBufferCh3 ,
float* pBufferCh4 , uint64_t qwStartIndex , uint64_t qwSampleCount );
4032 #ifdef LIBTIEPIE_DYNAMIC
4033 typedef uint64_t(*LibTiePieScpGetValidPreSampleCount_t)( TpDeviceHandle_t hDevice );
4049 #ifdef LIBTIEPIE_DYNAMIC
4050 typedef void(*LibTiePieScpChGetDataValueRange_t)( TpDeviceHandle_t hDevice , uint16_t wCh ,
double* pMin ,
double* pMax );
4065 #ifdef LIBTIEPIE_DYNAMIC
4066 typedef double(*LibTiePieScpChGetDataValueMax_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
4081 #ifdef LIBTIEPIE_DYNAMIC
4082 typedef double(*LibTiePieScpChGetDataValueMin_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
4107 #ifdef LIBTIEPIE_DYNAMIC
4108 typedef uint64_t(*LibTiePieScpGetDataRaw_t)( TpDeviceHandle_t hDevice ,
void** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
4110 uint64_t ScpGetDataRaw( TpDeviceHandle_t hDevice ,
void** pBuffers , uint16_t wChannelCount , uint64_t qwStartIndex , uint64_t qwSampleCount );
4123 #ifdef LIBTIEPIE_DYNAMIC
4124 typedef uint64_t(*LibTiePieScpGetDataRaw1Ch_t)( TpDeviceHandle_t hDevice ,
void* pBufferCh1 , uint64_t qwStartIndex , uint64_t qwSampleCount );
4126 uint64_t ScpGetDataRaw1Ch( TpDeviceHandle_t hDevice ,
void* pBufferCh1 , uint64_t qwStartIndex , uint64_t qwSampleCount );
4140 #ifdef LIBTIEPIE_DYNAMIC
4141 typedef uint64_t(*LibTiePieScpGetDataRaw2Ch_t)( TpDeviceHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 , uint64_t qwStartIndex , uint64_t qwSampleCount );
4143 uint64_t ScpGetDataRaw2Ch( TpDeviceHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 , uint64_t qwStartIndex , uint64_t qwSampleCount );
4158 #ifdef LIBTIEPIE_DYNAMIC
4159 typedef uint64_t(*LibTiePieScpGetDataRaw3Ch_t)( TpDeviceHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 ,
void* pBufferCh3 , uint64_t qwStartIndex , uint64_t qwSampleCount );
4161 uint64_t ScpGetDataRaw3Ch( TpDeviceHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 ,
void* pBufferCh3 , uint64_t qwStartIndex , uint64_t qwSampleCount );
4177 #ifdef LIBTIEPIE_DYNAMIC
4178 typedef uint64_t(*LibTiePieScpGetDataRaw4Ch_t)( TpDeviceHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 ,
void* pBufferCh3 ,
void* pBufferCh4 , uint64_t qwStartIndex , uint64_t qwSampleCount );
4180 uint64_t ScpGetDataRaw4Ch( TpDeviceHandle_t hDevice ,
void* pBufferCh1 ,
void* pBufferCh2 ,
void* pBufferCh3 ,
void* pBufferCh4 , uint64_t qwStartIndex , uint64_t qwSampleCount );
4191 #ifdef LIBTIEPIE_DYNAMIC
4192 typedef uint32_t(*LibTiePieScpChGetDataRawType_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
4194 uint32_t ScpChGetDataRawType( TpDeviceHandle_t hDevice , uint16_t wCh );
4210 #ifdef LIBTIEPIE_DYNAMIC
4211 typedef void(*LibTiePieScpChGetDataRawValueRange_t)( TpDeviceHandle_t hDevice , uint16_t wCh , int64_t* pMin , int64_t* pZero , int64_t* pMax );
4213 void ScpChGetDataRawValueRange( TpDeviceHandle_t hDevice , uint16_t wCh , int64_t* pMin , int64_t* pZero , int64_t* pMax );
4227 #ifdef LIBTIEPIE_DYNAMIC
4228 typedef int64_t(*LibTiePieScpChGetDataRawValueMax_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
4230 int64_t ScpChGetDataRawValueMax( TpDeviceHandle_t hDevice , uint16_t wCh );
4244 #ifdef LIBTIEPIE_DYNAMIC
4245 typedef int64_t(*LibTiePieScpChGetDataRawValueZero_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
4247 int64_t ScpChGetDataRawValueZero( TpDeviceHandle_t hDevice , uint16_t wCh );
4261 #ifdef LIBTIEPIE_DYNAMIC
4262 typedef int64_t(*LibTiePieScpChGetDataRawValueMin_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
4264 int64_t ScpChGetDataRawValueMin( TpDeviceHandle_t hDevice , uint16_t wCh );
4275 #ifdef LIBTIEPIE_DYNAMIC
4276 typedef bool8_t(*LibTiePieScpChIsRangeMaxReachable_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
4278 bool8_t ScpChIsRangeMaxReachable( TpDeviceHandle_t hDevice , uint16_t wCh );
4301 #ifdef LIBTIEPIE_DYNAMIC
4302 typedef void(*LibTiePieScpSetCallbackDataReady_t)( TpDeviceHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
4323 #ifdef LIBTIEPIE_DYNAMIC
4324 typedef void(*LibTiePieScpSetCallbackDataOverflow_t)( TpDeviceHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
4345 #ifdef LIBTIEPIE_DYNAMIC
4346 typedef void(*LibTiePieScpSetCallbackConnectionTestCompleted_t)( TpDeviceHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
4366 #ifdef LIBTIEPIE_DYNAMIC
4367 typedef void(*LibTiePieScpSetEventDataReady_t)( TpDeviceHandle_t hDevice ,
int fdEvent );
4381 #ifdef LIBTIEPIE_DYNAMIC
4382 typedef void(*LibTiePieScpSetEventDataOverflow_t)( TpDeviceHandle_t hDevice ,
int fdEvent );
4396 #ifdef LIBTIEPIE_DYNAMIC
4397 typedef void(*LibTiePieScpSetEventConnectionTestCompleted_t)( TpDeviceHandle_t hDevice ,
int fdEvent );
4404 #ifdef HAVE_WINDOWS_H
4415 #ifdef LIBTIEPIE_DYNAMIC
4416 typedef void(*LibTiePieScpSetEventDataReady_t)( TpDeviceHandle_t hDevice , HANDLE hEvent );
4430 #ifdef LIBTIEPIE_DYNAMIC
4431 typedef void(*LibTiePieScpSetEventDataOverflow_t)( TpDeviceHandle_t hDevice , HANDLE hEvent );
4445 #ifdef LIBTIEPIE_DYNAMIC
4446 typedef void(*LibTiePieScpSetEventConnectionTestCompleted_t)( TpDeviceHandle_t hDevice , HANDLE hEvent );
4462 #ifdef LIBTIEPIE_DYNAMIC
4463 typedef void(*LibTiePieScpSetMessageDataReady_t)( TpDeviceHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
4479 #ifdef LIBTIEPIE_DYNAMIC
4480 typedef void(*LibTiePieScpSetMessageDataOverflow_t)( TpDeviceHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
4496 #ifdef LIBTIEPIE_DYNAMIC
4497 typedef void(*LibTiePieScpSetMessageConnectionTestCompleted_t)( TpDeviceHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
4526 #ifdef LIBTIEPIE_DYNAMIC
4527 typedef bool8_t(*LibTiePieScpStart_t)( TpDeviceHandle_t hDevice );
4529 bool8_t
ScpStart( TpDeviceHandle_t hDevice );
4538 #ifdef LIBTIEPIE_DYNAMIC
4539 typedef void(*LibTiePieScpStop_t)( TpDeviceHandle_t hDevice );
4541 void ScpStop( TpDeviceHandle_t hDevice );
4554 #ifdef LIBTIEPIE_DYNAMIC
4555 typedef void(*LibTiePieScpForceTrigger_t)( TpDeviceHandle_t hDevice );
4604 #ifdef LIBTIEPIE_DYNAMIC
4605 typedef uint32_t(*LibTiePieScpGetMeasureModes_t)( TpDeviceHandle_t hDevice );
4617 #ifdef LIBTIEPIE_DYNAMIC
4618 typedef uint32_t(*LibTiePieScpGetMeasureMode_t)( TpDeviceHandle_t hDevice );
4632 #ifdef LIBTIEPIE_DYNAMIC
4633 typedef uint32_t(*LibTiePieScpSetMeasureMode_t)( TpDeviceHandle_t hDevice , uint32_t dwMeasureMode );
4635 uint32_t
ScpSetMeasureMode( TpDeviceHandle_t hDevice , uint32_t dwMeasureMode );
4654 #ifdef LIBTIEPIE_DYNAMIC
4655 typedef bool8_t(*LibTiePieScpIsRunning_t)( TpDeviceHandle_t hDevice );
4669 #ifdef LIBTIEPIE_DYNAMIC
4670 typedef bool8_t(*LibTiePieScpIsTriggered_t)( TpDeviceHandle_t hDevice );
4690 #ifdef LIBTIEPIE_DYNAMIC
4691 typedef bool8_t(*LibTiePieScpIsDataReady_t)( TpDeviceHandle_t hDevice );
4708 #ifdef LIBTIEPIE_DYNAMIC
4709 typedef bool8_t(*LibTiePieScpIsDataOverflow_t)( TpDeviceHandle_t hDevice );
4750 #ifdef LIBTIEPIE_DYNAMIC
4751 typedef uint32_t(*LibTiePieScpGetAutoResolutionModes_t)( TpDeviceHandle_t hDevice );
4763 #ifdef LIBTIEPIE_DYNAMIC
4764 typedef uint32_t(*LibTiePieScpGetAutoResolutionMode_t)( TpDeviceHandle_t hDevice );
4777 #ifdef LIBTIEPIE_DYNAMIC
4778 typedef uint32_t(*LibTiePieScpSetAutoResolutionMode_t)( TpDeviceHandle_t hDevice , uint32_t dwAutoResolutionMode );
4808 #ifdef LIBTIEPIE_DYNAMIC
4809 typedef uint32_t(*LibTiePieScpGetResolutions_t)( TpDeviceHandle_t hDevice , uint8_t* pList , uint32_t dwLength );
4811 uint32_t
ScpGetResolutions( TpDeviceHandle_t hDevice , uint8_t* pList , uint32_t dwLength );
4821 #ifdef LIBTIEPIE_DYNAMIC
4822 typedef uint8_t(*LibTiePieScpGetResolution_t)( TpDeviceHandle_t hDevice );
4837 #ifdef LIBTIEPIE_DYNAMIC
4838 typedef uint8_t(*LibTiePieScpSetResolution_t)( TpDeviceHandle_t hDevice , uint8_t byResolution );
4840 uint8_t
ScpSetResolution( TpDeviceHandle_t hDevice , uint8_t byResolution );
4850 #ifdef LIBTIEPIE_DYNAMIC
4851 typedef bool8_t(*LibTiePieScpIsResolutionEnhanced_t)( TpDeviceHandle_t hDevice );
4865 #ifdef LIBTIEPIE_DYNAMIC
4866 typedef bool8_t(*LibTiePieScpIsResolutionEnhancedEx_t)( TpDeviceHandle_t hDevice , uint8_t byResolution );
4868 bool8_t ScpIsResolutionEnhancedEx( TpDeviceHandle_t hDevice , uint8_t byResolution );
4890 #ifdef LIBTIEPIE_DYNAMIC
4891 typedef uint32_t(*LibTiePieScpGetClockSources_t)( TpDeviceHandle_t hDevice );
4903 #ifdef LIBTIEPIE_DYNAMIC
4904 typedef uint32_t(*LibTiePieScpGetClockSource_t)( TpDeviceHandle_t hDevice );
4917 #ifdef LIBTIEPIE_DYNAMIC
4918 typedef uint32_t(*LibTiePieScpSetClockSource_t)( TpDeviceHandle_t hDevice , uint32_t dwClockSource );
4920 uint32_t
ScpSetClockSource( TpDeviceHandle_t hDevice , uint32_t dwClockSource );
4939 #ifdef LIBTIEPIE_DYNAMIC
4940 typedef uint32_t(*LibTiePieScpGetClockOutputs_t)( TpDeviceHandle_t hDevice );
4952 #ifdef LIBTIEPIE_DYNAMIC
4953 typedef uint32_t(*LibTiePieScpGetClockOutput_t)( TpDeviceHandle_t hDevice );
4966 #ifdef LIBTIEPIE_DYNAMIC
4967 typedef uint32_t(*LibTiePieScpSetClockOutput_t)( TpDeviceHandle_t hDevice , uint32_t dwClockOutput );
4969 uint32_t
ScpSetClockOutput( TpDeviceHandle_t hDevice , uint32_t dwClockOutput );
5004 #ifdef LIBTIEPIE_DYNAMIC
5005 typedef double(*LibTiePieScpGetPreSampleRatio_t)( TpDeviceHandle_t hDevice );
5018 #ifdef LIBTIEPIE_DYNAMIC
5019 typedef double(*LibTiePieScpSetPreSampleRatio_t)( TpDeviceHandle_t hDevice ,
double dPreSampleRatio );
5049 #ifdef LIBTIEPIE_DYNAMIC
5050 typedef uint64_t(*LibTiePieScpGetTriggerHoldOffCountMax_t)( TpDeviceHandle_t hDevice );
5064 #ifdef LIBTIEPIE_DYNAMIC
5065 typedef uint64_t(*LibTiePieScpGetTriggerHoldOffCountMaxEx_t)( TpDeviceHandle_t hDevice , uint32_t dwMeasureMode );
5067 uint64_t ScpGetTriggerHoldOffCountMaxEx( TpDeviceHandle_t hDevice , uint32_t dwMeasureMode );
5078 #ifdef LIBTIEPIE_DYNAMIC
5079 typedef uint64_t(*LibTiePieScpGetTriggerHoldOffCount_t)( TpDeviceHandle_t hDevice );
5092 #ifdef LIBTIEPIE_DYNAMIC
5093 typedef uint64_t(*LibTiePieScpSetTriggerHoldOffCount_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerHoldOffCount );
5123 #ifdef LIBTIEPIE_DYNAMIC
5124 typedef uint64_t(*LibTiePieScpGetRecordLengthMax_t)( TpDeviceHandle_t hDevice );
5139 #ifdef LIBTIEPIE_DYNAMIC
5140 typedef uint64_t(*LibTiePieScpGetRecordLengthMaxEx_t)( TpDeviceHandle_t hDevice , uint32_t dwMeasureMode , uint8_t byResolution );
5142 uint64_t ScpGetRecordLengthMaxEx( TpDeviceHandle_t hDevice , uint32_t dwMeasureMode , uint8_t byResolution );
5153 #ifdef LIBTIEPIE_DYNAMIC
5154 typedef uint64_t(*LibTiePieScpGetRecordLength_t)( TpDeviceHandle_t hDevice );
5168 #ifdef LIBTIEPIE_DYNAMIC
5169 typedef uint64_t(*LibTiePieScpSetRecordLength_t)( TpDeviceHandle_t hDevice , uint64_t qwRecordLength );
5184 #ifdef LIBTIEPIE_DYNAMIC
5185 typedef uint64_t(*LibTiePieScpVerifyRecordLength_t)( TpDeviceHandle_t hDevice , uint64_t qwRecordLength );
5187 uint64_t ScpVerifyRecordLength( TpDeviceHandle_t hDevice , uint64_t qwRecordLength );
5201 #ifdef LIBTIEPIE_DYNAMIC
5202 typedef uint64_t(*LibTiePieScpVerifyRecordLengthEx_t)( TpDeviceHandle_t hDevice , uint64_t qwRecordLength , uint32_t dwMeasureMode , uint8_t byResolution , uint64_t qwActiveChannelMask );
5204 uint64_t ScpVerifyRecordLengthEx( TpDeviceHandle_t hDevice , uint64_t qwRecordLength , uint32_t dwMeasureMode , uint8_t byResolution , uint64_t qwActiveChannelMask );
5234 #ifdef LIBTIEPIE_DYNAMIC
5235 typedef double(*LibTiePieScpGetSampleFrequencyMax_t)( TpDeviceHandle_t hDevice );
5247 #ifdef LIBTIEPIE_DYNAMIC
5248 typedef double(*LibTiePieScpGetSampleFrequency_t)( TpDeviceHandle_t hDevice );
5263 #ifdef LIBTIEPIE_DYNAMIC
5264 typedef double(*LibTiePieScpSetSampleFrequency_t)( TpDeviceHandle_t hDevice ,
double dSampleFrequency );
5279 #ifdef LIBTIEPIE_DYNAMIC
5280 typedef double(*LibTiePieScpVerifySampleFrequency_t)( TpDeviceHandle_t hDevice ,
double dSampleFrequency );
5282 double ScpVerifySampleFrequency( TpDeviceHandle_t hDevice ,
double dSampleFrequency );
5296 #ifdef LIBTIEPIE_DYNAMIC
5297 typedef double(*LibTiePieScpVerifySampleFrequencyEx_t)( TpDeviceHandle_t hDevice ,
double dSampleFrequency , uint32_t dwMeasureMode , uint8_t byResolution , uint64_t qwActiveChannelMask );
5299 double ScpVerifySampleFrequencyEx( TpDeviceHandle_t hDevice ,
double dSampleFrequency , uint32_t dwMeasureMode , uint8_t byResolution , uint64_t qwActiveChannelMask );
5320 #ifdef LIBTIEPIE_DYNAMIC
5321 typedef uint32_t(*LibTiePieScpGetSegmentCountMax_t)( TpDeviceHandle_t hDevice );
5333 #ifdef LIBTIEPIE_DYNAMIC
5334 typedef uint32_t(*LibTiePieScpGetSegmentCount_t)( TpDeviceHandle_t hDevice );
5347 #ifdef LIBTIEPIE_DYNAMIC
5348 typedef uint32_t(*LibTiePieScpSetSegmentCount_t)( TpDeviceHandle_t hDevice , uint32_t dwSegmentCount );
5363 #ifdef LIBTIEPIE_DYNAMIC
5364 typedef uint32_t(*LibTiePieScpVerifySegmentCount_t)( TpDeviceHandle_t hDevice , uint32_t dwSegmentCount );
5366 uint32_t ScpVerifySegmentCount( TpDeviceHandle_t hDevice , uint32_t dwSegmentCount );
5379 #ifdef LIBTIEPIE_DYNAMIC
5380 typedef uint32_t(*LibTiePieScpVerifySegmentCountEx_t)( TpDeviceHandle_t hDevice , uint32_t dwSegmentCount , uint64_t qwRecordLength ,
double dSampleFrequency );
5382 uint32_t ScpVerifySegmentCountEx( TpDeviceHandle_t hDevice , uint32_t dwSegmentCount , uint64_t qwRecordLength ,
double dSampleFrequency );
5426 #ifdef LIBTIEPIE_DYNAMIC
5427 typedef double(*LibTiePieScpGetTriggerTimeOut_t)( TpDeviceHandle_t hDevice );
5440 #ifdef LIBTIEPIE_DYNAMIC
5441 typedef double(*LibTiePieScpSetTriggerTimeOut_t)( TpDeviceHandle_t hDevice ,
double dTimeOut );
5456 #ifdef LIBTIEPIE_DYNAMIC
5457 typedef double(*LibTiePieScpVerifyTriggerTimeOut_t)( TpDeviceHandle_t hDevice ,
double dTimeOut );
5459 double ScpVerifyTriggerTimeOut( TpDeviceHandle_t hDevice ,
double dTimeOut );
5472 #ifdef LIBTIEPIE_DYNAMIC
5473 typedef double(*LibTiePieScpVerifyTriggerTimeOutEx_t)( TpDeviceHandle_t hDevice ,
double dTimeOut , uint32_t dwMeasureMode ,
double dSampleFrequency );
5475 double ScpVerifyTriggerTimeOutEx( TpDeviceHandle_t hDevice ,
double dTimeOut , uint32_t dwMeasureMode ,
double dSampleFrequency );
5496 #ifdef LIBTIEPIE_DYNAMIC
5497 typedef double(*LibTiePieScpGetTriggerDelay_t)( TpDeviceHandle_t hDevice );
5510 #ifdef LIBTIEPIE_DYNAMIC
5511 typedef double(*LibTiePieScpSetTriggerDelay_t)( TpDeviceHandle_t hDevice ,
double dDelay );
5526 #ifdef LIBTIEPIE_DYNAMIC
5527 typedef double(*LibTiePieScpVerifyTriggerDelay_t)( TpDeviceHandle_t hDevice ,
double dDelay );
5529 double ScpVerifyTriggerDelay( TpDeviceHandle_t hDevice ,
double dDelay );
5542 #ifdef LIBTIEPIE_DYNAMIC
5543 typedef double(*LibTiePieScpVerifyTriggerDelayEx_t)( TpDeviceHandle_t hDevice ,
double dDelay , uint32_t dwMeasureMode ,
double dSampleFrequency );
5545 double ScpVerifyTriggerDelayEx( TpDeviceHandle_t hDevice ,
double dDelay , uint32_t dwMeasureMode ,
double dSampleFrequency );
5559 #ifdef LIBTIEPIE_DYNAMIC
5560 typedef uint64_t(*LibTiePieScpGetTriggerSources_t)( TpDeviceHandle_t hDevice );
5575 #ifdef LIBTIEPIE_DYNAMIC
5576 typedef uint64_t(*LibTiePieScpGetTriggerSourcesEx_t)( TpDeviceHandle_t hDevice , uint32_t dwMeasureMode );
5578 uint64_t ScpGetTriggerSourcesEx( TpDeviceHandle_t hDevice , uint32_t dwMeasureMode );
5590 #ifdef LIBTIEPIE_DYNAMIC
5591 typedef uint64_t(*LibTiePieScpGetTriggerSourceOR_t)( TpDeviceHandle_t hDevice );
5605 #ifdef LIBTIEPIE_DYNAMIC
5606 typedef uint64_t(*LibTiePieScpSetTriggerSourceOR_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSourceMask );
5619 #ifdef LIBTIEPIE_DYNAMIC
5620 typedef uint64_t(*LibTiePieScpGetTriggerSourceAND_t)( TpDeviceHandle_t hDevice );
5634 #ifdef LIBTIEPIE_DYNAMIC
5635 typedef uint64_t(*LibTiePieScpSetTriggerSourceAND_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSourceMask );
5652 #ifdef LIBTIEPIE_DYNAMIC
5653 typedef uint64_t(*LibTiePieScpGetTriggerKinds_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSourceMask );
5655 uint64_t
ScpGetTriggerKinds( TpDeviceHandle_t hDevice , uint64_t qwTriggerSourceMask );
5672 #ifdef LIBTIEPIE_DYNAMIC
5673 typedef uint64_t(*LibTiePieScpGetTriggerKindsEx_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSourceMask , uint32_t dwMeasureMode );
5675 uint64_t ScpGetTriggerKindsEx( TpDeviceHandle_t hDevice , uint64_t qwTriggerSourceMask , uint32_t dwMeasureMode );
5688 #ifdef LIBTIEPIE_DYNAMIC
5689 typedef uint64_t(*LibTiePieScpGetTriggerKind_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource );
5691 uint64_t
ScpGetTriggerKind( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource );
5704 #ifdef LIBTIEPIE_DYNAMIC
5705 typedef uint64_t(*LibTiePieScpSetTriggerKind_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint64_t qwTriggerKind );
5707 uint64_t
ScpSetTriggerKind( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint64_t qwTriggerKind );
5720 #ifdef LIBTIEPIE_DYNAMIC
5721 typedef double(*LibTiePieScpGetTriggerLevel_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint32_t dwIndex );
5723 double ScpGetTriggerLevel( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint32_t dwIndex );
5737 #ifdef LIBTIEPIE_DYNAMIC
5738 typedef double(*LibTiePieScpSetTriggerLevel_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint32_t dwIndex ,
double dLevel );
5740 double ScpSetTriggerLevel( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint32_t dwIndex ,
double dLevel );
5753 #ifdef LIBTIEPIE_DYNAMIC
5754 typedef double(*LibTiePieScpGetTriggerHysteresis_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint32_t dwIndex );
5770 #ifdef LIBTIEPIE_DYNAMIC
5771 typedef double(*LibTiePieScpSetTriggerHysteresis_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint32_t dwIndex ,
double dHysteresis );
5773 double ScpSetTriggerHysteresis( TpDeviceHandle_t hDevice , uint64_t qwTriggerSource , uint32_t dwIndex ,
double dHysteresis );
5785 #ifdef LIBTIEPIE_DYNAMIC
5786 typedef uint64_t(*LibTiePieScpChGetTriggerKinds_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
5802 #ifdef LIBTIEPIE_DYNAMIC
5803 typedef uint64_t(*LibTiePieScpChGetTriggerKindsEx_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode );
5805 uint64_t ScpChGetTriggerKindsEx( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwMeasureMode );
5818 #ifdef LIBTIEPIE_DYNAMIC
5819 typedef uint64_t(*LibTiePieScpChGetTriggerKind_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
5834 #ifdef LIBTIEPIE_DYNAMIC
5835 typedef uint64_t(*LibTiePieScpChSetTriggerKind_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint64_t qwTriggerKind );
5837 uint64_t
ScpChSetTriggerKind( TpDeviceHandle_t hDevice , uint16_t wCh , uint64_t qwTriggerKind );
5850 #ifdef LIBTIEPIE_DYNAMIC
5851 typedef double(*LibTiePieScpChGetTriggerLevel_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex );
5867 #ifdef LIBTIEPIE_DYNAMIC
5868 typedef double(*LibTiePieScpChSetTriggerLevel_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dLevel );
5870 double ScpChSetTriggerLevel( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dLevel );
5883 #ifdef LIBTIEPIE_DYNAMIC
5884 typedef double(*LibTiePieScpChGetTriggerHysteresis_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex );
5900 #ifdef LIBTIEPIE_DYNAMIC
5901 typedef double(*LibTiePieScpChSetTriggerHysteresis_t)( TpDeviceHandle_t hDevice , uint16_t wCh , uint32_t dwIndex ,
double dHysteresis );
5915 #ifdef LIBTIEPIE_DYNAMIC
5916 typedef double(*LibTiePieScpChGetTriggerPulseTime_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
5931 #ifdef LIBTIEPIE_DYNAMIC
5932 typedef double(*LibTiePieScpChSetTriggerPulseTime_t)( TpDeviceHandle_t hDevice , uint16_t wCh ,
double dPulseTime );
5952 #ifdef LIBTIEPIE_DYNAMIC
5953 typedef bool8_t(*LibTiePieScpHasConnectionTest_t)( TpDeviceHandle_t hDevice );
5966 #ifdef LIBTIEPIE_DYNAMIC
5967 typedef bool8_t(*LibTiePieScpChHasConnectionTest_t)( TpDeviceHandle_t hDevice , uint16_t wCh );
5980 #ifdef LIBTIEPIE_DYNAMIC
5981 typedef bool8_t(*LibTiePieScpStartConnectionTest_t)( TpDeviceHandle_t hDevice , uint64_t qwChannelMask );
5993 #ifdef LIBTIEPIE_DYNAMIC
5994 typedef bool8_t(*LibTiePieScpIsConnectionTestCompleted_t)( TpDeviceHandle_t hDevice );
6008 #ifdef LIBTIEPIE_DYNAMIC
6009 typedef uint16_t(*LibTiePieScpGetConnectionTestData_t)( TpDeviceHandle_t hDevice , LibTiePieTriState_t* pBuffer , uint16_t wChannelCount );
6011 uint16_t
ScpGetConnectionTestData( TpDeviceHandle_t hDevice , LibTiePieTriState_t* pBuffer , uint16_t wChannelCount );
6035 #ifdef LIBTIEPIE_DYNAMIC
6036 typedef uint32_t(*LibTiePieGenGetConnectorType_t)( TpDeviceHandle_t hDevice );
6048 #ifdef LIBTIEPIE_DYNAMIC
6049 typedef bool8_t(*LibTiePieGenIsDifferential_t)( TpDeviceHandle_t hDevice );
6061 #ifdef LIBTIEPIE_DYNAMIC
6062 typedef double(*LibTiePieGenGetImpedance_t)( TpDeviceHandle_t hDevice );
6074 #ifdef LIBTIEPIE_DYNAMIC
6075 typedef uint8_t(*LibTiePieGenGetResolution_t)( TpDeviceHandle_t hDevice );
6099 #ifdef LIBTIEPIE_DYNAMIC
6100 typedef bool8_t(*LibTiePieGenIsControllable_t)( TpDeviceHandle_t hDevice );
6112 #ifdef LIBTIEPIE_DYNAMIC
6113 typedef bool8_t(*LibTiePieGenGetOutputOn_t)( TpDeviceHandle_t hDevice );
6126 #ifdef LIBTIEPIE_DYNAMIC
6127 typedef bool8_t(*LibTiePieGenSetOutputOn_t)( TpDeviceHandle_t hDevice , bool8_t bOutputOn );
6129 bool8_t
GenSetOutputOn( TpDeviceHandle_t hDevice , bool8_t bOutputOn );
6138 #ifdef LIBTIEPIE_DYNAMIC
6139 typedef void(*LibTiePieGenStart_t)( TpDeviceHandle_t hDevice );
6141 void GenStart( TpDeviceHandle_t hDevice );
6150 #ifdef LIBTIEPIE_DYNAMIC
6151 typedef void(*LibTiePieGenStop_t)( TpDeviceHandle_t hDevice );
6153 void GenStop( TpDeviceHandle_t hDevice );
6176 #ifdef LIBTIEPIE_DYNAMIC
6177 typedef bool8_t(*LibTiePieGenIsBurstActive_t)( TpDeviceHandle_t hDevice );
6189 #ifdef LIBTIEPIE_DYNAMIC
6190 typedef uint64_t(*LibTiePieGenGetBurstCount_t)( TpDeviceHandle_t hDevice );
6202 #ifdef LIBTIEPIE_DYNAMIC
6203 typedef uint64_t(*LibTiePieGenGetBurstCountMax_t)( TpDeviceHandle_t hDevice );
6217 #ifdef LIBTIEPIE_DYNAMIC
6218 typedef uint64_t(*LibTiePieGenSetBurstCount_t)( TpDeviceHandle_t hDevice , uint64_t qwBurstCount );
6220 uint64_t
GenSetBurstCount( TpDeviceHandle_t hDevice , uint64_t qwBurstCount );
6230 #ifdef LIBTIEPIE_DYNAMIC
6231 typedef uint64_t(*LibTiePieGenGetBurstModes_t)( TpDeviceHandle_t hDevice );
6243 #ifdef LIBTIEPIE_DYNAMIC
6244 typedef uint64_t(*LibTiePieGenGetBurstMode_t)( TpDeviceHandle_t hDevice );
6258 #ifdef LIBTIEPIE_DYNAMIC
6259 typedef uint64_t(*LibTiePieGenSetBurstMode_t)( TpDeviceHandle_t hDevice , uint64_t qwBurstMode );
6261 uint64_t
GenSetBurstMode( TpDeviceHandle_t hDevice , uint64_t qwBurstMode );
6282 #ifdef LIBTIEPIE_DYNAMIC
6283 typedef uint32_t(*LibTiePieGenGetSignalTypes_t)( TpDeviceHandle_t hDevice );
6295 #ifdef LIBTIEPIE_DYNAMIC
6296 typedef uint32_t(*LibTiePieGenGetSignalType_t)( TpDeviceHandle_t hDevice );
6312 #ifdef LIBTIEPIE_DYNAMIC
6313 typedef uint32_t(*LibTiePieGenSetSignalType_t)( TpDeviceHandle_t hDevice , uint32_t dwSignalType );
6315 uint32_t
GenSetSignalType( TpDeviceHandle_t hDevice , uint32_t dwSignalType );
6340 #ifdef LIBTIEPIE_DYNAMIC
6341 typedef void(*LibTiePieGenGetAmplitudeMinMaxEx_t)( TpDeviceHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
6343 void GenGetAmplitudeMinMaxEx( TpDeviceHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
6355 #ifdef LIBTIEPIE_DYNAMIC
6356 typedef double(*LibTiePieGenGetAmplitudeMax_t)( TpDeviceHandle_t hDevice );
6368 #ifdef LIBTIEPIE_DYNAMIC
6369 typedef double(*LibTiePieGenGetAmplitudeMin_t)( TpDeviceHandle_t hDevice );
6381 #ifdef LIBTIEPIE_DYNAMIC
6382 typedef double(*LibTiePieGenGetAmplitude_t)( TpDeviceHandle_t hDevice );
6398 #ifdef LIBTIEPIE_DYNAMIC
6399 typedef double(*LibTiePieGenSetAmplitude_t)( TpDeviceHandle_t hDevice ,
double dAmplitude );
6401 double GenSetAmplitude( TpDeviceHandle_t hDevice ,
double dAmplitude );
6414 #ifdef LIBTIEPIE_DYNAMIC
6415 typedef double(*LibTiePieGenVerifyAmplitude_t)( TpDeviceHandle_t hDevice ,
double dAmplitude );
6417 double GenVerifyAmplitude( TpDeviceHandle_t hDevice ,
double dAmplitude );
6431 #ifdef LIBTIEPIE_DYNAMIC
6432 typedef double(*LibTiePieGenVerifyAmplitudeEx_t)( TpDeviceHandle_t hDevice ,
double dAmplitude , uint32_t dwSignalType , uint32_t dwAmplitudeRangeIndex ,
double dOffset );
6434 double GenVerifyAmplitudeEx( TpDeviceHandle_t hDevice ,
double dAmplitude , uint32_t dwSignalType , uint32_t dwAmplitudeRangeIndex ,
double dOffset );
6446 #ifdef LIBTIEPIE_DYNAMIC
6447 typedef bool8_t(*LibTiePieGenGetAmplitudeAutoRanging_t)( TpDeviceHandle_t hDevice );
6460 #ifdef LIBTIEPIE_DYNAMIC
6461 typedef bool8_t(*LibTiePieGenSetAmplitudeAutoRanging_t)( TpDeviceHandle_t hDevice , bool8_t bEnable );
6490 #ifdef LIBTIEPIE_DYNAMIC
6491 typedef uint32_t(*LibTiePieGenGetAmplitudeRanges_t)( TpDeviceHandle_t hDevice ,
double* pList , uint32_t dwLength );
6503 #ifdef LIBTIEPIE_DYNAMIC
6504 typedef double(*LibTiePieGenGetAmplitudeRange_t)( TpDeviceHandle_t hDevice );
6528 #ifdef LIBTIEPIE_DYNAMIC
6529 typedef double(*LibTiePieGenSetAmplitudeRange_t)( TpDeviceHandle_t hDevice ,
double dRange );
6556 #ifdef LIBTIEPIE_DYNAMIC
6557 typedef void(*LibTiePieGenGetFrequencyMinMaxEx_t)( TpDeviceHandle_t hDevice , uint32_t dwFrequencyMode , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
6559 void GenGetFrequencyMinMaxEx( TpDeviceHandle_t hDevice , uint32_t dwFrequencyMode , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
6573 #ifdef LIBTIEPIE_DYNAMIC
6574 typedef void(*LibTiePieGenGetFrequencyMinMax_t)( TpDeviceHandle_t hDevice , uint32_t dwFrequencyMode ,
double* pMin ,
double* pMax );
6576 void GenGetFrequencyMinMax( TpDeviceHandle_t hDevice , uint32_t dwFrequencyMode ,
double* pMin ,
double* pMax );
6586 #ifdef LIBTIEPIE_DYNAMIC
6587 typedef double(*LibTiePieGenGetFrequencyMin_t)( TpDeviceHandle_t hDevice );
6599 #ifdef LIBTIEPIE_DYNAMIC
6600 typedef double(*LibTiePieGenGetFrequencyMax_t)( TpDeviceHandle_t hDevice );
6612 #ifdef LIBTIEPIE_DYNAMIC
6613 typedef double(*LibTiePieGenGetFrequency_t)( TpDeviceHandle_t hDevice );
6628 #ifdef LIBTIEPIE_DYNAMIC
6629 typedef double(*LibTiePieGenSetFrequency_t)( TpDeviceHandle_t hDevice ,
double dFrequency );
6631 double GenSetFrequency( TpDeviceHandle_t hDevice ,
double dFrequency );
6644 #ifdef LIBTIEPIE_DYNAMIC
6645 typedef double(*LibTiePieGenVerifyFrequency_t)( TpDeviceHandle_t hDevice ,
double dFrequency );
6647 double GenVerifyFrequency( TpDeviceHandle_t hDevice ,
double dFrequency );
6659 #ifdef LIBTIEPIE_DYNAMIC
6660 typedef double(*LibTiePieGenVerifyFrequencyEx_t)( TpDeviceHandle_t hDevice ,
double dFrequency , uint32_t dwFrequencyMode );
6662 double GenVerifyFrequencyEx( TpDeviceHandle_t hDevice ,
double dFrequency , uint32_t dwFrequencyMode );
6676 #ifdef LIBTIEPIE_DYNAMIC
6677 typedef double(*LibTiePieGenVerifyFrequencyEx2_t)( TpDeviceHandle_t hDevice ,
double dFrequency , uint32_t dwFrequencyMode , uint32_t dwSignalType , uint64_t qwDataLength );
6679 double GenVerifyFrequencyEx2( TpDeviceHandle_t hDevice ,
double dFrequency , uint32_t dwFrequencyMode , uint32_t dwSignalType , uint64_t qwDataLength );
6691 #ifdef LIBTIEPIE_DYNAMIC
6692 typedef uint32_t(*LibTiePieGenGetFrequencyModes_t)( TpDeviceHandle_t hDevice );
6706 #ifdef LIBTIEPIE_DYNAMIC
6707 typedef uint32_t(*LibTiePieGenGetFrequencyModesEx_t)( TpDeviceHandle_t hDevice , uint32_t dwSignalType );
6709 uint32_t GenGetFrequencyModesEx( TpDeviceHandle_t hDevice , uint32_t dwSignalType );
6720 #ifdef LIBTIEPIE_DYNAMIC
6721 typedef uint32_t(*LibTiePieGenGetFrequencyMode_t)( TpDeviceHandle_t hDevice );
6737 #ifdef LIBTIEPIE_DYNAMIC
6738 typedef uint32_t(*LibTiePieGenSetFrequencyMode_t)( TpDeviceHandle_t hDevice , uint32_t dwFrequencyMode );
6765 #ifdef LIBTIEPIE_DYNAMIC
6766 typedef void(*LibTiePieGenGetOffsetMinMaxEx_t)( TpDeviceHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
6768 void GenGetOffsetMinMaxEx( TpDeviceHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
6780 #ifdef LIBTIEPIE_DYNAMIC
6781 typedef double(*LibTiePieGenGetOffsetMin_t)( TpDeviceHandle_t hDevice );
6793 #ifdef LIBTIEPIE_DYNAMIC
6794 typedef double(*LibTiePieGenGetOffsetMax_t)( TpDeviceHandle_t hDevice );
6806 #ifdef LIBTIEPIE_DYNAMIC
6807 typedef double(*LibTiePieGenGetOffset_t)( TpDeviceHandle_t hDevice );
6820 #ifdef LIBTIEPIE_DYNAMIC
6821 typedef double(*LibTiePieGenSetOffset_t)( TpDeviceHandle_t hDevice ,
double dOffset );
6823 double GenSetOffset( TpDeviceHandle_t hDevice ,
double dOffset );
6836 #ifdef LIBTIEPIE_DYNAMIC
6837 typedef double(*LibTiePieGenVerifyOffset_t)( TpDeviceHandle_t hDevice ,
double dOffset );
6839 double GenVerifyOffset( TpDeviceHandle_t hDevice ,
double dOffset );
6852 #ifdef LIBTIEPIE_DYNAMIC
6853 typedef double(*LibTiePieGenVerifyOffsetEx_t)( TpDeviceHandle_t hDevice ,
double dOffset , uint32_t dwSignalType ,
double dAmplitude );
6855 double GenVerifyOffsetEx( TpDeviceHandle_t hDevice ,
double dOffset , uint32_t dwSignalType ,
double dAmplitude );
6882 #ifdef LIBTIEPIE_DYNAMIC
6883 typedef void(*LibTiePieGenGetPhaseMinMaxEx_t)( TpDeviceHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
6885 void GenGetPhaseMinMaxEx( TpDeviceHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
6897 #ifdef LIBTIEPIE_DYNAMIC
6898 typedef double(*LibTiePieGenGetPhaseMin_t)( TpDeviceHandle_t hDevice );
6910 #ifdef LIBTIEPIE_DYNAMIC
6911 typedef double(*LibTiePieGenGetPhaseMax_t)( TpDeviceHandle_t hDevice );
6923 #ifdef LIBTIEPIE_DYNAMIC
6924 typedef double(*LibTiePieGenGetPhase_t)( TpDeviceHandle_t hDevice );
6939 #ifdef LIBTIEPIE_DYNAMIC
6940 typedef double(*LibTiePieGenSetPhase_t)( TpDeviceHandle_t hDevice ,
double dPhase );
6942 double GenSetPhase( TpDeviceHandle_t hDevice ,
double dPhase );
6955 #ifdef LIBTIEPIE_DYNAMIC
6956 typedef double(*LibTiePieGenVerifyPhase_t)( TpDeviceHandle_t hDevice ,
double dPhase );
6958 double GenVerifyPhase( TpDeviceHandle_t hDevice ,
double dPhase );
6970 #ifdef LIBTIEPIE_DYNAMIC
6971 typedef double(*LibTiePieGenVerifyPhaseEx_t)( TpDeviceHandle_t hDevice ,
double dPhase , uint32_t dwSignalType );
6973 double GenVerifyPhaseEx( TpDeviceHandle_t hDevice ,
double dPhase , uint32_t dwSignalType );
7000 #ifdef LIBTIEPIE_DYNAMIC
7001 typedef void(*LibTiePieGenGetSymmetryMinMaxEx_t)( TpDeviceHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
7003 void GenGetSymmetryMinMaxEx( TpDeviceHandle_t hDevice , uint32_t dwSignalType ,
double* pMin ,
double* pMax );
7015 #ifdef LIBTIEPIE_DYNAMIC
7016 typedef double(*LibTiePieGenGetSymmetryMin_t)( TpDeviceHandle_t hDevice );
7028 #ifdef LIBTIEPIE_DYNAMIC
7029 typedef double(*LibTiePieGenGetSymmetryMax_t)( TpDeviceHandle_t hDevice );
7041 #ifdef LIBTIEPIE_DYNAMIC
7042 typedef double(*LibTiePieGenGetSymmetry_t)( TpDeviceHandle_t hDevice );
7057 #ifdef LIBTIEPIE_DYNAMIC
7058 typedef double(*LibTiePieGenSetSymmetry_t)( TpDeviceHandle_t hDevice ,
double dSymmetry );
7060 double GenSetSymmetry( TpDeviceHandle_t hDevice ,
double dSymmetry );
7073 #ifdef LIBTIEPIE_DYNAMIC
7074 typedef double(*LibTiePieGenVerifySymmetry_t)( TpDeviceHandle_t hDevice ,
double dSymmetry );
7076 double GenVerifySymmetry( TpDeviceHandle_t hDevice ,
double dSymmetry );
7088 #ifdef LIBTIEPIE_DYNAMIC
7089 typedef double(*LibTiePieGenVerifySymmetryEx_t)( TpDeviceHandle_t hDevice ,
double dSymmetry , uint32_t dwSignalType );
7091 double GenVerifySymmetryEx( TpDeviceHandle_t hDevice ,
double dSymmetry , uint32_t dwSignalType );
7116 #ifdef LIBTIEPIE_DYNAMIC
7117 typedef void(*LibTiePieGenGetDataLengthMinMaxEx_t)( TpDeviceHandle_t hDevice , uint32_t dwSignalType , uint64_t* pMin , uint64_t* pMax );
7119 void GenGetDataLengthMinMaxEx( TpDeviceHandle_t hDevice , uint32_t dwSignalType , uint64_t* pMin , uint64_t* pMax );
7131 #ifdef LIBTIEPIE_DYNAMIC
7132 typedef uint64_t(*LibTiePieGenGetDataLengthMin_t)( TpDeviceHandle_t hDevice );
7144 #ifdef LIBTIEPIE_DYNAMIC
7145 typedef uint64_t(*LibTiePieGenGetDataLengthMax_t)( TpDeviceHandle_t hDevice );
7157 #ifdef LIBTIEPIE_DYNAMIC
7158 typedef uint64_t(*LibTiePieGenGetDataLength_t)( TpDeviceHandle_t hDevice );
7173 #ifdef LIBTIEPIE_DYNAMIC
7174 typedef uint64_t(*LibTiePieGenVerifyDataLength_t)( TpDeviceHandle_t hDevice , uint64_t qwDataLength );
7176 uint64_t GenVerifyDataLength( TpDeviceHandle_t hDevice , uint64_t qwDataLength );
7188 #ifdef LIBTIEPIE_DYNAMIC
7189 typedef uint64_t(*LibTiePieGenVerifyDataLengthEx_t)( TpDeviceHandle_t hDevice , uint64_t qwDataLength , uint32_t dwSignalType );
7191 uint64_t GenVerifyDataLengthEx( TpDeviceHandle_t hDevice , uint64_t qwDataLength , uint32_t dwSignalType );
7202 #ifdef LIBTIEPIE_DYNAMIC
7203 typedef uint32_t(*LibTiePieGenGetDataRawType_t)( TpDeviceHandle_t hDevice );
7205 uint32_t GenGetDataRawType( TpDeviceHandle_t hDevice );
7220 #ifdef LIBTIEPIE_DYNAMIC
7221 typedef void(*LibTiePieGenSetData_t)( TpDeviceHandle_t hDevice ,
float* pBuffer , uint64_t qwSampleCount );
7223 void GenSetData( TpDeviceHandle_t hDevice ,
float* pBuffer , uint64_t qwSampleCount );
7238 #ifdef LIBTIEPIE_DYNAMIC
7239 typedef void(*LibTiePieGenSetDataEx_t)( TpDeviceHandle_t hDevice ,
float* pBuffer , uint64_t qwSampleCount , uint32_t dwSignalType , uint32_t dwReserved );
7241 void GenSetDataEx( TpDeviceHandle_t hDevice ,
float* pBuffer , uint64_t qwSampleCount , uint32_t dwSignalType , uint32_t dwReserved );
7253 #ifdef LIBTIEPIE_DYNAMIC
7254 typedef void(*LibTiePieGenSetDataRaw_t)( TpDeviceHandle_t hDevice ,
void* pBuffer , uint64_t qwSampleCount );
7256 void GenSetDataRaw( TpDeviceHandle_t hDevice ,
void* pBuffer , uint64_t qwSampleCount );
7270 #ifdef LIBTIEPIE_DYNAMIC
7271 typedef void(*LibTiePieGenSetDataRawEx_t)( TpDeviceHandle_t hDevice ,
void* pBuffer , uint64_t qwSampleCount , uint32_t dwSignalType , uint32_t dwReserved );
7273 void GenSetDataRawEx( TpDeviceHandle_t hDevice ,
void* pBuffer , uint64_t qwSampleCount , uint32_t dwSignalType , uint32_t dwReserved );
7299 #ifdef LIBTIEPIE_DYNAMIC
7300 typedef void(*LibTiePieGenSetCallbackBurstCompleted_t)( TpDeviceHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
7322 #ifdef LIBTIEPIE_DYNAMIC
7323 typedef void(*LibTiePieGenSetCallbackControllableChanged_t)( TpDeviceHandle_t hDevice , TpCallback_t pCallback ,
void* pData );
7343 #ifdef LIBTIEPIE_DYNAMIC
7344 typedef void(*LibTiePieGenSetEventBurstCompleted_t)( TpDeviceHandle_t hDevice ,
int fdEvent );
7358 #ifdef LIBTIEPIE_DYNAMIC
7359 typedef void(*LibTiePieGenSetEventControllableChanged_t)( TpDeviceHandle_t hDevice ,
int fdEvent );
7366 #ifdef HAVE_WINDOWS_H
7377 #ifdef LIBTIEPIE_DYNAMIC
7378 typedef void(*LibTiePieGenSetEventBurstCompleted_t)( TpDeviceHandle_t hDevice , HANDLE hEvent );
7392 #ifdef LIBTIEPIE_DYNAMIC
7393 typedef void(*LibTiePieGenSetEventControllableChanged_t)( TpDeviceHandle_t hDevice , HANDLE hEvent );
7409 #ifdef LIBTIEPIE_DYNAMIC
7410 typedef void(*LibTiePieGenSetMessageBurstCompleted_t)( TpDeviceHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
7426 #ifdef LIBTIEPIE_DYNAMIC
7427 typedef void(*LibTiePieGenSetMessageControllableChanged_t)( TpDeviceHandle_t hDevice , HWND hWnd , WPARAM wParam , LPARAM lParam );
7453 #ifdef LIBTIEPIE_DYNAMIC
7454 typedef uint32_t(*LibTiePieGenGetModes_t)( TpDeviceHandle_t hDevice );
7469 #ifdef LIBTIEPIE_DYNAMIC
7470 typedef uint32_t(*LibTiePieGenGetModesEx_t)( TpDeviceHandle_t hDevice , uint32_t dwSignalType );
7472 uint32_t GenGetModesEx( TpDeviceHandle_t hDevice , uint32_t dwSignalType );
7484 #ifdef LIBTIEPIE_DYNAMIC
7485 typedef uint32_t(*LibTiePieGenGetMode_t)( TpDeviceHandle_t hDevice );
7487 uint32_t
GenGetMode( TpDeviceHandle_t hDevice );
7499 #ifdef LIBTIEPIE_DYNAMIC
7500 typedef uint32_t(*LibTiePieGenSetMode_t)( TpDeviceHandle_t hDevice , uint32_t dwMode );
7502 uint32_t
GenSetMode( TpDeviceHandle_t hDevice , uint32_t dwMode );
7513 #ifdef LIBTIEPIE_DYNAMIC
7514 typedef bool8_t(*LibTiePieGenGetAutoRanging_t)( TpDeviceHandle_t hDevice );
7528 #ifdef LIBTIEPIE_DYNAMIC
7529 typedef bool8_t(*LibTiePieGenSetAutoRanging_t)( TpDeviceHandle_t hDevice , bool8_t bEnable );
7544 #ifdef LIBTIEPIE_DYNAMIC
7545 typedef uint32_t(*LibTiePieGenGetRanges_t)( TpDeviceHandle_t hDevice ,
double* pList , uint32_t dwLength );
7547 uint32_t
GenGetRanges( TpDeviceHandle_t hDevice ,
double* pList , uint32_t dwLength );
7558 #ifdef LIBTIEPIE_DYNAMIC
7559 typedef double(*LibTiePieGenGetRange_t)( TpDeviceHandle_t hDevice );
7583 #ifdef LIBTIEPIE_DYNAMIC
7584 typedef double(*LibTiePieGenSetRange_t)( TpDeviceHandle_t hDevice ,
double dRange );
7586 double GenSetRange( TpDeviceHandle_t hDevice ,
double dRange );
7597 #ifdef LIBTIEPIE_DYNAMIC
7598 typedef uint64_t(*LibTiePieGenGetTriggerSources_t)( TpDeviceHandle_t hDevice );
7611 #ifdef LIBTIEPIE_DYNAMIC
7612 typedef uint64_t(*LibTiePieGenGetTriggerSourceAND_t)( TpDeviceHandle_t hDevice );
7626 #ifdef LIBTIEPIE_DYNAMIC
7627 typedef uint64_t(*LibTiePieGenSetTriggerSourceAND_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSourceMask );
7640 #ifdef LIBTIEPIE_DYNAMIC
7641 typedef uint64_t(*LibTiePieGenGetTriggerSourceOR_t)( TpDeviceHandle_t hDevice );
7655 #ifdef LIBTIEPIE_DYNAMIC
7656 typedef uint64_t(*LibTiePieGenSetTriggerSourceOR_t)( TpDeviceHandle_t hDevice , uint64_t qwTriggerSourceMask );
7678 #ifdef LIBTIEPIE_DYNAMIC
7679 typedef bool8_t(*LibTiePieI2CIsInternalAddress_t)( TpDeviceHandle_t hDevice , uint16_t wAddress );
7702 #ifdef LIBTIEPIE_DYNAMIC
7703 typedef bool8_t(*LibTiePieI2CRead_t)( TpDeviceHandle_t hDevice , uint16_t wAddress ,
void* pBuffer , uint32_t dwSize , bool8_t bStop );
7705 bool8_t
I2CRead( TpDeviceHandle_t hDevice , uint16_t wAddress ,
void* pBuffer , uint32_t dwSize , bool8_t bStop );
7717 #ifdef LIBTIEPIE_DYNAMIC
7718 typedef bool8_t(*LibTiePieI2CReadByte_t)( TpDeviceHandle_t hDevice , uint16_t wAddress , uint8_t* pValue );
7720 bool8_t
I2CReadByte( TpDeviceHandle_t hDevice , uint16_t wAddress , uint8_t* pValue );
7732 #ifdef LIBTIEPIE_DYNAMIC
7733 typedef bool8_t(*LibTiePieI2CReadWord_t)( TpDeviceHandle_t hDevice , uint16_t wAddress , uint16_t* pValue );
7735 bool8_t
I2CReadWord( TpDeviceHandle_t hDevice , uint16_t wAddress , uint16_t* pValue );
7757 #ifdef LIBTIEPIE_DYNAMIC
7758 typedef bool8_t(*LibTiePieI2CWrite_t)( TpDeviceHandle_t hDevice , uint16_t wAddress ,
void* pBuffer , uint32_t dwSize , bool8_t bStop );
7760 bool8_t
I2CWrite( TpDeviceHandle_t hDevice , uint16_t wAddress ,
void* pBuffer , uint32_t dwSize , bool8_t bStop );
7772 #ifdef LIBTIEPIE_DYNAMIC
7773 typedef bool8_t(*LibTiePieI2CWriteByte_t)( TpDeviceHandle_t hDevice , uint16_t wAddress , uint8_t byValue );
7775 bool8_t
I2CWriteByte( TpDeviceHandle_t hDevice , uint16_t wAddress , uint8_t byValue );
7788 #ifdef LIBTIEPIE_DYNAMIC
7789 typedef bool8_t(*LibTiePieI2CWriteByteByte_t)( TpDeviceHandle_t hDevice , uint16_t wAddress , uint8_t byValue1 , uint8_t byValue2 );
7791 bool8_t
I2CWriteByteByte( TpDeviceHandle_t hDevice , uint16_t wAddress , uint8_t byValue1 , uint8_t byValue2 );
7804 #ifdef LIBTIEPIE_DYNAMIC
7805 typedef bool8_t(*LibTiePieI2CWriteByteWord_t)( TpDeviceHandle_t hDevice , uint16_t wAddress , uint8_t byValue1 , uint16_t wValue2 );
7807 bool8_t
I2CWriteByteWord( TpDeviceHandle_t hDevice , uint16_t wAddress , uint8_t byValue1 , uint16_t wValue2 );
7819 #ifdef LIBTIEPIE_DYNAMIC
7820 typedef bool8_t(*LibTiePieI2CWriteWord_t)( TpDeviceHandle_t hDevice , uint16_t wAddress , uint16_t wValue );
7822 bool8_t
I2CWriteWord( TpDeviceHandle_t hDevice , uint16_t wAddress , uint16_t wValue );
7840 #ifdef LIBTIEPIE_DYNAMIC
7841 typedef double(*LibTiePieI2CGetSpeed_t)( TpDeviceHandle_t hDevice );
7853 #ifdef LIBTIEPIE_DYNAMIC
7854 typedef double(*LibTiePieI2CGetSpeedMax_t)( TpDeviceHandle_t hDevice );
7867 #ifdef LIBTIEPIE_DYNAMIC
7868 typedef double(*LibTiePieI2CSetSpeed_t)( TpDeviceHandle_t hDevice ,
double dSpeed );
7870 double I2CSetSpeed( TpDeviceHandle_t hDevice ,
double dSpeed );
7883 #ifdef LIBTIEPIE_DYNAMIC
7884 typedef double(*LibTiePieI2CVerifySpeed_t)( TpDeviceHandle_t hDevice ,
double dSpeed );
7886 double I2CVerifySpeed( TpDeviceHandle_t hDevice ,
double dSpeed );
7930 #ifdef LIBTIEPIE_DYNAMIC
7942 #ifdef LIBTIEPIE_DYNAMIC
7943 typedef void(*LibTiePieHlpPointerArrayDelete_t)( LibTiePiePointerArray_t pArray );
7956 #ifdef LIBTIEPIE_DYNAMIC
7957 typedef void(*LibTiePieHlpPointerArraySet_t)( LibTiePiePointerArray_t pArray , uint32_t dwIndex ,
void* pPointer );
7959 void HlpPointerArraySet( LibTiePiePointerArray_t pArray , uint32_t dwIndex ,
void* pPointer );