Arguments

Return

Returns the scope trigger mode. If the function detects an error,
it returns -1.

Description

The xPCScGetTriggerMode function gets the
trigger mode for scope scNum. Use the xPCGetScope function to get the scope
number. Use the constants defined in xpcapiconst.h to
interpret the trigger mode. These constants include the following:

Constant

Value

Description

TRIGMD_FREERUN

0

There is no trigger
mode. The scope triggers when it is ready to trigger, regardless of
the circumstances.

TRIGMD_SOFTWARE

1

Only user intervention can trigger the scope. No
other triggering is possible.

TRIGMD_SIGNAL

2

The scope is triggered only after a signal has crossed
a value.

TRIGMD_SCOPE

3

Another scope triggers this scope at the trigger point
of the triggering scope, modified by the value of triggerscopesample (see scopedata).