Replies: 7 comments 9 replies
-
Hey, why is it important to start and stop historizing? |
Beta Was this translation helpful? Give feedback.
-
Not being able to restart historyzing looks like a bug. Make a minimal example then make a bug report. |
Beta Was this translation helpful? Give feedback.
-
From my point of view, this use case is helpful , perhaps you don’t fully understand the use case : May I explain this in details:
We have a machine controlled by a internal state machine. In the state “execute” ( in the meaning of ISA88) the machine is producing , in the others states the controlled items are not interesting . In the state execute ( during 180 secs ) it’s highly important to see how the machine is reacting with all the 60 items influencing in the process.
This bunch of 60 vars is the image of the process and can be analyzed after the execution to optimize/debug the process .
May this have a sense?
In others stack , I have seen such Api to strop/restart histo..
Von: oroulet <[email protected]>
Gesendet: Dienstag, 29. Dezember 2020 09:57
An: FreeOpcUa/opcua-asyncio <[email protected]>
Cc: pfetrial <[email protected]>; Author <[email protected]>
Betreff: Re: [FreeOpcUa/opcua-asyncio] Historizing (#375)
if we close the connection maybe we should be able to reconnect?
Anyway as written above I cannot see any use case that make sense. We should not add features that encourage bad practices
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#375 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAOAXGR7KVBGLE2TCUPEZJ3SXGKXBANCNFSM4VL2AD3Q> . <https://github.com/notifications/beacon/AAOAXGQB6SN7ZHUEB3TKF53SXGKXBA5CNFSM4VL2AD32YY3PNVWWK3TUL52HS4DFWFCGS43DOVZXG2LPNZBW63LNMVXHJKTDN5WW2ZLOORPWSZGOAAB5ATY.gif>
|
Beta Was this translation helpful? Give feedback.
-
OK. so you do not want the history server, but you want to stop historysing one or several nodes? I am still not sure about the use case but we should support that kind of things. Do you use the dehistorize() method? make a minimal code showing your issue |
Beta Was this translation helpful? Give feedback.
-
When you say «history server “ do you mean an external history server?
And yes I want to stop historizing on several nodes.
No I don’t use dehistorize() , as already written I use enable/disable history_data_change.
Should I use something else?
Von: oroulet <[email protected]>
Gesendet: Dienstag, 29. Dezember 2020 11:09
An: FreeOpcUa/opcua-asyncio <[email protected]>
Cc: pfetrial <[email protected]>; Author <[email protected]>
Betreff: Re: [FreeOpcUa/opcua-asyncio] Historizing (#375)
OK. so you do not want the history server, but you want to stop historysing one or several nodes? I am still not sure about the use case but we should support that kind of things. Do you use the dehistorize() method? make a minimal code showing your issue
—
You are receiving this because you authored the thread.
Reply to this email directly, <#375 (comment)> view it on GitHub, or <https://github.com/notifications/unsubscribe-auth/AAOAXGU2RUGXDBIN4IQLFHTSXGTFFANCNFSM4VL2AD3Q> unsubscribe. <https://github.com/notifications/beacon/AAOAXGVHKHHWMCDE4RI54RTSXGTFFA5CNFSM4VL2AD32YY3PNVWWK3TUL52HS4DFWFCGS43DOVZXG2LPNZBW63LNMVXHJKTDN5WW2ZLOORPWSZGOAAB5BRA.gif>
|
Beta Was this translation helpful? Give feedback.
-
So internally the server use sqllite to store the history ?
Von: Andreas Heine <[email protected]>
Gesendet: Dienstag, 29. Dezember 2020 11:27
An: FreeOpcUa/opcua-asyncio <[email protected]>
Cc: pfetrial <[email protected]>; Author <[email protected]>
Betreff: Re: [FreeOpcUa/opcua-asyncio] Historizing (#375)
therefore we need to catch some sqlite errors if table already exist for example is missing
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#375 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAOAXGR44JUTSJORLHKIYZ3SXGVHZANCNFSM4VL2AD3Q> . <https://github.com/notifications/beacon/AAOAXGSNUZOAXXH22EGVBNDSXGVHZA5CNFSM4VL2AD32YY3PNVWWK3TUL52HS4DFWFCGS43DOVZXG2LPNZBW63LNMVXHJKTDN5WW2ZLOORPWSZGOAAB5BZI.gif>
|
Beta Was this translation helpful? Give feedback.
-
Yes I do. But does it use files for storage ? or does it use ram?
Von: Andreas Heine <[email protected]>
Gesendet: Dienstag, 29. Dezember 2020 15:47
An: FreeOpcUa/opcua-asyncio <[email protected]>
Cc: pfetrial <[email protected]>; Author <[email protected]>
Betreff: Re: [FreeOpcUa/opcua-asyncio] Historizing (#375)
if you use the default historymanager then yes
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#375 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAOAXGSIUKSMF67ROOKU32TSXHTUZANCNFSM4VL2AD3Q> . <https://github.com/notifications/beacon/AAOAXGS5H23DKSSAP7EXRATSXHTUZA5CNFSM4VL2AD32YY3PNVWWK3TUL52HS4DFWFCGS43DOVZXG2LPNZBW63LNMVXHJKTDN5WW2ZLOORPWSZGOAAB5FNI.gif>
|
Beta Was this translation helpful? Give feedback.
-
Hello all,
I made some tests with a Python server . I found out that the minimal data rate change is around 10 ms .
Is it possible to start/stop historizing ? per example : to store 1000 data changes and then stop historizing then trigger/start again the historizing function to catch some interesting changes?
I tried to use the functions :
server.historize_node_data_change([myvar1,myvar2,mysin],period=0, count=100)
server.dehistorize_node_data_change([myvar1,myvar2,mysin])
but after the first stop/start historizing, the server makes an error..
Is there another way to historize on demand?
thanks
Beta Was this translation helpful? Give feedback.
All reactions