LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Posting LV measurement data on to webserver

Hi all...

 

I have an application bulit in LabVIEW 8.2.1 that runs a test with cycle counter. the application runs on a PC connected to intranet.

 

i want to see this cycle counter data in web (interenet explorer) on a different  PC.

 

i could do this with Datasockets in my Client application. but i dont want to have LV runtime on every PC.

 

Can anyone tell me how to do this without using LV runtime on client PC?

0 Kudos
Message 1 of 3
(2,283 Views)

Hi Share_Good,

you can install a webserver on your pc where the vi is running. Build a html file with your vi which can be load by the webserver. Another solution could be to write your own webserver.

 

Hope it helps.

Mike

Message Edited by MikeS81 on 11-13-2008 02:41 PM
0 Kudos
Message 2 of 3
(2,276 Views)

"MikeS81" <x@no.email> wrote in message
news:1226585404994-808426@exchange.ni.com...
> Hi Share_Good,you can install a webserver on your pc where the vi is
running. Build a html file with your vi which can be load by the webserver.
Another solution could be to write your own webserver.&nbsp;Hope it
helps.Mike Message Edited by MikeS81 on 11-13-2008 02:41 PM

And building your own webserver (http server) might seem difficult, but is
in fact very easy if you only require to show a number. You need to create a
listener, and when you get a GET request, send back the HTML page with a
header.

Search for RFC2616 for the details. Remember you probably don't have to
implement all of it.

One big problem is to auto update the page when the there is new data. But
this is a general HTML limitation. There are some ways to overcome this, but
I think they are all IE specific, and not part of the HTML specification.

Regards,

Wiebe.


0 Kudos
Message 3 of 3
(2,267 Views)