LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

web page html 8.0

Dear All ,
 
 
I am publishing Labview instance in HTML page  .
 
it was working fine in LV 7.1 .
 
I use following code for publishing the same .
 
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="imagetoolbar" content="no">
<title>Faceplate 01imc</title>
<base target="_self">
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
 
 <object classid="CLSID:A40B0AD4-B50E-4E58-8A1D-8544233807AC" id="LabVIEWControl" width=100% height=100% codebase="ftp://iconserver1/netinstall/lvruntimeeng.exe">
  <param name="LVFPPVINAME" value="01imcfp01.vi">
   <embed src="http://iconserver2:5986/.LV_FrontPanelProtocol.rpvi7"
   lvppviname="01imcfp01.vi"
   TYPE="application/x-labviewrpvi71"
   wIDTH=100%
   HEIGHT=100%
   PLUGINSPAGE="http://digital.ni.com/express.nsf/express?openagent&code=ex3e33&">
   <PARAM name="server" value="http://iconserver2:5986"></EMBED>
 </OBJECT>
</body>
</html>
 
Now same code is not working in LV 8.0 ..... can anybody suggest where is the problem...... and what modification i have to do in the code.
 
Thanx in Advance
0 Kudos
Message 1 of 5
(3,825 Views)

These are some things that I noticed that were different from 71 to 80 html that I had created maybe this may help you.

Change classid from this:

 CLSID:A40B0AD4-B50E-4E58-8A1D-8544233807AC"

To this:CLSID:A40B0AD4-B50E-4E58-8A1D-8544233807AD

codebase="ftp://iconserver1/netinstall/lvruntimeeng.exe"> Make sure this is pointing to the LV 8.0 runtime eng.
  

   <embed src="http://iconserver2:5986/.LV_FrontPanelProtocol.rpvi7" Change the .rpvi7 to .rpvi80
   
   TYPE="application/x-labviewrpvi71" change the 71 to 80
   




Joe.
"NOTHING IS EVER EASY"
Message 2 of 5
(3,818 Views)
Thank you Jhoskins ,
 
the code is working....
Message 3 of 5
(3,812 Views)

Around here we give out thanks by giving out "STARS"

Do not be afraid to rate good answers.




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 4 of 5
(3,809 Views)

HTML CODE FOR LV 8.0

 

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="imagetoolbar" content="no">
<title>iConRet</title>
<base target="_self">
</head>

<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
 
 <object classid="CLSID:A40B0AD4-B50E-4E58-8A1D-8544233807AD" id="LabVIEWControl" width=100% height=100% codebase="ftp://iconserver1/netinstall/lvruntimeeng.exe">
  <param name="LVFPPVINAME" value="icon.lvproj/My Computer/iretmain.vi">
   <embed src="http://iconserver:5990/.LV_FrontPanelProtocol.rpvi80"
   lvppviname="icon.lvproj/My Computer/iretmain.vi"
   TYPE="application/x-labviewrpvi80"
   wIDTH=100%
   HEIGHT=100%
   PLUGINSPAGE="http://digital.ni.com/express.nsf/express?openagent&code=ex3e33&">
   <PARAM name="server" value="http://iconserver:5990"></EMBED>
  </OBJECT>

</body>

</html>

0 Kudos
Message 5 of 5
(3,797 Views)