LibTiePie
0.9.16
Library for interfacing TiePie engineering instruments
|
Functions to control the trigger hold off of an oscilloscope.
Trigger hold off defines a period of time after starting a measurement in which the oscilloscope will not respond to triggers. It is used to get stable triggering on periodical signals that have multiple moments that would otherwise generate a trigger.
When pre samples are selected, trigger hold off can be used to ensure that all pre samples are measured before a trigger occurs. Set the trigger hold off to TH_ALLPRESAMPLES to measure all pre samples and have no invalid pre samples.
Trigger hold off is not available for all instruments and only available in measure mode Block. Use ScpHasTriggerHoldOff() to check whether trigger hold off is available for your instrument and in the currently set measure mode.
Trigger hold off is set in a number of samples. By default the trigger hold off is set to: 0 samples.
Functions | |
bool8_t | ScpHasTriggerHoldOff (LibTiePieHandle_t hDevice) |
Check whether the oscilloscope has trigger hold off support with the currently selected measure mode. More... | |
uint64_t | ScpGetTriggerHoldOffCountMax (LibTiePieHandle_t hDevice) |
Get the maximum trigger hold off count in samples, for a specified oscilloscope. More... | |
uint64_t | ScpGetTriggerHoldOffCount (LibTiePieHandle_t hDevice) |
Get the trigger hold off count in samples, for a specified oscilloscope. More... | |
uint64_t | ScpSetTriggerHoldOffCount (LibTiePieHandle_t hDevice, uint64_t qwTriggerHoldOffCount) |
Set the trigger hold off count in samples, for a specified oscilloscope. More... | |
bool8_t ScpHasTriggerHoldOff | ( | LibTiePieHandle_t | hDevice | ) |
Check whether the oscilloscope has trigger hold off 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. |
uint64_t ScpGetTriggerHoldOffCountMax | ( | LibTiePieHandle_t | hDevice | ) |
Get the maximum trigger hold off count in samples, for a specified oscilloscope.
[in] | hDevice | A device handle identifying the oscilloscope. |
NOT_SUPPORTED | The oscilloscope does not support trigger hold off. |
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. |
uint64_t ScpGetTriggerHoldOffCount | ( | LibTiePieHandle_t | hDevice | ) |
Get the trigger hold off count in samples, for a specified oscilloscope.
[in] | hDevice | A device handle identifying the oscilloscope. |
NOT_SUPPORTED | The oscilloscope does not support trigger hold off. |
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. |
uint64_t ScpSetTriggerHoldOffCount | ( | LibTiePieHandle_t | hDevice, |
uint64_t | qwTriggerHoldOffCount | ||
) |
Set the trigger hold off count in samples, for a specified oscilloscope.
[in] | hDevice | A device handle identifying the oscilloscope. |
[in] | qwTriggerHoldOffCount | The required trigger hold off count in samples. |
VALUE_CLIPPED | The requested trigger hold off count is outside the valid range and clipped to the closest limit. |
NOT_SUPPORTED | The oscilloscope does not support trigger hold off. |
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. |