From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

Data Acquisition counting number of Iterations

Solved!
Go to solution

Hello,

 

I am attempting to put a column in my spreadsheet and also on the front panel counting the number of data points that I have taken. As you can see in the picture I was the first column to be the iterations count, but I cannot figure out how to make this work. I attempted a for loop outside the while loop using the increment function, but it overwrote all the data and was count 1-11 for each column instead of making measurements.

 

Thanks

Download All
0 Kudos
Message 1 of 2
(1,702 Views)
Solution
Accepted by topic author sambpk

Use the "i" (the iteration) from the while loop, convert it to a string, concatenate it just like, and before, the time stamp.

Message 2 of 2
(1,689 Views)