取消
显示结果 
搜索替代 
您的意思是: 

Dynamic loading subvi

已解决!
转到解答

Hey Guys..

 

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

---
Silver_Shaper | CLD
0 项奖励
1 条消息(共 4 条)
2,730 次查看
解答
已被主题作者 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 项奖励
2 条消息(共 4 条)
2,707 次查看

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 项奖励
3 条消息(共 4 条)
2,703 次查看
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 项奖励
4 条消息(共 4 条)
2,673 次查看