How to open remote front panel of vi's within an executable from an executable.

How do I remotely open front panels of subvi's contained within an executable, where both computers just have LabVIEW Real Time loaded (programs are run as executables)? I want to use the Method: Remote Panel Open Connection to Server to make this work. I have been getting error 1032 "VI Server Access Denied". I do not want to use the web page method (connection is too slow when controlling front panel objects and I can not programmatically exit out (release control of vi) of the web page).
Ex. 
PC1: Has executable1 using Remote Panel Open Connection to Server Method etc. code inside. This program will make a call to executable2 (on PC2) to open up different vi front panels (within executable2), so the controls can be changed from PC1. I want to be able to make changes to the vi's running on PC2 from PC1.
PC2: Has executable2 containing several subvi's.

Not sure if this is what you are looking for but here is how to launch executables that can interact
Putnam
Certified LabVIEW Developer
Senior Test Engineer
Currently using LV 6.1-LabVIEW 2012, RT8.5
LabVIEW Champion

Similar Messages

  • How to display remote front panels of subvis that are already open

    I inherited an RT project that uses remote front panels for nearly all the user interfaces. The host application opens a remote front panel the the top level RT vi, and there are several subvis on the RT system that are opened from that top level vi and thus displayed on the host (i.e. their "Show Front Panel When Called" properties are set TRUE).
    If the Host loses its connection to the RT system when any subvi front panels are opened, and the host application is restarted, it can re-open the top level vi remote front panel, but all the RT subvis that are already open will not display their front panels. I am looking for a way to open the front panels to these subvis from the host application.
    The kicker is, I need to know which subvis are actually running before I attempt to open remote front panels. Is there any way to determine what subvis are actively running (and not just in memory, such as subvis that won't get executed until the top level vi reaches a certain state)? I am thinking that I could create a list of the subvis that I need access to, check to see if any are actively running on the RT system, and then invoke a remote front panel connection with those that are running.
    Does anyone have any ideas as to how I might be able to do so? Or any other suggestions? [and yes, I know that RFP communication is probably not the best way to go, but we're too entrenched in this software to start over with a new system!]

    TurboPhil wrote:
    If the Host loses its connection to the RT system when any subvi front panels are opened, and the host application is restarted, it can re-open the top level vi remote front panel, but all the RT subvis that are already open will not display their front panels. I am looking for a way to open the front panels to these subvis from the host application.
    It might be possible to work around this behavior by placing VI invoke nodes in your top level VI that reference each of your subvis and setting the Wait Until Done invoke method to false.  This should cause the subvi to close when the top level VI closes even in the case of an unexpected restart.
    You can access this invode node in the functions pallet by selecting Application Control » Invoke Node and also selecting Application Control » Static VI reference.    Wire the Static VI Reference to the vi reference input node and double click the Static VI Reference and select the appropriate subvi in the dialog window.  Left click on the Method section of the invoke node and select Run VI. Finally right click on the Wait Until Done invoke method and select Create Constant and ensure this constant is set to false. 
    TurboPhil wrote:
    The kicker is, I need to know which subvis are actually running before I attempt to open remote front panels. Is there any way to determine what subvis are actively running (and not just in memory, such as subvis that won't get executed until the top level vi reaches a certain state)? I am thinking that I could create a list of the subvis that I need access to, check to see if any are actively running on the RT system, and then invoke a remote front panel connection with those that are running.
    You can access this information by using the Real-Time System Manager (Tools » Real-Time Module » System Manager).  This can be used to show what VIs and subvis are loaded into memory and which are running.
    For more information on using this tool please referere to this Knowledge Base article. 
    Message Edited by BLAQmx on 02-18-2008 11:40 AM
    Mark
    LabVIEW R&D

  • How to edit remote front panel

    Can i create a remote front panel that only displays as a monitor an array??

    Hi tomsch1,
    If you have the Internet Developers Toolkit installed on your version of LabVIEW (provided in the Full and Profession Development System packages and as an add-on for the Base package), then the Web Publishing Tool will provide you with three viewing options:
    1. Embedded
    2. Snapshot
    3. Monitor
    Detailed information about these options can be found here:
    Web Publishing Tool Viewing Options
    It sounds like your application would want to use the Monitor option that will just take images periodically and refresh then on the front panel. The Embedded option might also work if
    you set the Option for Web Server: Browser Access to be Allow Viewing only.
    Here are some related links for more information as well:
    Products & Services: NI LabVIEW Remote Panels
    Internet Developers Toolkit Reference Manual
    Hope this helps!
    Kileen Cheng
    Applications Engineer
    National Instruments

  • Programmatically Open a Remote Front Panel with Panel Open Method

    Hi,
    I am trying to open the front panel of the VI on my cRIO-9024 through a remote computer. Currently, I am able to run the VI with no problems with the RUN VI method; however, when I try to open the front panel, I receive "Error 1043 - This property or method is not supported in this version of LabVIEW" or the Front Panel is simply not visible. My cRIO is configured to allow TCP/IP protocol, The VI is visible, and I have made my project into a source distribution on my cRIO.
    Any help or suggestions regarding this problem would be great. I am very new to LabVIEW.
    I have attached a screenshot of my block diagram and project.
    Thanks,
    Jake 
    Attachments:
    Block_Diagram.PNG ‏12 KB

    Project Img
    Attachments:
    MyProject.png ‏15 KB
    MyProject.png ‏15 KB

  • How can I close a remote front panel by closing only the browser window?

    I control a remote front panel in a browser (from the client PC). If I don't use the 'close' - button in my program to end the remote front panel, but instead of this the 'x' of the browser window (in the right bottom corner), my program won't be close, it continues on the server. Do you know how to end a VI by closing only the browser windows?
    Thanks for any help!
    wolfe

    I found the examples. Thanks.
    But I could not find a solution yet. Now I know how to end a VI by clicking on the x of the VIwindow.
    My problem is, to end a VI by clicking on the x of the BROWSER window after I loaded and controlled a remote panel VI in a browser (e.g. IE).
    If you have any ideas ... I'd be happy.
    Thanks for your help.

  • How can i access remote front panel in RT with LabVIEW run time engine in client PC

    Hi to all,
    I have developed the RT application with cRIO 9075 integrated chassis. And i have access its remote front panel in client PC. Now i want to access the remote panel in the client PC without having LabVIEW runtime engine. If i connect the remote panel with that client, it shows only the vi border. i doesn't downloads the  front panel.
    How Can i access its remote front panel without LabVIEW runtime engine in the client PC?

    You cannot view a remote front panel without the LabVIEW runtime - the LabVIEW runtime is what makes the remote front panel possible.  What you will want to do instead is likely create a Web Service that you can access from a remote PC without requiring the LabVIEW runtime.  However, this will require you to develop a web-based HTML or similar UI to interact with the VIs running on your system - NI hasn't yet created a way to export a LabVIEW front panel as an HTML'ish page.  
    -Danny

  • ASK remote front panel

    hai bro i try to remote panels with labview 8.0 professional with this information :
    http://zone.ni.com/devzone/cda/tut/p/id/4791
    http://zone.ni.com/devzone/cda/tut/p/id/3277
    and it's done, for example i give it name test then i start the web server it's works well.
    but when i try to connect again with remote panel connection manager and open the project (test)
    the remote panel connection manager says that they can find it certainly i've save and open it with the same name and folder where i save the project.
    can youm tell me why  i can't do that?
    tanx before, sorry for bad english 

    What do you do differently the second time from the first? Are you opening it up differently? Are you using an executable? It doesn't look like it from your description but if you are there is a link below that may help. do you have a firewall up or a proxy server? The second link may help if the problems are being caused by one of these.
    KnowledgeBase 3U5H27MY: How Can I Use Remote Front Panels With LabVIEW 8.x Executables?
    KnowledgeBase 2ZAC2IEG: Remote Panels Through a Firewall or Proxy Server
    Vince M
    Applications Engineer

  • Remote front panel with labview 8.6 executable

    I am trying to create a remote front panel of my application, built in an executable using Labview 8.6. I want to run that application on a target machine (not the one used for developing the project) and view and control the front panel of the VI from a web browser on another computer.
    I have followed these steps: 
    How can I use remote front panels with Labview Executables?
    But when I finally open the web browser and navigate to the URL I obtain that the page cannot be found.
    I have my Labview project created and I have built a web page using Web publishing tool. I have saved it in my Labview 8.6/www directory and added it to the project. I have built my executable including HTML file and copied all the obtained folders to the target PC.
    Then, I have modified the .ini file like in the step 7, but when I arrive to the step 8 I don't know what to do. Which  niwebserver.conf should I modify? The one localized at Labview 8.6 directory of the target machine? Or the one that is created in the directory where I have copied the executable when I run the executable?
    In the DocumentRoot tag  I have to replace the default Labview/www with the location of my HTML file. Should I use quotation marks or no?
    Have you got any ideas of what is happening?
    Thanks!

    Ok, but when I create the executable, in the folder where the application.exe and .ini are there isn't a file called niwebserver.conf. When I run the application a file with this name appear in the directory (the one I include), but it hasn't the section Directives that apply to the default server as in the manual.
    What I have done is to copy the niwebserver.conf file ubicated in the Labview 8.6 of the target machine in the same directory of the executable but it doesn´t work...
    niwebserver.conf
    ServerRoot "."
    ErrorLog "./logs/error.log"
    LogLevel 3
    ServerName default
    DocumentRoot "./../../www"
    Listen 80
    ThreadLimit 10
    TypesConfig mime.types
    DirectoryIndex index.html
    LoadModulePath "./modules" "./LVModules" "./.."
    LoadModule LVAuth lvauthmodule
    LoadModule LVSnapshot lvsnapshotmodule
    LoadModule LVRFP lvrfpmodule
    LoadModule LvExec ws_runtime
    LoadModule dir libdirModule
    LoadModule copy libcopyModule
    AddHandler LVAuthHandler
    AddHandler LVSnapshotHandler .snap
    AddHandler LVRFPHandler
    AddHandler LvExec
    AddHandler dirHandler
    AddHandler copyHandler
    CustomLog "./logs/access.log" "%h %l %u %t \"%r\" %>s %b"
    KeepAlive on
    KeepAliveTimeout 60
    Timeout 60

  • Remote front panel: loading VI into controller memory

    Hi everyone,
    I am currently using LabVIEW 7.1 and need some expert help.
    I have a VI (which also include more than 80 sub VIs) that controls a system through compact Field Point module controllers. Currently, all these VIs are stored in a server computer.
    At this stage, I am capable of creating a remote front panel, which allows me to control the system from a client computer other than the server computer. Instead of using the server computer to control the system, I would really rather to use my field point controller to do the job, and I have the following questions:
    1. In the server computer, VI can be loaded to memory by opening the VI, how do you do it if you were to use the cFP-2015 controller as a server?
    2. I created a "startup.exe" and the "htm" files for my program and stored them in my controller and set it to launch application at boot-up. For once, I can access to my controller from the web. But once I close my browser, and re-access the web, the memory in my controller seems to be lost and I got an error message saying VI was not loaded in server memory. Is it possible to store the VI in the memory of my controller for a long time??
    Many many thanks in advance.
    Tak

    Hello Guenter,
    Thanks for your explanation. I think your description match very well with my observation. Your suggestion of flashing the LED while my program is running is a good idea.
    Sorry that I didn't describe what happend well enough, here is what happened to me.
    I embedded the program which simply turn on and off one of the LED on my cFP controller for 20 times.
    I re-boot my controller and wait some time, I then see the LED turns on and off.
    Before my program finish, I can access to my remote front panel page for multiple times even after I closed my browser while the program is still running.
    If I request control over the controller, I can manually stop the program, and then re-start it.
    However, after I re-start the program remotely, if I closed the browser even while the program is still running. The program stops as soon as the browser is closed. When I re-open my browser, it says the requested VI is not loaded in the memory on the server computer.
    So, correct me if I am wrong, it sounds like embedding my program as exe file, download to my controller, and set it to launch the application at boot-up is the only way to load the VI into controller's memory. Is there any other way?
    So, having said that, I have to re-boot my controller every time when I want to start my application file that is sitting in my controller, is that correct?
    Many thanks again.
    Tak

  • Problems with Remote Front Panel

    Hi, I've seen "How to create a LabVIEW Remote Front Panel" video of Grant H.
    I've followed the steps to create a remote front panel but doesn't work. When I open the URL in Explorer, show the title, header and footer but don't show the front panel, only a image that say: "Downloading front panel 0.00% of 0 Bytes" and don't work.
    My Remote Front Server in turned on and I'm using LabVIEW 2010 in Windows 7.

    I am having the same issue.
    Is there anything I can look up to find possible solutions?
    BTW, I run the same application in a different machine and it works just fine. I just can't seem to find where I should be looking...

  • Crio to host multiple remote front panels

    Hello all,
    I've a question abt remote front panel hosted by a cRIO system (cRIO9068 to be more specific, running RTOS).
    I have a top level VI (main) as the start up vi in my cRIO system, and it would call a subvi during run. I'd like to enable remote front panel for both the main vi and the sub vi so that I can see both front panels using a web browser. I'm not sure if such a configuration is possible at all and would like to listen to comments by users who have similar experiences.
    Thank you very much!
    Best,
    Jidong

    Hello hhaamm,
    To the best of my knowledge, I don't believe it is possible to host multiple remote front panels from the same executable, and, if it is, would be very difficult. The NI Web Server configuration file only specifies one port on which an executable can run web services, like remote front panels. In, short, I am not sure how you would be able to accomplish this.
    Another thing to keep in mind is that what you want to accomplish can be done in many different ways that would be much easier than creating multiple remote front panels.
    One of these is to move all of your controls and indicators to the top level VI. i.e. make the data you want to see from the sub-VI an output of the sub-VI and create a new indicator for this on your top-level front panel. This way you can still use a remote front panel and can use different decorations and labels to separate the top-level and sub-VI outputs.
    Another way to do this is to use the tab control to create multiple tabs, one for your top-level indicators, and one for your sub-VI indicators. This would still enable you to use remote front panels and would allow for the separation of your different indicators. Here is a note on how to do that:
    http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/creating_tab_controls/
    And here is a more in-depth forum post on how to create them:
    https://forums.ni.com/t5/LabVIEW/how-do-you-create-tabs-on-the-front-panel/td-p/201495
    The final way I can think how you would accomplish this is to use a web service instead of remote front panels and host the output of the sub-VI as a separate website. 
    Hope this helps!
    Collin D.
    Applications Engineer
    National Instruments

  • Configuring Remote Front Panels on a Real-Time Target,smart camera,but there is no image in the web page.

    I do see the web page, but the image  itself is not loading.i know a problem is with the installation of the LabVIEW ActiveX plug-in or the IMAQ ActiveX plug-in.  The LabVIEW ActiveX plug-in is required for ALL remote front panel viewing, and the IMAQ ActiveX plug-in is needed for VIs that use the Image Display. how can i do ?where can i get the the IMAQ ActiveX plug-in. help me!

    Got it working, after much experimentation.  Seems to require installing exactly the right combination of items on the RT target, as some items (web services? web configuration? the "application web server"?) apparently run a separate web server - or instance of the web server - on port 80, which prevents remote front panels from being served on that port.

  • Remote Front Panel Problem

    Hi
    I am using a TAB control in a VI that is published as Remote Frontpanel.
    When changing TAB the controls are often grayed out in the browser even when they are not in the running LabVIEW VI !
    A Combo box may also contain the apps default values instead of the values from the running VI !
    Any hints to solve this ?
    I have login/logout in my application, and i need to auto logout when the last Remote Front Panel User disconnects.
    How do I detect that there is no listeners/clients ?
    The "connection manager.vi" is password protected, so i can't get any hints from there !
    Best Regards
    Teddy

    I see thank you. Very funny because i thought i had to do something with duplicating the real time target.
    So regarding the above problem, is there any way to be connected remotely to the target and when the link is broken to reconnect without affecting the operation of the VI running?
    For example, lets assume we connect to a remote front panel which has a simple VI with just a 1 second period timed loop running and for each iteration of the loop i monitor and i save the index of the loop. When i connect to the VI i request control and i click run. The VI starts running. After one minute, at loop iteration 60 the link between the host and the target breaks. The VI should continue running.
    After 1 minute of broken link the network is again available.
    What can i do to re-establish connection without affecting the VI operation and continue monitoring the VI. If reconnecting after 1 minute i will be expecting to see the loop iteration to be 120 and keep running. Is there any way to do this?

  • Hi,why I have a "DMA hardware error detected" when I try to save file as *.htm for remote front panel application?

    Hi,
    I try to learn how to present my data anywhere by using labview remote front panels. I use PCI-mio-16E-4 device to acquire data. After I start web server and try to save to as *.htm file, I got the "DMA hardware error detected" message. Can anyone help me to solve the problem. Thanks.

    What was the actual error code?
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

  • Multiple remote front panels?

    I have two separate applications running with remote front panels from this KB:
    How can I use Remote Front Panels with Executables?
    I can not get the two to run at the same time.  I was then shown this:
    How can I run Two or more Executable with remote front panels?
    This seems to be a little old (Version 8).  I am running 2012.
    Has anyone gotten this to work?  How do you set up the web server to listen on more than 1 port?  How do you then direct that port to a particular app?

    Thank you for the solution Todd. I was having the exact same problem.
    LabVIEW 2013 SP1
    Windows 7 64bit
    Windows Server 2012 64 bit
    Windows 8.1 32 bit

Maybe you are looking for

  • Error in informatica server .... I need Help

    Dear all , I am facing a problem when I connect the informatica repository with the DAC repository is raise this error : "Failure connecting to "INFORMATICA_DW_SERVER"!" and when I opened the environment vriables to check them I didn't find the JAVA_

  • OSX Lion & Bootcamp

    Updated to OSX Lion. Startup on MAC Side does not see Bootcamp Partition. In Disk Utility can see Bootcamp Partition, but cannot mount it. Reboot holding OPTION key boots fine to windows. Errors out in MAC side triing to start Bootcamp partition in V

  • Appraisal Document : FM for Fetching Document by Passing Template Id

    Hi Experts, Is there any Function Module which gives me all the document belongs to template Id by providing Template Id as Input Parameter ? Please help as new to PMS Regards, Mahesh Patil

  • IDE NWDS Debug error - Webdynrpo NWDS 2.0.6

    Hello!: This is what I get: <b>At Memory Log view: </b> 11/09/2006 10:46:11 org.eclipse.debug.ui [Thread[main,5,main]] ERROR: STATUSLOG   !MESSAGE Error logged from Debug UI: org.eclipse.core.runtime.CoreException[113]: java.net.ConnectException: Con

  • Dynamic Actions for Rehire

    Hi All: I've been trying to write a dynamic action to take the termination date from infotype 0041 and based on that data change the benefit eligibility date and rehire date on infotype 0041. Can anyone explain how can this be done? Thanks Venkat