LibTiePie
0.5
Library for interfacing TiePie engineering instruments
|
Functions to control the trigger delay of an oscilloscope.
Trigger delay allows to start measuring a specified time after the trigger occurred. This allows to capture events that are more than one full record length past the trigger moment.
The trigger delay can be affected by changing the sample frequency.
Functions | |
bool8_t | ScpHasTriggerDelay (TpDeviceHandle_t hDevice) |
Check whether the oscilloscope has trigger delay support with the currently selected measure mode. More... | |
double | ScpGetTriggerDelayMax (TpDeviceHandle_t hDevice) |
Get the maximum trigger delay in seconds, for the currently selected measure mode and sample frequency. More... | |
double | ScpGetTriggerDelay (TpDeviceHandle_t hDevice) |
Get the currently selected trigger delay in seconds, for a specified oscilloscope. More... | |
double | ScpSetTriggerDelay (TpDeviceHandle_t hDevice, double dDelay) |
Set trigger delay in seconds, for a specified oscilloscope. More... | |
bool8_t ScpHasTriggerDelay | ( | TpDeviceHandle_t | hDevice | ) |
Check whether the oscilloscope has trigger delay support with the currently selected measure mode.
[in] | hDevice | A device handle identifying the oscilloscope. |
INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
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. |
double ScpGetTriggerDelayMax | ( | TpDeviceHandle_t | hDevice | ) |
Get the maximum trigger delay in seconds, for the currently selected measure mode and sample frequency.
[in] | hDevice | A device handle identifying the oscilloscope. |
INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
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. |
double ScpGetTriggerDelay | ( | TpDeviceHandle_t | hDevice | ) |
Get the currently selected trigger delay in seconds, for a specified oscilloscope.
[in] | hDevice | A device handle identifying the oscilloscope. |
NOT_SUPPORTED | The oscilloscope does not support trigger. |
INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
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. |
double ScpSetTriggerDelay | ( | TpDeviceHandle_t | hDevice, |
double | dDelay | ||
) |
Set trigger delay in seconds, for a specified oscilloscope.
[in] | hDevice | A device handle identifying the oscilloscope. |
[in] | dDelay | The required trigger delay in seconds. |
VALUE_MODIFIED | The requested trigger delay is within the valid range but not available. The closest valid value is set. |
INVALID_VALUE | The requested value is not valid. |
NOT_SUPPORTED | The oscilloscope does not support trigger. |
INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
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. |