Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66753

Searching a TDMS File via While Loop

$
0
0

I have a TDMS file contianing output data, which includes the status of a button (binary 1 or 0).  I want to search through the data for the point when the button is active.

 

I was thinking an "easy" way to do this was to read a single line of data from the TDMS file, one at a time, and then take action depending on whether or not a "1" was present.

 

I set this up in a while loop so that I could define the offset using the iteration counter.  However, I don't get an output that way.  Curiously, if I replace the iteration counter with just a numeric constant, I can get it to pull out the single line I want.

 

Why doesn't this work in the while loop?

 

 


Viewing all articles
Browse latest Browse all 66753

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>