05-27-2004 01:11 PM
05-27-2004 01:56 PM
05-27-2004 02:43 PM
05-27-2004 03:13 PM
10-04-2005 11:44 AM
Hi,
I am experiencing the same problem as Kura but have the <PARAM name="server" value="http://my server"> already in place.
I can connect to the server from a different computer using the same IP address and control the VI by connecting to the webpage created by LabView, but when embedding the VI in an existing HTML document, the message "Invalid server IP address" appears. Has this function ever worked or am I having finger trouble?
I have included the HTML that imports the VI which was copied from the NI website. The VI is called : kvCanExample1_modified_new-graph2.vi and the server is : http://te2lithuania.te.rl.ac.uk
If anyone has successfully achieved embedding a VI in an existing HTML document and could shed some light on this problem, I'd much appreciate it.
<SCRIPT language="JavaScript"><!--
var lng;
if (navigator.userLanguage) { lng = navigator.userLanguage; };
if (navigator.language) { lng = navigator.language.toLowerCase(); };
var obj = '<OBJECT ID="LabVIEWControl" CLASSID="CLSID:A40B0AD4-B50E-4E58-8A1D-8544233807AC" WIDTH=1270 HEIGHT=946 CODEBASE="ftp://ftp.ni.com/support/labview/runtime/windows/7.1';
if (lng.indexOf("fr") != -1) { obj = obj + '/French'; }
else if (lng.indexOf("de") != -1) { obj = obj + '/German'; }
else if (lng.indexOf("ja") != -1) { obj = obj + '/Japanese'; }
obj = obj + '/LVRunTimeEng.exe">';
document.write(obj);
// --></SCRIPT>
<PARAM name="LVFPPVINAME" value="kvCanExample1_modified_new-graph2.vi">
<EMBED SRC="http://te2lithuania.te.rl.ac.uk/ .LV_FrontPanelProtocol.rpvi71" LVFPPVINAME="kvCanExample1_modified_new-graph2.vi" <PARAM name="server" value="http://te2lithuania.te.rl.ac.uk"> TYPE="application/x-labviewrpvi71" WIDTH=1270 HEIGHT=946 PLUGINSPAGE="http://digital.ni.com/express.nsf/express?openagent&code=ex3e33&"></EMBED>
</OBJECT>