09-17-2012 12:04 PM
Hi guys,
I have a cFP2220. It worked before with my labview2009. When I switch to labview2011, I can build my project but cannot deploy it. it says:
Error LabVIEW: (Hex 0xFFFEFA29) LabVIEW Web Services: Target OS for this Web service differs from the Web server configuration.
I check the solution from the NI web site, and it is not helping. Because it is already 64bit in my "config web application server" which is the same with my system.
Any ideas?
Nan
09-18-2012 12:51 PM
Hi Nan,
The OS in question in this case is the OS where the web service is actually hosted, on the cFP, and that is a 32 bit system. Even though your development machine is 64 bit, the LabVIEW Real-Time module (as well as all of the compatible RTOS) is 32 bit. Try switching to the 32 bit configuration for the web service and rebuilding the project.
09-18-2012 01:41 PM
Hi Jayme,
Thank you for your reply. But I just try your solution, it doesn't work.
And the error poped out when it was deploying. The building process is good.
I have no idea how I can fix the Target OS issue.
Thanks
nan
09-19-2012 02:55 PM
Hi Nan,
Just to clarify, is the web service hosted on the cFP or your computer? Have you followed the steps listed in this KnowledgeBase article? You should also confirm that you have the Web Server for LabVIEW RT installed on the cFP (step 2 in the linked article).
09-19-2012 05:55 PM
Hi, Jayme,
The web service is in the cFP device.
I have follow the NI online instructions, and the cFP worked with Labview2009 before, it just not working now and I don't know why.
And yes, I have the webserver installed in cFP.
See attached pictures.
Thanks
nan
09-20-2012 01:13 PM
Hi Nan,
Based on the screen shot of the project, it looks like you may be targeting an RT Desktop instead of the cFP shown in the MAX screen shot. Double check that you have the correct device set up as the Real-Time target in your project.
09-20-2012 01:43 PM
Hi, Jayme,
You are wrong about this. It is actually the cFP device. The cFP's ip address is 192.168.200.111 which is the same from the project window. I am pretty sure about this.
Thanks
nan
09-21-2012 08:51 AM
Hi Nan,
That may be the IP address of the cFP, but it is appearing in the project as a Desktop target rather than a cFP target. This could be the cause of your issue, because the default RTOS for a Desktop RT PC in LabVIEW is not the same RTOS that the cFP-2220 runs. I have attached an image of a project with both a cFP target and a Desktop target so you can see the difference. You can add your cFP-2220 to your project by right clicking Project at the top of the heirarchy and selecting New»Targets and Devices… and then choosing the device.