LibTiePie
0.4.5
Library for interfacing TiePie engineering instruments
|
Functions to retrieve information from the library itself.
The library has a version number and a configuration number that can be queried. These can be used when requesting support from TiePie engineering.
On each library function call a status flag is set, indicating how the function was executed. When a function call behaves different than expected, check the status for possible causes.
Functions | |
TpVersion_t | LibGetVersion (void) |
Get the library version number. More... | |
uint32_t | LibGetConfig (uint8_t *pBuffer, uint32_t dwBufferLength) |
Get the library configuration number. More... | |
LibTiePieStatus_t | LibGetLastStatus (void) |
Get the last status value. More... | |
const char * | LibGetLastStatusStr (void) |
Get the last status value as text. More... | |
TpVersion_t LibGetVersion | ( | void | ) |
Get the library version number.
SUCCESS | The function executed successfully. |
uint32_t LibGetConfig | ( | uint8_t * | pBuffer, |
uint32_t | dwBufferLength | ||
) |
Get the library configuration number.
pBuffer | A pointer to the buffer to write to. |
dwBufferLength | The length of the buffer, in bytes. |
SUCCESS | The function executed successfully. |
LibTiePieStatus_t LibGetLastStatus | ( | void | ) |
Get the last status value.
After each call to a library function, a status flag is set, indicating how the function was executed.
const char* LibGetLastStatusStr | ( | void | ) |
Get the last status value as text.
After each call to a library function, a status flag is set, indicating how the function was executed.