07-15-2005 01:05 PM
07-15-2005 01:35 PM
07-15-2005 04:03 PM
Lynn,
thank you very much for your help. I understand now the difference between your modified VI and my original one is: the input to Write File.vi is string vs. array. I guess the empty string outside the loop is to initialize the shift register to known value. I see that I also didn't fully realize that building a string inside a loop would result in passing an array of strings upon loop termination, rather than each string individually being passed outside the loop during every iteration.
After reading the LabView help on Write File.vi, however, I must confess that it doesn't quite make sense why a header is written on every line (if input to Write File.vi is array). I would have guessed only at the beginning of the file...
I guess it's one of those things we must accept & work around.
Thanks again,
Alex