September 10, 2016 at 11:27 pm #1604Washu HakubiParticipant
Hi, I looked in the plugin in the repository, and I don’t know how to use it.
Now i have a test page that don’t have any data binding or anything, it is plain html and js, nothing is writen on code behind, the code is as follow DropBox link, the page is in the Teste D3 folder.
It is working on the older version, but can’t make it work on Web Beta.
On the other post you said I need to make a plugin but i have no idea what that means, i downloaded the OpenPlugin folder and it is in the same link i put above, but it is unchanged (i just deleted all the other stuff that was not PlgWebPage), but I don’t know where or what to change in there.
So, the question is how i add that page above (or any other page) to the ScadaWeb Beta? What do i need to do to add that test page to the plugin and then to the Scadaweb?September 11, 2016 at 3:48 pm #1605
The basic steps of creating a plugin:
1. Create a new project of the empty web application type which uses .NET4.
2. Use the directory structure and namespace structure as PlgScheme or other plugin.
3. Add PlgYoursSpec class that inherits PluginSpec class.
4. Describe a new view type or menu item in the plugin specification class.
5. Add web content (aspx, css, js).
6. Publish your project.
7. Specify your dll to WebSettings.xml in Plugins section.September 11, 2016 at 3:52 pm #1606
If you decide to create a new view type, add your view into Interface table using SCADA-Administrator. Your view must be stored in the file in C:\SCADA\Interface folder. The file might be empty but it must exist. File extension equals ViewTypeCode property.September 11, 2016 at 3:55 pm #1607
The simplest plugin is PlgConfig. You can use it to copy-paste.May 4, 2020 at 1:07 pm #6796
This is the closest post that I’ve come across relating to our question.
To date, we’ve used rapid SCADA out of the box and configured the system with the built in options and functions.
However, we now have a need to add 2 custom pages, say, Page 1 and Page 2.
In this link https://rapidscada.org/integration-with-rapid-scada/ you describe getting data on to a web page. Do you have a working page sample showing how to get data when the HelloWorld example project is running. Maybe one value being read and displayed on the page using the “First Way” and another value being read and displayed using the “Second Way”.
The customer has developed an application that plots data in a specific format. The plot makes use of the Telerik Chart control. We would like to create a custom page with the Telerik Chart and to get the 1 hour data logged by Rapid SCADA.
If the above pages can be part of the existing Rapid SCADA framework, that would be great. That would allow us to use the Admin tool to configure everything.
If not, we are happy to create a custom web site with the above 2 pages to show real-time data to the user and to allow then to plot their custom chart using the 1 hr data from Rapid SCADA.
MattMay 4, 2020 at 4:30 pm #6798
In case you need to develop a web page, I suggest to use the above example. The 1st and the 2nd ways are preferable if you develop a separate application.
If the above pages can be part of the existing Rapid SCADA framework, that would be great.
It can be a part of Rapid SCADA web app if the backend is written using .NET Framework. However, the mentioned example written on clear HTML and JS.
May 5, 2020 at 9:09 am #6800
- This reply was modified 4 months, 2 weeks ago by Mikhail.
That worked. Thank you.May 6, 2020 at 1:33 pm #6807
I’ve managed to get an aspx page with basic controls on it to work from within Rapid SCADA. However, I’m not able to get the code blocks in the link https://rapidscada.org/integration-with-rapid-scada/ to work on my page.
Do you have sample pages showing the use of each method?
MattMay 6, 2020 at 2:15 pm #6809
Probably, namespace was renamed. Try deleting using and use the VS suggestions.
Or post the error here.May 6, 2020 at 6:50 pm #6810
I was missing
All working now.
- You must be logged in to reply to this topic.