Forum Replies Created
-
AuthorPosts
-
MikhailModeratorHello,
Please clarify your question. Screenshots may help.January 8, 2025 at 8:13 am in reply to: How to send a string in an input channel through MQTT #15934
MikhailModeratorHello,
Currently, the MQTT client driver supports only numbers. You can convert incoming strings int numbers with JavaScript, and transmit numbers to Server as channel values.
MikhailModeratorNote. Don’t publish your bot token. It’s not safe.
MikhailModeratorHi,
Send request: https://api.telegram.org/botXXX/getUpdates?offset=0&timeout=5&allowed_updates=message Error executing request: The request was canceled due to the configured HttpClient.Timeout of 10 seconds elapsing.
timeout=5 means that the Telegram server should send a response in 5 seconds. But it didn’t. May be they have some issues on their side, or there are internet provider issues.
For testing, you could send the same request in a web browser.
-
This reply was modified 1 year, 2 months ago by
Mikhail.
MikhailModeratorSeparators depend on the culture that is set in the Administrator application.
MikhailModeratorCould you provide screenshots that explain the question?
MikhailModeratorProbably channel data is not ready when InitScripts is called.
What kind of channels do you need to initialize?
MikhailModeratorFor a channel of the input type it depends on Communicator.
The Communicator app sends data to Server after each session and every period (60 seconds by default).
MikhailModeratorIf you use some variables in your scripts, you can initialize them in the InitScripts method, for example. It is called once when Server starts.
MikhailModeratorYou can call the HourStarted function inside your own custom functions. It is auxiliary.
MikhailModeratorThe CountPulse function should be used in a channel of the calculated type. It should refer another channel. If the 2nd channel changes from 0 to >0, the 1st channel is increased. Check the source code in the Scripts table.
MikhailModeratorEveryXXX function is executed many times a second. When a time is elapsed, the method passed as an argument is executed. Find the source code of the EveryPeriod function in the Scripts table.
MikhailModeratorHello,
Please ask questions in proper different topics.January 2, 2025 at 12:47 pm in reply to: After using Rapid Scada, individual ideas make suggestions #15885
MikhailModeratorThank you for your thoughts.
Item 2. You can. Try Ctrl + C.
Items 1 and 3 have been added to the back log.
MikhailModeratorWhen a command is sent, an output formula of the channel is executed. In that output formula you can write a value to the channel as discussed above.
-
This reply was modified 1 year, 2 months ago by
-
AuthorPosts