Error 1003 When Trying to Programmatically Launch a VI Using CAN Functions in Executable

Updated Jan 24, 2019

Reported In

Software

  • LabVIEW

Driver

  • NI-CAN

Issue Details

When i am trying to programmatically launch a VI using CAN functions with an executable file built using the LabVIEW Application Builder, I receive following error message:
Error 1003 occurred at Invoke Node in Dynamic Call.vi
 

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.

WAS THIS ARTICLE HELPFUL?

Not Helpful