LibTiePie
0.5
Library for interfacing TiePie engineering instruments
|
A device can have one or more device trigger outputs, usually available as pins on an extension connector on the instrument. The trigger outputs are controlled by events that occur in the instrument.
Use the function DevTrGetOutputCount() to determine the amount of available device trigger outputs. To use a device trigger output, use the function DevTrOutSetEnabled() to enable it.
Modules | |
Enabled | |
The enabled state of a device trigger output determines whether an output is used. | |
Event | |
Select the event that controls the trigger output. | |
Info | |
Obtain information of a device trigger output. | |
Functions | |
uint16_t | DevTrGetOutputCount (TpDeviceHandle_t hDevice) |
Get the number of trigger outputs. More... | |
uint16_t | DevTrGetOutputIndexById (TpDeviceHandle_t hDevice, uint32_t dwId) |
Get the index of trigger output identified by its ID. More... | |
uint16_t DevTrGetOutputCount | ( | TpDeviceHandle_t | hDevice | ) |
Get the number of trigger outputs.
[in] | hDevice | A device handle identifying the device. |
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. |
uint16_t DevTrGetOutputIndexById | ( | TpDeviceHandle_t | hDevice, |
uint32_t | dwId | ||
) |
Get the index of trigger output identified by its ID.
[in] | hDevice | A device handle identifying the device. |
[in] | dwId | The trigger output ID, a TOID_* value, identifying the trigger output. |
NOT_SUPPORTED | The device has no trigger outputs. |
INVALID_VALUE | The requested ID is invalid. |
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. |