Forum Replies Created
-
AuthorPosts
-
Ekrem
ParticipantI mean the number of records stored in the database for each channel during the month.
August 21, 2025 at 7:01 pm in reply to: How to display selected command text in a Dynamic Text element #16908Ekrem
ParticipantThank you for help problem solved
In my case channel 114 is only an Output channel, not linked to a real device. That’s why simply using Val(114) didn’t work. As suggested, I used the formula:
SetData(115, CmdVal, 1)
Now the command value is written to channel 115 with a defined status, and the Dynamic Text element correctly shows the enumeration text (Mold Status 1, 2, 3). This solved the issue.
August 21, 2025 at 12:34 pm in reply to: How to display selected command text in a Dynamic Text element #16905Ekrem
ParticipantChannel 114 – Output type, used to send the command with 3 options (1, 2, 3).
Channel 115 – Input type, Data Type = Integer, Format = Mold Status (enumeration:
1=Mold Status 1
2=Mold Status 2
3=Mold Status 3
).
My goal is to show the selected option as text in a Dynamic Text element bound to channel 115.Should I simply set the Input Formula of channel 115 to Val(114) (or CnlData(114)) so that it mirrors the value of channel 114 and then uses the enumeration format to display the text?
August 21, 2025 at 12:21 pm in reply to: How to display selected command text in a Dynamic Text element #16903Ekrem
ParticipantThank you for the explanation. I already configured an output channel and linked it to the button, so the popup with the options (1, 2, 3) is working correctly.
What I still need is to show the chosen option as text on the scheme in a Dynamic Text element (for example: “ Mold Status 1 / 2 / 3”). At the moment the command is sent, but the text box just shows —.
Is there a recommended way in Rapid SCADA to pass the selected command value to another channel (or directly to a text element) so that the corresponding label from the command format is displayed on the scheme?
-
AuthorPosts