09-03-2010 03:42 AM
I am trying to build an executable of a LabVIEW vi which communicates with a plant via a Festo EasyPort data acquisition device. The vi works fine and I have followed the steps in the NI 'Distributing Applications with the LabVIEW Application Builder' to build the executable. The executable itself opens and looks like it is running fine but it is not actually reading the inputs or sending the output signals. There are no error messages. Any ideas where i might have gone wrong? I've tried including all the i/o VIs in the 'Always Included' Source Files specification tab in application builder but it doesn't make any difference. I am using LabVIEW 2009.
I've attached the orginal VI and a zip file containing the project and application files
Solved! Go to Solution.
09-03-2010 03:48 AM
Hi,
can't open your example as I don't have these FESTO-Vis, but you already looked into these VIs? Perhaps, they use something like "Current VIs Path" to load any config files or so? This path differs if you use LabView or the executable...
christian
09-03-2010 04:08 AM
Thanks - good point. I had a look but they don't call any other files. I have attached the Festo vis this time if you want to have a look.
09-03-2010 04:24 AM
As these VIs use a USB-Communication, perhaps it's something in a DLL file or so that doesn't work because of a different working path? Don't know...you tried to compile the test.vi in the Festo-Lib to look if this sample program will work?
09-03-2010 04:46 AM
Thanks again! I tried that and it worked fine, so I figured the problem was my original project file - I think I forgot to save the project after defining the build specification and before building. Made sure I did that this time and it seemed to work fine. Sorry for the dumb mistake but thanks for helping me work it out.