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

Version 1 Next »

Group

Model Configuration, Acquisition
Description

Sets the Repetitive Sampling Option and the Rearm Delay for a given acquisition group. Setting the Repetitive Sampling Option to True will automatically rearm the trigger after the rearmDelay period. Setting Repetitive Sampling Option to False will require a manual trigger rearm. This manual rearm can be performed using the RearmAsyncAcq function call.

Required Control

Acquisition Control
Usage

SetAsyncAcqOpts(AcqGroup, Repetitive, RearmDelay)

Input
  • acqGroup: Acquisition group.
  • Repetitive: Repetitive (TRUE) or one shot (FALSE).
  • RearmDelay: Delay in milliseconds. This is the acquisition delay between the end of one frame and the beginning of the next. This parameter is used only for repetitive sampling.

Output

None

Exception
  • EOK: Success.
  • EPERM: System control had not been granted to this client.
  • EINVAL: Invalid acquisition group.
  • EBADF: Model not specified by previous OpalConnect or OpalSetCurrentModel.
  • EIO: Error sending the request or receiving the reply.
  • EACCES: Error saving parameters to .probe file.
  • E2BIG: Filename or variable name too big.
  • OP_API_MODEL_IO_TIMEOUT: Timed out waiting for a reply from the model.
  • OP_API_MODEL_IO_ERROR: Model is missing some or all processes or subsystems.
ExamplesNone
Related ItemsRearmAsyncAcq
Modulesimport RtlabApi
  • No labels