LibTiePie
0.5
Library for interfacing TiePie engineering instruments
|
The enabled state of a device trigger output determines whether an output is used.
By default, all trigger outputs are disabled (BOOL8_FALSE).
Functions | |
bool8_t | DevTrOutGetEnabled (TpDeviceHandle_t hDevice, uint16_t wOutput) |
Check whether a trigger output is enabled. More... | |
bool8_t | DevTrOutSetEnabled (TpDeviceHandle_t hDevice, uint16_t wOutput, bool8_t bEnable) |
Set trigger output enable. More... | |
bool8_t DevTrOutGetEnabled | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wOutput | ||
) |
Check whether a trigger output is enabled.
[in] | hDevice | A device handle identifying the device. |
[in] | wOutput | The trigger output index identifying the trigger output, 0 to DevTrOutGetCount() - 1 . |
INVALID_OUTPUT | The requested trigger output is not valid. |
NOT_SUPPORTED | The device has no trigger outputs. |
INVALID_HANDLE | The handle to the device is invalid. |
DEVICE_GONE | The device indicated by the device handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
bool8_t DevTrOutSetEnabled | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wOutput, | ||
bool8_t | bEnable | ||
) |
Set trigger output enable.
[in] | hDevice | A device handle identifying the device. |
[in] | wOutput | The trigger output index identifying the trigger output, 0 to DevTrOutGetCount() - 1 . |
[in] | bEnable | BOOL8_TRUE or BOOL8_FALSE. |
INVALID_OUTPUT | The requested trigger output is not valid. |
NOT_SUPPORTED | The device has no trigger outputs. |
INVALID_HANDLE | The handle to the device is invalid. |
DEVICE_GONE | The device indicated by the device handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |