LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Web Publishing....

Hi,
 
I have my VI and find want to be able to control it over the internet.  I am doing this for my project but I don't actually have to have it properly connected to the internet, just needs to be viewed and controlled through a web browser for the 'open day'.  With the web publishing tool I have found this very easy as it does it all for you.  What I need to know is whether it is easy to take the HTML and embed it within another website I am designing and if anyone knows how to do this, what is the best way?
 
Thanks
0 Kudos
Message 1 of 3
(3,404 Views)
Hello:

If you want to embed a VI in an existing HTML document, look for the article called "Embedding a VI in an Existing HTML Document" in the LabVIEW help. It offers you advice in doing so. For convenience, I copy here a part of it.

However, if you already have an HTML document, use the following syntax to embed a VI in the HTML document so a client computer can view and control the front panel of the VI in a browser. Include the parameter in brackets [ ] if the VI you want clients to view and control is located on a remote computer. Refer to Web Server Syntax Examples for examples of embedding VIs in HTML documents.

<OBJECT ID="LabVIEWControl" CLASSID="CLSID:A40B0AD4-B50E-4E58-8A1D-8544233807AB" WIDTH=x HEIGHT=x CODEBASE="ftp://ftp.ni.com/support/labview/runtime/windows/7.0/LVRunTimeEng.exe"> <PARAM name="LVFPPVINAME" value="VI_NAME"> [<PARAM name="server" value=COMPUTER_NAME or IPADDRESS>] <EMBED SRC=".LV_FrontPanelProtocol.rpvi7" LVFPPVINAME="VI_NAME" TYPE="application/x-labviewrpvi7" WIDTH=x HEIGHT=x

PLUGINSPAGE="http://www.ni.com/webappdemos/lv"></EMBED> </OBJECT>

The following list describes the parameters you must configure.
OBJECT WIDTH Width of the front panel in pixels.
OBJECT HEIGHT Height of the front panel in pixels.
CODEBASE The location of the LabVIEW Run-Time Engine installer, including the name of the .exe file, for clients who access VIs using the LabVIEW ActiveX Control.
VI_NAME The name of the VI, such as Example.vi. VI_NAME does not include path or directory names even if the VI is located in a subdirectory or inside an LLB.
COMPUTER_NAME or IPADDRESS If the VI is located on a remote computer, you must supply the domain name of the computer, such as http://foo or the IP address of the computer, such as http://130.164.76.753.
EMBED SRC If the VI is located on the local computer, set this parameter to .LV_FrontPanelProtocol.rpvi7. If it is located on a remote computer accessible through the computer name, set the parameter to http://foo/.LV_FrontPanelProtocol.rpvi7, where foo is the computer name. If it is accessible through the IP address, set the parameter to http://IPADDRESS/.LV_FrontPanelProtocol.rpvi7, where IPADDRESS is the IP address.
EMBED WIDTH Width of the front panel in pixels.
EMBED HEIGHT Height of the front panel in pixels.
PLUGINSPAGE The URL where clients can download the LabVIEW Run-Time Engine installer, for clients who access VIs using the Netscape plug-in.




Robst - CLD

Using LabVIEW since version 7.0


0 Kudos
Message 2 of 3
(3,384 Views)
Dear All ,
 
1.Iam able to publish my labview application in Internet explorer , but whenever i want to change any values in labview ..... i have to REQUEST CONTROL on the HTML   page .( Note : i have five clients)
 
this i have to do everytime when i want to do changes .....
 
2. When ever iam calling the particular explorer page , its taking lot of time to load the labview application.
 
 
How to avoid above two problems.
 
 
 
0 Kudos
Message 3 of 3
(3,351 Views)