LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

insert vi

hi all,

 

I've developed an application which insert a vi (vit extension) a front panel.

I've build an executable.

But, when I execute the application, the inserted vi doesn't appear in front panel.

What is the cause ?

 

Many thanks in advance for your help

 

0 Kudos
Message 1 of 5
(2,597 Views)

Probably forgot to add your*.vit file to the build specification (this file called dynamically by reference, isn't?).

Another possible problem that relative path to the *.vit file slightly different in Development and Run-Time modes.

 

Andrey.

 

Message 2 of 5
(2,593 Views)

I agree with Andrey..

 

The reason the path changes in the executable is that if you use a relative path, the path now includes the executable itself, so whatever relative path you were using in the development is no longer the exact same.

 

R

0 Kudos
Message 3 of 5
(2,589 Views)

Many thanks for your help

I'm not an expert so I didn't know that I have to include vit file in my executable building.

In my main labview, I include vit file with an absolute path.

So must I have this vit on the PC which executes the exe ?

 

0 Kudos
Message 4 of 5
(2,571 Views)

Of course, you must have vit on the target PC.

 

In attachment - simple project which illustrated how to get this done 

 

Andrey.

Message 5 of 5
(2,542 Views)