Dynamically Calling a VI
- Updated2025-08-15
- 1 minute(s) read
Complete the following steps to dynamically call a VI with the Call By Reference node.
Note If you want to
call a VI asynchronously, use the
Start Asynchronous Call
node instead of the Call By Reference node.
- Add the Open VI Reference function to the block diagram.
- Use the Open VI Reference function to create a strictly typed VI reference.
- Add the Call By Reference node to the block diagram.
- Wire the vi reference output of the Open VI Reference function to the reference input of the Call By Reference Node.
- Add the Close Reference function to the block diagram.
- Wire the reference out output of the Call By Reference Node to the reference input of the Close Reference function.
- Wire all error in and error out terminals on the block diagram.