12-04-2017 06:40 PM
I've received the following VI that I want to merge with mine by doing a user event to start and stop both VIs. The VI that I have received uses a lot of sequence events and while loops in order to 1) initialize communication, followed by 2) calculating the information from the bytes being received.
I have been struggling to find a way to stop the VI while it's started to collect data. It has a "Reset" button which is linked to the STOP on the while loop but it does not do anything when running.
I want to implement a case structure that when signaled by the user event, it should trigger this VI to stop.
Any ideas?
Solved! Go to Solution.
12-04-2017 07:30 PM
What a mess. It would probably be more work to clean it up than to just throw it out and start over.
12-04-2017 08:15 PM
When you do start over,
Having a Block Diagram that is simple and "makes sense" has two advantages -- you are less likely to make a foolish logical error, and when you do (we all do), it will be easier to find it.
Bob Schor