Forum Replies Created
-
AuthorPosts
-
June 9, 2023 at 10:02 am in reply to: Retrieve the channels and devices list from Scada Scheme Editor V5 #12778
MikhailModeratorA scheme file is located inside the project. You should check folders up starting from the scheme folder until find *.rsproj file.
-
This reply was modified 2 years, 10 months ago by
Mikhail.
June 8, 2023 at 10:41 am in reply to: Retrieve the channels and devices list from Scada Scheme Editor V5 #12774
MikhailModeratorHello,
The main sequence would be:
1. After a scheme is open, detect the project folder, and load the channel table.
2. Extend property grid to be able to select channels by implementing an editor. See this link for example.June 7, 2023 at 10:44 am in reply to: Retrieve the channels and devices list from Scada Scheme Editor V5 #12772
MikhailModeratorHello,
Currently, Scheme Editor is taken from Rapid SCADA 5. So it’s difficult to integrate it with a project of Rapid SCADA 6.
Do you need to display channels that exist in the project inside Scheme Editor?
MikhailModeratorHi,
You need a channel of the Output type. Command code must match with the module. If you provide screenshots of the settings and sending command, I could check.
MikhailModeratorHi,
You can run *.bat or *.sh from formulas. For example:
Process.Start(@"C:\1.bat");
MikhailModeratorAlso possible
dateTime = DateTimeOffset.FromUnixTimeSeconds((long)unixTimeStamp).ToUniversalTime();
MikhailModeratorHi,
Thank you for the update.
Note that DrvOpcUa.View.xml affects user interface. DrvOpcUa.Logic.xml affects how the driver works.
MikhailModeratorHi,
But when I set command as Send Command instead of Send Command Now, it does its job.
Could you compare the messages in ScadaServer.log in the both cases and provide screenshots?
MikhailModeratorHello,
First of all, I would log some message if
data.type == "report"to check whether that section is executed.
MikhailModeratorHi,
When a window is opened in a new tab, a browser decides whether to use a tab or separate window. You should check browser settings.
When a window is opened in a popup, it is specified by SCADA. To change it, you can edit JavaScript files, however, it’s not recommended.
MikhailModeratorYou can send a string command like
cmd=ExportArchive startDT=2022-12-23 10:00:00 endDT=2022-12-23 11:00:00to export historical data.
When DB Export module receives such command, it executes the historical data queries that exist in the module configuration.
MikhailModeratorHello,
In such situation, using JS is the right method. If it doesn’t work, provide more info.
-
This reply was modified 2 years, 10 months ago by
-
AuthorPosts