From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use an iteration value from a "while" (or "for") loop as part of a filename?

I am using the "Write To Measurement File" function  inside a while structure and would like to incorporate the iterative value from the while-loop as part of the file name. I'm not sure how to do it. Any suggestions?
 
0 Kudos
Message 1 of 3
(2,110 Views)
Use the 'Format Into String' primitive from the Strings palette.
intvsteve
LabVIEW R&D
0 Kudos
Message 2 of 3
(2,106 Views)
Like this:




Edit: Oops. Sorry for the double answer.

Message Edited by smercurio_fc on 05-22-2007 04:25 PM

0 Kudos
Message 3 of 3
(2,105 Views)