Forum Replies Created
-
AuthorPosts
-
MikhailModeratorHi,
The manual contains the hardcoded functions. Whereas, GetBit is defined in the configuration database in Formulas table.
You definitely right – the documentation should be updated and improved. In the plans there is changing its format to HTML to make updating easier. Unfortunately, work takes more time than generating ideas )
Thanks a lot for your vision.
MikhailModeratorSee also:
C# OperatorsThe easiest way tor debug your formulas is creating console application using Microsoft Visual Studio Community Edition.
MikhailModeratorHi,
To create a new function open SCADA-Administrator -> Formulas table. It already contains a few examples.
If you need a formula to calculate input channel value, it should be as the following:
double MuFunc() { return 1; // for example }Then enter the formula in the Input channels table: MyFunc(); 1
Where 1 is status of the input channel.Anyway the channel value is double. If you need string representation, use Unit table (find the example in the default configuration database).
Also read about using formulas at Part 3. Software Configuration in http://rapidscada.org/product/documentation/
MikhailModeratorThank you for the info.
The issue is entered in the tracker in order to be resolved in the future.
MikhailModeratorSolved. Will be published in the next version.
MikhailModeratorRadix, could you write the required formula using C++, C# or math? In this case, I can tell how to apply it to Rapid SCADA.
MikhailModeratorI you don’t find the answer with Chrome, I’ll help you, OK?
MikhailModeratorHi,
You can easily the find the answer with help of Chrome. Press F12 and find the element by a mouse. Chrome displays the css file and line number.
I recommend not to waste much time, because the web app will be totally redesigned.
MikhailModeratorFirst of all, let’s make sure about the reason. Please write about the result after changing localization.
MikhailModeratorHi,
The manual is inside the installation package. The file name is Doc\dbexport_en.pdf
Try using database model and scripts from the manual.
MikhailModeratorI think it will be good idea to implement connection timeout. It will be done in a one of the future version of Rapid SCADA. Also this work can be accelerated on commercial basis.
MikhailModeratorAs an option you can split polling into several communication lines to communicate in parallel.
How long does it wait if connection can’t be established?
MikhailModeratorLook for the cause in C:\SCADA\ScadaServer\Log\ScadaServerSvc.log
MikhailModeratorThe cause that Mono can’t compile the line 79
initialCmdVal = 0.0;
that is shown in ScadaServer/Log/CalcEngine.cs
MikhailModeratorDo you use comma as decimal separator?
I think the most simple way to switch location and language back to English and check whether error disappear or not. -
AuthorPosts