LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing to file

I had a program wich wrote to a file. I wanted it to write to two files, and just copied everything from the diagramm that had to do with filewriting, and that worked well. When I now start the program, it askes me for to filenames. What would be nice, is if I could do something so that the second file gets almost the same name as the first one, so that you can see that they belong together. Does someone know if there is some function where you can set part of the name of the file automatically?
0 Kudos
Message 1 of 2
(2,457 Views)
You should be able to programmatically build up a string with the filename. The Concatenate String.vi could be the key to your file names.

I've attached a small example, that should show you what I mean. You just need to feed the string or path as filenames to the write file vis.

Hope this helps
Roland
PS: NI offers pretty cool LabVIEW courses 🙂 Check it out! LabVIEW Course
0 Kudos
Message 2 of 2
(2,457 Views)