Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
  • Connect or

OpalSetCurrentModel
  • OpenProject.

  • EINVAL:

 invalid
  •  Invalid acquisition group.

  • EIO: Error sending the request or receiving the reply.

  • ENOMEM: Memory allocation error.

  • E2BIG: Too many open connections for this process.

Examples

None

Related Items

SetAcqTrigger

Modules

import RtlabApi