09-27-2013 11:59 PM
I am working on a program in which my main vi, after meeting the conditions will pop up a subvi. On the subvi, there are two active buttons, one of them is a "Cancel" button, in which the subvi suppose to close and the Main vi will continue running. On my program, after clicking the Cancel button of the sub vi, the main vi hangs. and it needs to be stopped to refresh the main program.
please help
Thanks.
09-28-2013 12:15 AM
We can't help without seeing your code. Please attach your VI's.
09-28-2013 12:33 AM
Sorry, I forgot to attach the VIs.
09-28-2013 01:24 AM
god you need to learn how to use event structure , dataflow...............
two event structure ?????????
one value is coming out from one while loop to another while loop ............
lots of comments can be made but first you refer LV basic 1 and 2 courses
09-28-2013 01:37 AM
hey, i'm just a beginner ok?.
Other than reading, of course i want to learn LV through hands on. If this is annoying to you guys, then close this topic. I'll try to figure this for myself.
09-28-2013 02:05 AM
hey rctrigger,
Dont worry, you cant be expert in 2 days. If your subvi is in while loop then just stop the loop it will stop subvi. Here is an example. Modify accordingly
09-28-2013 02:16 AM
hi, can you save the VIs to a lower version (i have LV 10)
thanks
09-28-2013 02:20 AM
Here it is
09-30-2013 10:53 AM
Learning the debugging tools in LabVIEW will be very helpful in figuring out what is causing the program to hang. In the block diagram, there is a lightbulb icon. This is the "highlight execution" button. This will show you the data flow through the program. Execution highlighting also slows the program to visualize the data flow. Additionally, you can place probes on the wires to monitor the values. This can be done by right-clicking on the wire and selecting Probe.
Here is a page with information on the Debugging Tools: www.ni.com/gettingstarted/labviewbasics/debug.htm
Since you are a new user, it's good to know that National Instruments offers training courses: ni.com/training
09-30-2013 11:17 PM
@TBirkulosis wrote:
Learning the debugging tools in LabVIEW will be very helpful in figuring out what is causing the program to hang. In the block diagram, there is a lightbulb icon. This is the "highlight execution" button. This will show you the data flow through the program. Execution highlighting also slows the program to visualize the data flow. Additionally, you can place probes on the wires to monitor the values. This can be done by right-clicking on the wire and selecting Probe.
Here is a page with information on the Debugging Tools: www.ni.com/gettingstarted/labviewbasics/debug.htm
Since you are a new user, it's good to know that National Instruments offers training courses: ni.com/training
Once he will start using labVIEW. He will be aware for all these. Thanks for your info.