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.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Group

Model Configuration, Acquisition
Description

Get the dynamic acquisition trigger that will be used during the simulation.

Required Control

None
Usage

results = RtlabApi.GetAcqTrigger( acquisitionGroup )

( signalName, trigSignalName, level, offset, condition, triggerEnabled, triggerType ) = results

Input
  • acquisitionGroup: Acquisition group (numbering starts at 0).
Output
  • signalName: Name of the triggered signal.
  • trigSignalName: Name of the triggering signal. If “level” is specified then trigSignalName is empty.
  • level: Value that must be reached by the trigger signal to trigger acquisition.
  • offset: Number of steps (cycles) to wait before starting the acquisition system.
  • condition: Condition to be satisfied so that the acquition system is triggered. See OP_TRIGGER_CONDITION.
  • triggerEnabled: Specified if the dynamic trigger is enabled or disabled (1/0 = Enable/Disable).
  • triggerType: Type of trigger that will start the acquisition TRIG_BY_SIGNAL(0) / TRIG_BY_VALUE(1).
Exception
  • EOK: Success.
  • EBADF: Model not specified by previous OpalConnect or OpalSetCurrentModel.
  • EINVAL: invalid acquisition group.
  • EIO: Error sending the request or receiving the reply.
  • ENOMEM: Memory allocation error.
  • E2BIG: Too many open connections for this process.
ExamplesNone
Related ItemsSetAcqTrigger
Modulesimport RtlabApi
  • No labels