Changes for page 05 Lua Script
Last modified by Devin Chen on 2025/03/04 14:07
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 3 added, 0 removed)
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,9 +276,12 @@ 276 276 (% style="text-align:center" %) 277 277 [[image:csvGenerateServerPath.png]] 278 278 279 -The table drawing andcsv file generation is mainly using the following function to implement, and csv file storage path in HMI is "udisk:weather1.csv":279 +The 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]] 283 283 284 - 284 +The table drawing is mainly using the following function to implement: 285 + 286 +(% style="text-align:center" %) 287 +[[image:csvLuaTableDrawing.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
- csvLuaTableDrawing.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.9 KB - Content