LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remote Panel Connection

Okay, so I finally figured out how to make a remote panel, but now how do I access it? I'm not really sure how to find the file from another computer. I already saved it into the www root directory thing through the web publication tool. Also, when I access the page manually from the computer I made it on everything loads fine except for the vi which gives me an "Invalid Server IP Address" error.
0 Kudos
Message 1 of 5
(3,285 Views)
did you add the server parameter to your htm file ??

PARAM name="server" value="http://your server name here"
Message 2 of 5
(3,284 Views)
Thanks! That worked great!
0 Kudos
Message 3 of 5
(3,284 Views)
no problem.... the remote stuff is fun.... if you have any other problems with it let me know... i havent done very much with them but have messed around with the a little

good luck

Dan
0 Kudos
Message 4 of 5
(3,284 Views)

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>

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