NI LabVIEW,CVI,数据采集等产品讨论区

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

关于动态调用VI的问题

请问在一个主VI中,能否同时多次动态调用另一个VI。
比如说,我有一个SubVI能够产生矩形波,三角波,正弦波三种波形,并显示。然后我在主VI中三次动态调用这个子VI,弹出三个窗口,分别显示矩形波,三角波,正弦波三种波形,请问该如何实现?
0 项奖励
1 条消息(共 29 条)
9,034 次查看
做3个subvi,分别显示三种波形不就行了。
---------------------------
Lady And Basketball Vividly In my Exciting World !!!
Daniel.Tang E-mail: tangye@friendess.com
0 项奖励
2 条消息(共 29 条)
9,001 次查看
这我只是举一个例子,其实在主VI中并不知道要调用SubVI的次数,有可能是5次,6次,7次等。
不知道LabVIEW在打开一个SubVI时能否动态产生一个被调用SubVI的副本,然后再不需要的时候自动删除。
0 项奖励
3 条消息(共 29 条)
8,996 次查看
       你可以模仿多次启动单点采集数据的例子,做一个按钮来动态调用你的vi,按一下按钮动态调用一次。这样是可以实现的。但是按照你说的同时3处动态调用同一个1个vi貌似是行不通的。
---------------------------
Lady And Basketball Vividly In my Exciting World !!!
Daniel.Tang E-mail: tangye@friendess.com
0 项奖励
4 条消息(共 29 条)
8,991 次查看
你的意思是说在LabVIEW中动态调用某一个SubVI,只能调用一次,要在调用这个SubVI的话,必须关闭先前的调用,是吗?
依旧以我上面的例子,我再主程序中作一个按钮,每单击一下,弹出一个子程序显示波形,单击多次,就弹出多个窗口,同时显示不同的波形,但单击的次数是未知的,这样在LabVIEW中难道不能实现吗?
0 项奖励
5 条消息(共 29 条)
8,987 次查看
 问你一个很简单的问题,1个vi能打开2次吗?
---------------------------
Lady And Basketball Vividly In my Exciting World !!!
Daniel.Tang E-mail: tangye@friendess.com
0 项奖励
6 条消息(共 29 条)
8,981 次查看
your function is not difficulty. you can use "copy vi" function.
as you press a button, you can copy subvi and name it **1.vi, and call it . as you press button again, name it **2.vi ......
and call them out. it is OK. after you finish testing, you can delete all of samples .
________________________________________________________


Try to make everything Automatic
0 项奖励
7 条消息(共 29 条)
8,981 次查看
Thanks.
0 项奖励
8 条消息(共 29 条)
8,976 次查看
as the interesting, and I made the sample .it is OK.
if you are interesting, that I can enclose to you.
________________________________________________________


Try to make everything Automatic
0 项奖励
9 条消息(共 29 条)
8,974 次查看
逆向思维,有创意。
---------------------------
Lady And Basketball Vividly In my Exciting World !!!
Daniel.Tang E-mail: tangye@friendess.com
0 项奖励
10 条消息(共 29 条)
8,971 次查看