02-09-2009 07:09 AM
I am using DAQc 9172 Chassis and obtaining temperature using NI 9217 and Pressure from NI 9205. I get the output properly from the vi file. I am using Lab view 8.2.1 version. But when I build the executable (Application.exe) and use it for execution at the standalone PC which already has been installed with only (LV version 8.5)Ni DAQmx and runtime Engine , I get the pressure and temperature values as NaN.
However the application.exe file runs fine in the main PC which has been installed with Labview 8.2.1.
Can anyone help me in fixing this problem?
Solved! Go to Solution.
02-09-2009 07:13 AM
02-09-2009 07:30 AM
the CD also contained Runtime Engine for Labview 8.2.1 and I also installed it. But i get the output as Nan
02-09-2009 07:45 AM
Just curious...
Does your application read numeric values from a file (ie: a configuration file)?
Did you create an installer? or do you simply copy the executable to the standalone PC?
You can post your development code for people to look at where the problem might originate from..
R
02-09-2009 08:14 AM - edited 02-09-2009 08:15 AM
02-09-2009 09:40 AM
Thanks for the feedbacks. I still get a NaN
I made the script in Labview 8.2.1. I built the executable and then just copied it in the Standalone PC
In the Standalone PC, I just installed the device driver Daqmx (version 8.5) with LV runtime engines 8.2, 8.2.1 and Signal express. The MAX program recognizes my 9172 Chassis and also the NI's 9205 and 9217. The devices passed the sample test and also I can see the signals coming from them when MAX is running. But when I run the application file which I built in the main PC, it just gives the output as NaN.
I tried running the same application.exe file in the main PC, I get values. I could not figure it out still.
02-09-2009 09:43 AM
02-10-2009 05:33 AM
Thanks a lot Dennis ....It is the device number. In the development PC 4 cDAQ chassis's were installed..and the device number was CDAQ4...and the device name/number in the development PC was CDAQ1. Changed it to CDAQ4 and it works!!..Thank you everyone for the suggestions!!