03-20-2026 01:43 PM - edited 03-20-2026 01:47 PM
Hello,
I'm a new user to labview, so apologize if the questions I'm asking sound pretty basic. I'm putting together an application that can both read incoming voltage data from an Analog Input, while also send output voltage data across two Analog Outputs. I've been able to get the system to work at a basic level. However, now I'm having trouble understanding how to implement a sort of Global stop variable into the program. When searching through the forums, I did find that someone had put together a basic "Global Stop" program, but am having a little trouble understanding how to implement it into my code.
I'm including the VIs for both a more stripped down, basic version of my application, as well as the vi for the Global Stop program I saw mentioned in the forums. Any advice on how to implement it would be greatly appreciated. For reference, I'm using the USB-6008 as my DAQ.
03-21-2026 12:09 AM
Many here don't have LabVIEW 2026 yet. Please do a "save fore previous" (e.g LabVIEW 2019) and attach again.
03-21-2026 12:01 PM
In the lower loop, you should use an event structure for ("knob1, knob2, stop", value change). No need for the stop 2 button or any FGV at all.
03-21-2026 12:08 PM
Here is a quick draft.
(I don't have any DAQ drivers installed and don't know your hardware. I thus cannot comment on the sanity of the hardware IO, but there is definitely some code smell...)