How to show the front panel when launching VI with Call by reference node??

Hello!
I just wonder how I make the front panel visible during execution when I launch the VI with CALL BY REFERENCE NODE.
Se example.
Could u also show me how to change different properties (window size ..) of the front panel??? (launched with CALL BY REFERENCE NODE)
Thank you!
Attachments:
test.vi ‏18 KB

In VI Properties>>Window Apperance>>Customize you can check "Show front panel when called". This will open the front panel on each call. It doesn't matter how the call was initiated.
You can set a lot of Front panel properties during runtime. Place a Property Node in the block diagram. Change the class from App to VI. Under properties select Front Panel window>>Panel bounds to set the position and size of the front panel.
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions

Similar Messages

  • How to programmatically load and show the front panel of a vi but NOT run it?

    Is there a way to load and show the front panel of a vi but NOT run it?  I am starting with the AsynchronousCallAndForget.vi from the example finder and inserted an invoke node with the FP Open method call prior to the Start Asynchronous Call node. The vi I am loading has the "Run when opened" unchecked and the menu bar IS visible so I can manually click the run arrow. Thanks!
    Solved!
    Go to Solution.

    Why are you using the Async call? If you simply open the VI reference, then call the FP.Open method this works fine. You can then call the VI run method with Wait Until Done set to false if you wish to run it Asynchronously, this is how we did it in ye olde days before we had this new fangled "Start Asynchronous Call" stuff. 
    Charles Chickering
    Architecture is art with rules.
    ...and the rules are more like guidelines

  • Looking for a way to programmatically set the visible portion of the front panel when a subVI opens

    I am looking for a way to programmatically set the visible portion of the front panel when a subVI opens.  Haven't found any posts that relate, but I'm not sure how to ask the right question.  To be clear, I want to write a helper VI to go through a list of subVIs to make sure the background images are all in the same place when their respective subVIs open.  I hate manually playing with scroll bars before I save each of the VIs...  I'm figuring I need to find the top/left location of the background image (know how to do this already) and then set a VI FP property to  these values or some offset, but I can't find the relevant property. FP:run-timeposition:custom looked promissing, but only affects the location of the window, not the area of the front panel the window is displaying.
    Solved!
    Go to Solution.

    Cool.  Getting closer.  The way I implemented your suggestion affects the subVI only if it is open.  I can use this to do what I'm after, perhaps putting the code into each subVI.  Maybe open all subs, run the helper, and save.    Seems like I'm missing the elegant version...
    My proof of concept code:

  • How to resize the front panel to fit different resolutions

    I m using LabVIEW 8.2 on Windows XP SP2
    I've tried both “maintain proportions of window for different monitor resolutions” and “scale all objects on front panel as the window resizes” selected but just messed up everything when i switched to another different resolution. It's annoying since I'm using 22 inch monitor to do the coding but the user supposed to run it on laptop or wince.
    Any solutions to it?
    Thx in advance.

    Thank you all. Following is the reply from NI support.  I think the best way is to edit vi in low resolution.
    One of the easiest ways to tackle varying screen resolutions is to design
    the front panel to the lowest resolution that you expect it to run on. It
    should then look acceptable on any screen larger than that.
    However, you can get a bit more tricky by programmatically determining the
    computer's screen resolution and then dynamically changing the size of your
    front panel objects. Use an Application Property Node and select
    Display>>All Monitors to return the current screen size. Then, according to
    the screen size, you can size the control or indicator programmatically
    using the Size property node for your front panel objects.
    Ultimately, these issues have often been a result of font size issues.
    Specifically, this can be a problem when two machines have different
    desktop theme/font settings. If your objects are coming out in different
    sizes on different computers, you can setup up LabVIEW to use the same font
    on different systems by modifying the .INI file.
    The easiest way is to do this: use Tools->Options->Fonts from the LabVIEW
    GUI. You can then set the system fonts to anything you want. After you
    have done this on one machine, open your INI file (it is in the same
    directory as the LabVIEW executable) with any text editor and copy the
    corresponding entries to another file. Add these entries to the INI files
    on any machines you want to lock to font. You will probably run into
    issues if you are supporting different platforms (Windows and Mac or Mac
    and Linux, for example), since the fonts you want may not be available on
    both platforms. There are Windows fonts available for both Mac and Linux
    platforms, so this can be somewhat ameliorated.
    This is all I can think of, but that's not to say these are the only
    solutions. You might check the Discussion Forums, as many of our LabVIEW
    Champions have tackled similar issues and offer their expertise as well.
    Here's just a few threads that I'd like to refer you to:
    How to make the size of VI and controls unchanged irrespective of the
    resolution?
    http://forums.ni.com/ni/board/message?board.id=170&message.id=273613&requireLogin=False
    How to program the front panel size to fit different monitor resolution?
    http://forums.ni.com/ni/board/message?board.id=170&message.id=87160&requireLogin=False
    I hope this discussion helps you along the way in your application
    development. Please let me know if you have any further questions/comments
    and I would be happy to discuss them with you.
    Otherwise, it was a pleasure assisting you and thank you for choosing
    National Instruments.

  • How to see the full program on the front panel when it is running?

    Hi, my program is really big, and when I run it and obverserve the program on the front panel, I cannot drag the window to see the other parts. Also, I tried the method like hold control, then press + to zoom in or press - to zoom out. However, labview seems doesnt have this function. Does anyone know how I can see the full program then it is running, maybe zoom out or drag the windows? thanks! 
    Attachments:
    not running.png ‏85 KB
    running.png ‏72 KB

    You should use a Tab control.  Group your front panel objects together and put the grouped items in tabs.  Then you can select the Tab you want to display while the program is running.
    It is never a good idea to make your screen too big to fit on one display.  This goes for the block diagram also.  If you have to scroll to see it all, use more subvi's.  Make it modular.  A state machine is a good way to put a lot of code on one display screen.
    - tbob
    Inventor of the WORM Global

  • Is it possible to use a Case Structure to hide numeric indicators on the Front panel when they are not in use?

    I am rather new to LabVIEW, have only been using it for about 1.5 weeks as of this post, which means I may be missing something rather obvious due to ignorance, but is there any way to have my front panel change as my case changes due to user selection of a certain case via the front panel?
    The goal of the program is to make a simple layout for a user that is using the digital multimeter that the proposed code is designed for and I don't want tons of numeric controllers and such clogging up the screen space that don't work with the function the user is using to measure with.
    Thanks in advanced.
    Solved!
    Go to Solution.

    Check out the property node for the controls
    Visible Property
    Short Name: Visible
    Requires: Base Package
    Class: Control Properties
    Displays the front panel control.
    This property is similar to the Show Control and Hide Control options on the shortcut menu of a control.
    Also look at the TAB control to control which controls are available to your user.
    Omar

  • How to set the Front panel to "Set origin at top left"???

    Hello all,
    Whenever i run the program the position of controls and indicators in sub panel changes so i wish to set the front panel which i am calling in sub panel to set its origin at top left corner. but i dont know how to do that.
    Can anyone help me in this???
    Thanks in advance...
    Pals

    Hi All,
    This is the sub vi which i need to call in sub panel.....
    Scroll bar on mail vi is ok but to make all the controls ad indicators visible i need to keep on scroll of called vi also.
    Thanks a lot...
    pals
    Attachments:
    Untitled.jpg ‏80 KB

  • How to show the contents of a dropdown list with different colors

    Hi,
    I have a drop downlist on my dialog. I want to show each of its text attribute and its back ground with different color.
    Suppose I am showing 4 strings in the dropdown like Name1, Name2, Name3 and Name4, then how to change the color of each name and its background.
    Please let me know if it is possible.

    If the above asked is not possibe can we have an alternative as mentioned below :-
    A dropdown similar to the one shown in "Edit->Preferences->Grids->Colors" having our own text names instead of the default color names.
    So that I can show some color symbol and a text name along with it in my dropdown.
    One more query, is it possible to show the images/giff/png files in dropdown ?

  • How to stop my 1553 Remote terminal application from locking up the Front Panel when the Bus Controller application is causing msgs traffic over the 1553 bus. This simulation uses WIN98SE with excalibur ISA cards.

    This simulation has several transmit and receive messages. The fastest message refresh rate is set to 50Hz (20 ms).

    Hi,
    Can you provide some more information about what hardware and software you are using? What is your application? Thanks!
    JenK

  • How to run a subVI without poping up normally, but when clicking a button, popup the front panel?

    I know pop-up the front panel of a subVi when called by selecting VI Properties>>Windows apperence.
    But what I need to do is: always run the SubVI inside the parent VI as the nornal subVI do without poping up. But when I click a button"show front panel", the SubVI popup the front panel.
    Is there anyway to do this?
    Thanks,

    ossoo,
             You can use a static VI reference to the subVI and then use the Front Panel Open invoke method to show the front panel when you want. I have attached two VIs that show this. I saved these VIs for LabVIEW 2009 so you should be able to open them up and run them in 2009 or later. Add.VI is the subVI that you are calling. The Caller.VI is just a While Loop that contiually calls the Add subVI. Inside of the While Loop is also a Case Structure with a Static VI Reference (you might need to change the path this is pointing to after downloading the VIs to your computer for this to work) and the Front Panel Open invoke method. You can run the Caller.VI and interact with the main Front Panel as normal and see the subVI but then you can click the Open subVI? boolean button and it will open the subVI's front panel. You can continue to interact with the main front panel and see the values update on the subVI's front panel as well. You can just close the subVI's front panel when you are done viewing it. Does this help?
    Grant H.
    National Instruments
    LabVIEW Product Marketing Manager
    Attachments:
    Caller.vi ‏19 KB
    Add.vi ‏23 KB

  • Hi. I want to build a GUI based on several windows appearing following a certain sequence. How can i create different windows in the same VI? Also, i want the front panel of a subvi to appear when i run, how can i enable this.Thanks

    Having several windows appear ...

    Hi,
    You can't create several windows for one VI. But you can use the "Tab Control" and change tab's in the program. Or you can use sub VI's and show ther front panels.
    To show the front panel of a sub VI you have to open the VI you want to show and select "File->VI Properties". In the VI Properties window select Category "Window Appearance" and click Customize...
    In the Customize Window Appearence window, here you can set a number of attributes for how the window will appear, select "Show front panel when called" and "Close afterwards if originally closed" click OK and OK and save the VI, done.
    Now the VI front panel will appear then you use it as a sub VI.
    /Thomas

  • Show LabVIEW VI Front Panel When Sequence Step Called

    Hello,
    By clicking on the “Show VI Front Panel When Called” checkbox in the Step Settings pane displays the LabVIEW VI Front Panel for approximately 100 milliseconds. Is there a configuration way to display the VI front panel for a longer period of time, during that step execution, and allow the user to control the duration of the front panel exposure by clicking to resume execution of the sequence file at their will?
    Thank you.
    Solved!
    Go to Solution.

    Hi,
    You will need to have some sort of structure in your VI for handling front panel response, otherwise you front panel is only going to be visible for as long as it takes to execute an return back to teststand.
    But remember, once you hold your step within that VI which is waiting on the operator to eventual close it, your Sequence will be held as well and if you are expecting steps to continue running after your VI then you will have to consider running it in parallel to your main test sequence.
    You may also need to consider what happens if you want to terminate your Test Sequence, how do you close your VI.
    Check out 'Strategies for Terminating or Breaking Sequences' in the following.
    hope this is of help
    Regards
    Ray Farmer

  • Disable launch of front panel when starting web services

    Hello all,
    This may be a naive question as it may have a simple answer that I am missing, but is there a way to not have all VIs associated with a web service launch (i.e. show their front panel) when you start a web service?  I find this to be very irritating as I have a lot of VIs associated with the web service that I am running and don't want my windows cluttered up with VI front panels that I am not interested in viewing.  
    Thanks, Matt
    Matt Richardson
    Certified LabVIEW Developer
    MSR Consulting, LLC

    Thanks for the reply, tst.  I was hoping that I would be able to reproduce this on the client side, but unfortunately I can't generate a simple example .  My web service is large and contains a lot of resources to access different variables and it seems to reproduce this, you would have to deploy this onto an RT target.
    Some further insight into the issue - starting a web service on my current target is similar to when you select Deploy All on a virtual folder in a project - all of the front panels become visible.
    Matt Richardson
    Certified LabVIEW Developer
    MSR Consulting, LLC

  • How to save settings in the front panel to different files and retrieve it later?

    How to save the front-panel controllers' settings to different files and retrieve it later?
    What I've archived is the "Save Settings" function, but when trying to "Reload Settings", I can only retrieve the saved data to front-panel indicators, but not the controllers!
    Can anybody give me some advises?
    Thanks in advanced!
    Charles Lu

    Hi
    Just write the retrieved data to a local variable (but make it writable first) or property node of the controls.
    Hope this helps.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...

  • How do I keep the front panel on top of every windows (including non-LabVIEW windows)?

    The question above states it all.  Basically I have a progress bar the tells the user to wait and I want it to remain in front of anything that pops up while it is running.  My program opens up and deploys a VeriStand project and while it is doing that I dont' want the user to be able to do anything in the front panel that launches it.  When VeriStand launches it goes in front of the status window and you can't see it anymore.  I want to prevent this from happening and keep it in front of any VeriStand windows that pop up when I call the executable and the deploy an SDF.  I did take a look at the WINUTIL.llb but it keeps either 1) giving me errors or 2) not keeping it on top of anything but the main front panel.
    Any fixes or alternative solutions would be much appreciated.  Thank you.

    I did read that earlier and I just think I don't know enough of what I'm doing with library calls to make it work.  I kept getting errors and gave up on at the end of the day yesterday.  I'm working on other problems since this isn't a major one and figured I'd post it and see if anyone already had a solution to it.
    Thanks for the help though, it's appreciated.

Maybe you are looking for

  • How to hide report engin

    I am a new one in oracle and want to know how to hide report engin at runtime.... Can anybody help me..... Thank you Farhan

  • Laserjet p2055dn is slow printing pdf files using mac

    My Mac is very slow printing pdf files on my hp laserjet p2055dn.  I have noticed fixes for this problem for people using Windows.  Is there a Mac solution?

  • How to use Inner join of table as Source in Merge statement in SQL

    Hi All,     I am trying to make source as multiple tables output using Join while coding there is no any syntax error but when i am executing this statement is giving following error Following is the query  Merge Into EmpDept Target Using (select E.A

  • How to create OVS help for custom field in OIF?

    Hi All, I have a requirement where i need to add custom field and display F4 help. I have added the custom field but how to add OVS search help to field as i need to pull data from db tables based on certain creteria. Please explain with steps. Thank

  • My in app purchases haven't worked for over three weeks.

    My restrictions are off, my network settings are correct. I have tested this with multiple apps / companies and none of them work.This includes:      Tap Zoo 2      Zombie Farm      Zombie Life      Tiki Match      Dragonvale Some tell me to check my