LibTiePie  0.4.3
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Groups Pages
Timeout

This section contains trigger timeout related functions. More...

Functions

double ScpGetTriggerTimeOut (TpDeviceHandle_t hDevice)
 Get the currently selected trigger timeout in seconds.
 
double ScpSetTriggerTimeOut (TpDeviceHandle_t hDevice, double dTimeout)
 Set trigger timeout in seconds.
 

Detailed Description

This section contains trigger timeout 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 timeout is set to: 0.1 s (100 ms).

Function Documentation

double ScpGetTriggerTimeOut ( TpDeviceHandle_t  hDevice)

Get the currently selected trigger timeout in seconds.

Parameters
hDeviceA device handle.
Returns
Trigger timeout in seconds, or TO_INFINITY.
double ScpSetTriggerTimeOut ( TpDeviceHandle_t  hDevice,
double  dTimeout 
)

Set trigger timeout in seconds.

Parameters
hDeviceA device handle.
dTimeoutThe required trigger timeout in seconds, or TO_INFINITY.
Returns
The actually set trigger timeout in seconds, or TO_INFINITY.