Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

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 Kudos
Message 1 of 3
(3,542 Views)
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


  
Download All
0 Kudos
Message 2 of 3
(3,530 Views)

Hi Christian.

Thank you. Your solution works fine.

 

Terje

0 Kudos
Message 3 of 3
(3,503 Views)