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
Mikhail
ModeratorA 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 3 hours, 47 minutes ago by
Mikhail.
June 8, 2023 at 10:41 am in reply to: Retrieve the channels and devices list from Scada Scheme Editor V5 #12774Mikhail
ModeratorHello,
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 #12772Mikhail
ModeratorHello,
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?
Mikhail
ModeratorHi,
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.Mikhail
ModeratorHi,
You can run *.bat or *.sh from formulas. For example:
Process.Start(@"C:\1.bat");
Mikhail
ModeratorAlso possible
dateTime = DateTimeOffset.FromUnixTimeSeconds((long)unixTimeStamp).ToUniversalTime();
Mikhail
ModeratorHi,
Thank you for the update.
Note that DrvOpcUa.View.xml affects user interface. DrvOpcUa.Logic.xml affects how the driver works.Mikhail
ModeratorHi,
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?
Mikhail
ModeratorHello,
First of all, I would log some message if
data.type == "report"
to check whether that section is executed.Mikhail
ModeratorHi,
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.
Mikhail
ModeratorYou can send a string command like
cmd=ExportArchive startDT=2022-12-23 10:00:00 endDT=2022-12-23 11:00:00
to export historical data.
When DB Export module receives such command, it executes the historical data queries that exist in the module configuration.Mikhail
ModeratorHello,
In such situation, using JS is the right method. If it doesn’t work, provide more info.
Mikhail
ModeratorHi,
If you simply need to change command value, you can set a formula of the output channel to1
, for example.Do you have an input channel that changes according to a command?
-
This reply was modified 3 hours, 47 minutes ago by
-
AuthorPosts