libtiepie
|
Modules | |
Events |
Functions | |
void | DevClose (TpDeviceHandle_t hDevice) |
bool8_t | DevIsRemoved (TpDeviceHandle_t hDevice) |
TpVersion_t | DevGetDriverVersion (TpDeviceHandle_t hDevice) |
TpVersion_t | DevGetFirmwareVersion (TpDeviceHandle_t hDevice) |
TpDate_t | DevGetCalibrationDate (TpDeviceHandle_t hDevice) |
uint32_t | DevGetSerialNumber (TpDeviceHandle_t hDevice) |
uint32_t | DevGetProductId (TpDeviceHandle_t hDevice) |
uint32_t | DevGetVendorId (TpDeviceHandle_t hDevice) |
uint32_t | DevGetName (TpDeviceHandle_t hDevice, char *pBuffer, uint32_t dwBufferLength) |
uint32_t | DevGetNameShort (TpDeviceHandle_t hDevice, char *pBuffer, uint32_t dwBufferLength) |
void DevClose | ( | TpDeviceHandle_t | hDevice | ) |
Close a device handle.
hDevice | the handle to close |
TpDate_t DevGetCalibrationDate | ( | TpDeviceHandle_t | hDevice | ) |
Get the calibration date of the instrument.
Example:
hDevice | a device handle |
TpVersion_t DevGetDriverVersion | ( | TpDeviceHandle_t | hDevice | ) |
Get version number of the driver.
Example:
hDevice | a device handle |
TpVersion_t DevGetFirmwareVersion | ( | TpDeviceHandle_t | hDevice | ) |
Get version number of the firmware.
Example:
hDevice | a device handle |
uint32_t DevGetName | ( | TpDeviceHandle_t | hDevice, |
char * | pBuffer, | ||
uint32_t | dwBufferLength | ||
) |
Get the instruments name.
Example:
hDevice | a device handle |
pBuffer | pointer to buffer to write to |
dwBufferLength | length of the buffer |
uint32_t DevGetNameShort | ( | TpDeviceHandle_t | hDevice, |
char * | pBuffer, | ||
uint32_t | dwBufferLength | ||
) |
Get the instruments short name.
Example:
hDevice | a device handle |
pBuffer | pointer to buffer to write to |
dwBufferLength | length of the buffer |
uint32_t DevGetProductId | ( | TpDeviceHandle_t | hDevice | ) |
Get the instruments Product ID.
hDevice | a device handle |
uint32_t DevGetSerialNumber | ( | TpDeviceHandle_t | hDevice | ) |
Get the instruments serial number.
hDevice | a device handle |
uint32_t DevGetVendorId | ( | TpDeviceHandle_t | hDevice | ) |
Get the instruments Vendor ID.
hDevice | a device handle |
bool8_t DevIsRemoved | ( | TpDeviceHandle_t | hDevice | ) |
Check whether an instrument is removed.
hDevice | a device handle |
1
if removed else 0