BiancoRoyal / node-red-contrib-iiot-opcua

deprecated - very new developed by PLUS for Node-RED - https://plus4nodered.com
https://www.npmjs.com/package/node-red-contrib-iiot-opcua
BSD 3-Clause "New" or "Revised" License
34 stars 8 forks source link

How to build a historian? #53

Closed AndreGuerra123 closed 6 years ago

AndreGuerra123 commented 6 years ago

Hello, I know it's up to the user to set the historian, however, I didn't find any documentation on how to do it. Maybe an example of the most basic types of data would be helpful.

Best regards, Andre

biancode commented 6 years ago

Hello Andre,

please fill out the template and describe more detailed, what you are searching!

screen shot 2018-06-15 at 07 09 20

AndreGuerra123 commented 6 years ago

My question was fairly general however I think it was self-explanatory for the same reasons. My goal is to read historical values (real-time values that were produced and stored). Usually in OPCUA stacks and APIs one has to develop a specific function which would "store" new data and "retrieve" old data, such as a trivial DB interface. I made the attached flow more or less to explain what I want to do. In the example given, I cannot retrieve old ("history") values, and that it is expected because one did not define the "storing mechanism" during server namespace nucleation. However, when I run the same flow against Prosys OPCUA Simulator, which has historian capabilities, I still could not read the historical values. So, my question ended up in two: how to read historian values properly? and how to create a historian OPC-UA server? Best regards, Andre

historian.zip

EDIT: Reading Historian data works properly, I just made a mistake on the settings. :P

AndreGuerra123 commented 6 years ago

I think this should be reopened and a feature request be made;