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

use read status to stop while loop

$
0
0

Disclaimer: I am relatively new to LabView so this may be simple but I haven't been able to figure it out.

 

I want to run a chip until it generates the signal of interest. I've come up with the attached code where the while loop generates all of the inputs to the chip including a software timed clock. When PFI5 is asserted (PFI5in button pressed) the top path captures the data. When the capture process is complete I would like to terminate the while loop. Right now I get and display the data but I haven't been able to figure out how to stop the while loop.

 

How would I configure this diagram to get that to happen? I thought I could look at the DAQmx Read properties and look for the buffer to fill up but all I ever get is zero in the different status indicators.

 

Thanks


Viewing all articles
Browse latest Browse all 69515

Trending Articles



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