LibTiePie  0.4.2
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Groups Pages
Device trigger

A device can have one or more device trigger inputs. These can be available as pins on an extension connector on the instrument. Internal signals inside the instrument from e.g. a generator can also be available as device trigger input. Use the function DevTrGetInputCount to determine the amount of available device trigger inputs. To use a device trigger input as trigger source, use the function DevTrInSetEnabled to enable it.

To control how the device trigger responds to the device trigger input signal, a property is available:

Kind

The kind property is used to control how the device trigger responds to the device trigger input signal. Use DevTrInGetKinds to find out which trigger kinds are supported by the device trigger input. Available kinds are:

Rising edge (TK_RISING)

The device trigger responds to a rising edge in the input signal.

Falling edge (TK_FALLING)

The device trigger responds to a falling edge in the input signal.

Read more about the device trigger kind related functions.