Sandy 0 Posted October 21, 2019 Report Share Posted October 21, 2019 Hi, I'm trying to build a log for my system using the Store DTI to File function. This runs after the struct containing the date is inserted into row 0 of a table, which should be appended immediately to the log file. The writes are sufficiently spaced (~30 minutes) that the SD write interval isn't an issue. I've found that when using option 2 "Only CSV" for the "Create CSV" input (F), the file is simply overwritten, and only ever contains 1 row. Option 1 "Create CSV File (All - udtf,csv,csv.zip)" does append correctly. In both cases "Append to File" (E) is set to 1 "Data will be appended to the file". This looks like a bug to me, and combined with the missing documentation for those options, I've wasted a little more time than I'd like trying to figure that out. Option 1 is an acceptable workaround, so I don't need further support, but this should be fixed. Sandy Quote Link to post Share on other sites
Robin P 0 Posted October 25, 2019 Report Share Posted October 25, 2019 Same problem here. Robin Quote Link to post Share on other sites
NoamM 11 Posted October 27, 2019 Report Share Posted October 27, 2019 Dear Sandy,For now you have to use "1" in "F" parameter in order to get the CSV you want. Note: 'Store DT To File' Ladder utility: Parameter in A, Data Table to store B, Start row in store file C, Target file name D, Number of rows E, Append to file (0 – Overwrite, 1 – Append) F. Create CSV (0 - No CSV, 1 – All files, 2 – Only CSV, 3 – Only CSV.zip) G, CSV file delimiter Parameter out H, status Quote Link to post Share on other sites
Robin P 0 Posted October 28, 2019 Report Share Posted October 28, 2019 Shall do. Thank you. Quote Link to post Share on other sites
oreillej2899 0 Posted January 23, 2020 Report Share Posted January 23, 2020 We have also confirm this issue on one of the newly purchased HMI/PLCs system using the Unilogic firmware 1.28.34 . We'll use the append option "1" (all files formats ) with the "Store DTI to..." as a work-around until new update is fixed. Thank you for posting. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.