LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hosting a web service on a sbRIO.

Hello all,

 

I'd like to know if it's possible to host a web service, that was developped in Java, on a sbRIO?

 

If yes, can you send me links to documents or help.

 

Thanks,

 

Michel

0 Kudos
Message 1 of 4
(2,775 Views)

Michel_Gauvin,

The short answer is no.  The sbRIO has a LabVIEW RT operating system on it, and there is no way to get the Java Runtime Engine installed.  It supports the the LabVIEW Web Services though:

http://www.ni.com/white-paper/7350/en

 

I hope this helps!

Systems Engineer
SISU
0 Kudos
Message 2 of 4
(2,755 Views)

Hello Nathan,

 

I need more clarification, we can't host a third party web service (not a LabVIEW one) on a sbRIO?

 

I thought it was possible for java to be run on sbRIO based on the following document http://zone.ni.com/devzone/cda/epd/p/id/6462 where is states the following: NI realtime targets running VxWorks, which include PowerPC versions of single-board RIO (sbRIO) and CompactRIO (cRIO), may be programmed in C, C++, and Java. <----

 

Thanks,

 

Michel

0 Kudos
Message 3 of 4
(2,750 Views)

Hi

In theory you can, however you will need to find a cross compiler for VxWorks for Java. Also you will have to handle the debugging of the webservice. Neither of these things is particularly easy. Probably the hardest part is getting the webserver that is running to recognise your webservice or build a web server to do what you are after. 

Personally I would try to replicate the functionality of the webservice in LabVIEW. Not a small task, but one where you know all of the parameters (if you wrote the Java) and one where you can get a lot more help and debug information.

 

Mike

0 Kudos
Message 4 of 4
(2,735 Views)