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

Get the current settings for the blocking / non-blocking, and associated last value flag, for signal acquisition. This information is used by the API acquisition functions, which have the option not to wait for data, needed by some console's lack of multiple thread support.

These settings apply to the current model. These settings only apply to the command station from which this call is made.

Required Control

None
Usage

(blockOnGroup, lastValues) = GetAcqBlockLastVal()

Input

None

Output
  • blockOnGroup: Acquisition group for which the API functions will wait for data (specify n for group n). If 0, API function will wait for data for all groups. If -1, API functions will not wait for any group's data.
  • lastValues: Boolean, 1 means API functions will output the last values received while a group's data is not available. If 0, the API function will output zeroes. This paramater is ignored when blockOnGroup is not egal to -1.
Exception
  • EOK: success
  • ENOMEM: memory allocation error
  • EBADF: model not specified by previous OpalConnect
  • EIO: error sending the request or receiving the reply from Controller
ExamplesNone
Related ItemsSetAcqBlockLastVal
Modulesimport RtlabApi
  • No labels