Solution
When programmatically launching a VI which has NI CAN functions (for example, using an Open VI Reference function from the Application Control palette and then using an invoke node to launch and run a VI), you must add the VI you are launching programmatically as a dynamic VI in the LabVIEW Application Builder.
The
Source Files category in the LabVIEW Application Builder allows the addition of dynamic VIs in the
Always Included window. Please note that in order to use NI-CAN functions in an application, you must have NI-CAN installed on the application's target machine.