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

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

请教invoke node 调用子函数遇到的问题

本人在使用invoke node 调用子函数时总是提示有问题,请高手帮我解答一下,下面附上错误提示和程序框图:
0 项奖励
1 条消息(共 4 条)
3,834 次查看
From the graph attached, i think you are using a method of calling SubPanel rather than SubVI. For subpanel, you may find examples in LabVIEW that you will need a frame of Subpanel. For dynamic calling subvi, you may refer to "dynamic load example.vi" in LabVIEW.
John L.
0 项奖励
2 条消息(共 4 条)
3,802 次查看
按下call & run按钮之后,你的subVI已经运行了,然后执行下次循环的时候还会在调用VI SERVER,就会产生这样的错误了,因为此时该VI正在处于运行状态。
写了小逻辑判断一下VI是否在运行,如果运行的话,就不用再执行调用VI的panel了。
0 项奖励
3 条消息(共 4 条)
3,798 次查看

thanks,

unfortunately , my computer has broken down because my main board has been burned when i insert a mp3冷淡表情, but later i will have a try!

thank you again!

0 项奖励
4 条消息(共 4 条)
3,772 次查看