LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

My Vi runs perfectly on its own, but when i run it as a sub-vi it hangs, unless i make the front pannel pop up when the sub vi is called

My Vi runs perfectly on its own, but when i run it as a sub-vi it hangs, unless i make the front pannel pop up when the sub vi is called. Is there any way to fix this?
0 Kudos
Message 1 of 5
(3,139 Views)
Do you mean it hangs the calling VI?
How do you call the subVI and how does the subVI terminate on its own?
 
Can you attach the subVI?
0 Kudos
Message 2 of 5
(3,135 Views)
The sub-vi initiates a visa session, does the required measurements and then closes the visa session and returns the measured value
0 Kudos
Message 3 of 5
(3,131 Views)
Sorry for the incomplete info,
 
Yes, The sub-vi hangs when called.
There is nothing speacial that i m doing while calling it.
0 Kudos
Message 4 of 5
(3,130 Views)
Hi Pitchfork,

have you right click the sub-vi and select SubVI-node setup, and selected Suspend when called? This will halt the subVI. You can also set this in the VI options.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 5 of 5
(3,107 Views)