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?
Can you post your VI. Giving solution after that is much better
2011 format please
the properties of the EXE file as below.
There are number of files in the project files, why you are not adding these files ?
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?
Yes you should. Here you are telling labview that in real time project I am gonna all these files.
ok let me try
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
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.
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 ?