Welcome, Guest
Username: Password: Remember me

TOPIC: SevHist - configuration

SevHist - configuration 6 years 2 months ago #7766

  • eslavko
  • eslavko's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 158
  • Karma: 0
Hello...

I try to do SevHist to store persistent data of Ai element.
I (think) folow manual and there is my config but doesn't work as throw warning and doesn't contuinue of I answer Y or N..
What I do wrong?


se.png


Console output:
Proview/R Version V5.2.0 for Linux on x86_64
   Copyright (C) 2005-2014 SSAB AB

   Proview/R is free software; you can redistribute it and/or
   modify it under the terms of the GNU General Public License.

   This program is distributed in the hope that it will be useful
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
   GNU General Public License for more details.

   Proview Runtime Environment

I Reading Boot file /usr/local/pwrp/mesalnica/bld/common/load/ld_boot_kmetija_0999.dat
I Created at 03-OCT-2015 09:51:53.31 for project: mesalnica
I This node vill run PLC file: plc_kmetija_0999_plc
I This node has node identity 0.1.1.4 (65796)
I Reading Node file /usr/local/pwrp/mesalnica/bld/common/load/ld_node_kmetija_0999.dat
W node is allready defined: linuxlab1 0.1.1.4  0 1 0 0
, skip to next line
I Reading volume file /usr/local/pwrp/mesalnica/bld/common/load/volmesalnica.dbs
I Created 03-OCT-2015 09:51:51.00
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/rt.dbs
I Created 22-OCT-2014 12:00:00.00
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/pwrs.dbs
I Created 22-OCT-2014 12:00:00.00
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/pwrb.dbs
I Created 22-OCT-2014 12:00:00.00
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/basecomponent.dbs
I Created 22-OCT-2014 12:00:00.00
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/nmps.dbs
I Created 22-OCT-2014 12:00:00.00
I Reading volume file /usr/local/pwrp/mesalnica/bld/common/load/cvolmesalnica.dbs
I Created 19-MAR-2015 12:47:19.00
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/profibus.dbs
I Created 22-OCT-2014 12:00:00.00
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/otherio.dbs
I Created 22-OCT-2014 12:00:00.00
W Found 1 warning(s), 0 error(s) and 0 fatal error(s)
Do you want to continue ? (y|n) [n]: n
									
The administrator has disabled public write access.

SevHist - configuration 6 years 2 months ago #7767

  • eslavko
  • eslavko's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 158
  • Karma: 0
Hello...

Seems that error was that I put SevNodeConfig under Sim99 instead Prd1.

But now had problem with installing the pwrsev.
I want all things on same computer but seems that is not possible?
When I try to install pwrsev I got error that /etc/pwrp_profile is also in package pwr52.
The administrator has disabled public write access.

SevHist - configuration 6 years 2 months ago #7768

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 2898
  • Thank you received: 418
  • Karma: 124
Hi Slavko,

The SevNodeConfig object and pwrsev package should only be used when you have a separate sev server node without Proview runtime.

If you want to start the sev server on a node with Proview runtime, you just create a SevServer object in the node hierarchy.

/Claes
The administrator has disabled public write access.

SevHist - configuration 6 years 2 months ago #7769

  • eslavko
  • eslavko's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 158
  • Karma: 0
So if I understand correctly I need to insert:
1. SevServer on the Node (mesalnica)
2. SevHist on Hier under value I want to store.

Program compile ok, but when I click History (right click on Ai) from runtime nothing happend. Thus object graph work, but is not persistent, and is short.


se1.png
Last Edit: 6 years 2 months ago by eslavko.
The administrator has disabled public write access.

SevHist - configuration 6 years 2 months ago #7770

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 2898
  • Thank you received: 418
  • Karma: 124
Sev is divided in server and client, and for the client you still need the SevHistMonitor.

/Claes
The administrator has disabled public write access.

SevHist - configuration 6 years 2 months ago #7771

  • eslavko
  • eslavko's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 158
  • Karma: 0
Got it work on my computer but not the other one.
Seems MySql problem but can't find difference yet.
Got error failed to connect to database: Error: Unknown database "pwrp__meslanica"

But just discovered that StorageTime seems to be one day max? I really need at least week. Is that possible?

And image how I have configured now if someone else need that.

sev.png
The administrator has disabled public write access.
Time to create page: 2.522 seconds