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.

Opal_Get_Acq_Group_Sync_Signals

Returns the acquisition signals sent to the console subsystem while the model is running. The acquisition signals are the signals sent from the computation nodes to console subsystem in the same order that it was specified at the input of the OpComm block for the specified acquisition group. The outputs contain two arrays: acquisition signals + monitoring signals.

The user can activate the synchronization algorithm to synchronize the acquisition time with the simulation time by inserting data during missed data intervals. The interpolation can be used in this case to get a better result during missed data intervals. Threshold time between acquisition time and simulation time exceeds the threshold, the acquisition (console) will be updated to overtake the difference. The acqtimestep offers the user a way to change his console step size as in Simulink.


For additional information, please see Acquiring and Viewing Data in the RT-LAB User's Guide.


Monitoring signals array contains 4 values:

  • Missed data: number of values between two acquisition frame. If value is 0, there are no missing data between the two frames. Missing data may appears if network communication and display are too slow to refresh value generated by the model.
  • Offset: simulation time when the acquisition started.
  • Target simulation time: simulation time of the model when the acquisition has been done.
  • Sample/sec: number of sample/sec received from target. Calculation is made for one sample. Ex: If model is running at 0.001s, sample/sec value should not exceed 1000 sample/sec.

Opal_Get_Acq_Group_Sync_Signals

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter