FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Target OS for this Web service differs from the Web server configuration

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

Download All
0 Kudos
Message 1 of 8
(8,353 Views)

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.

Jayme W.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 8
(8,319 Views)

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

 

Download All
0 Kudos
Message 3 of 8
(8,315 Views)

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).

Jayme W.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 8
(8,296 Views)

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

Download All
0 Kudos
Message 5 of 8
(8,292 Views)

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.

Jayme W.
Applications Engineer
National Instruments
0 Kudos
Message 6 of 8
(8,262 Views)

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

0 Kudos
Message 7 of 8
(8,259 Views)

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.

Jayme W.
Applications Engineer
National Instruments
0 Kudos
Message 8 of 8
(8,251 Views)