Forum Replies Created
-
AuthorPosts
-
July 28, 2019 at 12:00 pm in reply to: String dynamic text change according input channel value #5763
MikhailModeratorHi,
1. Create a new record in the Units table with Sign =
-; Stop; Manual; AutoSee “No; Yes” for example.
2. Create a new formula in the Furmulas table. Something like that:
function double MyFunc() { switch ((int)Cnl) { case 3: return 1; case 4: return 2; case 5: return 3; default: return 0; } }3. For your input channel set formula to MyFunc() and set unit to the unit you created.
MikhailModeratorHi,
You should create an extra input channel of the calculated type.
In the channels of particular doors use SetVal(…) to set the calculated channel.
MikhailModeratorit s okay now
Thanks for noticing.
MikhailModeratorThe current solution is not beautiful.
Use a formula for an input channel:
EncodeAscii(((UInt16)Cnl).ToString(“X4”))And set the Format field to ASCII text
MikhailModeratorThis code performs bit operations. It uses C# syntax. You can find &, >> in C# documentation.
Val() gets the channel value.
MikhailModeratorHi,
The idea I wrote before is true.For example, to get bits 5-8, you need a formula:
((UInt16)Val(101) & 0x0078) >> 4
where 101 is the source input channel.
Note: I didn’t test the formula.
MikhailModeratorHi,
I’m not sure that I understand the question. But likely you need to create extra input channels of the Calculated real type. And use the Formula field of these channels to define the calculations.
MikhailModeratorYou should update Webstation at least to 5.0.8.0
MikhailModeratorHi,
The manual is http://doc.rapidscada.net/content/latest/en/
For now, the existing videos show the earlier version of Rapid SCADA. The textual documentation is up to date.
MikhailModeratorafter i add autologin to scadaweb folder and try to access website via address
What version of Webstation do you use?
MikhailModeratorI have noticed the file Web.config of PlgAutoLogin and normal Web.config are different.
You should restore the existing Web.config.
Try this update of Auto Login Plugin. It requires Webstation 5.0.8.0 or higher
MikhailModeratorHi,
I’m not sure that the driver can split and parse the numbers. Is it possible to split the values on the MQTT server?
MikhailModeratorOn my PC images are not available. Could you check them?
MikhailModeratorHi,
Thanks for noticing.
MikhailModeratorDashboard 5.1.0.0 requires Webstation 5.0.9.0.
You would recommend an update to SCADA 5.7.0?
Definitely.
-
AuthorPosts