Jump to content

Retrieve web-based data using RT Target


Recommended Posts

Hello all,

Specifically, I have an instrument that published a "website" with feedback information. I would like to be able to read this from a cRIO. This is very straightforward in Windows with examples such as "weather" using ActiveX and "atomic clock" using DataSocket.

Unfortunately it seems that when deployed on a RT target, DataSocket does not support HTTP.

Any suggestions?

BTW, this instrument also supports Web Services using SOAP - Again, a no brainer in Windows with the Web Services Wizard (tools>>import>>web service...) but also NFG on the RT...

Link to comment

QUOTE (Jolt @ Apr 9 2009, 02:54 PM)

Hello all,

Specifically, I have an instrument that published a "website" with feedback information. I would like to be able to read this from a cRIO. This is very straightforward in Windows with examples such as "weather" using ActiveX and "atomic clock" using DataSocket.

Unfortunately it seems that when deployed on a RT target, DataSocket does not support HTTP.

Any suggestions?

BTW, this instrument also supports Web Services using SOAP - Again, a no brainer in Windows with the Web Services Wizard (tools>>import>>web service...) but also NFG on the RT...

All these things are one of the reason to not use ActiveX or .Net for things that can be solved otherwise. The HTTP protocol on the client side is not that terribly complicated to not implement it directly in LabVIEW.

LV_FPGA has posted his code. In the CVS repository on OpenG are some HTTP Vis too, that haven't made it into a released OpenG package yet.

Rolf Kalbermatter

Link to comment

QUOTE (LV_FPGA_SE @ Apr 9 2009, 10:42 PM)

Thanks! I started to play with direct TCP this last night - Unfortunately I was not successful so far, probably do to company firewall issues.

Any other examples very much appreciated and I'll work on getting code out of the CVS system soon.

BTW, I agree with rolfk - I would rather understand what I'm doing and use low-level functions, especially for simple tasks, but I haven't quite figured out all that network protocol stuff...

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.