LibTiePie  0.9.12
Library for interfacing TiePie engineering instruments

Description

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 (LibTiePieHandle_t hDevice, uint16_t wOutput)
 Check whether a trigger output is enabled. More...
 
bool8_t DevTrOutSetEnabled (LibTiePieHandle_t hDevice, uint16_t wOutput, bool8_t bEnable)
 Set trigger output enable. More...
 

Function Documentation

bool8_t DevTrOutGetEnabled ( LibTiePieHandle_t  hDevice,
uint16_t  wOutput 
)

Check whether a trigger output is enabled.

Parameters
[in]hDeviceA device handle identifying the device.
[in]wOutputThe trigger output index identifying the trigger output, 0 to DevTrOutGetCount() - 1.
Returns
BOOL8_TRUE if enabled, BOOL8_FALSE otherwise.
Status values
INVALID_OUTPUT The requested trigger output is invalid.
NOT_SUPPORTED The device has no trigger outputs.
INVALID_HANDLE The handle to the device is invalid.
OBJECT_GONE The object indicated by the handle is no longer available.
LIBRARY_NOT_INITIALIZEDThe library is not initialized, see LibInit().
SUCCESS The function executed successfully.
See also
DevTrOutSetEnabled
Since
0.4.1
bool8_t DevTrOutSetEnabled ( LibTiePieHandle_t  hDevice,
uint16_t  wOutput,
bool8_t  bEnable 
)

Set trigger output enable.

Parameters
[in]hDeviceA device handle identifying the device.
[in]wOutputThe trigger output index identifying the trigger output, 0 to DevTrOutGetCount() - 1.
[in]bEnableBOOL8_TRUE or BOOL8_FALSE.
Returns
BOOL8_TRUE if enabled, BOOL8_FALSE otherwise.
Status values
INVALID_OUTPUT The requested trigger output is invalid.
NOT_SUPPORTED The device has no trigger outputs.
INVALID_HANDLE The handle to the device is invalid.
OBJECT_GONE The object indicated by the handle is no longer available.
LIBRARY_NOT_INITIALIZEDThe library is not initialized, see LibInit().
SUCCESS The function executed successfully.
See also
DevTrOutGetEnabled
Since
0.4.1