For my VI, I am measuring a voltage output from a laser. The laser range is +/- 5V and has a 12V output when the target is out of the laser's range.
I would like to start the data acquition when the voltage from the laser hits a voltage above 5V. The reason I want it set up this way is because I am using the laser's out of range voltage (which is triggered by a small pin that is very close to the laser) as a trigger for data acquisition. Basically, I want the program to monitor the voltage and the first time the voltage gets above 5, I want the next stage to start, which is the data acquision.
The problem is that I want the data acquisition to stop when the voltage gets above 5V. I am using t
he same principle/mechanism to stop the program as I did to start it. The attached VI is the data acquisition stage. I don't see how to include the start condition in the current loop system, but I have no clue how to implement it. I am also using LV 4.0, which might limit me 😞
Any ideas?
Clint