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

Similar Messages

  • Fieldpoint embedded data logger and remote panels license (5)

    Multiple use remote panels license (5) does not allow multiple access to cfp 2120 realtime embedded datalogger (all pc's on the same subnet).  Error message:"remote panel connection exceeds maximum number of licenses."  Licenses installed in ni-rt>system>share>licenses on the remote system?????????????????????????????

    Hi, thanks for your help=) I've manage to drag the file into my targeted controller. I am now doing the setting of the data logger program, but there's one thing I'm unsure of. May I know what does it mean by the cFP controller clock? http://zone.ni.com/devzone/cda/tut/p/id/3219 . Thanks. =)
    Log On Startup
     Start logging when the controller powers up.
    Start Log Time
     The time to start logging.
    Stop Log Time
    The time to stop logging.
    Note: Make sure the clock is set correctly on the controller. The settings described above refer to the cFP controller clock.
    Log Rate
    The number of milliseconds to wait between each acquisition.
    FP Drive For Data Files
    The drive to store the log files in. The C: drive is the default for all cFP controllers. If you want to save to the removable CompactFlash drive on the cFP controller, select the D: drive.
    Digital "Pause" Line
    The Digital Input item to use as a "pause" button for data logging. Logging pauses when the signal is high. When the signal goes low again, a new file is created and logging continues if appropriate.
    Note: Use only Digital Input items for the Digital "Pause" Line.
    Tip: You can use DIP Switch 3 to block the current data from being logged. This switch works the same way as the Digital "Pause" line.
    Logging Session Tag
    Is stamped on the spreadsheet that the data logger creates.

  • TCP communication and Remote Panel programming

    Hi all:
    I am developing a LabVIEW program which is to used remotely. I am planning on using Remote Panel Access or TCP Communication for my application. I would like to know why is a better choice and what are the factors I should consider in choosing one of these. Jsut for information, I am also using serial communication in this program using RS232 cable.
    Thanks in advance,

    I am not sure what the legal aspects are for the Run Time Engine.  You will have to dig deeper or contact NI if it will not let you load it.  From what I read is:
    Additionally, the Run-Time Engine allows your browser to display VIs that are embedded in Web pages.  There are two downloads that are available. You only need to install one of them. LVRunTimeEng.exe is a smaller download intended when viewing Remote Front Panels in Web pages. It does not contain the full run-time engine, but will allow some executables to run..............
    http://digital.ni.com/softlib.nsf/websearch/1F1EBEA6D03A67E6862570A400531F97?opendocument&node=13205...
    Yes, you can have an executable and that would be the preferred method.  Start small and work up to the final version.  Start by using your developer version and have it generate the WEB page.  Using the same computer you can view the page and take control using Microsoft Internet Express.  From there build it into an application, try it again.  When all looks good then put it on the server.  You are limited by licenses on how many WEB pages you can have running.
    Hope this helps,
    Matt
    Message Edited by mfitzsimons on 11-01-2005 10:17 AM
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

  • LV2010 and cFP-2120 and remote panel

    I have a project in LV2010 for cFP-2220.  When I convert the project for a cFP-2120, the remote panel doesn't work.  When the browser goes to the IP address it defaults to 192.168.1.2/#Home.

    The remote panels and browser control work fine for the 2220. I inserted the 2120 into the project in place of the 2220 and modified the fieldpoint paths in the vis. I upgraded the software on the 2120 using LV 2010. The original program was written for the 2120 in earlier versions of LV. It was updated to LV 2010 and adapted for the 2220 along with program feature updates related to pumps and other necessary system component changes. Maintenance and support of our customers units involves replacing pumps and other components and/or replacing their 2120's. We are trying not having to replace their 2120's.
    When we deploy the program as a startup it runs controls and collects data, but the remote panel access with Internet Explorer isn't working. We have tried creating a new index.htm.

  • Dynamic VIs and Remote Panels

    I am completing an application with LabVIEW 6.0.2. The application will be distributed as a stand-alone executable.
    Now I wonder if it is worth upgrading the software to LabVIEW 6.1 in order to allow the users remotely interact with the software by means of the "remote panels" feature. In the past I tested the built-in Web Server functionality of LabVIEW but I found it too "static" with a lack of support for dialog boxes coming from dynamically loaded VIs.
    Does anyone know if the new "remote panels" feature allows a real control of the remote program even when there are dynamic VIs?
    Are there licensing restrictions for the single connection provided with LabVIEW 6.1? Hundreds of users may install and run my application.
    Thank you
    in advance!

    Hi again,
    I attach an example that shows how to use remote panels feature.
    The Grafico.vi loads dinamically Sub-vi.vi for an easy task. This can be controlled by a remote client. I also attach the html file working for my server, you should edit it and change the server name (mine is K1000) to get it work. You will also find a document about the sintax for creating html files for LV Web Server.
    Feel free to ask any further information,
    Alberto
    Attachments:
    remote_panels_example.zip ‏24 KB

  • Labview 2010 SP1 - How to install just the labVIEW and remote panel

    Hi all
    I am currently using a licensed version of LabVIEW 2010 SP1. It came up with 6 to 7 DVD’s each of them containing around 5 GB of data. Installing all these stuffs eats up around 30 GB of ma C drive.
    My project just deals with 2 EPOS controllers controlling 2 of maxon EC motors and these 2 EPOS controllers are communicating via USB port with the client PC. This client PC have to be monitored and controlled remotely by host PC containing the same LabVIEW version.
    To do this, do I have to install all of these 7 DVD’s or just enough to download the “LabVIEW for education 2010 SP1” from the NI website, available in the below link “http://search.ni.com/nisearch/app/main/p/ap/tech/lang/en/pg/1/sn/n8:28,ssnavdl/”
    Awaiting for your reply  friends.
    Thanks in advance

    Duplicate Post

  • LabVIEW Real-Time and Remote Front Panel MemoryManager.cpp line 437 error

    Hi all,
    I'm using a smartcamera (NI 1742) with LabVIEW Real-Time 8.6.
    When I look at the Front Panel with the web browser and I close the browser or I Stop the executable, I always get this error: MemoryManager.cpp line 437. I've checked if someone else had this error, but I guess I'm the only person who got this error. I saw someone who had the MemoryManager.cpp line 406, but mine isn't on this line.
    The application works well, but when I got the error, I need to reboot the smartcam to get it works. In my application, I use the Modbus library and I read/write binary file in the hard disk of the smartcam....
    Anyone knows the solution?
    Thank you very much
    Stephanie

    Hi again,
    Still didn't find the problem on my side. Here's a picture of my code. If I put the code surrended in red at place (1), I don't get the error, but if I put the code at place (2), I get the error. Why oh why....?
    I get the error when I close the browser or click Back button of the browser or Stop the application with the red dot or stop the application with the Quit button on my front panel.
    This morning I found a post on this forum about getting an error using Property node and Remote panel (http://forums.ni.com/ni/board/message?board.id=170&message.id=252705). I did what they suggest: wire the property output to an indicator and it works (disable "Enable automatic error handling dialod" didn't work... I don't know why)... until I put extra code in my VI. 
    I really need help please!
    Thank you
    Stephanie
    Attachments:
    MemoryManager line 437 error.JPG ‏228 KB

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

  • Using datasocket or remote panel?

    Hi,Friends,
    I am developing a fault inspection system in a production line. The manager and other leaders want to watch the inspection process remotely (at their office)when my system is running in test room. I have tried remote panel so that they can monitor the process with IE Browser, but the refresh and data transfering in remote site are very slow. I noticed someone could use DataSocket the implement this function. But I have no idea about the difference of DataSocket and remote panel. Are there anyone who has this kind of experience tell me some skills to improve the performance of remote monitoring?
    Other questions are:
    1. In order to carry out remote display, which one is better, DataSocket or remote panel?
    2. What the
    purpose of remote panel and DataSocket in LabView? What are the difference and connection between them?
    Any suggestions are warmly appreciated.
    Red

    The benefit of remote front panels is that a user can view the front panel of your application with only a runtime engine. When using datasockets you will need the full development environment whether it is LV or another programming language like VB. Datasockets are a mechanism to transfer data across a network but still the underlying protocol is TCP/IP. Data sockets will require you to use the datasocket server and will require code to utilize them. In other words you will still have to write a vi to display your data. Where as in remote front panels you can utilize the front panel on the source machine. Because of the TCP/IP protocol it is more of a network speed issue in your case. You still are restricted to the capabilites of your network. Once sug
    gestion is to isolate your network from your corporate network if that is the case. This will reduce traffic on your network and allow your data to be transferred at the highest speed possible. Hope this helps.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor

  • 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

  • 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

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

  • Remote Panel and DataSocket

    In LabVIEW6.1,there is "Remote Panel"feature.And in http://digital.ni.com/demo.nsf/websearch/3DF73584759FF60986256ABD005BB446?OpenDocument&node=1381_US, there is a demonstration named "Weather Station".In LAN,I can control the VI from another host.But how can I control a VI from a host of different LAN or by Internet.For example ,can I bulid a remote panel which you can control from your own computer?
    Thanks.

    LabVIEW ships with a web server that is used to host your own applications. In LabVIEW 6.1 you find the tools to help you embed your own VI in a web page. These tools are found under Tools >> Web Publishing Tool and Tools >> Options >> Web Server. Most corporate networks have a firewall that you will have to deal with. In order for everybody inside or outside the firewall to access your remote panel, you will have to open a port through the firewall. Also, anyone that wants to view a remote panel will have to have either the LabVIEW Run-Time engine or full developments system installed.

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

Maybe you are looking for

  • MacBook Running OSX 10.7.4 Can No Longer Find Printer on Linksys Router

    I am SO tired of trying to work with this piece of (*$& printer it's RIDICULOUS.  Printing worked a couple days ago, but won't work today. I have uninstalled the complete HP package and reinstalled it with drivers, nothing. I have connected the print

  • X200 Wireless Problem

    I have a new X200.  I've only been using it for a day.  The wireless radio worked at first.  It was able to connect to my home wireless network.  However, something changed, and now it doesn't work.  Symptoms: - The light on the bar under the screen

  • N95 problems

    Hi folks, I bought my N95 in july and almost immediately it hung itself so I went to the 3 store and they swapped it instantly. Happily I came home and did a reverse backup to get all settings back. Ooops !! Same kind of problems accured. The problem

  • Getting problem when retriving Table name

    Hi, I'm having problem when i trying to get the table name from database. I'm using NetBeans 6.0, And It does n't show any error during compile and run time. I could n't find where the problem is? Code:_ DatabaseMetaData dbm=conn.getMetaData(); Strin

  • ORA-06571: Function SAM_OUTPUT does not guarantee not to update database

    Hi, i created a package as follows, CREATE OR REPLACE PACKAGE cursor_test_pak AS TYPE trans_cursor IS REF CURSOR; FUNCTION Cursor_Test RETURN trans_cursor;           FUNCTION sam_output RETURN NUMBER; END; CREATE OR REPLACE PACKAGE BODY cursor_test_p