From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Datasocket: real time with http?

Hi everyone!

I am developing an application to retrieve real time data from an
instrument
that is going to be installed 10.000 km away.
I have planned to use the datasocket, but I have verifyed that in
most cases firewall istalled in corporate LANs filter away whichever
protocol that is not an HTTP.
Actually, data that shall be generated in the remote site shall have to
be sent to differnt corporate LANs, of different companies, and with
different firewalls and related settings.

Is it poossible to send real time data using the HTTP protocol?

Thanks for your help

Cristiano


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 1 of 3
(2,614 Views)
cbenzi@eutelsat.fr wrote:
>Hi everyone!
>I am developing an application to retrieve real time data from an
>instrument that is going to be installed 10.000 km away

>Is it poossible to send real time data using the HTTP protocol?


If you really need to use HTTP, the Internet developers toolkit for G has
CGI enabled web server. Using CGI VIs, you can create a VI to return a HTML
page as a response to a browser connection. Then data can be transfered with
in the HTML page.
On the receving side, you can make a VI which brows to the URL of the above
VI and filter unnecessary HTTP protocol.

It is possible.
BUT, have you thought of using TCP VIs?

If you choose a set of TCP port to use for your application, it is usuallty
easy to ask the network administrator to
open ports on his/her firewall
for the application. Yes, with TCP, the implementation is not easy as the
DataSocket. Nevertheless, DataSocket is a trouble if it have ot passthrough
a firewall.

For the project I am currently working, I used DataSocket VIs at the early
stage. However I could not find out what TCP (or may be UDP) ports they were
using and now using CGI based application with the toolkit.(Not completed
yet.)
0 Kudos
Message 2 of 3
(2,614 Views)
The DataSocket protocol (DSTP) uses port 3015. Jeffrey Travis's new book,
Internet Applications in LabVIEW (ISBN 0-13-014144-5) is an excellent reference
to implementing network based DAQ and control.

Mark Derome
M.I.T. Haystack Observatory
mderome@haystack.mit.edu
0 Kudos
Message 3 of 3
(2,614 Views)