LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic loading subvi

Solved!
Go to solution

Hey Guys..

 

Please help to solve this issue.. Attached a image for ref

---
Silver_Shaper | CLD
0 Kudos
Message 1 of 4
(2,646 Views)
Solution
Accepted by topic author Silver_Shaper
Two things, first there is a VI method for opening and closing front panels that is the recommended technique. Second, as written, your code dosen't return any data from the subvi that is being called so if there are errors you will not see them.
Mike....

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 4
(2,623 Views)

Thanks for your reply sir..

 

But, I don't have any indicator except error out in the sub vi. Why am using vi server is dynamic load and reduce the memory. If I run the same code as u suggested in method 1 it loads 103 vi & lib in memory.

---
Silver_Shaper | CLD
0 Kudos
Message 3 of 4
(2,619 Views)
First, in the end VI Server doesn't save memory per se. What it does is allow you ti not have your application loaded at once which can save memory at the expense of execution time. (The "subVI" loads ar run time)
Second, when used as in your code the VI gets loaded into memory when you open a reference to it. Once you have that reference no more gets loaded regardless of which methods and properties you manipulate.
Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 4
(2,589 Views)