メインコンテンツへスキップ

How to re-use project files on different easYview units. - ナレッジベース / easYview - Power Generation

How to re-use project files on different easYview units.

作成者一覧

If you have multiple easYview units and you want to transfer the work you have done on one unit to some other units, you have to handle a file on the unit which is called nodes.db, here is how to do that.

First of all, you connect to your easYview unit via SFTP client (i.e. WinSCP):

The default username and password are:

Username: user

Password: user

Under /home/user there are three important files located which can be used as ssh commands.

1. copyConnectini: is used to create a copy of the DeviceConfig.ini file from the restricted area to the /home/user folder. The DeviceConfig.ini file contains all connections to external devices. The original file is still in restricted area. This command is needed if the connections to external devices are changed with the atvise connect tool, see Example: Add a new device to the project.

2. startWebApi: starts the atvise server and the visualization. This is needed after the application was updated (nodes.db)

3. stopWebApi: is used to stop the atvise server and the visualization. This is needed before updating the application (nodes.db).

To run one of the commands, follow these instructions:

1. Open the command window (cmd)

2. Establish a ssh connection:

a. Enter the command 'ssh user@<ip-address>' (replace <ip-address> by the IP address of the easYview)

b. Enter the default password “user” (if not changed).

3. Enter “./” followed by the command to use.

a. Example: user@tcp71wn10pa:~$ ./copyConnectini

This will copy the file ‘DeviceConfig.ini’ to the folder /home/user folder.

The file we have to copy to our PC and then to other easYview units is called nodes.db. This is a database file which has the whole application of the visualization included. If this file gets deleted a new empty nodes.db is generated after boot up. The nodes.db can be replaced by another nodes.db to update/change the mini-SCADA visualization. Before replacing the nodes.db the server and the application must be stopped, like described above (stopWebApi) and started afterwards (startWebApi).