LibTiePie
0.9.16
Library for interfacing TiePie engineering instruments
|
Functions for controlling the signal type of a generator.
The generator supports several standard signal types. Use GenGetSignalTypes() to find the supported signal types.
By default signal type is set to: Sine (ST_SINE).
Functions | |
uint32_t | GenGetSignalTypes (LibTiePieHandle_t hDevice) |
Get the supported signal types of a specified generator. More... | |
uint32_t | GenGetSignalType (LibTiePieHandle_t hDevice) |
Get the currently selected signal type of a specified generator. More... | |
uint32_t | GenSetSignalType (LibTiePieHandle_t hDevice, uint32_t dwSignalType) |
Set the signal type of a specified generator. More... | |
uint32_t GenGetSignalTypes | ( | LibTiePieHandle_t | hDevice | ) |
Get the supported signal types of a specified generator.
[in] | hDevice | A device handle identifying the generator. |
INVALID_HANDLE | The handle is not a valid generator handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
uint32_t GenGetSignalType | ( | LibTiePieHandle_t | hDevice | ) |
Get the currently selected signal type of a specified generator.
[in] | hDevice | A device handle identifying the generator. |
INVALID_HANDLE | The handle is not a valid generator handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
uint32_t GenSetSignalType | ( | LibTiePieHandle_t | hDevice, |
uint32_t | dwSignalType | ||
) |
Set the signal type of a specified generator.
[in] | hDevice | A device handle identifying the generator. |
[in] | dwSignalType | The requested signal type, a ST_* value. |
INVALID_VALUE | The requested signal type is invalid. |
NOT_CONTROLLABLE | The generator is currently not controllable, see GenIsControllable. |
INVALID_HANDLE | The handle is not a valid generator handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |