LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why does not close

Solved!
Go to solution

I am not really familiar with lv. I copied things from programs.

It looks al pretty good, but when I press enter, two sub vi's should close and in the main vi the stacked sequence should go to the last sequence and end the main.vi as well.

For some reason the subvi's doesn't close well and that is the reason the stacked sequences is not going to the last sequence.

Who know what I do wrong?

 

Rens

 

I attached the code I have right know.

 

0 Kudos
Message 1 of 6
(2,979 Views)

Hi RvG,

 

thank you so much for your post on our forum. I wasn't able to run your VI's since some VI's from your user.lib folder were not attached. I made a simple example where I used the close front panel methode to close the main VI.

 

Best regards,

Martijn S
Applications Engineer
NI Netherlands
0 Kudos
Message 2 of 6
(2,932 Views)

hi,

for me also it is not get open...

But what i think is. Some of your subVi is not getting terminate it's loop properly.

Thats why your last sequence not get execuited...

it is waiting to terminate the loop... use high light execuition to check where the vi waiing or execuiting...

then proceed accordingly...

 

<<Kudos are welcome>>

Download All
0 Kudos
Message 3 of 6
(2,916 Views)

Other suggestion try using a global stop (If you are using while loops) and try stopping it...

 

Smiley Wink

-----

The best solution is the one you find it by yourself
0 Kudos
Message 4 of 6
(2,900 Views)

It look likes one of the vi is not closing correctly. When I open the HMI VI when the program is running and exit is pressed I only see the front panel and I am not able to open the block diagram. Is there a tool how I can see which vi's are running? (other than checking with the high light execution).

 

best regards,

 

 

Rens

0 Kudos
Message 5 of 6
(2,887 Views)
Solution
Accepted by RvG

You can create break points and probes to watch the execution and result at a particular place...  If your are not able to open the BD create a break point then it will automatically open.. Give a try...

 

Smiley Wink

-----

The best solution is the one you find it by yourself
0 Kudos
Message 6 of 6
(2,852 Views)