Jump to content

Store DTI to file - Append not working with "Only csv"

Recommended Posts


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.


Link to post
Share on other sites

Dear Sandy,
For now you have to use "1" in "F" parameter in order to get the CSV you want. 

'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
Link to post
Share on other sites
  • 2 months later...

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...