Url for remote panels

Hello,
I've got my remote panels working with computers that are both behind a router.  But when I try to use the url on a computer which is connected to the internet, it doesn't find the server.  I'm pretty sure my problem is that I'm running the LV Server on a computer that is connected through router.  So the router assigns IP addresses to the computer.  If I use the IP address of the router in the url, it still doesn't work.  Does anyone know how to set up a url that will access a server that is connected through a router?
Thanks,
Pat

pwalsh wrote:
I've got my remote panels working with computers that are both behind a router.  But when I try to use the url on a computer which is connected to the internet, it doesn't find the server.  I'm pretty sure my problem is that I'm running the LV Server on a computer that is connected through router.  So the router assigns IP addresses to the computer.  If I use the IP address of the router in the url, it still doesn't work.  Does anyone know how to set up a url that will access a server that is connected through a router?
Your problem is not the presence of a router (there are typically tens of routers between any two points on the internet ), but the fact that your router is doing NAT.
With the typical M-1 NAT used in home routers, the LAN behind the router contains a subbnet of dedicated private IP addresses, all hiding behind a single public IP address on the WAN side of the NAT router.
For any outgoing connection established from the LAN side, the router creates a NAT session entry and forwards the packet to the WAN using its public IP address as source. Returning packets arriving at the public side are matched with sessions in the table so the packets can be sent to the correct LAN computer that requested it. Of course this poses a problem if you are running a server, because the router has no idea where unsolicited incoming packets should go and needs your help. Go to the router configuration page and look for a menu for port forwarding or similar. Basically you need to instruct the router that unsolicited packets arriving at the public IP with a certain destination port should go to a specific LAN IP address.
Once the port is forwarded, outsiders need to contact the public IP address of the router (remember, private addresses have no meaning on the outside!).
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Invalid server IP address for Remote Panels under LV 8.0.1

    The other messages for troubleshooting the "invalid server IP address" were very helpful with getting my EXE to operate as a remote panel.  But there is still one issue that I cannot resolve that seems to be caused by the 8.0.1 upgrade.
    The remote panel work perfectly using IE6 on a computer that has the LV 8.0.1 FDS or PDS installed.  When I use a computer that has LV 7.1 or no LV at all, the invalid server IP address appears inside the border of where the VI should appear on the HTML page.  The connection to the remote computer is correct, the HTML file is delivered by the web server in LV, but the panel part of the page returns the error. 
    Does the part of the HTML that loads the Run Time Engine need to be updated for 8.0.1?  Will the LV 8.0 RTE work for a remote panel on an EXE compiled for LV 8.0.1?
    The code is:
    var obj = '<OBJECT ID="LabVIEWControl" CLASSID="CLSID:A40B0AD4-B50E-4E58-8A1D-8544233807AD" WIDTH=1216 HEIGHT=915 CODEBASE="ftp://ftp.ni.com/support/labview/runtime/windows/8.0';
    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">';
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

    Thanks for the suggestion, Tunde.  After further experimentation, it seems that 8.0.1 was not the problem.  I worked perfectly when I removed the <parameter server=...  > line that I added manually.
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

  • Remote Panel exe no custom icon

    I have a built exe which has remote panels enabled and is working properly, however there are two less than ideal issues I am trying to resolve:
    1) The custom icon I have developed for my exe only appears in the titlebar of the server VI but not in the remote panel.  The default LabVIEW icon is displayed on the remote panel.  I assume this is because the remote machine's OS has not registered the icon of the exe and is using the icon registered to the run-time engine on the remote machine.  I would like to know if anyone has found a workaround to getting custom icons to show properly in the remote panel?
    2) There seems to be a slight delay in actually loading the front panel of the main VI in the remote browser, or any pop-ups remotely for that matter.  You can visually see the LabVIEW toolbar (run, stop, VI icon, etc.) for a split second before the VI shows as running on the remote panel.  This occurs when calling a subVI set to open front panel when called.  Even if VI Server is used to load a VI and the VI is run well before the front panel is opened there is still a lag on the remote machine that displays the VI before it is running and shows the LabVIEW toolbar briefly.  Does anyone know how to improve this?  For pop-ups it looks a little awkward (I know pop-ups are probably not recommended for remote panels but my application requires a limited amount of them).
    Steffan 

    Joe_S wrote:
    Steffan,
    Let's start with the first issue.  I have gotten a chance to test out the first problem on my own, creating an executable that runs with remote panels in LabView 2010 and I was not able to reproduce the problem with the custom icon.  The icon that I made for the VI shows up on the remote computer.  I did not see any CARs relating to this issue.  One thing you can try is running your program in the LabView development environment to see if the icon still won't show up on the remote computer.  That way you can determine if the issue is within LabView or within the executable.  You can also do the same thing to see if you still see the delay in the LabView toolbars.
    Hope that helps!  Have a great day!
    Regards,
    Joe S.
    Application Engineer
    National Instruments
    Hi Joe,
    Thanks for the reply.  For the custom icon, that is created in the build specification for the exe so it can't be run from the development environment to test.  Which icon resolutions did you specify?  Does your remote test machine only have the run-time engine installed? I tried specifying icons for all resolutions but that did not make a difference.  One additional thing to note is that my server machine is running Windows 7 and the remote machine is running XP.  Could that be a possible cause?
    As far as the toolbars delay, that is present in both development environment and as an exe so that one should be easily reproducible.  Let me know if I am missing something here.
    Steffan

  • What are the network requirements for the Remote Panel Server?

    What are the network requirements for the Remote Panel Server?
    I've been trying for a while now to setup a Remote Panel.  I can connect to my computers remote panel from other computers on my LAN but nowhere else.  
    When ever I use the web publishing tool it gives me a URL in this format:  http://Computer-Name.Corporate-Name.local:8086/VI-Name.html Apparently this means I have a local DNS server and this URL has no meaning from the public.
    When I try connecting with the Operate>>Connect to Remote Panel..., I get this error message:
    "Connecting to remote panel server...
    Remote panel connection refused by specified server: Make sure LabVIEW Web Server is enabled on specified server"
    I got the same error when I tried to host a remote panel from my laptop at home, on my Wi-Fi.  Is there some network or firewall setting I'm not seting?  Could it be my server or router or private network?
    My goal is to be able to host Remote Panels from my laptop while I am travailing internationally, by using 4G mobile internet.  Is that even passable?
    Solved!
    Go to Solution.

    Over_Nyquest
    Have you enabled the Remote Panel Server in the Web Server options on the server?
    Kyle B  |  Product Support Engineer  |  ni.com/support

  • Open url in a remote panel

    HI.
    I want to put a button that launch a webpage. I works fine locally, when I click OK button, a  new internet window browser is open with the URL.
    But if I take the control in other PC client (using Web Publishing Tool) and I click OK button a internte window browser is open in THE HOST. I want to open the new window in the Client.
    Thanks.
    I attach the VI (open_google.vi) and the HTML file created by WPT (test.txt)
    Raymundo Cassani
    Attachments:
    open_google.vi ‏11 KB
    test.txt ‏2 KB

    Hello,
    When you view or control a VI using Remote Panels that VI is executing on the host side. The VI will not be able to interact with the operating system on a remote panel client. This means that it will not be possible to use this approach to open a browser window on the client side.
    You could take another approach- at least the way I would do it is thusly:
    Instead of putting the button that launches the page in the VI you could put it in the html file that the remote panel is hosted in.
    Using javascript you could pop up a new browser window with the URL you need.
    If you need to control what URL is viewed from within the VI you could make the button point to a URL that will be handled by your VI that can redirect to the URL you need. This would be easy to do in 8.6 as you could simply export the VI as a web service. Pre-8.6 you would either have to use the G web server or build a minimal web server yourself (this would be easier than it sounds since the server would have to do nothing but redirect).
    I should add that this approach would require some knowledge of HTTP/HTML/JavaScript.
    Let me know how it goes.
    Nathan
    Message Edited by NathanK on 10-15-2008 11:07 AM

  • Opening a Remote Panel of the Top Level vi for an executable

    Hello Everyone
    I was wondering how you would open up a remote panel for the top-level vi in an executable?
    I have created a LabVIEW application and have tested opening the remote panel when it is running in the full labview development suite - this all works fine. I simply go operate>connect to remote panel and enter the server address, the port (8000) and the vi name using the path "My Project.lvproh/My Computer/main.vi" format.
    However, if I then build this application into an executable I do not seem to be able to open a remote panel - it might be that I am just entering the VI name incorrectly.
    with VI name = "main.vi"  or with VI name = "C:\builds\main.exe\main.vi" and the exe. running I get the error:
    Connecting to remote panel server...
    Requested VI is not loaded into memory on the server computer
    However I am not sure how else I would enter it.
    The main.ini has the following configuration:
    server.app.propertiesEnabled=True
    server.ole.enabled=True
    server.tcp.acl="0800000008000000"
    server.tcp.enabled=True
    server.tcp.paranoid=True
    server.tcp.port=6363
    server.tcp.serviceName=""
    server.vi.access=""
    server.vi.callsEnabled=True
    server.vi.propertiesEnabled=True
    WebServer.Enabled=True
    WebServer.TcpAccess="c+*"
    WebServer.ViAccess="+*"
    DebugServerEnabled=True
    DebugServerWaitOnLaunch=False
    Both machines have LabVIEW 2011 Profesional Development System SP1 on so I do not think it is a limited remote access licence issue.
    Any suggestions as to where I am going wrong would be much appreciated.
    Cheers
    John
    Solved!
    Go to Solution.

    It appears that you can infact use remote panels within an executable.
    The problem I had was that I had left the web server port for the remote panels the same as the LabVIEW development environment. That meant that the main LabVIEW web server was getting in the way of the web server that was associated with my built application.
    With the application's web server on a different port and the VI in memory (and the file in a library/directory external to the exe if it is not the top level VI), you just need to specify the VI name such as main.vi .
    Solved!

  • Workaround for Sophos anti-virus blocking remote panel

    Hello, I was hoping if anyone had some suggestions regarding working around an antivirus.
    I'm trying to have a PC act as a web server for some Labview embedded remote panels. Unfortunately whenever I tried to load it in browser on both the local host and other computers connected to the network (even very simple test VIs), I get the 0% downloaded problem people have had in the past. Since I have admin privileges on the host computer I have discovered that by disabling the antivirus (Sophos Endpoint Security and Control, ver. 10.2) completely fixed the problem for that machine.
    My problem is that I intend for students to use the VIs and they do not have the access rights to disable Sophos so they too will be able to use the panel. Faculty IT are unwilling to modify the antivirus for the computer lab PCs so it is down to what I can do on the server PC to fix this problem.
    Does anyone have any suggestions to work around it? I've tried a couple of different ports for the web server (8000 & 5000) with no luck. Snapshots come through fine, it is only the embedded ones that get blocked.
    Any help would be appreciated.
    Specs:
    Labview 2011 with Run-Time Engine 6.1
    Windows 7 (64 bit)
    Anti virus: Sophos Endpoint Security and Control, ver. 10.2. On-access scanning is causing the issue.

    I guess you have to ask IT which ports you can use, e.g. 8080, from the top of my mind.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Why am I getting the flag Invalid URL for web content overlay when making scrolling panel in Indesig

    Why am I getting the flag 'Invalid URL for web content overlay" when making scrolling panel in Indesign? Iam making additions to existing articles but the problem is new. The articles were originally made using CS and now I am on CC, which I have just uninstalled and re installed, no difference, can anyone help please? Steve

    Hi Bob, thankyou very much for coming back on this. The flag is coming up towards the end of the preview process on desk top. I have made dozens if not hundreds on my two published apps on the app store, but have not done an update for nearly a year, in which time I have needed a refresher, and as usual went to Lynda. In this case I have followed to the letter your DPS course, which is great, and I found the process of making the scrolling panels somewhat easier than when I started 2-3years ago. Initially I was mystified that the flag talked about url and web content, but just put it down to something I had missed in recent improvements in CC.
    I tried over and over, but always got the same result. I thought at one point it might be because the content of my slide was copy and photo, so for a test I deleted the photo. Same result, and many of my existing slides are copy and picture.
    I also uninstalled Indesign CC and reinstalled in case of corrupted content, I also copied to IDML and relaunch, same problem. I am sure I have made the scrolling content as instructed, The one thing I havn't done is trash my preferences, if you think that would be a good Idea could you please direct me to some content at Lynda on how to do it in CC. Many thanks, Steve

  • Remote panel plugin support for Firefox browser?

    I think I've been through all the relevant material on the NI site, but to no avail. I used to be able to make Remote Panels work with Mozilla by copying the NPLVWin32.dll into the Mozilla plugins directory. This doesn't seem to work with Firefox--at least, not with my Firefox.
    I have XP, Firefox 1.0, and LabVIEW 7.1.1, and these tests are all on the machine that has LabVIEW installed, so the run-time engine is not the issue. The symptom is that I get "Click here to download plugin" when trying to load a page with an embedded panel no matter what things I do in the Firefox plugins folder.
    Any ideas? I think that Firefox/Mozilla are closing in on 10% market penetration, with much higher rates in Europe, and I'm wondering if others have made this work. This experience has also made me want to know more about how browser plugins work (how the supporting library is selected and located by the browser, how the OBJECT and EMBED tags work, etc.), so good tips on explanatory nuggets are also appreciated.
    Thanks,
    John

    I have no issues using remote panels in Firefox (2.0) I believ 1.5 worked as well.
    You only have to make sure you accept the ActiveX component
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Remote Panel and Internet Explorer

    Hello. I have a problem with a Remote Panel and Internet Explorer. I create a measurement system in LabVIEW. It�s composed of a main front panel and a few subVIs with independent front panels opened from main Front Panel when I press appropriate button. As a local system everything works ok but I try to create a web version of this system. I decide that I can use a Remote Panel. In Web Publishing Tool I was creating a web page for each of Front Panel. I try to have the same functionality as in local system, so when in Front Panel (opened in Internet Explorer window) I press appropriate button I want to open secondary Internet Explorer window with a subVI inside. And now I�m stuck because I can�t open this secondary window in a network w
    orkstation. Has anyone have an idea how can I do it?

    > Hello. I have a problem with a Remote Panel and Internet Explorer. I
    > create a measurement system in LabVIEW. It?s composed of a main front
    > panel and a few subVIs with independent front panels opened from main
    > Front Panel when I press appropriate button.
    I think you have two options. You can open most modal subVI panels
    directly on a remote machine. The popup panels won't be in a web page,
    but it will work with few changes.
    A second approach would be to change the app slightly. The buttons that
    launch the subVIs will turn into URL links. The links will open a web
    page with a different embedded panel.
    Greg McKaskle

  • Remote panel and selective control access through Security with DSC

    Hi Everyone,
    I looked around to see what labview had to offer concerning security of remote panel and all the solutions I've found only propose full access to a remote panel, or none. The login page is not an option for me as everyone on the intranet can access the remote panel for monitoring but not everyone can have control to the buttons on it.
    With the DSC module, I can give securities to the different controls and it works great with the exe, if I log in or out, the controls appears or disapears. Unfortunately, with remote panels, those controls are always visibles. Furthermore, when I log in from a remote panel, all the other remote panels get logged in with the same username and priviledges. When I log out, same thing, it logs out all the other remote panels. So the last guy who logs in gives its priviledges to every one else who is monitoring the remote panel at that time. when he logs out, he logs everyone out. I used a reentrant vi hoping that this would solve the problem but it didnt.
    I would like to do what my colleague does with Advantech without any problem. He has only 1 .exe is running on the server and whoever connects to it through webserver, just needs to log in and he has all the priviledges of an guest, operator, admin, etc.. with access to controls and features accordingly. All this without interfering with the other people using the remote panels. This colleague has always been doubtful about the capabilities of labview to do SCADA systems and uptil now, I've been able to prove him wrong.. please help me continue
    There are workarounds, using remote desktop to the server instead of webserver but it definitely is not as practical for the client and it will need quite some work to to synchronise all the exes open from the differents sessions, through the use of shared variables, binding and securities.
    Thank you for your help.
    Solved!
    Go to Solution.

    Thank you very much for your reply Jordan.
    The NI security info is on the server (local domain with groups and users), and the running exes as well. The remote panel is not supposed to be accessed by internet, at least not yet, but just by the computers on the network and thinkline computers who are directly connected to the servers. the remote panel is accessed through the simple url: http://serverip/Application.html
    There is no problem with accessing the remote panel of the exes on the server from another computer on the network. But there are several security issues when logging in and out with the NI Security Programmatic Login and logout VIs through the remote panel..
    The 1st problem occurs when several people access the remote panel at the same time. In my setup, everyone is allowed to check what's happening on the front panel of the running exe, go through the tabs, check the graphs, the tables, etc.. , but only the administrators and the operators can send commands to the machines and the production line through this remote panel. Hence some buttons are accessible to all users, while others are only accessible depending  on the privileges of the person logged in.
    So like I said in the 1st post, I configured some buttons to be accessible only by the users of the admin group. When the exe runs, it's perfect, if I log in and out with an admin account, the buttons appears and disappear accordingly. But when I check the remote panel, those admin buttons are always visible, even if I am logged in as a guest or even logged out. Is it because the remote panel only needs minimum runtime engine and doesnt use the dsc runtime engine? if so, any work around?
    Furthermore, another big problem is that if I login as an admin in one remote panel, then login as an guest in another remote panel, and then logout back from the first remote panel, it says: "User Domain/Guest logged out". Hence, my second login logged out my first user. I can actually see the admin buttons appearing and disappearing on the exe when login as admin and guest from the different remote panels.
    So that's it, I would like my remote panel to behave like a normal scada system, with one exe running in the back (on the server) and with all the users accessing it through web server. Several users might/will access the remote panel at the same time and each of the users have a login/password that grant some of them the privileges to take some actions while giving the others only monitoring rights.
    I hope that I have been more clear in this 2nd post,
    Thank you again for your time.
    Best Regards,
    Tom.

  • Is it possible to embed a remote panel in a subpanel?

    When I connect to a remote panel it opens its own totally seperate window from the calling VI. Is it possible to open a remote panel in a subpanel of the calling VI. If this is not possible then as remote web panels make use of Active X would an Active X container work?
    Thanks

    Hi Peter,
    I've set this up with a small test and it seems to work ok. You just need to create an activeX control and select the Microsoft Web Browser, and then for the navigate property, select the URL that you want to point to - in this case, your LabVIEW remote panel. Requesting control etc still seems to work ok in this configuration.
    Take a look at the attached vi's and html page - you'll need to copy this html page into your 'C:\Program Files\National Instruments\LabVIEW 8.2\www' directory to get this to work, and make sure you have the web server configured correctly. The browser vi is the one to run - with the test vi being the one in the remote panel.
    Hope this helps
    Regards
    Hannah
    NIUK & Ireland
    Attachments:
    test.zip ‏14 KB

  • Server does not support remote panels

    I am developing an online laboratory setup and hence am using a client server model..the client VI being accessed by remote users online. I have done all the necessary steps using Web Publishing tool and the configuration set up. I have also tested the VI previously online. Suddenly now when I hit the URL for the VI the panel does not load...it says Server does not support remote panels. What could be the problem?

    see answer given second posting of question.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor

  • Can you use LV6.1 Remote Panel AND CGI?

    I would like to use both CGI and the Remote Panel system of LabView 6.1. I'd perfer to be able to implement the CGI in either Perl or LabView, but anything would work. What I'm trying to do is have a front end that is mainly all CGI, and only after certain conditions things have occured in the CGI would they be allowed access to the Remote Panel. This could be pretty easily done by having the CGI write the HTML file for the Remote Panel. I would do it all using Remote Panel, but the I only have 1 license, and I only really want 1 person to be able to use the Remote Panel at a time, but I want multiple people to have access to the CGI at any given time. Any ideas would be more helpful.

    I'm working on a similar issue with controlling connections to my remote panels. Correct me if I'm wrong, but I think the above solution has some loopholes also. Since the CGI script is generating a new HTML and actually writing it to disk, wouldn't anyone else also be able to connect to this newly page if they new the URL?
    For instace:
    1) A person logs in from the CGI page.
    2) The CGI script builds the remote panel page.
    3) At any time thereafter, someone knowing the name of the new webpage can connect to it.
    Now this problem could be solved if the newly generated page could be sent directly to the person who has logged in if session variables were used within a single web server. However, since two separate web servers are being
    used, this is probably not possible.
    If anyone has a solution to this new problem or can refute what I've just said, please let me know. I have been running over how to do use a login system repeatedly without success. I really don't want to default back to using IP addresses to block access since my users will be 1) spread across multiple IP ranges and 2) more than likely unable to provide their own IP addresses if requested.
    Thanks,
    Pete

  • Remote Panel not working in Windows 7 Starter

    Hi all,
    We have an application that can be controlled via remote panel. This is working fine in Windows XP PC. But when I try to access the same by opening Internet Explorer in a PC running Windows 7 Starter OS, I only get the 'Downloading 0.00% of 0 bytes'. I have disabled the Windows Firewall and there is no antivirus software also. What could be the reason for this? How could I solve this?
    Thanks in advance,
    Priyadarsini
    Solved!
    Go to Solution.

    The system which had the problem was a netbook that came with Windows 7 Starter. We found out recently that there was some parental controls utility in the netbook that prevented the LabVIEW Remote Panel access. We were not aware of its presence & it had not shown any indication that it had blocked Remote Panel communication. We uninstalled this utility & the Remote Panel started working as intended. Thanks again for your help.

Maybe you are looking for

  • Using Multiple Datasets and Spry in DW CS3

    Hi there, I am currently trying to get an XML file pushed into a HTML page by using Spry in Dreamweaver CS3. However it uses three datasets. The schema is like this: funds-and-headings ----> properties+ ------------> region ------------> reference --

  • Unresponsive wireless mouse issue

    out of the blue, in snow leaopard, my mighty mouse has ceased to register any clicks or drags on screen, moves about ok but wont click on anything, i have a hard wired mouse and this works fine. I tried to zap PRAM and safe started, safe starting wor

  • Java is safe, and UNIX viruses do not exist.

    Hi! Its me Ronillo. Is it true that java cannot be the source of virus? Java is cross platform right? So, java can be the the medium to carry virus and spread it? I dont know if its okay to open a topic like this one, so Im sorry cause I really dont

  • JSP - FireFox - Internet Explorer

    Hi all I have a strange problem. I am using response.sendRedirect(url) in my jsp page. This redirection works fine in Firefox, but gives "Page Cannot Be Displayed" in IE. Has anyone encountered similar errors? Does anyone know about any Settings chan

  • How to prepare for the OCA

    Hi, I have some DBA eperience from another platform...but i need to aquire Oracle DBA skills asap...i am currently running XE on XP/pro at home. my research tells me that XE is missing some of the features i need to prepare for the OCA exam, like EM.