Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

third party hosting website to remotly view and contorl a VI

I am trying to view and control a VI using third party hosting website ( i have created a website www.wahabshah.bravehost.com ). Used Web publishing Tool to publish the html code and after viewing the http://digital.ni.com/public.nsf/allkb/4A749D8AAECEC169C1256C9C00584CF9 , added the server code line as well...

The html code on the above website is following :-

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Draft//EN">
<HTML>
<HEAD>
<TITLE>SWAS</TITLE>
</HEAD>
<BODY >
<H1>SWAS</H1>
HOPE IT WORKS<P>
<TABLE BORDER=1 BORDERCOLOR = #000000><TR><TD>
<OBJECT ID="LabVIEWControl" CLASSID="CLSID:A40B0AD4-B50E-4E58-8A1D-8544233807B1" WIDTH=519 HEIGHT=435 CODEBASE="ftp://ftp.ni.com/support/labview/runtime/windows/9.0/LVRTE90min.exe">
<PARAM name="LVFPPVINAME" value="wahab.vi">
<PARAM name="REQCTRL" value=true>
<PARAM name="server" value="http://192.168.1.120">
<EMBED src="http://192.168.1.120/.LV_FrontPanelProtocol.rpvi90" LVFPPVINAME="wahab.vi" REQCTRL=true TYPE="application/x-labviewrpvi90" WIDTH=519 HEIGHT=435  PLUGINSPAGE="http://digital.ni.com/express.nsf/bycode/exck2m">
</EMBED>
</OBJECT>
</TD></TR></TABLE>
<P>
BYEEEE
</BODY>
</HTML>

 

Anyone can check the website..

The problem is that it displays "Remote Connection Closed" when i open the website from another PC...

 

The problem might be because of the server ip adress...so can any1 guide me on exactly what address to put there... because the current address 192.168.1.120 which i put is the one which is in windows TCP/IPv4 settings...i hav screen shot the settings and atttached it 

And whenever i use the site www.ip-address.com.. i get a different ip address..

So i am thoroughly confused on what ip address to use ...

 

And please tell me anyother setting which needs to be done in order to run the required VI

 

I hav even installed Labview Run time engine 9.0 on my other PC..

And the vi which i want to remotly view is also loaded into memory..

 

Thanks

 

0 Kudos
Message 1 of 3
(3,335 Views)
Try using the automaticly assigned IP rather than the statis one.
0 Kudos
Message 2 of 3
(3,314 Views)
Any IP address with 192.168.x.x is a local address...often used as a default connection. I am pretty sure to publish this, you will need to get a public IP address to share data with others. For example, if I type 192.168.1.120 into my browser, I am not connecting to your computer, I am connecting to something link local on my own network(most likely that doesnt exist to my computer right now). Even further, since I am on a work network(of if you are on a school network), you wont even be able to connect to me just by typing my current IP address into your browser. However, if I set up my router to publish a public IP address, then it should be accessible from anywhere. But at this point, you may be opening yourself up to attacks...so it might be a good idea to talk to a network professional to be safe.
Rob K
Measurements Mechanical Engineer (C-Series, USB X-Series)
National Instruments
CompactRIO Developers Guide
CompactRIO Out of the Box Video
0 Kudos
Message 3 of 3
(3,290 Views)