LibTiePie  0.4.5
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Modules Pages
Trigger hold off

Description

This section contains all trigger hold off related functions.

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 set in a number of samples. By default the trigger hold off is set to: 0 samples.

Functions

uint64_t ScpGetTriggerHoldOffCountMax (TpDeviceHandle_t hDevice)
 Get maximum trigger hold off count in samples. More...
 
uint64_t ScpGetTriggerHoldOffCount (TpDeviceHandle_t hDevice)
 Get trigger hold off count in samples. More...
 
uint64_t ScpSetTriggerHoldOffCount (TpDeviceHandle_t hDevice, uint64_t qwTriggerHoldOffCount)
 Set trigger hold off count in samples. More...
 

Function Documentation

uint64_t ScpGetTriggerHoldOffCountMax ( TpDeviceHandle_t  hDevice)

Get maximum trigger hold off count in samples.

Parameters
hDeviceA device handle.
Returns
Maximum trigger hold off count in samples.
Since
0.4.0
uint64_t ScpGetTriggerHoldOffCount ( TpDeviceHandle_t  hDevice)

Get trigger hold off count in samples.

Parameters
hDeviceA device handle.
Returns
Trigger hold off count in samples.
Since
0.4.0
uint64_t ScpSetTriggerHoldOffCount ( TpDeviceHandle_t  hDevice,
uint64_t  qwTriggerHoldOffCount 
)

Set trigger hold off count in samples.

Parameters
hDeviceA device handle.
qwTriggerHoldOffCountTrigger hold off count in samples.
Returns
Trigger hold off count in samples.
Since
0.4.0