LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FIGURING HOW TO GET VI TO STEP THROUGH STATES CONTINUOSLY

The attached vi is using a USB6009 digital line as trigger and monitoring analog input for x duration.  It works great when ran once and then vi stops.  I want it to run continuosly but my problem is figuring out how to not look for digital trigger until the measurement while loop is finished and not measuring until trigger detection is complete.  Thanks for any help.

0 Kudos
Message 1 of 3
(1,451 Views)

Hi joot,

 

Rube-Goldberg alarm:

check.png

 

There's no loop around your code, so how do you want to "run continuously"?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO
0 Kudos
Message 2 of 3
(1,443 Views)

I tried a while loop around everything but it would run correct the first time but not after that.

 

After it completes measurement and log, I need it to continue to run and sit and wait for another digital trigger and continue on to measurement.  Probably something simple but I am missing it.  Thanks.

0 Kudos
Message 3 of 3
(1,434 Views)