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 content. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

Group

Model Configuration, Acquisition
Description

Sets number of values to be acquired for each signal of the specified acquisition group. This constitutes a unit of acquisition in which there are no breaks. Acquired data for this group is considered available when all numValues have been acquired.

The change is persistent and is used in subsequent runs of the model. The change affects any application acquiring data from this group.

Required Control

Acquisition Control
Usage

RtlabApi.SetNumberValues(acqGroup, numValues, valueType)

Input
  • acqGroup: Acquisition group (numbering starts at 0).
  • numValues: Number of values to be acquired for each signal of the specified acquisition group.
  • valueType: Always 0.

Output

None

Exception
  • EPERM: System control had not been granted to this client.
  • EINVAL: invalid acquisition group or valueType not supported or the number of values is out of range.
  • EBADF: Model not specified by previous Connect or SetCurrentModel.
  • EIO: Error sending the request or receiving the reply.
  • EACCES: Error saving parameters to .probe file.
  • 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 ItemsNone
Modulesimport RtlabApi
  • No labels