04-23-2013 11:27 PM
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?
04-24-2013 12:20 AM
Can you post your VI. Giving solution after that is much better
2011 format please
04-24-2013 12:55 AM
the properties of the EXE file as below.
04-24-2013 01:02 AM
There are number of files in the project files, why you are not adding these files ?
04-24-2013 01:05 AM
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?
04-24-2013 01:08 AM
Yes you should. Here you are telling labview that in real time project I am gonna all these files.
04-24-2013 01:09 AM
ok let me try
04-24-2013 01:12 AM
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
04-24-2013 01:58 AM
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.
04-24-2013 02:15 AM - edited 04-24-2013 02:16 AM
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 ?