LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview & webserver

Hi to all.
is there anybody that can help me with the webserver?
i don't know how to create it. I mean i have my VI then what i have to do to create a webserver?
Plz answer me Smiley Sad
0 Kudos
Message 1 of 3
(2,829 Views)
The webserver required for using remote panels comes with LabVIEW. You just have to start it - not write it.
0 Kudos
Message 2 of 3
(2,818 Views)

Hi martinmis,

I'll try to help you with webserver...

1. Open a blank vi (or a vi you want) and from the menu bar go Tools>>Options under Category, you have to set the options of voices:

Web Server: configuration-> Set "Enable Web Server" and under "Root Directory" specify the path where the html file you're going to create will be saved (other options of this tab are not strictly necessary).

Web Server: visible VIs-> Select (specifing their exact names into "Visible VI" voice) the VI you want to put on-line [Note: an "*" means that all VIs are accessible]

Web Server: Browser Access-> Select (specifing their exact IP address into "Browser Address" voice) what pcs will be able to see, and if you specify it, to control your VI [Note: an "**" means that all pcs are allowed].

Click "Ok".

2. Open the VI you want to put on-line and from the menu bar go Tools>>Web publishing tools

Select the VI under "VI name" voice and choose other options you want. When finished click next and select into the other windows the other options like the Title, the Header of the web page... [Note: the preview button on the right allow you to see a preview of the web page you're going to create]. When finished click "save to disk".

Now you can see your VI from another pc simply connecting to the URL that you see into the window where you've selected "save to disk" [Note: to see the page, pc that's linking must have installed the runtime Engine of LabVIEW with which the VI had been created. The number of pc that can connect to the VI is limited by the license you have].

I hope I've been helpful, please reply me if my hints satisfy you.

carlo>

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