Forum Replies Created
-
AuthorPosts
-
kumajaya
ParticipantKEPServerEX 6 expose all tags as OPC UA tags.
kumajaya
ParticipantRequest from Grafana dashboard: https://api.npoint.io/3b18da2d456f256ec75e
Response from Grafana Data Provider: https://api.npoint.io/c8625b14b7d1d496f6a8kumajaya
ParticipantYou can find Rapid SCADA description at https://rapidscada.org/ and documentation at https://rapidscada.net/doc/content/latest/en/
kumajaya
ParticipantYes, I analyzed Grafana communication using Wireshark, same result. I always got today minutes data (from 00:00) even Grafana asking for 5 minutes last data.
kumajaya
ParticipantYes, I did it like that. Use my laptop with Windows 10 to configure the project and upload it to RS running on Ubuntu. If something goes wrong, I always have a backup project.
kumajaya
ParticipantI’m talking about Grafana Data Provider API access from Node-RED.
kumajaya
ParticipantI expect last 5 minutes ‘minutes data’ = 5 datapoints but I got a thousands datapoints. My request:
{ "panelId":1, "range":{ "from":"2020-09-14T12:29:52.810Z", "to":"2020-09-14T12:34:52.811Z" }, "interval":"30s", "intervalMs":30000, "targets":[ { "target":"3201", "type":"timeserie" }, { "target":"3202", "type":"timeserie" } ], "format":"json", "maxDataPoints":5 }And no data update in between 23:59 – 06:59, it’s strange.
-
This reply was modified 5 years, 4 months ago by
kumajaya.
kumajaya
ParticipantI confirm also work with latest version of https://www.nuget.org/packages/Newtonsoft.Json/ and https://www.nuget.org/packages/Microsoft.AspNetCore.Hosting.Abstractions/
kumajaya
Participantkumajaya
ParticipantNewtonsoft.Json.dll release 10.0.3 for net45 target from https://github.com/JamesNK/Newtonsoft.Json/releases/download/10.0.3/Json100r3.zip and Microsoft.AspNetCore.Hosting.Abstractions.dll from dotnet-sdk-2.1 https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#scripted-install fix the problem. Big thanks!
kumajaya
ParticipantNow I got “Could not load file or assembly ‘Microsoft.AspNetCore.Hosting.Abstractions, Version=1.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60’ or one of its dependencies.” Installing https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu still not solve the problem, maybe because older OPCUA library expect older version .NET core
kumajaya
ParticipantOfficial release have a lot of target framework inside https://github.com/JamesNK/Newtonsoft.Json/releases Which one should I choose?
kumajaya
ParticipantBut OPCUA still doesn’t work with “Could not load file or assembly ‘Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’ or one of its dependencies” error.
kumajaya
ParticipantMono version 6.10.0.104, Ubuntu 20.04 https://www.mono-project.com/download/preview/#download-lin-ubuntu
kumajaya
ParticipantI managed to fix self signed certificate generation by changing ‘%LocalApplicationData%’ to ‘%CommonApplicationData%’. Certificate saved inside ‘/usr/share/OPC Foundation/’.
-
This reply was modified 5 years, 4 months ago by
-
AuthorPosts