LibTiePie  0.4.4
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Groups Pages
Device trigger inputs

A device can have zero 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.

Kind

The Kind setting controls how a device trigger input responds to its signal. Use DevTrInGetKinds to find out which trigger kinds are supported by the device trigger input. Use DevTrInGetKind and DevTrInSetKind to access the trigger kind of a trigger input. Available kinds are:

Rising edge (TK_RISINGEDGE)

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

Falling edge (TK_FALLINGEDGE)

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

Related: