12-08-2009 03:42 PM
I converted a Labview development file to an application file but when I try to run the application(exe) file, it does not execute. It has never done that before so I don't understand what's happening.
I can still run the development file and it works just fine. Its the application file that does not run.
Let me know what I'm doing wrong.
Thanks.
12-08-2009 03:53 PM
You will need to be a bit more specific on this.
Maybe you could post your VI here too.
12-08-2009 03:56 PM
Did you set the VI to "run when opened"?
Do you get any kind of error when you open the application? If so, what does it say?
Is it possible that it's erroring out due to something missing, and then simply stopping?
12-08-2009 04:02 PM
After I finish all the steps in creating the application file, and try to run the application file by clicking the "RUN" arrow at the top, nothing happens. Like I was saying earlier, I've always done the same steps and I've never come across this problem before.
I have attached the VI file. I don't know if you can convert it and try to run it and see if it works.
12-08-2009 04:08 PM
smercurio,
Unless that is the default setting, I did not set the VI to "run when opened". I don't get any error when I open the application file. When I try to run the file, just nothing happens. No its not erroring out.
It does give me an error when i run the full development VI file which makes sense since there is no hardware attached and therefore it can't find any modules. This I believe is normal. However I dont get the same error when I run the application file.
Hope the above makes sense. I also posted the VI on my earlier post.
12-09-2009 04:16 AM
You stop your VI with the DAQ Assistent, which is not a good way for running it as an application.
I simply deleted the wire from DAQ Assistent to the loop's conditional terminal and connected a Stop Button instead.
Try this and see if it runs as an executable then. If so, somethings might be wrong in your DAQ configuration which should give you an error.
Christian
12-09-2009 08:41 AM
ramair,
I noticed that your DAQ Assistant has 14 channels assigned to the SCXI-1124, but that device has only 6 outputs. ( ?? )
12-09-2009 11:32 AM
Broken Arrow,
The 14 channels are assigned to SCXI-1102B which has 32 channels. I am not using SCXI-1124.
12-09-2009 11:42 AM
Christian,
I did delete the wire from the DAQ Assistant to the loop's conditional terminal and connected a stop button. It did help a part of the problem. I can now convert it to an executable file and run it. However, when I run the file, it does not display any data. All fields just read "0". Again, I noticed that it does not give me an error that I'm looking for. I am looking for an error which I get when I run the full development file which says the following:
"The specified device is not present or is not active in the system. The device may not be installed on this system, may have been unplugged, or may not be installed correctly".
I just don't get that error when I run the executable file. I also ran the executable file on the computer which has the hardware attached to it. It still continues to show zeros in all data fields.
-ramair
12-09-2009 11:47 AM