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

Similar Messages

  • HT5557 Using IBook, I can't seem to figure out how to insert a blank page inbetween pages that are already set up, like if you want to add some pictures or something.  Anyone have any tips on this?  Thanks, Mark

    Using IBook, I can't seem to figure out how to insert a blank page inbetween pages that are already set up, like if you want to add some pictures or something.  Anyone have any tips on this?  Thanks, Mark

    To enable the form to be signed in Reader you will need to open the form in Acrobat; goto Advanced>Enable Usage Rights and then save this copy of the form for sending out to the users.
    The user should then be able to edit and digitally sign the form. They can then email the signed/saved pdf as a browsed for attachment or via the email icon in the toolbar. Note - if you have created an email submit button on the form, then unless they have Acrobat they could only return an xml file.
    The other way to do this however is to create a dataset by 'distributing' the form. This time the Email Return button will send back a full version of the form. During the distribution setup you will have the option to email the form directly or to save it and send it later,so you can send to users as and when or even post it to a website or intranet.
    When you receive and open the returned form it will ask whether you want to add it to the predetermined dataset (or if you want to categorise the returns into geographical areas for example, you could create new additional datasets at this point). If the form is data heavy however, the dataset will become very large and unwieldy pretty quickly, but you can export the data from it (including signatures) in xml format and import this into an Excel spreadsheet.
    To simplify the Excel xml import process I'd recommend you carefully structure your form in the hierarchy (LiveCycle) into the order you would want the data items to appear in your spreadsheet and switch off those data items that you will not need by setting the default binding for the irrelevant fields to "None".
    Clear as mud? Hope this helps.

  • I use iPhone 5s and iPad Air to take photos. They download automatically to my iMac. However, I often get dups, triplicates or more on the iMac. How can I stop this and how can I get rid of the extras that are already there?

    I use iPhone 5s and iPad Air to take photos. They download automatically to my iMac. However, I often get dups, triplicates or more on the iMac. How can I stop this and how can I get rid of the extras that are already there?

    Try upgrading your Mac to the newest version of OS X Mavericks, and try upgrading your iPhone and iPad to the newest version of iOS 7.
    OS X Mavericks may not be in the Mac App Store by now, but you can find the newest version of Mavericks here at download.com: http://download.cnet.com/Apple-Mac-OS-X-Mavericks/3000-18513_4-76018588.html. Note: Download.com it a safe website to download free software.

  • 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

  • Manual update - how do I add album art to songs that are already in ipod?

    I recently changed to manual update as the auto update started to take a ridiculously long time to even recognize my 60gb.
    I wanted to add album art to an album that was already in my ipod. I updated the songs in itunes, and then dragged them to the ipod when it was listed in itunes.
    Itunes said "updating songs" - and I ended up with two copies of each song.
    I deleted the duplicates from the ipod, but surely there must be an easier way.
    So how does one properly update information on existing songs with manual update?
    60gb video     latest itunes

    The easiest way to do this kind of thing probably would be to either make the alterations (album artwork, lyrics, etc.) on your iPod's songs themselves, not the iTunes library songs. (Click on the little arrow to the left of your iPod's name in the Source List of iTunes, so show/hide. Click on the "Music" library under your iPod to see it's songs displayed in iTunes.)
    When you've gotten in the "Music" library, under your iPod's name in iTunes, you can select the songs here that you want to change, and click on "Get Info".
    Or, you could do this:
    1 - Make the changes to the iTunes Library songs.
    2 - Go to your iPod's Music area in iTunes.
    3 - Delete the current songs off your iPod that will be replaced with the "modified" version of the track (that has additional or altered info on it.)
    4 - Now, go back to the iTunes Library. Select those new changed songs, and drag them to your iPod.
    -Kylene

  • How can I stop iTunes from synchronizing titles that are already on my iPod?

    iTunes synchronizes the same titles every time although they have not been changed and are already on my iPod. Is there a way to stop this? It costs a lot of time to synchronize every time... I use iTunes 11, iPod Touch 3G.

    Yep.  Don't manually manage.

  • How do I download new versions of tracks that are already in my Library?

    I downloaded about a hundred songs from iTunes between last night and this morning. A number of the tracks do not play to the end of the file, cutting off in the middle instead of playing to the end. I tried making an .mp3 copy of several of them, and they all generate a file error in iTunes. Obviously the tracks that I downloaded are corrupted in some way, so they need to be re-downloaded. The problem is that iTunes says they are already downloaded, so it won't let me re-download a new (hopefully clear) copy. Is there any way I can do this without having to pay for the tracks all over again?

    What country are you in ? What you can re-download, and where, is listed on this page.
    If you are in one of those countries where you can re-download music then delete the entry for them in iTunes (you don't have to delete the actual files, just the 'entries' for them in iTunes) and see if you can then re-download them - I think that if there is an entry for them in iTunes then it doesn't think that they need re-downloading as they are already there. If you are not in a country where you can re-download music for free then you can try the 'report a problem' link from your purchase history : http://support.apple.com/kb/HT1933

  • How to import Sony EX1 files into FCS (that are already on HD in folders)

    let me try an explain, I have bought some footage, and the person that sold me the footage gave me the raw files. I was shot using a SONY EX1. I have one too, as well as a EX3. My difficulty is that I'm not able to import the files into FCS... when I import my own footage I read it from the SXS using XDCAM Transfer, but as the footage he sold me is already on my HD and in the raw form (in folders divided into files)...
    Any ideas?
    Thanks

    I have been away on a shoot, but finally back, and still have not resolved the problem...I have try to do what you say, but XDCAM Transfer does not recognize the folders... it is strange...any other idea???

  • Where does the processing take place when using a remote front panel?

    Hi,
    I am considering upgrading my LabView software from 6i to 6.1 for the new "two click" remote front panel feature. I have already seen a demo of this feature but have just a few questions before I get the upgrade:
    My setup consists of several pieces of equipment connected to Labview via GPIB, to aid in the evaluation of a new microchip.
    1. I wish to grant control of the setup to anyone with a web browser, Is the remote monitoring feature compatible with both Netscape and IE?
    2. The VI which controls the setup is currently located on the PC beside my setup. When I embed a VI in a remote front panel, where does the processing take place, is the local VI still controlling the setup? and
    the remote panel just sending and receiving data from the local VI.
    Thanks, Troy

    > I am considering upgrading my LabView software from 6i to 6.1 for the
    > new "two click" remote front panel feature. I have already seen a demo
    > of this feature but have just a few questions before I get the
    > upgrade:
    >
    > My setup consists of several pieces of equipment connected to Labview
    > via GPIB, to aid in the evaluation of a new microchip.
    >
    > 1. I wish to grant control of the setup to anyone with a web browser,
    > Is the remote monitoring feature compatible with both Netscape and IE?
    >
    Yes. Provided they are resonably modern versions.
    > 2. The VI which controls the setup is currently located on the PC
    > beside my setup. When I embed a VI in a remote front panel, where does
    > the processing take place, is the local VI still controlling the
    >
    setup? and the remote panel just sending and receiving data from the
    > local VI.
    >
    The computer which we refer to as the server, the one with the GPIB card
    in your case, will execute as it does now. In fact, its window will
    even be open. The remote client computer, the one with the web browser
    will be running the runtime engine and processing user events, value
    change and property/method events from the server. So in reality, both
    computers will be sharing the load a bit. This allows for very small
    packets to be sent between the computers. It is in fact quite similar
    to publishing the data between the computers using datasocket.
    One thing to keep in mind. Standard LV includes a license for one
    connection. If you want to allow for multiple web browsers to view at
    the same time, additional licenses are available. Also, only one user,
    remote or server may be in control of the panel at a time. That means
    that if you want to be able to operate the panel, changing kn
    obs or
    flipping switches, the others will become viewers only until you give up
    control. Hopefully this isn't a surprise, but I thought you might want
    to hear about it now.
    Greg McKaskle

  • 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

  • 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

  • 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

    Hi, I'm new to labview. Now i have a program which is running in server mode. The application also build for the remote front panel. So my question is whether the client use the remote front panel to download the require file from the server to client computer under different 2 networks ? Thank you.

    My main vi is just displaying data in graph where data are from MODBUS module which using LAN port. The main vi will gain all the data and generate a file (such as Excel file) after clicked a button. This file is generated at the server computer. With this function, i also published the front panel into web which is remote front panel. So now i want to generate the excel file by using another computer (client computer) access through the remote front panel to generate the file and the file is save to the client computer. The two different networks i mean was the server computer and the client computer is not connected under same network. So i want ask that whether remote front panel can do this function or not? If yes, then how to do it? Sorry that let you confuse

Maybe you are looking for

  • Is there a way to automatically go to the first page of an articles when navigating through a folio

    If the user scrolls to the final page of Article A and then swipes to the right to Article B, is it possible that when they swipe back to Article A it will default to the first page as opposed to the last page?

  • "You can't open the application "iPhoto" because it may be damaged or incomplete"

    Hello there, i am using macbook pro 13inch mid 2010, OS X Yosemite (10.10.2). After updating to Yosemite 10.10.2 and imovie 10 through ilife11 cd. I cant able to open my iphoto. When i try to open it i get "You can't open the application "iPhoto" bec

  • PO not transferred to backend

    Hi! I have a shopping cart which was approved but stayed on the 'Approved' status without the PO being created. I have run CLEAN_REQREQ_UP and BBP_GET_STATUS_2 and have checked RZ20 but couldn't fix it. There is no entry in RZ20. We are still on SRM

  • RAW images seem yellowish in Camera RAW/CS4

    I'm a newb to photography, so I apologize if this is entry level stuff. I shoot with a Canon 40D - JPG + RAW - and when I open my RAW images with Camera RAW through Adobe Bridge CS4, it appears that they more more yellow than the JPGs out of the came

  • Calling ant from java

    public static void main(String[] args) {           String arr[] = null;           arr = new String[2];           arr[0] = "-buildfile";           arr[1] = "C:\\workspace\\my projects\\ANTTASKS\\bin\\build.xml";           try {                Launcher