LibTiePie
0.4.3
Library for interfacing TiePie engineering instruments
|
The Time property determines how long a specific condition must last for the channel trigger to respond. More...
Functions | |
uint32_t | ScpChTrGetTimeCount (TpDeviceHandle_t hDevice, uint16_t wCh) |
Get the number of trigger times for the current trigger kind and trigger condition. | |
double | ScpChTrGetTime (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwIndex) |
Get the current trigger time value for a specified channel and trigger type. | |
double | ScpChTrSetTime (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwIndex, double dTime) |
Set the required trigger time value for a specified channel and trigger type. | |
The Time property determines how long a specific condition must last for the channel trigger to respond.
The number of time properties depends on the currently selected trigger kind and currently selected trigger condition. Use ScpChTrGetTimeCount to determine the number of trigger time properties for the currently set trigger kind and condition.
The trigger time is set as a value in seconds. By default time[0] is set to 1 ms.
uint32_t ScpChTrGetTimeCount | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get the number of trigger times for the current trigger kind and trigger condition.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
double ScpChTrGetTime | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh, | ||
uint32_t | dwIndex | ||
) |
Get the current trigger time value for a specified channel and trigger type.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
dwIndex | Time index, 0 to ScpChTrGetTimeCount() - 1 . |
double ScpChTrSetTime | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh, | ||
uint32_t | dwIndex, | ||
double | dTime | ||
) |
Set the required trigger time value for a specified channel and trigger type.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
dwIndex | Time index, 0 to ScpChTrGetTimeCount() - 1 . |
dTime | The required trigger time value, in seconds. |