Skip to end of metadata
Go to start of metadata
Group | Model Configuration, Acquisition |
---|
Description | Get the dynamic acquisition trigger that will be used during the simulation. |
---|
| 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.
|
---|
Examples | None |
---|
Related Items | SetAcqTrigger |
---|
Modules | import RtlabApi |
---|