ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open a VI reference from an application

Hello,
 
I have a Main module.vi that is calling a Test module.vi by a reference. I use the open VI reference with a strictly typed VI and the Test module.vi is inside a llb.
As VI the Main module is running without any problems. When I build an application of the Main module I get the error 1003 from the open VI reference.
The path to the llb and the Test module.vi is correct.
 
The idea of this function is that I don't must changing the Main module application in the future when it's running.
The path to the llb is reading out of a config file by the Main module and it is calling the Test module inside the llb.
When I have a new llb, I insert only the new name into the config file. The Main module reading out the new name, I can select it in the program and it will be calling by the Main module.
 
I hope that anybody can help me with my problem or has an other solution for my idea.
 
 
greetings
Sascha
0 Kudos
Message 1 of 2
(2,667 Views)

Meanwhile I have found the problem.

The problem was that inside the llb were not all neccessary VIs like VIs from the vi.lib.
Now I build a source distribution with inclusion of all vi.lib, instr.lib and user.lib.
Then I build again the llb and it's running wihtout any problems.

 

greetings

Sascha

0 Kudos
Message 2 of 2
(2,645 Views)