LibTiePie
0.4.0
Library for interfacing TiePie engineering instruments
|
Modules | |
Events | |
Functions | |
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 DevClose | ( | TpDeviceHandle_t | hDevice | ) |
Close a device handle.
hDevice | The device 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 | ) |
uint32_t DevGetSerialNumber | ( | TpDeviceHandle_t | hDevice | ) |
Get the instruments serial number.
hDevice | A device handle. |
uint32_t DevGetType | ( | TpDeviceHandle_t | hDevice | ) |
uint32_t DevGetVendorId | ( | TpDeviceHandle_t | hDevice | ) |
bool8_t DevIsRemoved | ( | TpDeviceHandle_t | hDevice | ) |
Check whether an instrument is removed.
hDevice | A device handle. |