I suppose, this is a scratch. Else I would have the first question: How do you stop the loop? But second question: Why do you use a shift register, since the data is never changing. It's enough to just wire the tick it into the while loop.
If you want to make some measurement in the loop I would recommend the timed loop, it ought to be more accurate. And if it's important to have the "exact" time the measured value comes in, you should bundle the
Get Tick Count with the aquiring VI (e.g. the VISA Read) with a single frame sequence.
Where do you get the data from? How do you get it into the PC?
Greets, Dave
Greets, Dave