LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

My VI stops, opens the block diagram, and a subvi blinks

I have a VI that was working until I made some recent changes (the details of which I inconveniently forgot).  When I hit the run button from the front panel, the block diagram opens up and a 'Build Array" subvi starts blinking.  I hit the (now) red continue button, or the run without pausing button, and a custom subvi in my main VI starts blinking.  I hit the continue button again, and the same subvi blinks every iteration.  When I run the subvi separately, it goes great. 
 
Any ideas?  I'm sure it is something obvious, but I am missing it.
 
Thanks,
 
Steve
0 Kudos
Message 1 of 10
(5,192 Views)
Steve,

It sounds like you have set a breakpoint. Do you see a red dot in the blinking part of the code? Context clicking on a wire brings up a menu in which one of the items is set or clear breakpoints.

Lynn
0 Kudos
Message 2 of 10
(5,188 Views)

I put a breakpoint on anothr subvi, and it behaves exactly like the problematic subvis.  But they don't have breakpoints.  I added breakpoints and cleared them, but it still acts just like it had a breakpoint.  Is it possible my file was corrupted to have a permanent breakpoint?

0 Kudos
Message 3 of 10
(5,180 Views)
At the top of the VI that is stopping, beside the run button, is the Pause button red? This occurs if you removed the breakpoint in the VI but forgot to clear this. If the pause button is red, click it black, and your VI should run without pausing now.
 


Message Edited by jrpe on 11-19-2007 03:09 PM
Jeff


Using Labview 7 Express
0 Kudos
Message 4 of 10
(5,174 Views)
Its possible to search your entire project for breakponts. On V7.1, click on the Browse menu. Breakpoints is at the bottom.
0 Kudos
Message 5 of 10
(5,171 Views)

I start with the Pause button black, then hit the Run button.  The Pause button turns red and the Build Array icon blinks.  When I hit the Pause button or the Run without Pausing button, it advances to another subVI and pauses again, with the subVI icon blinking and the Pause button red.  If I hit the Pause button or the Run without Pausing button, it goes through one iteration and stops at the same subVI, Pause button red, subVI blinking.

I searched and I have no breakpoints.

(BTW how do you attach images?  Help is no help.)

0 Kudos
Message 6 of 10
(5,162 Views)
(Deleted duplicate)


Message Edited by SCohen on 11-19-2007 02:25 PM
0 Kudos
Message 7 of 10
(5,162 Views)
To attach a jpg image, first create the jpg file then start your LabVIEW Reply. Below the reply typing box is the Attachment box. Beside it, the Browse button lets you find the jpg file.
0 Kudos
Message 8 of 10
(5,154 Views)
To attach images use the following
 
 
make sure you dont hit Preview Post though, because that will unattach everything.
 
Can you attach your vi (for those people who have your version of labview) and possibly some screenshots? (for those of us (me) who dont have high versions of labview) Smiley Happy
 
As for why your program is pausing, is it possible you have the following option selected in File --> VI Properties?
 




Message Edited by jrpe on 11-19-2007 03:34 PM
Jeff


Using Labview 7 Express
Download All
0 Kudos
Message 9 of 10
(5,151 Views)

Well, it is working now.  I didn't have the suspend when called box checked.  I replaced the problem subvi with a copy, removed some local variables, and closed and opened the file, and it works now.  I then replaced the copied subvi with an original and put back the local variables, and it still works.  I don't know why, but at least it works.  Thanks everyone for your help.

Steve

0 Kudos
Message 10 of 10
(5,143 Views)