Changes for page 05 Lua Script

Last modified by Devin Chen on 2025/03/04 14:07

From version 32.1
edited by Hunter
on 2023/04/26 18:57
Change comment: There is no comment for this version
To version 34.1
edited by Hunter
on 2023/04/26 19:00
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -255,7 +255,7 @@
255 255  
256 256  = **14 CSV File Generation** =
257 257  
258 -The example shows convert the lua table data into csv string, then output as a file:
258 +The example shows convert the custom lua table data into csv string, then output as a file:
259 259  
260 260  [[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/csvGenerate.zip]]
261 261  
... ... @@ -276,7 +276,7 @@
276 276  (% style="text-align:center" %)
277 277  [[image:csvGenerateServerPath.png]]
278 278  
279 -The table drawing and csv file generation is mainly using the following function to implement, and csv file storage path in HMI is "udisk:weather1.csv":
279 +The table drawing and csv file generation is mainly using the following function to implement, the customized data is argument tab, and csv file storage path in HMI is "udisk:weather1.csv":
280 280  
281 281  (% style="text-align:center" %)
282 282  [[image:csvGenerateLuaCode.png]]
csvGenerateSimulationPath.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +29.7 KB
Content
csvGenerateSteps.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +32.5 KB
Content