From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Certification

cancel
Showing results for 
Search instead for 
Did you mean: 

CLD-R Question 32

I still think the question was poorly stated. I have used Method 1 to dynamically call a VI. I have used Method 2 to insert a VI into a subpanel and execute the VI. In general, both methods “will allow the execution of the subVI” with the exceptions I stated above. Was I supposed to make the assumption that the code above was written on the same block diagram?

0 Kudos
Message 11 of 13
(2,991 Views)

It doesn't matter if they are on the same diagram.  If you try to use the invoke node to run a VI using a Strictly Typed VI reference, you will get an error.  I even tried this on a reentrant VI and still got the error.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 12 of 13
(2,987 Views)

Thanks crossrulz. My mistake! Forgot to change my VI reference to strict type reference.

0 Kudos
Message 13 of 13
(2,984 Views)