Selecting the Data Source file means selecting the origin of the data that will be fetched and then pushed to the Target Widget.

To configure the Data Source, click the “…” button :

Realtime source click

Select type

Data can come from two types of sources :

  • CSV : a text file that will be read periodically and sequentially
  • OPC : a OPC server that will be subscribed

CSV configuration

Realtime source select CSV

The tool is configured to fetch data periodically.
The CSV file will be opened each time the tool needs new data.
Each time the file is opened, the next row is fetched. If the last row has been reached, the first row is fetched again, and so on.

Source file

Click “…” to browse for the CSV file :

Realtime source CSV configure browse

File format

Select the desired Separator :

Realtime source CSV configure separator

If the file contains headers on the first row, you can skip them by checking Skip first line :

Realtime source CSV configure skip

Update size

Each data update can receive 1 or more values.
Select the number of rows to read from the file during each update, by writing a value of Send X row(s) :

Realtime source CSV configure size

If the CSV file contains more rows than this size, then it will be read by batches of the desired size.
If the CSV files contains fewer rows than this size, then the output will be padded to the desired size by repeating content.

Update period

The file is opened and data updated _every X second(s) of your choice :

Realtime source CSV configure period

Fields mapping

Each field of the Target Widget can receive data from a different column of the CSV file.
To configure this relationship, you must define Mappings.

Adding a Mapping

To map a new Widget field with the desired column, click the + button to add a mapping :

Realtime source CSV mapping add

Configuring a Mapping

To configure the Mapping :

  • Select a Target Field from the Target Widget. This is the field that will receive the data.
  • Select a Column Index from the CSV file, starting at 1. This is the 1-based index of the column of the CSV file that will contain the data.

Realtime source CSV mapping configure

Removing a Mapping

If you added a Mapping that you want to remove, click the Remove icon next to it

OPC configuration

Realtime source select OPC

The tool subscribes to a OPC server.

OPC Server connection

Fill-in the desired Machine Host to find the OPC Server.
The Server list updates. Browse it to select the desired server :

realtime source OPC configure server

You can click Test Connection to confirm that the connection works.

Subscription Frequency

Select how many seconds you want as Subscription Frequency :

Realtime source OPC configure frequency

Fields mapping

Each field of the Target Widget can receive data from a different address on the OPC server.
To configure this relationship, you must define Mappings.

Adding a Mapping

To map a new Widget field with the desired OPC address, click the + button to add a mapping :

Realtime source OPC mapping add

Configuring a Mapping

To configure the Mapping :

  • Select a Target Field from the Target Widget. This is the field that will receive the data.
  • Select an Address from the OPC server. This is the address that will contain the data.

Realtime source OPC mapping configure

Removing a Mapping

If you added a Mapping that you want to remove, click the Remove icon next to it

Last modified: Nov 06, 2019

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment