09-22-2011 09:58 AM - edited 09-22-2011 09:59 AM
Hello all.. Please help me to solve the issue.
1. I am having a doubt on calling the main program as a subvi (looking for,when user click the button load the front panel of a main pgm). Which is the best method?
a.Call as a vi ref method. (Dynamic Load)
b.Placing it on TOP vi and enable subvi option show front panel when call.
Waiting for reply..
Thanks in Advance.
Solved! Go to Solution.
09-22-2011 10:38 AM - edited 09-22-2011 10:39 AM
If you don't know why you want to call the VI dynamically then b is probably your best choice. It is much simpler. The only reason to load a VI dynamically is if you might never need it in memory. I am sure someone else will chime in on other reasons to load a VI dynamically.
09-22-2011 10:46 AM
@Steve Chandler wrote:
If you don't know why you want to call the VI dynamically then b is probably your best choice. It is much simpler. The only reason to load a VI dynamically is if you might never need it in memory. I am sure someone else will chime in on other reasons to load a VI dynamically.
I'm sure there are other reasons as well.
There is no one answer to your question though. The answer really is it depends. There are good reasons for doing it either eay and each works best under certain circumstances.