Changes for page 2 Script

Last modified by Devin Chen on 2025/06/06 14:03

From version 41.1
edited by Hunter
on 2023/03/17 18:05
Change comment: There is no comment for this version
To version 42.1
edited by Hunter
on 2023/03/30 16:29
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -447,6 +447,20 @@
447 447  end
448 448  {{/code}}
449 449  
450 +== **1.9 High-Low Byte Switch** ==
451 +
452 +
453 +{{code language="lua"}}
454 +function highLowByteSwitch(floatNumber)
455 + addr_setfloat("@W_0#HDW23036",floatNumber,0,2)
456 + local newFloat = addr_getfloat("@W_0#HDW23036")
457 + local formattedFloat = string.format("%.2f",newFloat)
458 + print("The formatted float value is the : "..formattedFloat)
459 + return formattedFloat
460 +end
461 +{{/code}}
462 +
463 +
450 450  = **2 V-Box connect with third part server** =
451 451  
452 452  V-Box have two mode.One is for V-Net,User need to use WECON server to store data.We call this V-NET platform.