Remote Panel of VI template

 My application launches a VI template instance dynamically, and I wish to have Remote Panel access to each of these templates. How shall I create Remote Panel HTML page for each instance on the fly? Or is there any way by which I can access by template instance in Remote? My application is in LV 8.2.1 and I need this in EXE application.
Thanks,
Priyadarsini
Solved!
Go to Solution.

After launching the application, please type "http://computername:86/Instance1.html" in the web browser
Please ignore the previous attachments. There is a small issue in it. I apologize for the inconvenience.
Thanks,
Priyadarsini
Attachments:
Remote Panel for Template - LV 8.2.zip ‏31 KB
Remote Panel for Template - LV 8.6.zip ‏127 KB

Similar Messages

  • VI Templates and Remote Panels

    My system creates multiple test windows using a dynamic load of a VI template, and I wish to have Remote Panel access to each of these test windows. The user does not need to instantiate the windows remotely, only access them. So, when each window is created, it creates it's own HTML file so a user can access it. It worked just great for .snap publishing -- so far, so good.
    However, my VI template is a little unusual, because within it there are other VI-template subVIs. I do this because I make use of LV2 global variables (acts as a passive G object with it's own data space), and each window has it's own local copy of that template subVI.
    Now when I try to access the Remote Panel on my instantiated test window, I get an error like this "The VI named 'Test Window 1.vi' contains unsaved untitled subVIs. Cannot save the VI before all its untitled subVIs are committed to the disk'. This error indicates that my template-subVI instantiations need to be saved in order for the Remote Panel to work. I'm not sure why this is a requirement, but let's go along with it for now.
    So I went ahead and used a VI server method to save the untitled subVI instantiations to a temporary directory, with the intention of deleting them when the test window is closed. It worked! Kind of... it worked in development mode, but didn't work when I built the executable. The executable gives me error 1043: "Not supported in this version" when it tries to save the untitled subVIs (even though I specify to save WITHOUT the block diagram, which obviously isn't there).
    Is there a way out of this quandry?
    Thanks for your help,
    David Moerman
    TruView Technology Integration Ltd.

    Hello again everybody,
    Sorry I have to re-submit my post. I found a bug in my demo (where the VI name referenced in the HTML did not match the running window). Also, I made it to dynamically set up the web server path, to make it easier on you.
    BTW, this is in LV 7.0. And a warning: this problem is not for the faint-of-heart. I somewhat doubt there is a solution without NI changing how Remote Panels works.
    Again, my apologies for the previous bug.
    -Dave
    Attachments:
    main_v2.zip ‏79 KB

  • Multiple Remote Panel Instances

    Hello all,
    I am interested in adapting some simulation VIs for a distance learning application. The VIs demonstrate some of the basics of control theory, and I would like the students to be able to access via the web. Playing around with the web builder wizards I managed to get it working. However, the single user control behaviour is not suitable for classroom teaching etc.
    This example http://zone.ni.com/devzone/cda/tut/p/id/4041 and relevant templates http://zone.ni.com/devzone/cda/epd/p/id/2440 seems like it might offer a solution. However, seeing as this was written for an older version of labview and my knowledge of html/cgi scripting is essentially zero, I was wondering if anyone had experience with using something this? Or have found a different solution to the multiple instances problem? I think this may not be a trivial amount of work, so I was hoping someone could offer advice as to whether this avenue is worth investigating. 
    Thanks very much in advance!
    Regards,
    James

    From your description I'm assuming that you have your simulation running in desktop LabVIEW on some machine and your trying to make a web UI that connects to that simulation through a web service. If you want the kind of instancing that remote panels provide you either have to make your web service more complex or you have to move your simulation into Web UI Builder diagrams so the web service is not needed.
    Each window that views your web UI will be running an independent copy of your web UI VIs. So if everything is implemented as web UI VIs, then there is no sharing and you can open as many instances as you want. If you can implement the simulation entirely in these VIs, then your problem is solved.
    If you need the simulation to run in desktop LabVIEW, then the solution is different. LabVIEW web services do not maintain a connection with their clients, so they don't have any way to recognize a request as being from the same machine as some previous request. If you need that, you will need to add that capability to your web service. You could have a web service call to start a session. That could start a simulation and return some identifier to the web UI. Each time the web UI called another part of the web service, it would provide this identifier so the web service would know which instance of the simulation to operate on. The client could call another web service entry point to stop the simulation, but you won't be able to count on that. The user could navigate away from the UI page or close the browser without the program having a chance to tell the server to stop. To avoid running out of memory, the server would probably need to have some cleanup task to shut down simulations that had not been accessed for some period of time.

  • 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

  • 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

  • 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.

  • 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

  • Can multiple PCs access one remote panel at the same time?

    I've written a program in labview 7.1 to monitor/control a labview application running in the test cell through Remote Panel. I and my coworker can remotely monitor and/or control this labview application individually. But if my coworker has the remote panel displayed on his PC and I try to get the remote panel on my PC, I get a labview error (63) as below:
    "LabVIEW:  Serial port receive buffer overflow.
    LabVIEW:  The network connection was refused by the server."
    My question is: Can multiple PCs access one remote panel at the same time?
    Thanks in advance!
    Y

    Sorry I wasn't clear. The remote panel license is separate from the number of LabVIEW development licenses. Pricing information on remote panel licenses can be found here.

  • How can I disable messages generated by Remote Panel?

    I created an application (EXE) to server its panel to other network clients.
    I used the Tools > Web Publishing Tool to generate a HTML code to create two different web pages to access this application using Web server:
    - Embedded (for some users who need visualize the panel in real time).
    - Monitor (to display panel snapshots to users updated every 1 second).
    I don't need anyone controlling the remote panel, so I used this option:
    Tools > Options > Web Server: Browser Access and checked Allow Viewing (not controlling) for every client connected.
    Ok, both are working fine. But it a user try to Request control of VI on the Embedded page (right click in the remote panel), the application running in the server displays a message: Denied control request from XXX: Check permissions.
    The embedded page stills working fine, but in the Monitor page that message appears in a box (see attached picture below)..
    Is there a way to disable all messages in the remote panel? I realized that I need to access the computer where the application EXE is running to close the message.
    I'm thinking in two solutions:
    - Unable the right click menu in the embedded page to avoid clients request control of the remote panel.
    - Run a code in the application to erase messages generated.
    Has anyone an idea how to solve this?
    Thanks in advance,
    Klein
    Message Edited by Klein on 08-06-2008 12:54 PM
    Attachments:
    Remote Panel message.jpg ‏10 KB

    Hi Dpcamargo,
    I'm already using monitor with a delay of 1 second and this doesn't seems real time like remote panel visualization.
    But you sent me a good tip: use java code to cancel right clicks at all....
    I will try this solution. 
    Hey, we are both brazilians! So, thank you so much, Dpcamargo.

  • Blink while alarm on using shared variables with remote panel

    I am creating an application where I have front panel indicators data bound to shared variables.  I also set it up to have them blink when the alarm is on.  I am using the DSC module.
    This works great under the development environment.  But when I connect using the remote panel, I can no longer see the blinking indicator if there is an alarm.  I can see the blinking indicator on the machine that is running the program, but no on any of the remote panels (I have no problems connecting to the remote panel and controlling the program).
    I have the remote panel set as embedded, since I want the user to be able to change some settings over the network.
    I am sure I am missing something simple, any ideas??
    thanks
    Kenny

    I have been using IE6 and Firefox, and I have found that the blinking does show up, if you refresh the page.  And then if the alarm stops and the blinking stops, you will not notice it until you refresh again.
    Kenny

  • Remote Panels not working in embedded viewing mode

    Hello,
    I'm trying to develop a web version of my project using Labview remote panels. I configured the web server properties as it's described here: http://www.ni.com/white-paper/4791/en/
    Currently I'm trying to create the web page on the web publishing tool. However when I select the Embedded viewing mode option I get an "Requested VI is not loaded into memory on the server computer" error on the web page that is created. But if I select Snapshot or Monitor viewing mode option the page is loaded without problems.
    I'm using Labview 2013 and oppening the web page in google chrome. The VI from which I'm trying  to create a remote panel has some subVIs that show the front panel when called. Is there anything I'm forgetting to configure, or do I need to have any plugins instaled on my browser?
    Solved!
    Go to Solution.

    Mateus23 wrote:
    I'm now developing the web version in HTML 5, using web services to comunicate with my labview application.
    There you go, good solution. When doing this remember that you have access to the database on the server. A structure I have found effective is to use the server DB like a dropbox that I write to, and the web server reads from.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Remote panel doesn't work

    I am using 2011 SP1 version of LabVIEW, toolkits and add-ons. I am trying to make the following remote panel opening VI work.
    This used to work well on LabVIEW 8.5 but now I get an Error 7 from the last Invoke Node of the second loop. The top loop works fine. HPAC Main.vi is running as a startup VI on the RT target (PXI-8106). I can open its front panel using this VI. But the second loop can't open ST_viewer 1.vi. File names and paths are all correct. For building HPAC.rtexe, on the Source Files tab, HPAC Main.vi was chosen as a startup VI while ST_viewer 1.vi was put in the Always Included box. The VI server of the PXI is using TCP/IP port 3363. The PXI is directly connected to this host PC by an Ethernet cable.
    I also made a very simple project (attached file named ServerTest), deployed its rtext to the PXI and ran it as startup. After rebooting, I tried to open the remote front panel of main.vi and sub.vi on the PXI using access.vi. I get the following errors at the Invoke Nodes.
    For trying to open main.vi > Error 1352: Requested VI is not loaded into memory on the Server Computer
    Fro trying to open sub.vi > Error 7: File not found......
    As suggested in the article, Real-Time System Manager seems useful but I can't find it. Tools > Real-Time Module > and then I can't find the system manager. I only see Project Wizard, Configure Time-triggered Network and Execution Trace Toolkit. Does 2011 version have something else?
    Any help will be appreciated!
    Attachments:
    HPAC Executable.vi ‏33 KB
    ServerTest.zip ‏215 KB

    Thank you, JaymeW. I found the VI States tab in the Distributed System Manager. And yes, all the steps in that article were already done.
    If I set sub.vi as a startup VI on the PXI along with main.vi, then I can open it using the same method that opens main.vi. However, if I put sub.vi in Always Included box on Source Files tab and use the VI server to open it, I get errors.
    On the VI States monitor, I see main.vi running as a startup VI on top level when I turn on the PXI. Then, I run access.vi and open main.vi successfully. When I click the sub.vi open button, sub.vi appears on the monitor with Run Top Level status but I get error messages.
    At the first attempt to call the remote front panel of sub.vi, I get:
    LabVIEW: Resource not found.
    An error occurred loading VI 'lvfpp0.vi'.
    LabVIEW load error code 3: Could not load front panel.
    From the second call, I get:
    Error 1000 occured at Invoke Node in access.vi
    Possible reason(s):
    LabVIEW: The VI is not in a state compatible with this operation.
    Method Name: Run VI.
    Could you take a look at the attached simple project and suggest a solution? Thank you!
    Attachments:
    ServerTest2.zip ‏218 KB

  • Labview Remote Panel and Client Aspect Ratio

    Dear all professionals,
    I had create an application with remote panel (webserver) enabled. I found that there is relationship between aspect ratio of client device display and the remote panel screen size. Here i attached two images of remote panel in browser which both remote panel are opened using different aspect ratio of client device. 
    The left 1 is the device with 1.5 aspect ratio while the right 1 is the device with 1.78 aspect ratio. 
    As you can seen from the images, both remote panel are shown in different size. May i ask do i miss something in the remote panel configuration? 

    Hi Michel,
    Thank you for your reply. I also notice that the zoom % of browser is one of the issue that caused this behaviour. In the same aspect ratio with server computer( where the application running), changing zoom to 100% will help to fit remote panel that I already set when I developing the remote panel vi. But if for different aspect ratio, no matter how u change the zoom % , it won't fit the frame. I just wondering whether got another solution for this issue or not :-(

  • Remote Panel Over Internet

    Hi All,
    Our office PCs r connected internally through LAN. Each PC set to get Automatic IP address. One PC is connected with external Modem. We have a laptop with internal modem. I am dialing the modem and connect to the PC with modem. Now after connection is established I try to use Remote panel then gives error like "network error" and "Remote Panel server not delivered specified vi" though the require vi is in memeory. I had also tried out by specifing the IP address but the same error repeats.
    Please let me know how could I solve this problem.
    Thanks.
    Vishal

    I have never run across this before, but I will throw out some ideas to get it rolling. Is this a fire wall issue? I assume because you are dialing in that it is not part of the network. Are you able to ping the computer that is hosting the remote panel? Are the run-time and LabVIEW development versions the same?

  • Remote Panel and DSC interfering?

    Hi, I wonder if DSC or OPC is interfering to view my remote panel in a executable, since I installed them and now I cannot see my web page. I mean the instructions says close Labview to gain acces with the executable, does DSC or the shared variabel Server or something is interfering?
    What happened:
    I have a program which monitors temperature for rooms with fruit, We acquire the temps through modbus RTU, and We see that info through internet.
    First I did it with the modbus libraries, and It worked, We had the web page working through remote panels and the web publishing tool.
    But now I saw the DSC toolkit for Labview, and excited about that I migrated the whole functionality to the IO servers, and until the very end, when everything else works ok, the web page or remote server doesn't works, works with the VI but not with the EXE.
    The first time I followed this, and I did this time again with not succes
    http://digital.ni.com/public.nsf/allkb/7F95D43D3F50FCAC8625710E000068E1
    Currently state:
    My Web server is started and works in development, I made a webpage named TRY.html, and it works in Labview with the VI.
    I know that the plugin doesn't works on chrome, but just to let you see that the problem is not IEXPLORER, whetn the web page is static it works on chrome too.
    With IEXPLORER (right) it works in chrome (left)  it doesn't
    Working on IExplorer
    So I followed the steps from the instructions, added the web page to my project, added to the build, and built
    Then I modified my NIconfigserver file, and CLOSED labview entirely, the tutorial says so, I closed at least as much as I used to do before.
    My ni config
    # Web server configuration file.
    # Generated by LabVIEW 14.0
    # 13/06/2015 11:44:16 p. m.
    # Global Directives
    NI.AddLVRouteVars
    ErrorLog "$LVSERVER_ROOT/logs/error.log", level=2, anew
    TypesConfig "$LVSERVER_ROOT/mime.types"
    LimitWorkers 10
    LoadModulePath "$LVSERVER_ROOT/..;$LVSERVER_ROOT/modules;$LVSERVER_ROOT/LVModules"
    LoadModule LVAuth lvauthmodule
    LoadModule LVSnapshot lvsnapshotmodule
    LoadModule LVRFP lvrfpmodule
    Listen 8000
    # Directives that apply to the default server
    NI.ServerName LabVIEW
    DocumentRoot "C:/SMC/data"
    InactivityTimeout 60
    SetConnector netConnector
    AddHandler LVAuth
    AddHandler LVSnapshot snap
    AddHandler LVRFP
    AddHandler LVSnapshot
    AddHandler fileHandler ""
    AddOutputFilter chunkFilter
    DirectoryIndex index.html
    My ini
    [SMC]
    server.app.propertiesEnabled=True
    server.ole.enabled=True
    server.tcp.paranoid=True
    server.tcp.serviceName="My Computer/VI Server"
    server.vi.callsEnabled=True
    server.vi.propertiesEnabled=True
    WebServer.Enabled=True
    WebServer.TcpAccess="c+*"
    WebServer.ViAccess="+*"
    DebugServerEnabled=False
    DebugServerWaitOnLaunch=False
    saveFloaterLocations=True
    find.viListFlags=0
    LastErrorListSize=0,0,0,0
    paletteStyle="NamedIcons"
    And so, I open my EXE, then reload the webpages, and I can see that the web server is started, because it shows the html, but I cannot link to my EXE. It says that can't find my VI
    Requested VI is not loaded into memory on the server computer
    If I close the EXE the server stops
    Remote Panel connection refused by specific server, Make sure Labview Web server is enabled
    And that's my history
    It's always hard for me to get the web page working, but this time I've spent hours without success
    I did the test in my development pc and in the target PC and is the same, on these PC's the webpage was working before using DSC.
    So any help will be appreciated
    My best regards

    The DSC Runtime Engine will be sufficient for the deploying the project to a new computer. The Run Time Engine is equivalent to the DSC Module, but you can't do any programming with it. You will need to purchase a separate license for the Runtime license for each deployment computer also. 
    What is the DSC Run-Time System and When Should I Use It?
    http://digital.ni.com/public.nsf/allkb/E56DB8726DB68F288625770E00594351
    Thanks,
    Frank
    Application Engineer
    National Instruments

Maybe you are looking for

  • 10.5.1 update problem

    Hi, Hoping someone can help me. New to Macs- loving it so far, but am having one problem. Just updated the software the other day from 10.5 to 10.5.1. I used the software update button to do this. I am on a dial up connection (live too far out in the

  • Auto brightness not working in ios6

    I updated my iPad (3rd gen) to ios6, but when the update is complete i found that the auto brightness not working, when i use the ipad on dark room the brightness not changing, when i use ios5.1 it changing.. Any solution and actually the problem is

  • Jquery + json generate html buttons with condition

    Hi all, My need is to generate buttons with conditions described in json. Help me please, I’m newbie. Here is my json code (it is valid, but does not work with html code below) :     "Caption": "Module caption",     "IconsDirectory": "C://Images/",  

  • What is the relevance of QUOTATION

    hi, sap gurus, good morning to all (1). what is the relevance of quotation in sales order cycle. (2). as all know that quotatio carries validity periods - can i have extention of those validity periods. regards, balaji.t 09990019711.

  • Content Aware Delete?

    I am aware that on a 16 bit image, live selections (think marching ants) once adjusted are immediately rendered 8 bit (and now quite prone to posterization issues).  Live selections, unless turned into a mask are very destructive, when adjusted. Havi