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.

Notes on ScopeView for RT-LAB v.11.3+ re: ScopeView Data Logging Though RT-LAB API

A Word About ScopeView Data Logging

A frame in this context means the following: the configuration defined by the end-user to read data from an OPREC (data logging) file.

A frame is defined by:

  • its length defined in time units (seconds or subdivisions)
  • A starting point in time defined in time units (seconds or subdivisions)

Blind regions:

  • Blind regions may appear in data logging results for any number of bandwidth reasons, none of which are specific to OPAL-RT or ScopeView.
  • The ScopeVIEW interface allows users to pan the display in regions where no data has been captured (known as blind regions). 
  • Thus the user needs to careful when navigating data because they may reach regions where nothing is visible–without necessarily being aware of their context at the time.
  • Additionally, when data is split into several data sets when doing data processing in order to perform calculations on each frame, math functions may fail to provide the correct results
  • Thus please be aware of unexpected results and/or deviations when processing data with various blind regions in the data set.

ScopeView (OPREC/DataLogger) Behavior Through RT-LAB API--Especially with Backward DataLogging

The expected behaviour for the ScopeView data logger through the RT-LAB API is as follows:

When data is being logged forwards/chronologically:

The first timestamp is located for which we have data.

  • The last timestamp is determined from the first and the configured reading interval
  • Even if data is missing for this interval, the last timestamp is unchanged
    • If no data is available for the last timestamp, this is adjusted to the timestamp of the last data available in the interval

When data is being logged backward/antichronologically:

The most recent data timestamp is determined.

  • If there is no data 'blind region', it corresponds to the first timestamp minus a time step
  • if there is a 'blind region' just before the first current time stamp, the last data timestamp corresponds to the first timestamp of the last data available before this
  • The first timestamp of the data is determined by the following: last timestamp minus reading interval
  • if there is no data for this timestamp, it is then adjusted to the timestamp of the first following data
  • We can then read all the data of the new interval (it doesn't matter if there are blind regions in this interval)

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323