cancel
Showing results for 
Search instead for 
Did you mean: 

Executable Application

toyan
Member

Executable Application

I'm trying to create an executable file of my project.

1) there are 2 threads that i need to make it runs all the time. this is the vi that handle the communication as signal and command layer.

2) i/o mapping is configures in an excel file and 1 of the thread above is referring to this excel file while running.

3) the startup vi - mainpanel.vi

4) all related vis

 

i put mainpanel.vi as "start up vi" and item 1 and 2 as "always included". but seems like it unable to get the IO mapping from the excel file and there's no communication there.

 

question:

where should i put the excel file of this configuration mapping?

17 REPLIES 17
Ranjeet_Singh
Active Participant

Re: Executable Application

Can you post your VI. Giving solution after that is much better 

 

2011 format please

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

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
toyan
Member

Re: Executable Application

Message contains an image

the properties of the EXE file as below.

 

EXE properties.jpg

Ranjeet_Singh
Active Participant

Re: Executable Application

There are number of files in the project files, why you are not adding these files ?

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

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
toyan
Member

Re: Executable Application

Hi Ranjeet,

So i should add all files related to the panel03 to always included?

 

how to make Profibus communication handler.vi & signal layer.vi running all the time?

Ranjeet_Singh
Active Participant

Re: Executable Application

Yes you should. Here you are telling labview that in real time project I am gonna all these files.

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

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
toyan
Member

Re: Executable Application

ok let me try

Ranjeet_Singh
Active Participant

Re: Executable Application

Go ahead. One more thing, Please use as much as indicator to see what is the real time value or path it is selecting or displaying. Use one simple error handler also. Once you satisfy with this then remove unwanted things. Make a habit of these

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

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
Highlighted
toyan
Member

Re: Executable Application

Hi Ranjeet,

after include all files into "Always Included" same problem still occurs.

the Signal Layer.vi is not running when i run the application.

dkfire
Active Participant

Re: Executable Application

First of all you should NOT include all the files from the project. LabVIEW will by it self find out what .vi files are needed to build the exe when you have selected the start-up .vi file.

The only files that is needed in Alway-include, is files you call by reference.

 

As your excel file is not a files that can be include in a exe file, that files is placed in the data folder beside the exe.

One question is then, how are you refering to this file ? how are you given the path ?