LibTiePie  0.4.0
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Groups Pages
libtiepie.h File Reference

Header for libtiepie. More...

#include "stdint.h"

Go to the source code of this file.

Macros

#define CKN_COUNT   5
 Number of coupling kinds.
 
#define CKB_DCV   0
 Volt DC.
 
#define CKB_ACV   1
 Volt AC.
 
#define CKB_DCA   2
 Ampere DC.
 
#define CKB_ACA   3
 Ampere AC.
 
#define CKB_OHM   4
 Ohm.
 
#define CK_UNKNOWN   0x0000000000000000
 Invalid coupling type.
 
#define CK_DCV   ( 1 << CKB_DCV )
 Volt DC.
 
#define CK_ACV   ( 1 << CKB_ACV )
 Volt AC.
 
#define CK_DCA   ( 1 << CKB_DCA )
 Ampere DC.
 
#define CK_ACA   ( 1 << CKB_ACA )
 Ampere AC.
 
#define CK_OHM   ( 1 << CKB_OHM )
 Ohm.
 
#define CKM_V   ( CK_DCV | CK_ACV )
 Volt.
 
#define CKM_A   ( CK_DCA | CK_ACA )
 Ampere.
 
#define CKM_OHM   ( CK_OHM )
 Ohm.
 
#define CKM_ASYMMETRICRANGE   ( CKM_OHM )
 0 .. +Range
 
#define CKM_SYMMETRICRANGE   ( CKM_V | CKM_A )
 -Range .. +Range
 
#define CON_COUNT   2
 Number of clock output types.
 
#define COB_SAMPLE   0
 Sample clock.
 
#define COB_10MHZ   1
 10 MHz clock
 
#define CO_NONE   0
 No clock output.
 
#define CO_SAMPLE   ( 1 << COB_SAMPLE )
 Sample clock.
 
#define CO_10MHZ   ( 1 << COB_10MHZ )
 10 MHz clock
 
#define CSN_COUNT   2
 Number of clock sources.
 
#define CSB_EXTERNAL   0
 External clock.
 
#define CSB_INTERNAL   1
 Internal clock.
 
#define CS_EXTERNAL   ( 1 << CSB_EXTERNAL )
 External clock.
 
#define CS_INTERNAL   ( 1 << CSB_INTERNAL )
 Internal clock.
 
#define FMN_COUNT   2
 Number of generator modes.
 
#define FMB_SIGNALFREQUENCY   0
 
#define FMB_SAMPLEFREQUENCY   1
 
#define FM_UNKNOWN   0x00000000
 
#define FM_SIGNALFREQUENCY   ( 1 << FMB_SIGNALFREQUENCY )
 
#define FM_SAMPLEFREQUENCY   ( 1 << FMB_SAMPLEFREQUENCY )
 
#define MMN_COUNT   2
 Number of measure modes.
 
#define MMB_STREAM   0
 Stream mode bit number.
 
#define MMB_BLOCK   1
 Block mode bit number.
 
#define MM_UNKNOWN   0x00000000
 
#define MM_STREAM   ( 1 << MMB_STREAM )
 
#define MM_BLOCK   ( 1 << MMB_BLOCK )
 
#define STN_COUNT   6
 Number of signal types.
 
#define STB_SINE   0
 
#define STB_TRIANGLE   1
 
#define STB_SQUARE   2
 
#define STB_DC   3
 
#define STB_NOISE   4
 
#define STB_ARBITRARY   5
 
#define ST_UNKNOWN   0x0000000000000000
 
#define ST_SINE   ( 1 << STB_SINE )
 
#define ST_TRIANGLE   ( 1 << STB_TRIANGLE )
 
#define ST_SQUARE   ( 1 << STB_SQUARE )
 
#define ST_DC   ( 1 << STB_DC )
 
#define ST_NOISE   ( 1 << STB_NOISE )
 
#define ST_ARBITRARY   ( 1 << STB_ARBITRARY )
 
#define STM_AMPLITUDE   ( ST_SINE | ST_TRIANGLE | ST_SQUARE | ST_NOISE | ST_ARBITRARY )
 
#define STM_OFFSET   ( ST_SINE | ST_TRIANGLE | ST_SQUARE | ST_DC | ST_NOISE | ST_ARBITRARY )
 
#define STM_FREQUENCY   ( ST_SINE | ST_TRIANGLE | ST_SQUARE | ST_ARBITRARY )
 
#define STM_PHASE   ( ST_SINE | ST_TRIANGLE | ST_SQUARE | ST_ARBITRARY )
 
#define STM_SYMMETRY   ( ST_SINE | ST_TRIANGLE | ST_SQUARE )
 
#define TH_ALLPRESAMPLES   0xffffffffffffffff
 All presamples.
 
#define TKN_COUNT   7
 Number of trigger kinds.
 
#define TKB_RISING   0
 
#define TKB_FALLING   1
 
#define TKB_INWINDOW   2
 
#define TKB_OUTWINDOW   3
 
#define TKB_EDGE   4
 
#define TKB_DROPINWINDOW   5
 
#define TKB_DROPOUTWINDOW   6
 
#define TK_UNKNOWN   0x0000000000000000ULL
 
#define TK_RISING   ( 1ULL << TKB_RISING )
 
#define TK_FALLING   ( 1ULL << TKB_FALLING )
 
#define TK_INWINDOW   ( 1ULL << TKB_INWINDOW )
 
#define TK_OUTWINDOW   ( 1ULL << TKB_OUTWINDOW )
 
#define TK_EDGE   ( 1ULL << TKB_EDGE )
 
#define TK_DROPINWINDOW   ( 1ULL << TKB_DROPINWINDOW )
 
#define TK_DROPOUTWINDOW   ( 1ULL << TKB_DROPOUTWINDOW )
 
#define TKM_NONE   0x0000000000000000ULL
 No trigger kinds.
 
#define TKM_EDGE   ( TK_RISING | TK_FALLING | TK_EDGE )
 
#define TKM_WINDOW   ( TK_INWINDOW | TK_OUTWINDOW | TK_DROPINWINDOW | TK_DROPOUTWINDOW )
 
#define TKM_ALL   ( ( 1ULL << TKN_COUNT ) - 1 )
 All trigger kinds.
 
#define TO_INFINITY   -1
 No time out.
 
#define TS_NONE   0x0000000000000000ULL
 No trigger source.
 
#define TS_CH1   0x0000000000000001ULL
 Channel 1.
 
#define TS_CH2   0x0000000000000002ULL
 Channel 2.
 
#define TS_CH3   0x0000000000000004ULL
 Channel 3.
 
#define TS_CH4   0x0000000000000008ULL
 Channel 4.
 
#define TS_CH5   0x0000000000000010ULL
 Channel 5.
 
#define TS_CH6   0x0000000000000020ULL
 Channel 6.
 
#define TS_CH7   0x0000000000000040ULL
 Channel 7.
 
#define TS_CH8   0x0000000000000080ULL
 Channel 8.
 
#define TS_CH9   0x0000000000000100ULL
 Channel 9.
 
#define TS_CH10   0x0000000000000200ULL
 Channel 10.
 
#define TS_CH11   0x0000000000000400ULL
 Channel 11.
 
#define TS_CH12   0x0000000000000800ULL
 Channel 12.
 
#define TS_CH13   0x0000000000001000ULL
 Channel 13.
 
#define TS_CH14   0x0000000000002000ULL
 Channel 14.
 
#define TS_CH15   0x0000000000004000ULL
 Channel 15.
 
#define TS_CH16   0x0000000000008000ULL
 Channel 16.
 
#define TS_CH17   0x0000000000010000ULL
 Channel 17.
 
#define TS_CH18   0x0000000000020000ULL
 Channel 18.
 
#define TS_CH19   0x0000000000040000ULL
 Channel 19.
 
#define TS_CH20   0x0000000000080000ULL
 Channel 20.
 
#define TS_CH21   0x0000000000100000ULL
 Channel 21.
 
#define TS_CH22   0x0000000000200000ULL
 Channel 22.
 
#define TS_CH23   0x0000000000400000ULL
 Channel 23.
 
#define TS_CH24   0x0000000000800000ULL
 Channel 24.
 
#define TS_CH25   0x0000000001000000ULL
 Channel 25.
 
#define TS_CH26   0x0000000002000000ULL
 Channel 26.
 
#define TS_CH27   0x0000000004000000ULL
 Channel 27.
 
#define TS_CH28   0x0000000008000000ULL
 Channel 28.
 
#define TS_CH29   0x0000000010000000ULL
 Channel 29.
 
#define TS_CH30   0x0000000020000000ULL
 Channel 30.
 
#define TS_CH31   0x0000000040000000ULL
 Channel 31.
 
#define TS_CH32   0x0000000080000000ULL
 Channel 32.
 
#define TS_GENSTOP   0x0400000000000000ULL
 Generator stop.
 
#define TS_GENNEW   0x0800000000000000ULL
 Generator new period.
 
#define TS_GENSTART   0x1000000000000000ULL
 Generator start.
 
#define TS_EXT2   0x2000000000000000ULL
 External 2 (TTL)
 
#define TS_EXTANALOG   0x4000000000000000ULL
 External (Analog)
 
#define TS_EXT   0x8000000000000000ULL
 External (TTL)
 
#define TSN_CHANNEL_COUNT   32
 Number of LSBs reserved for channel trigger sources.
 
#define TSM_NONE   0x0000000000000000ULL
 No trigger sources.
 
#define TSM_ALL   0xFFFFFFFFFFFFFFFFULL
 All trigger sources.
 
#define TSM_CHANNELS   ( ( 1ULL << TSN_CHANNEL_COUNT ) - 1 )
 All channel trigger sources.
 
#define TSM_NONCHANNELS   ( TSM_ALL - TSM_CHANNELS )
 All non-channel trigger sources.
 
#define TSM_GENALL   ( TS_GENSTART | TS_GENNEW | TS_GENSTOP )
 All generator trigger sources.
 
#define TPDEVICEHANDLE_INVALID   0
 
#define DEVICETYPE_OSCILLOSCOPE   0x00000001
 Oscilloscope.
 
#define DEVICETYPE_GENERATOR   0x00000002
 Generator.
 
#define DEVICETYPE_I2CHOST   0x00000004
 I2C Host.
 
#define IDKIND_DEVICEID   0x00000001
 dwId parameter is a device id.
 
#define IDKIND_INDEX   0x00000002
 dwId parameter is an index.
 
#define IDKIND_SERIALNUMBER   0x00000004
 dwId parameter is a serial number.
 
#define LIBTIEPIESTATUS_SUCCESS   0
 
#define LIBTIEPIESTATUS_VALUE_CLIPPED   1
 
#define LIBTIEPIESTATUS_VALUE_MODIFIED   2
 
#define LIBTIEPIESTATUS_UNSUCCESSFUL   -1
 
#define LIBTIEPIESTATUS_NOT_SUPPORTED   -2
 
#define LIBTIEPIESTATUS_INVALID_HANDLE   -3
 
#define LIBTIEPIESTATUS_INVALID_VALUE   -4
 
#define LIBTIEPIESTATUS_INVALID_CHANNEL   -5
 
#define LIBTIEPIESTATUS_INVALID_TRIGGER_SOURCE   -6
 
#define LIBTIEPIESTATUS_INVALID_DEVICE_TYPE   -7
 
#define LIBTIEPIESTATUS_INVALID_DEVICE_INDEX   -8
 
#define LIBTIEPIESTATUS_INVALID_DEVICE_ID   -9
 
#define LIBTIEPIESTATUS_INVALID_DEVICE_SERIALNUMBER   -10
 
#define LIBTIEPIESTATUS_DEVICE_GONE   -11
 
#define LIBTIEPIESTATUS_INTERNAL_ADDRESS   -12
 
#define LIBTIEPIESTATUS_NOT_CONTROLLABLE   -13
 
#define LIBTIEPIESTATUS_BIT_ERROR   -14
 
#define LIBTIEPIESTATUS_NO_ACKNOWLEDGE   -15
 
#define CONNECTORTYPE_UNKNOWN   0x00000000
 
#define CONNECTORTYPE_BNC   0x00000001
 
#define CONNECTORTYPE_BANANA   0x00000002
 
#define CONNECTORTYPE_POWERPLUG   0x00000004
 
#define CONNECTORTYPE_MASK   ( CONNECTORTYPE_BNC | CONNECTORTYPE_BANANA | CONNECTORTYPE_POWERPLUG )
 
#define DATARAWTYPE_UNKNOWN   0x00000000
 
#define DATARAWTYPE_INT8   0x00000001
 
#define DATARAWTYPE_INT16   0x00000002
 
#define DATARAWTYPE_INT32   0x00000004
 
#define DATARAWTYPE_INT64   0x00000008
 
#define DATARAWTYPE_UINT8   0x00000010
 
#define DATARAWTYPE_UINT16   0x00000020
 
#define DATARAWTYPE_UINT32   0x00000040
 
#define DATARAWTYPE_UINT64   0x00000080
 
#define DATARAWTYPE_FLOAT32   0x00000100
 
#define DATARAWTYPE_FLOAT64   0x00000200
 
#define IDM_DEVICEID   0x80000000
 
#define IDM_ALL   0xffffffff
 
#define IDB_HS3   0
 
#define IDB_HS4   1
 
#define IDB_HS4D   2
 
#define IDB_HS805   3
 
#define IDB_HP3   4
 
#define IDB_HS5   5
 
#define IDB_HL0516   6
 
#define IDB_PA1   7
 
#define ID_HS3   ( IDM_DEVICEID | ( 1 << IDB_HS3 ) )
 Handyscope HS3.
 
#define ID_HS4   ( IDM_DEVICEID | ( 1 << IDB_HS4 ) )
 Handyscope HS4.
 
#define ID_HS4D   ( IDM_DEVICEID | ( 1 << IDB_HS4D ) )
 Handyscope HS4 DIFF.
 
#define ID_HS805   ( IDM_DEVICEID | ( 1 << IDB_HS805 ) )
 TiePieSCOPE HS805.
 
#define ID_HP3   ( IDM_DEVICEID | ( 1 << IDB_HP3 ) )
 Handyprobe HP3.
 
#define ID_HS5   ( IDM_DEVICEID | ( 1 << IDB_HS5 ) )
 Handyscope HS5.
 
#define ID_HL0516   ( IDM_DEVICEID | ( 1 << IDB_HL0516 ) )
 HL0516.
 
#define ID_PA1   ( IDM_DEVICEID | ( 1 << IDB_PA1 ) )
 Power Analyzer PA1.
 
#define BOOL8_FALSE   0
 
#define BOOL8_TRUE   1
 
#define LIBTIEPIE_TRISTATE_UNDEFINED   0
 Undefined.
 
#define LIBTIEPIE_TRISTATE_FALSE   1
 False.
 
#define LIBTIEPIE_TRISTATE_TRUE   2
 True.
 
#define TPVERSION_MAJOR(x)   ( x >> 48 )
 Extract the major number from a TpVersion_t value.
 
#define TPVERSION_MINOR(x)   ( ( x >> 32 ) & 0xffff )
 Extract the minor number from a TpVersion_t value.
 
#define TPVERSION_RELEASE(x)   ( ( x >> 16 ) & 0xffff )
 Extract the release number from a TpVersion_t value.
 
#define TPVERSION_BUILD(x)   ( x & 0xffff )
 Extract the build number from a TpVersion_t value.
 
#define TPDATE_YEAR(x)   ( x >> 16 )
 Extract year from a TpDate_t value.
 
#define TPDATE_MONTH(x)   ( ( x >> 8 ) & 0xff )
 Extract month from a TpDate_t value.
 
#define TPDATE_DAY(x)   ( x & 0xff )
 Extract day from a TpDate_t value.
 
#define WM_LIBTIEPIE   ( WM_USER + 1337 )
 Message number offset used by LibTiePie.
 
#define WM_LIBTIEPIE_LST_DEVICEADDED   ( WM_LIBTIEPIE + 2 )
 
#define WM_LIBTIEPIE_LST_DEVICEREMOVED   ( WM_LIBTIEPIE + 3 )
 
#define WM_LIBTIEPIE_DEV_REMOVED   ( WM_LIBTIEPIE + 4 )
 
#define WM_LIBTIEPIE_SCP_DATAREADY   ( WM_LIBTIEPIE + 0 )
 
#define WM_LIBTIEPIE_SCP_DATAOVERFLOW   ( WM_LIBTIEPIE + 1 )
 
#define WM_LIBTIEPIE_SCP_CONNECTIONTESTCOMPLETED   ( WM_LIBTIEPIE + 7 )
 
#define WM_LIBTIEPIE_GEN_BURSTCOMPLETED   ( WM_LIBTIEPIE + 5 )
 
#define WM_LIBTIEPIE_GEN_CONTROLLABLECHANGED   ( WM_LIBTIEPIE + 6 )
 

Typedefs

typedef void(* TpCallback_t )(void *pData)
 
typedef int32_t LibTiePieStatus_t
 LibTiePie status code.
 
typedef uint32_t TpDeviceHandle_t
 Device handle.
 
typedef uint64_t TpVersion_t
 Version number.
 
typedef uint32_t TpDate_t
 Date.
 
typedef uint8_t bool8_t
 Boolean value one byte wide.
 
typedef uint8_t LibTiePieTriState_t
 TriState value one byte wide.
 

Functions

TpVersion_t LibGetVersion ()
 Get library version number.
 
uint32_t LibGetConfig (uint8_t *pBuffer, uint32_t dwBufferLength)
 Get library configuration number.
 
LibTiePieStatus_t LibGetLastStatus ()
 Get last status value, last status is set after each call to the library.
 
const char * LibGetLastStatusStr ()
 Get last status value as text, last status is set after each call to the library.
 
uint32_t LstGetCount ()
 Get number of devices in list.
 
bool8_t LstGetDeviceCanOpen (uint32_t dwIdKind, uint32_t dwId, uint32_t dwDeviceType)
 Check whether the instrument can be opened.
 
uint32_t LstGetDeviceProductId (uint32_t dwIdKind, uint32_t dwId)
 Get the instruments product id.
 
uint32_t LstGetDeviceVendorId (uint32_t dwIdKind, uint32_t dwId)
 Get the instruments vendor id.
 
uint32_t LstGetDeviceName (uint32_t dwIdKind, uint32_t dwId, char *pBuffer, uint32_t dwBufferLength)
 Get the instruments name.
 
uint32_t LstGetDeviceNameShort (uint32_t dwIdKind, uint32_t dwId, char *pBuffer, uint32_t dwBufferLength)
 Get the instruments short name.
 
uint32_t LstGetDeviceSerialNumber (uint32_t dwIdKind, uint32_t dwId)
 Get the instruments serial number.
 
uint32_t LstGetDeviceTypes (uint32_t dwIdKind, uint32_t dwId)
 Get the instruments device types.
 
TpDeviceHandle_t LstOpenDevice (uint32_t dwIdKind, uint32_t dwId, uint32_t dwDeviceType)
 Get handle to device, for each device the handle is only assigned once.
 
TpDeviceHandle_t LstOpenOscilloscope (uint32_t dwIdKind, uint32_t dwId)
 Get handle to oscilloscope, for each oscilloscope the handle is only assigned once.
 
TpDeviceHandle_t LstOpenGenerator (uint32_t dwIdKind, uint32_t dwId)
 Get handle to generator, for each generator the handle is only assigned once.
 
TpDeviceHandle_t LstOpenI2CHost (uint32_t dwIdKind, uint32_t dwId)
 Get handle to I2C host, for each I2C host the handle is only assigned once.
 
void LstRemoveDevice (uint32_t dwSerialNumber)
 Remove a instrument from the device list so it can be used by other applications.
 
void LstUpdate (uint32_t dwDeviceIdMask)
 Search for new instruments.
 
void LstSetCallbackDeviceAdded (TpCallback_t pCallback, void *pData)
 Set callback function which is called when a device is added to the list.
 
void LstSetCallbackDeviceRemoved (TpCallback_t pCallback, void *pData)
 Set callback function which is called when a device is removed from the list.
 
void LstSetEventDeviceAdded (HANDLE hEvent)
 Set event object handle which is set when a device is added to the list.
 
void LstSetEventDeviceRemoved (HANDLE hEvent)
 Set event object handle which is set when a device is removed from the list.
 
void LstSetMessageDeviceAdded (HWND hWnd)
 Set window handle to which is send a WM_LIBTIEPIE_LST_DEVICEADDED message when a device is added to the list.
 
void LstSetMessageDeviceRemoved (HWND hWnd)
 Set window handle to which is send a WM_LIBTIEPIE_LST_DEVICEREMOVED message when a device is removed from the list.
 
void DevClose (TpDeviceHandle_t hDevice)
 Close a device handle.
 
bool8_t DevIsRemoved (TpDeviceHandle_t hDevice)
 Check whether an instrument is removed.
 
TpVersion_t DevGetDriverVersion (TpDeviceHandle_t hDevice)
 Get version number of the driver.
 
TpVersion_t DevGetFirmwareVersion (TpDeviceHandle_t hDevice)
 Get version number of the firmware.
 
TpDate_t DevGetCalibrationDate (TpDeviceHandle_t hDevice)
 Get the calibration date of the instrument.
 
uint32_t DevGetSerialNumber (TpDeviceHandle_t hDevice)
 Get the instruments serial number.
 
uint32_t DevGetProductId (TpDeviceHandle_t hDevice)
 Get the instruments product id.
 
uint32_t DevGetVendorId (TpDeviceHandle_t hDevice)
 Get the instruments vendor id.
 
uint32_t DevGetType (TpDeviceHandle_t hDevice)
 Get device type.
 
uint32_t DevGetName (TpDeviceHandle_t hDevice, char *pBuffer, uint32_t dwBufferLength)
 Get the instruments name.
 
uint32_t DevGetNameShort (TpDeviceHandle_t hDevice, char *pBuffer, uint32_t dwBufferLength)
 Get the instruments short name.
 
void DevSetCallbackRemoved (TpDeviceHandle_t hDevice, TpCallback_t pCallback, void *pData)
 Set callback function which is called when the instrument is removed.
 
void DevSetEventRemoved (TpDeviceHandle_t hDevice, HANDLE hEvent)
 Set event handle which is set when the instrument is removed.
 
void DevSetMessageRemoved (TpDeviceHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
 Set window handle to which is send a WM_LIBTIEPIE_DEV_REMOVED message when the instrument is removed.
 
uint16_t ScpGetChannelCount (TpDeviceHandle_t hDevice)
 Get number of channels.
 
uint32_t ScpGetSharedChannelGroupCount (TpDeviceHandle_t hDevice)
 Get number of shared channel groups.
 
uint32_t ScpGetSharedChannelGroup (TpDeviceHandle_t hDevice, uint32_t dwGroupIndex, uint16_t *pChannelNumbers, uint32_t dwLength)
 Get channel number list for channel group.
 
bool8_t ScpChGetAutoRanging (TpDeviceHandle_t hDevice, uint16_t wCh)
 Check whether auto ranging is enabled.
 
bool8_t ScpChSetAutoRanging (TpDeviceHandle_t hDevice, uint16_t wCh, bool8_t bEnable)
 Set auto ranging.
 
uint32_t ScpChGetConnectorType (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get channel connector type.
 
uint64_t ScpChGetCouplings (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get supported couplings.
 
uint64_t ScpChGetCoupling (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get coupling.
 
uint64_t ScpChSetCoupling (TpDeviceHandle_t hDevice, uint16_t wCh, uint64_t qwCoupling)
 Set coupling.
 
bool8_t ScpChGetEnabled (TpDeviceHandle_t hDevice, uint16_t wCh)
 Check whether channel is enabled.
 
bool8_t ScpChSetEnabled (TpDeviceHandle_t hDevice, uint16_t wCh, bool8_t bEnable)
 Set channel enable.
 
bool8_t ScpChIsDifferential (TpDeviceHandle_t hDevice, uint16_t wCh)
 Check whether the channel has a differential input.
 
double ScpChGetProbeGain (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get channel probe gain.
 
double ScpChSetProbeGain (TpDeviceHandle_t hDevice, uint16_t wCh, double dProbeGain)
 Set channel probe gain.
 
uint32_t ScpChGetRanges (TpDeviceHandle_t hDevice, uint16_t wCh, double *pList, uint32_t dwLength)
 Get supported ranges for current coupling.
 
uint32_t ScpChGetRangesEx (TpDeviceHandle_t hDevice, uint16_t wCh, uint64_t qwCoupling, double *pList, uint32_t dwLength)
 Get supported ranges by coupling.
 
double ScpChGetRange (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get range.
 
double ScpChSetRange (TpDeviceHandle_t hDevice, uint16_t wCh, double dRange)
 Set range.
 
uint64_t ScpGetData (TpDeviceHandle_t hDevice, float **pBuffers, uint16_t wChannelCount, uint64_t qwStartIndex, uint64_t qwSampleCount)
 Get measurement data.
 
uint64_t ScpGetData1Ch (TpDeviceHandle_t hDevice, float *pBufferCh1, uint64_t qwStartIndex, uint64_t qwSampleCount)
 Get measurement data.
 
uint64_t ScpGetData2Ch (TpDeviceHandle_t hDevice, float *pBufferCh1, float *pBufferCh2, uint64_t qwStartIndex, uint64_t qwSampleCount)
 Get measurement data.
 
uint64_t ScpGetData3Ch (TpDeviceHandle_t hDevice, float *pBufferCh1, float *pBufferCh2, float *pBufferCh3, uint64_t qwStartIndex, uint64_t qwSampleCount)
 Get measurement data.
 
uint64_t ScpGetData4Ch (TpDeviceHandle_t hDevice, float *pBufferCh1, float *pBufferCh2, float *pBufferCh3, float *pBufferCh4, uint64_t qwStartIndex, uint64_t qwSampleCount)
 Get measurement data.
 
uint64_t ScpGetDataRaw (TpDeviceHandle_t hDevice, void **pBuffers, uint16_t wChannelCount, uint64_t qwStartIndex, uint64_t qwSampleCount)
 Get raw measurement data.
 
uint64_t ScpGetDataRaw1Ch (TpDeviceHandle_t hDevice, void *pBufferCh1, uint64_t qwStartIndex, uint64_t qwSampleCount)
 Get raw measurement data.
 
uint64_t ScpGetDataRaw2Ch (TpDeviceHandle_t hDevice, void *pBufferCh1, void *pBufferCh2, uint64_t qwStartIndex, uint64_t qwSampleCount)
 Get raw measurement data.
 
uint64_t ScpGetDataRaw3Ch (TpDeviceHandle_t hDevice, void *pBufferCh1, void *pBufferCh2, void *pBufferCh3, uint64_t qwStartIndex, uint64_t qwSampleCount)
 Get raw measurement data.
 
uint64_t ScpGetDataRaw4Ch (TpDeviceHandle_t hDevice, void *pBufferCh1, void *pBufferCh2, void *pBufferCh3, void *pBufferCh4, uint64_t qwStartIndex, uint64_t qwSampleCount)
 Get raw measurement data.
 
bool8_t ScpChIsRangeMaxReachable (TpDeviceHandle_t hDevice, uint16_t wCh)
 Check whether the ranges maximum is reachable.
 
uint32_t ScpChGetDataRawType (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get raw data type.
 
uint64_t ScpGetValidPreSampleCount (TpDeviceHandle_t hDevice)
 Get number of valid pre samples.
 
void ScpChGetDataValueRange (TpDeviceHandle_t hDevice, uint16_t wCh, double *pMin, double *pMax)
 Get possible minimum and maximum value for current data.
 
double ScpChGetDataValueMax (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get possible maximum value for current data.
 
double ScpChGetDataValueMin (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get possible minimum value for current data.
 
void ScpChGetDataRawValueRange (TpDeviceHandle_t hDevice, uint16_t wCh, int64_t *pMin, int64_t *pZero, int64_t *pMax)
 Get possible raw data minimum, equal to zero and maximum values.
 
int64_t ScpChGetDataRawValueMax (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get possible raw data maximum value.
 
int64_t ScpChGetDataRawValueZero (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get raw data value which equals zero.
 
int64_t ScpChGetDataRawValueMin (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get possible raw data minimum value.
 
void ScpSetCallbackDataReady (TpDeviceHandle_t hDevice, TpCallback_t pCallback, void *pData)
 Set callback function which is called when the instrument has data ready.
 
void ScpSetCallbackDataOverflow (TpDeviceHandle_t hDevice, TpCallback_t pCallback, void *pData)
 Set callback function which is called when the instrument has a data overflow.
 
void ScpSetCallbackConnectionTestCompleted (TpDeviceHandle_t hDevice, TpCallback_t pCallback, void *pData)
 Set callback function which is called when the connection test is completed.
 
void ScpSetEventDataReady (TpDeviceHandle_t hDevice, HANDLE hEvent)
 
void ScpSetEventDataOverflow (TpDeviceHandle_t hDevice, HANDLE hEvent)
 
void ScpSetEventConnectionTestCompleted (TpDeviceHandle_t hDevice, HANDLE hEvent)
 
void ScpSetMessageDataReady (TpDeviceHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
 Set window handle to which is send a WM_LIBTIEPIE_SCP_DATAREADY message when the instrument has data ready.
 
void ScpSetMessageDataOverflow (TpDeviceHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
 Set window handle to which is send a WM_LIBTIEPIE_SCP_DATAOVERFLOW message when a data overflow has occurred.
 
void ScpSetMessageConnectionTestCompleted (TpDeviceHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
 Set window handle to which is send a WM_LIBTIEPIE_SCP_CONNECTIONTESTCOMPLETED message when the connection test is completed.
 
bool8_t ScpStart (TpDeviceHandle_t hDevice)
 Start measuring.
 
void ScpStop (TpDeviceHandle_t hDevice)
 Stop measuring.
 
void ScpForceTrigger (TpDeviceHandle_t hDevice)
 Force a trigger.
 
bool8_t ScpIsDataReady (TpDeviceHandle_t hDevice)
 Check whether data is ready.
 
bool8_t ScpIsDataOverflow (TpDeviceHandle_t hDevice)
 Check whether a data overflow has occurred.
 
bool8_t ScpIsRunning (TpDeviceHandle_t hDevice)
 Check whether instrument is measuring.
 
bool8_t ScpIsTriggered (TpDeviceHandle_t hDevice)
 Check is instrument has triggered.
 
uint32_t ScpGetMeasureModes (TpDeviceHandle_t hDevice)
 Get supported measure modes.
 
uint32_t ScpGetMeasureMode (TpDeviceHandle_t hDevice)
 Get measure mode.
 
uint32_t ScpSetMeasureMode (TpDeviceHandle_t hDevice, uint32_t dwMeasureMode)
 Set measure mode.
 
uint32_t ScpGetResolutions (TpDeviceHandle_t hDevice, uint8_t *pList, uint32_t dwLength)
 Get array with supported resolutions.
 
uint8_t ScpGetResolution (TpDeviceHandle_t hDevice)
 Get resolution.
 
uint8_t ScpSetResolution (TpDeviceHandle_t hDevice, uint8_t byResolution)
 Set resolution.
 
bool8_t ScpIsResolutionEnhanced (TpDeviceHandle_t hDevice)
 Check whether current resolution is enhanced.
 
bool8_t ScpIsResolutionEnhancedEx (TpDeviceHandle_t hDevice, uint8_t byResolution)
 Check whether resolution is enhanced.
 
uint32_t ScpGetClockSources (TpDeviceHandle_t hDevice)
 Get supported clock sources.
 
uint32_t ScpGetClockSource (TpDeviceHandle_t hDevice)
 Get clock source.
 
uint32_t ScpSetClockSource (TpDeviceHandle_t hDevice, uint32_t dwClockSource)
 Set clock source.
 
uint32_t ScpGetClockOutputs (TpDeviceHandle_t hDevice)
 Get supported clock outputs.
 
uint32_t ScpGetClockOutput (TpDeviceHandle_t hDevice)
 Get clock output.
 
uint32_t ScpSetClockOutput (TpDeviceHandle_t hDevice, uint32_t dwClockOutput)
 Set clock output.
 
double ScpGetPreSampleRatio (TpDeviceHandle_t hDevice)
 Get pre sample ratio.
 
double ScpSetPreSampleRatio (TpDeviceHandle_t hDevice, double dPreSampleRatio)
 Set pre sample ratio.
 
uint64_t ScpGetTriggerHoldOffCountMax (TpDeviceHandle_t hDevice)
 Get maximum trigger hold off count in samples.
 
uint64_t ScpGetTriggerHoldOffCountMaxEx (TpDeviceHandle_t hDevice, uint32_t dwMeasureMode)
 Get maximum trigger hold off count in samples by measure mode.
 
uint64_t ScpGetTriggerHoldOffCount (TpDeviceHandle_t hDevice)
 Get trigger hold off count in samples.
 
uint64_t ScpSetTriggerHoldOffCount (TpDeviceHandle_t hDevice, uint64_t qwTriggerHoldOffCount)
 Set trigger hold off count in samples.
 
uint64_t ScpGetRecordLengthMax (TpDeviceHandle_t hDevice)
 Get maximum record length.
 
uint64_t ScpGetRecordLengthMaxEx (TpDeviceHandle_t hDevice, uint32_t dwMeasureMode, uint8_t byResolution)
 Get maximum record length by measure mode.
 
uint64_t ScpGetRecordLength (TpDeviceHandle_t hDevice)
 Get record length.
 
uint64_t ScpSetRecordLength (TpDeviceHandle_t hDevice, uint64_t qwRecordLength)
 Set record length.
 
uint64_t ScpVerifyRecordLength (TpDeviceHandle_t hDevice, uint64_t qwRecordLength)
 Verify record length.
 
uint64_t ScpVerifyRecordLengthEx (TpDeviceHandle_t hDevice, uint64_t qwRecordLength, uint32_t dwMeasureMode, uint8_t byResolution, uint64_t qwActiveChannelMask)
 Verify record length by measure mode, resolution and active channels.
 
double ScpGetSampleFrequencyMax (TpDeviceHandle_t hDevice)
 Get instruments maximum sample frequency.
 
double ScpGetSampleFrequency (TpDeviceHandle_t hDevice)
 Get sample frequency.
 
double ScpSetSampleFrequency (TpDeviceHandle_t hDevice, double dSampleFrequency)
 Set sample frequency.
 
double ScpVerifySampleFrequency (TpDeviceHandle_t hDevice, double dSampleFrequency)
 Verify sample frequency.
 
double ScpVerifySampleFrequencyEx (TpDeviceHandle_t hDevice, double dSampleFrequency, uint32_t dwMeasureMode, uint8_t byResolution, uint64_t qwActiveChannelMask)
 Verify sample frequency.
 
double ScpGetTriggerTimeOut (TpDeviceHandle_t hDevice)
 Get trigger timeout in seconds.
 
double ScpSetTriggerTimeOut (TpDeviceHandle_t hDevice, double dTimeout)
 Set trigger timeout in seconds.
 
double ScpVerifyTriggerTimeOut (TpDeviceHandle_t hDevice, double dTimeout)
 Verify trigger timeout in seconds.
 
uint64_t ScpGetTriggerSources (TpDeviceHandle_t hDevice)
 Get supported trigger sources.
 
uint64_t ScpGetTriggerSourcesEx (TpDeviceHandle_t hDevice, uint32_t dwMeasureMode)
 Get supported trigger sources by measure mode.
 
uint64_t ScpGetTriggerSourceOR (TpDeviceHandle_t hDevice)
 Get trigger sources OR.
 
uint64_t ScpSetTriggerSourceOR (TpDeviceHandle_t hDevice, uint64_t qwTriggerSourceMask)
 Set trigger sources OR.
 
uint64_t ScpGetTriggerSourceAND (TpDeviceHandle_t hDevice)
 Set trigger sources AND.
 
uint64_t ScpSetTriggerSourceAND (TpDeviceHandle_t hDevice, uint64_t qwTriggerSourceMask)
 Get trigger sources AND.
 
uint64_t ScpGetTriggerKinds (TpDeviceHandle_t hDevice, uint64_t qwTriggerSourceMask)
 Get supported trigger kinds by source(s).
 
uint64_t ScpGetTriggerKindsEx (TpDeviceHandle_t hDevice, uint64_t qwTriggerSourceMask, uint32_t dwMeasureMode)
 Get supported trigger kinds by source(s) and measure mode.
 
uint64_t ScpGetTriggerKind (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource)
 Get trigger kind.
 
uint64_t ScpSetTriggerKind (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource, uint64_t qwTriggerKind)
 Set trigger kind.
 
double ScpGetTriggerLevel (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource, uint32_t dwIndex)
 Get trigger level.
 
double ScpSetTriggerLevel (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource, uint32_t dwIndex, double dLevel)
 Set trigger level.
 
double ScpGetTriggerHysteresis (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource, uint32_t dwIndex)
 Get trigger hysteresis.
 
double ScpSetTriggerHysteresis (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource, uint32_t dwIndex, double dHysteresis)
 Set trigger hysteresis.
 
uint64_t ScpChGetTriggerKinds (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get supported channel trigger kinds.
 
uint64_t ScpChGetTriggerKindsEx (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwMeasureMode)
 Get supported channel trigger kinds by measure mode.
 
uint64_t ScpChGetTriggerKind (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get channel trigger kind.
 
uint64_t ScpChSetTriggerKind (TpDeviceHandle_t hDevice, uint16_t wCh, uint64_t qwTriggerKind)
 Set channel trigger kind.
 
double ScpChGetTriggerLevel (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwIndex)
 Get channel trigger level.
 
double ScpChSetTriggerLevel (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwIndex, double dLevel)
 Set channel trigger level.
 
double ScpChGetTriggerHysteresis (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwIndex)
 Get channel trigger hysteresis.
 
double ScpChSetTriggerHysteresis (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwIndex, double dHysteresis)
 Set channel trigger hysteresis.
 
double ScpChGetTriggerPulseTime (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get channel trigger pulse time.
 
double ScpChSetTriggerPulseTime (TpDeviceHandle_t hDevice, uint16_t wCh, double dPulseTime)
 Set channel trigger pulse time.
 
bool8_t ScpHasConnectionTest (TpDeviceHandle_t hDevice)
 Check whether the instrument supports connection testing.
 
bool8_t ScpChHasConnectionTest (TpDeviceHandle_t hDevice, uint16_t wCh)
 Check whether this channel supports connection testing.
 
bool8_t ScpStartConnectionTest (TpDeviceHandle_t hDevice, uint64_t qwChannelMask)
 Perform a connection test.
 
bool8_t ScpIsConnectionTestCompleted (TpDeviceHandle_t hDevice)
 Check whether the connection test is completed.
 
uint16_t ScpGetConnectionTestData (TpDeviceHandle_t hDevice, LibTiePieTriState_t *pBuffer, uint16_t wChannelCount)
 Get the connection test result data.
 
uint32_t GenGetConnectorType (TpDeviceHandle_t hDevice)
 Get output connector type.
 
bool8_t GenIsDifferential (TpDeviceHandle_t hDevice)
 Check whether the output is differential.
 
double GenGetImpedance (TpDeviceHandle_t hDevice)
 Get output impedance.
 
bool8_t GenIsControllable (TpDeviceHandle_t hDevice)
 Check whether the generator can be controlled.
 
bool8_t GenGetOutputOn (TpDeviceHandle_t hDevice)
 Check whether generator output is on.
 
bool8_t GenSetOutputOn (TpDeviceHandle_t hDevice, bool8_t bOutputOn)
 Enable or disable generator output.
 
void GenStart (TpDeviceHandle_t hDevice)
 Start generator.
 
void GenStop (TpDeviceHandle_t hDevice)
 Stop generator.
 
bool8_t GenIsBurstActive (TpDeviceHandle_t hDevice)
 Check whether burst is active.
 
uint64_t GenGetBurstCount (TpDeviceHandle_t hDevice)
 Get burst count.
 
uint64_t GenGetBurstCountMax (TpDeviceHandle_t hDevice)
 Get maximum burst count.
 
uint64_t GenSetBurstCount (TpDeviceHandle_t hDevice, uint64_t qwBurstCount)
 Set burst count.
 
uint32_t GenGetModes (TpDeviceHandle_t hDevice)
 Get supported generator modes.
 
uint32_t GenGetModesEx (TpDeviceHandle_t hDevice, uint32_t dwSignalType)
 Get supported generator modes by signal type.
 
uint32_t GenGetMode (TpDeviceHandle_t hDevice)
 Get generator mode.
 
uint32_t GenSetMode (TpDeviceHandle_t hDevice, uint32_t dwMode)
 Set generator mode.
 
uint32_t GenGetSignalTypes (TpDeviceHandle_t hDevice)
 Get supported signal types.
 
uint32_t GenGetSignalType (TpDeviceHandle_t hDevice)
 Get signal type.
 
uint32_t GenSetSignalType (TpDeviceHandle_t hDevice, uint32_t dwSignalType)
 Set signal type.
 
double GenGetAmplitudeMax (TpDeviceHandle_t hDevice)
 Get maximum signal amplitude.
 
double GenGetAmplitudeMin (TpDeviceHandle_t hDevice)
 Get minimum signal amplitude.
 
double GenGetAmplitude (TpDeviceHandle_t hDevice)
 Get signal amplitude.
 
double GenSetAmplitude (TpDeviceHandle_t hDevice, double dAmplitude)
 Set signal amplitude.
 
double GenVerifyAmplitude (TpDeviceHandle_t hDevice, double dAmplitude)
 Verify signal amplitude.
 
void GenGetFrequencyMinMax (TpDeviceHandle_t hDevice, uint32_t dwMode, double *pMin, double *pMax)
 Get minimum and maximum signal/sample frequency by mode.
 
double GenGetFrequencyMin (TpDeviceHandle_t hDevice)
 Get minimum signal/sample frequency.
 
double GenGetFrequencyMax (TpDeviceHandle_t hDevice)
 Get maximum signal/sample frequency.
 
double GenGetFrequency (TpDeviceHandle_t hDevice)
 Get signal/sample frequency.
 
double GenSetFrequency (TpDeviceHandle_t hDevice, double dFrequency)
 Set signal/sample frequency.
 
double GenVerifyFrequency (TpDeviceHandle_t hDevice, double dFrequency)
 Verify signal/sample frequency.
 
double GenVerifyFrequencyEx (TpDeviceHandle_t hDevice, double dFrequency, uint32_t dwMode)
 Verify signal/sample frequency by mode.
 
double GenGetOffsetMin (TpDeviceHandle_t hDevice)
 Get minimum signal offset.
 
double GenGetOffsetMax (TpDeviceHandle_t hDevice)
 Get maximum signal offset.
 
double GenGetOffset (TpDeviceHandle_t hDevice)
 Get signal offset.
 
double GenSetOffset (TpDeviceHandle_t hDevice, double dOffset)
 Set signal offset.
 
double GenVerifyOffset (TpDeviceHandle_t hDevice, double dOffset)
 Verify signal offset.
 
double GenGetPhase (TpDeviceHandle_t hDevice)
 Get signal phase.
 
double GenSetPhase (TpDeviceHandle_t hDevice, double dPhase)
 Set signal phase.
 
double GenVerifyPhase (TpDeviceHandle_t hDevice, double dPhase)
 Verify signal phase.
 
double GenGetSymmetry (TpDeviceHandle_t hDevice)
 Get signal symmetry.
 
double GenSetSymmetry (TpDeviceHandle_t hDevice, double dSymmetry)
 Set signal symmetry.
 
double GenVerifySymmetry (TpDeviceHandle_t hDevice, double dSymmetry)
 Verify signal symmetry.
 
void GenSetCallbackBurstCompleted (TpDeviceHandle_t hDevice, TpCallback_t pCallback, void *pData)
 Set callback function which is called when the generator burst is completed.
 
void GenSetCallbackControllableChanged (TpDeviceHandle_t hDevice, TpCallback_t pCallback, void *pData)
 Set callback function which is called when the generator controlable property changes.
 
void GenSetEventBurstCompleted (TpDeviceHandle_t hDevice, HANDLE hEvent)
 Set event object handle which is set when the generator burst is completed.
 
void GenSetEventControllableChanged (TpDeviceHandle_t hDevice, HANDLE hEvent)
 Set event object handle which is set when the generator controllable property changes.
 
void GenSetMessageBurstCompleted (TpDeviceHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
 Set window handle to which is send a WM_LIBTIEPIE_GEN_BURSTCOMPLETED message when the generator burst is completed.
 
void GenSetMessageControllableChanged (TpDeviceHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
 Set window handle to which is send a WM_LIBTIEPIE_GEN_CONTROLLABLECHANGED message when the generator controlable property changes.
 
bool8_t GenGetAutoRanging (TpDeviceHandle_t hDevice)
 Get auto ranging.
 
bool8_t GenSetAutoRanging (TpDeviceHandle_t hDevice, bool8_t bEnable)
 Set auto ranging.
 
uint32_t GenGetRanges (TpDeviceHandle_t hDevice, double *pList, uint32_t dwLength)
 Get supported ranges.
 
double GenGetRange (TpDeviceHandle_t hDevice)
 Get range.
 
double GenSetRange (TpDeviceHandle_t hDevice, double dRange)
 Set range.
 
uint64_t GenGetTriggerSources (TpDeviceHandle_t hDevice)
 Get supported trigger sources.
 
uint64_t GenGetTriggerSourceAND (TpDeviceHandle_t hDevice)
 Get trigger sources AND.
 
uint64_t GenSetTriggerSourceAND (TpDeviceHandle_t hDevice, uint64_t qwTriggerSourceMask)
 Set trigger sources AND.
 
uint64_t GenGetTriggerSourceOR (TpDeviceHandle_t hDevice)
 Get trigger sources OR.
 
uint64_t GenSetTriggerSourceOR (TpDeviceHandle_t hDevice, uint64_t qwTriggerSourceMask)
 Set trigger sources OR.
 
uint64_t GenGetDataLengthMax (TpDeviceHandle_t hDevice)
 Get maximum size of arbitrary sample buffer.
 
uint64_t GenGetDataLength (TpDeviceHandle_t hDevice)
 Get size of arbitrary sample buffer.
 
uint64_t GenVerifyDataLength (TpDeviceHandle_t hDevice, uint64_t qwDataLength)
 Verify size of arbitrary sample buffer.
 
uint32_t GenGetDataRawType (TpDeviceHandle_t hDevice)
 Get arbitrary raw data type.
 
void GenSetData (TpDeviceHandle_t hDevice, float *pBuffer, uint64_t qwSampleCount)
 Load arbitrary data into memory.
 
void GenSetDataRaw (TpDeviceHandle_t hDevice, void *pBuffer, uint64_t qwSampleCount)
 Load arbitrary data into memory.
 
bool8_t I2CRead (TpDeviceHandle_t hDevice, uint16_t wAddress, void *pBuffer, uint32_t dwSize, bool8_t bStop)
 Read data from the I2C bus.
 
bool8_t I2CReadByte (TpDeviceHandle_t hDevice, uint16_t wAddress, uint8_t *pValue)
 Read one byte from the I2C bus.
 
bool8_t I2CReadWord (TpDeviceHandle_t hDevice, uint16_t wAddress, uint16_t *pValue)
 Read one word from the I2C bus.
 
bool8_t I2CWrite (TpDeviceHandle_t hDevice, uint16_t wAddress, void *pBuffer, uint32_t dwSize, bool8_t bStop)
 Write data to the I2C bus.
 
bool8_t I2CWriteByte (TpDeviceHandle_t hDevice, uint16_t wAddress, uint8_t byValue)
 Write one byte to the I2C bus.
 
bool8_t I2CWriteByteByte (TpDeviceHandle_t hDevice, uint16_t wAddress, uint8_t byValue1, uint8_t byValue2)
 Write two bytes to the I2C bus.
 
bool8_t I2CWriteByteWord (TpDeviceHandle_t hDevice, uint16_t wAddress, uint8_t byValue1, uint16_t wValue2)
 Write one byte and one word to the I2C bus.
 
bool8_t I2CWriteWord (TpDeviceHandle_t hDevice, uint16_t wAddress, uint16_t wValue)
 Write one word to the I2C bus.
 
double I2CGetSpeed (TpDeviceHandle_t hDevice)
 Get the current I2C bus frequency.
 
double I2CGetSpeedMax (TpDeviceHandle_t hDevice)
 Get the maximum I2C bus frequency.
 
double I2CSetSpeed (TpDeviceHandle_t hDevice, double dSpeed)
 Set the I2C bus frequency.
 
double I2CVerifySpeed (TpDeviceHandle_t hDevice, double dSpeed)
 Verify the I2C bus frequency.
 
bool8_t I2CIsInternalAddress (TpDeviceHandle_t hDevice, uint16_t wAddress)
 Check whether an address is used internally.
 

Detailed Description

Header for libtiepie.

Definition in file libtiepie.h.