Real-Time Measurement and Control

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

How do I load a subvi dynamically on CRIO?

I want to load a subvi dynamically. On desktop applications I have done this using Call setup…, but this doesn’t seem to work with CRIO. See attached project.

 

Best regards,

Terje

0 项奖励
1 条消息(共 3 条)
3,694 次查看
One solution is to add the Open VI Reference call before using the Call by Reference node. In order to use the Call by Reference node you must wire up the type specifier VI Refnum on the Open VI Reference node. This allows the VI to know the connector pane of the dynamic subVI you are using. Before running this VI on the RT controller you must manually download (FTP) the dynamic subVI to the file location specified in the main VI.
 
I have attached an updated Main VI with these changes.
 
 
 
 
 


Message Edited by Christian L on 12-04-2007 01:23 PM
authored by
Christian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX


  
下载全部
0 项奖励
2 条消息(共 3 条)
3,682 次查看

Hi Christian.

Thank you. Your solution works fine.

 

Terje

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