LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1003 occurred, if I tried calling a VI dynamically from an EXE.

While developing the software (let say Main.vi), I dint face any problem when I dynamically load/run a VI (say dynamic.vi) in the Main.vi, but as soon as I created EXE (say Main.exe) of my software and tried loading/running dynamic.vi, it thrown an error 1003 as shown in following picture.

 

20799iFEFFF7C680D3B83B

 

The exact message in the error code was:

" The following Error has occured 

  Status:TRUE  Code:1003  Source: Invoke Node in PPCS_Config_Utils_SubVI_SubPanelEngine.vi->PPCS_Config_User Interface_MainUI.vi

<APPEND> VI Path: <b>C:\Documents and Settings\E200200\Desktop\Executable\PluggableDrivers\Power Supply\E363x.llb\E363x_GUI.vi</b>

Do you want to continue?"

 

The path referred in error is correct, moreover on opening that dynamic.vi, it can be opened and run as well.

 

20797iC61D1E7F60AD7DA6

 

Now as the dynamic.vi is not a static VI (can go on for a change even after Main.exe is built), I can not add dynamic.vi while building EXE of my software.

 

If anyone else faced the same problem (I'm sure lot many among you have faced), please suggest a solution.

 

Thanks and regards

LabVIEWer.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 1 of 2
(3,172 Views)

I'm just going to throw out some generic suggestions so we can get some conversation going to get this problem solved:

 

 

  1. Is the LLB the same LabVIEW version as the run-time engine on the target machine?
  2. Does the dynamically launched VI have dependencies not installed in run-time libraries?
  3. Try this: instead of simply using the "Run VI" invoke node, insert a "Front Panel:Open" invoke node in the caller. This should open the front panel of the dynamically launched VI, and it should show you a broken run arrow, and clicking on the broken arrow may give more hints as to why that VI is not happy.

 

0 Kudos
Message 2 of 2
(3,144 Views)