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.
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.