Tags: append, create, existing, file, filei, labview, operation, overwritten, programming, text

Append text to end of file

On Programmer » LabVIEW

1,461 words with 2 Comments; publish: Sat, 26 Apr 2008 22:50:00 GMT; (20062.50, « »)

Hello,

how can I append text to the end of a file?

I open the file using the operation "open or create". Then the existing text

is overwritten with the new text.

I want to add the new text to the end of the file. How can I do this?

Kind regards,

Gerald

All Comments

Leave a comment...

  • 2 Comments
    • Hello, using the open/create, you've to give the position of the end of file

      to the .vi that's going to write text. See the the attached file for the ex

      ample that I've made for you. It was written in Labview 8.2.1. But if you ca

      n't open it, you can always

      see the attached pic.Other way, it's by "write to spreadsheet file". this vi

      has the option "append".The names in quotes are not exactly has they are in

      labview. But I can confirm them in the moment

      append.vi:

      http://forums.ni.com/attachments/ni...113/1/append.vi

      append.PNG:

      http://forums.ni.com/attachments/ni...13/2/append.PNG

      #1; Sat, 26 Apr 2008 22:52:00 GMT