LibTiePie  0.4.4
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Groups Pages
Time out

This section contains trigger time out related functions. More...

Functions

double ScpGetTriggerTimeOut (TpDeviceHandle_t hDevice)
 Get the currently selected trigger time out in seconds.
 
double ScpSetTriggerTimeOut (TpDeviceHandle_t hDevice, double dTimeOut)
 Set trigger time out in seconds.
 

Detailed Description

This section contains trigger time out related functions.

Trigger time out defines the time that the system will wait for a trigger before a trigger is forced.

If the trigger conditions are set in such a way that the input signal(s) will never meet the trigger settings, the instrument will wait forever. When no measurement is performed, no signals will be displayed. To avoid that the system will wait infinitely, a trigger time out is added to the trigger system. When after a user defined amount of time after starting the measurement still no trigger has occurred, the trigger time out will force a trigger. This will ensure a minimum number of measurements per second.

The trigger time out is entered as a number, representing the delay in seconds. There are two special values for the trigger time out setting:

By default the trigger time out is set to: 0.1 s (100 ms).

Function Documentation

double ScpGetTriggerTimeOut ( TpDeviceHandle_t  hDevice)

Get the currently selected trigger time out in seconds.

Parameters
hDeviceA device handle.
Returns
Trigger time out in seconds, or TO_INFINITY.
Since
0.4.0
double ScpSetTriggerTimeOut ( TpDeviceHandle_t  hDevice,
double  dTimeOut 
)

Set trigger time out in seconds.

Parameters
hDeviceA device handle.
dTimeOutThe required trigger time out in seconds, or TO_INFINITY.
Returns
The actually set trigger time out in seconds, or TO_INFINITY.
Since
0.4.0