LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run Number Logic

Solved!
Go to solution

Hi Daniel,

 

Thank you for your help. Using %s works, but it does not solve my problem completely. What I really need to do is the following. I run a state machine which takes some measurements. I want to label each run by a run number and I need this run number to be saved in the file at the end of the run. I thought the logic I wrote would be the correct way of doing this, but apparently is not as straightforward as I thought. Do you have any suggestion on that regard?

 

Thanks again,

Christian

0 Kudos
Message 11 of 13
(947 Views)
Solution
Accepted by topic author christianwos

Hi Christian,

 

Your logic looks sound.

 

Another way, but a bit more complicated, you could try going about this would be to keep a completey separate .txt file that just keeps track of the run numbers. You could read and write from that file and append it to your file names. 

 

But I feel the original way you were going about it would be more direct.

 

Regards,

Daniel

Daniel Parrott
Software Product Marketing - Data Management & LabVIEW
National Instruments
Message 12 of 13
(884 Views)

Daniel,

 

Thank you so much for your feedback. I actually finally got it to work.

 

Christian

0 Kudos
Message 13 of 13
(870 Views)