Changes for page 09 Lua Editor
Last modified by Nhu Nguyen on 2025/03/09 17:22
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Jim1 +XWiki.nhunguyen95 - Content
-
... ... @@ -168,7 +168,10 @@ 168 168 169 169 The above is the initialization function of screen 0. For screen 100, you can replace 0 with 100. You can add your own function: function we_scr_init_100() end 170 170 171 +(% class="box infomessage" %) 172 +((( 171 171 **✎Note: **The above function has a fixed name. If it is modified, it will not cause crash, but the function can be found. 174 +))) 172 172 173 173 **Example:** After the screen 0 initialization function is changed to we_scR_init_0(), the script will not be executed when screen 0 is initialized, and then no script will be executed, and nothing will be done because the "we_scr_init_0" function cannot be found. 174 174
- XWiki.XWikiComments[0]
-
- Date
-
... ... @@ -1,0 +1,1 @@ 1 +2025-03-09 17:22:36.258 - Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.nhunguyen95 - Comment
-
... ... @@ -1,0 +1,1 @@ 1 +hello, i am using wecon pi3070ig monitor product and i want to use it to control thermal monitoring device. my thermal monitoring device will send thermal information via rs485 communication when receiving thermal reading command with syntax: "STX001,RRD,01,0100", the returned information will be in the form of "STX001,RRD,OK,(thermal parameter)". i want to ask if i can use lua script to send the above data reading command?