LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

adding header to a .txt file

Hello All,
 
I need some help with my VI. The data produced my the VI is all written to a text file, data includes numbers only. I want to add headers to each column. Can anybody suggest me something......
 
Thanks for the help!!
Neno
0 Kudos
Message 1 of 5
(4,619 Views)

Hello Neno,

This is really a very simple task using file IO to read and rewrite with headers.  Applying headers after the fact is nice with a table control.  That way you can visually see what the header is being applied to without question.  Since there may be reasons beyond me and because it was fun, I have attached a VI that I custom wrote just for you.  It is a little overboard for what you need done, but it is written with future expansion and user-friendliness in mind.  This is the structure I use most of the time for user interfaces. Hope you like it and enjoy.

Chris Co

0 Kudos
Message 2 of 5
(4,612 Views)
Hello Chris,
 
Thanks alot for the reply and the VI. I am not able to open it. I am using 8.0 version of LV. Can you upload the VI in 8.0 version or just a screenshot......I really appreciate your effort.
 
Thanks a ton!!
Neno
0 Kudos
Message 3 of 5
(4,610 Views)
I can save it again in 8.0.
Chris Co
0 Kudos
Message 4 of 5
(4,606 Views)
Thanks again...........
0 Kudos
Message 5 of 5
(4,601 Views)