Forum Replies Created
-
AuthorPosts
-
April 23, 2019 at 1:14 pm in reply to: Difference between current and previous data of same channel #5348
MikhailModeratorUntick “Formula used” checkbox for the destination channel.
April 22, 2019 at 1:50 pm in reply to: Difference between current and previous data of same channel #5342
MikhailModeratorWell…
Add this to the Formulas table
double MySetVal(int n) { SetVal(n, Val()); return Cnl; }and use in the channel 1: MySetVal(2)
Channel 2 must be of Calculated real type
MikhailModeratorI already finish this work.
Great!
How are differences between Personal and Business.
Personal licenses only for hobby. In other cases, you should select licenses of the Business type. To make an order, please follow this link.
MikhailModeratorWhat behavior do you expect?
MikhailModeratorWhat exactly do I need to do for a basic mathematical function? For example: Add the value of modbus channel 1 to the value of modbus channel 2 and display it in the table.
1. Create an input channel #3 that has Calculated real type.
2. Set a formula for channel #3: Val(1) + Val(2)
3. Specify channel #3 in a scheme or table view.
That’s it.April 19, 2019 at 11:19 am in reply to: Difference between current and previous data of same channel #5331
MikhailModeratorTry SetVal(2, Val()) instead of SetVal(2, Cnl)
April 19, 2019 at 11:17 am in reply to: Difference between current and previous data of same channel #5330
MikhailModeratorHi,
I need more info. Could you provide the screenshots of the settings and the steps how you test and what you actually get?
MikhailModeratorHi,
Please provide the screenshots of the settings you already did.
MikhailModeratorGood 🙂
MikhailModeratorI can answer particular questions about the code. If you ask more specific, I’ll try to explain.
but i suppose i need to define KPNum in SrezTableLight.CnlData at: public struct CnlData, something like: Public KPNum(double val);
I don’t recommend changing the essential classes.
MikhailModeratorCould you provide a screenshot and a part of ScadaWeb.log containing the error?
MikhailModeratorOK )
MikhailModeratorTo catch that the button or toggle is clicked you need an output channel.
April 18, 2019 at 2:44 pm in reply to: Difference between current and previous data of same channel #5316
MikhailModeratorHi,
You need to create extra input channels:
1st to save the previous value. Use SetData function in the formulas of the source channel for this purpose.
2nd to calculate the difference.
MikhailModeratorHi,
The file is not available.
Press “+0” button in Table Editor. -
AuthorPosts