LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

saved csv file

Hi all :

 

Please see attach file , I build vi that create csv file , if you look at this vi you see that I saved 5 row every time after I press on go bottom , if I press again on go another number replace the old number in same file ,

 

What I want to do if I press on go bottom for the second time  number will saved under row no 5

 

Example when I press on go in the first time, number saved from row 1 to 5, that's I can do  , but if I press on go in the second time I want these number will save from row 6 to 10

 

Can I do that ?

 

Thanks

 

 

 

0 Kudos
Message 1 of 5
(3,393 Views)
Use the open file VI to open the file.  Then use the Set File position to set the file position to the end of the file.  This is found in the advanced File I/O pallette.
 
I would also recommend using the build path function to create the file name rather than the path to string, string manipulation, then string to path functions.
0 Kudos
Message 2 of 5
(3,373 Views)
can you help with this issue
 
thanks
 
0 Kudos
Message 3 of 5
(3,343 Views)
Hi elyan,

that should give you a kick...

Notes:
- make your diagrams smaller...
- ALWAYS use "Build Path" / "Strip Path" functions!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(3,336 Views)
thanks very much
0 Kudos
Message 5 of 5
(3,327 Views)