LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vi reference exe is not working

Solved!
Go to solution

Please any one solve this. In my application application.exe will ask for the vi to execute. I suppose to give defects_feature_information.vi in that path. If that defect_feature_information.vi path is selected from folder its not showing any error.Executing fine. Problem : I builded my application along with defects_feature_information.vi as always included. So I suppose to choose path as H:/my project/Application.exe/Defects_Feature_Information.vi . In this case it shows error. Please anyone help me out. I have included my exe and VI. Note: ProgOpenaVI LV 8.0.vi is top level vi

Download All
0 Kudos
Message 1 of 4
(2,314 Views)

Hi,

 

Normal file path and EXE file path is different. You have to see some documents that can help you build file path in EXE.

 

Or do one think just create a indicator on path and check what wrong in path......

Its definately different from the actual path

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
Message 2 of 4
(2,302 Views)

If you don't have any defined need to call the vi dynamically then you can use the static vi reference, so that the vi will automatically included into the build.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 3 of 4
(2,294 Views)
Solution
Accepted by Anitha_Shanmuganathan

Hi anitha,

                                  Can you please elobrate what is actually happening.

 

Do 1 thing use one indicator to see the path it is taking when you are building exe file.

 

Use application directory instead of absolute path & that additional SubVI should be inside exe folder than the path of SubVI should be application directory \ folder name of SubVI.

 

Try this

 

 

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 4 of 4
(2,286 Views)