Difference between revisions of "DataConnectIT:Device"

From Nolek Wiki
Jump to navigation Jump to search
(Created page with "==3. Device== In DataConnectIT, the functionality is split up into 3 devices: Controller, Data, and Back-up. ==3.1 Device Descriptions== '''1. Controller device:''' * Cont...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
==3. Device==
+
=3. Device=
  
In DataConnectIT, the functionality is split up into 3 devices: Controller, Data, and Back-up.
+
In DataConnectIT, the functionality is split up into 3 devices:  
 +
 
 +
* Controller
 +
* Data
 +
* Back-up
  
 
==3.1 Device Descriptions==  
 
==3.1 Device Descriptions==  
Line 17: Line 21:
 
* The device that the user can select for the Data is: '''SQLite'''
 
* The device that the user can select for the Data is: '''SQLite'''
  
==3.2 Device Type==
+
==3.2 Device Types==
 
 
===== 3.2 Device Type =====
 
  
 
'''Controller Device:'''
 
'''Controller Device:'''
Line 28: Line 30:
 
'''''OPC_WRITE:'''''
 
'''''OPC_WRITE:'''''
 
* Gets data from the Data device and writes it to an OPC server. This data could for instance be some configurations for how the test should be run.
 
* Gets data from the Data device and writes it to an OPC server. This data could for instance be some configurations for how the test should be run.
 +
 +
'''''OPC READWRITE:'''''
 +
* Reads data tags from an OPC server and sends it to the data device without using backup, then receives the same tags back from the data device, possibly with new values, and writes them to the OPC, then sets the response tag.
  
 
'''''FILE READ:'''''
 
'''''FILE READ:'''''

Latest revision as of 07:42, 13 September 2019

3. Device

In DataConnectIT, the functionality is split up into 3 devices:

  • Controller
  • Data
  • Back-up

3.1 Device Descriptions

1. Controller device:

  • Controller is the device that takes care of receiving or delivering data to or from an OPC Server or from a file. It can then send or receive the data to the back-up device or the data device and signal the result.
  • The devices that the user can select for the Controller are: OPC SERVER or TEXT FILE

2. Data Device:

  • Data is the Device where all the data is uploaded or received from a database storage.
  • The device that the user can select for the Data is: MSSQL SERVER

3. Back-up Device:

  • Backup is an optional device that can be used to handle results. When enabled, the backup device saves all data received from the controller locally, which will then be picked up by the data device once ready. This allows the controller part to continue its work without having to wait for the data device to finish.
  • The device that the user can select for the Data is: SQLite

3.2 Device Types

Controller Device:

OPC_READ:

  • Reads data from an OPC server and sends it to the Back-up or Data device, then sets a response to the OPC to signal that it is ready to receive more data, or if anything went wrong.

OPC_WRITE:

  • Gets data from the Data device and writes it to an OPC server. This data could for instance be some configurations for how the test should be run.

OPC READWRITE:

  • Reads data tags from an OPC server and sends it to the data device without using backup, then receives the same tags back from the data device, possibly with new values, and writes them to the OPC, then sets the response tag.

FILE READ:

  • Gets data from .csv or .txt files and sends it to the backup or Data device.
  • Device Restrictions:

If date time values are used in these results, they should be in the following formats to guarantee that they will work:

  • yyyy-mm-dd HH:MM:SS (example: 2018-05-18 13:36:00)
  • yyyy/mm/dd HH:MM:SS
  • dd-mm-yyyy HH:MM:SS
  • dd/mm/yyyy HH:MM:SS

Data Device: SQL SP:

  • Read or write data in the SQL Server.

Back-up Device: SQLite:

  • Read or write data to an internal SQLite Database immediately.