LibTiePie
0.9.0
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.
Trigger delay is not available for all instruments and only available in measure mode Block. Use ScpHasTriggerDelay() to check whether trigger delay is available for your instrument and in the currently set measure mode.
The trigger delay can be affected by changing the sample frequency.
Functions | |
bool8_t | ScpHasTriggerDelay (LibTiePieHandle_t hDevice) |
Check whether the oscilloscope has trigger delay support with the currently selected measure mode. More... | |
double | ScpGetTriggerDelayMax (LibTiePieHandle_t hDevice) |
Get the maximum trigger delay in seconds, for the currently selected measure mode and sample frequency. More... | |
double | ScpGetTriggerDelay (LibTiePieHandle_t hDevice) |
Get the currently selected trigger delay in seconds, for a specified oscilloscope. More... | |
double | ScpSetTriggerDelay (LibTiePieHandle_t hDevice, double dDelay) |
Set trigger delay in seconds, for a specified oscilloscope. More... | |
bool8_t ScpHasTriggerDelay | ( | LibTiePieHandle_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. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
double ScpGetTriggerDelayMax | ( | LibTiePieHandle_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. |
NOT_SUPPORTED | The oscilloscope does not support trigger delay. |
INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
double ScpGetTriggerDelay | ( | LibTiePieHandle_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 delay. |
INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
double ScpSetTriggerDelay | ( | LibTiePieHandle_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 invalid. |
NOT_SUPPORTED | The oscilloscope does not support trigger delay. |
INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |