Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

C-API | OP_TRIGGER_CONDITION


Description

When specifying the acquisition parameters for an acquisition group, the user chooses the condition to be satisfied so that the acquisition system is triggered. This enum lists different types of condition.

Usage

typedef enum{

OP_RISING_OR_FALLING_EDGE,

OP_RISING_EDGE,

OP_FALLING_EDGE,

OP_TRIGSIGNAL_GREATEROREQ_TRIGLEVEL,

OP_TRIGSIGNAL_LESSOREQ_TRIGLEVEL

} OP_TRIGGER_CONDITION;

Elements
  • OP_RISING_OR_FALLING_EDGE (0): The triggering condition is true if the signal crosses the threshold defined by the triggering level.
  • OP_RISING_EDGE (1): The triggering condition is true if the signal rises above the triggering level.
  • OP_FALLING_EDGE (2): The triggering condition is true if the signal falls under the triggering level.
  • OP_TRIGSIGNAL_GREATEROREQ_TRIGLEVEL (3): The triggering condition is true if the signal is greater than or equal to the triggering level.
  • OP_TRIGSIGNAL_LESSOREQ_TRIGLEVEL (4): The triggering condition is true if the signal is less than or equal to the triggering level.
Examples

None

Related ItemsOpalSetAcqTrigger
Library and Header

WINDOWSLINUX
Static LibraryOpalApi.lib-
Dynamic LibraryOpalApi.dlllibOpalApi.so
Header FileOpalApi.hOpalApi.h

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter