LabVIEW 8 subpanel scrollbars?

Does anyone know how to control the scrollbars on a subpanel in LabVIEW 8?
Here's what I think:
* If the VI in the subpanel is running, then it shows/hides the scrollbars based on that VI's Window Appearance
* If the VI in the subpanel is NOT running, then it ALWAYS shows the scrollbars
* If the VI in the subpanel is running, and stops executing at some point, the scrollbars suddenly appear.
Does anyone know an exception to the second and third points?
This functionality seems like a step backwards to me is big step backwards and big pain in my toucus (sp?). It also makes upgrading from LabVIEW 7 a big problem for some applications. Why remove control from the programmer in this case? There aren't even properties or methods available (that I can see) to control it programmatically.
Message Edited by 10Things on 12-13-2005 08:01 AM

The decision of whether or not to show the scrollbars now lies entirely in the properties of the inserted VI (more specifically, the properties of the VIs pane or panes). The scrollbars will show or not show exactly as they would if the VI were not inserted in a subpanel.
Note that the pane scrollbars now have 3 possible states: Always On, Always Off, or Off While Running. VIs that have been converted from previous versions of LabVIEW will have their panes' scrollbars set to either Always On or Off While Running, to match their previous settings.
There are two ways to decide how you want the scrollbars displayed when the VI is in a subpanel. One way allows the inserted VI to decide, in which you simply change the settings of the inserted VI to your liking. This is probably the easiest way to handle VIs that only appear in subpanels, as opposed to sometimes in subpanels and sometimes not.
The other way is to have the outer VI direct the settings of the inner VI as it inserts it. This is not too difficult since you already have the reference to the VI handy for the InsertVI method. To access the pane scrollbar properties, you would get the Front Panel reference from the VI reference, and then get the array of pane references from the Front Panel reference. I've attached a VI that does just this as an example (in a real application, it might be a good idea to force the setting of the scrollbars to occur before the VI is inserted). This method of dealing with the settings is ideal for an existing application with many VIs that are already being inserted into a subpanel. By only touching the VI that contains the subpanel (as opposed to every VI that gets inserted), you get the behavior controlled as you like.
Let me know if you have any questions regarding the behavior of these properties.
Attachments:
SubpanelScrollbars.llb ‏36 KB

Similar Messages

  • Subpanel scrollbars in labview 8

    Hi All!
    I tried run some my old programms from LV7 in LV8 and found strange
    things. Anybody know how disable scrollbars of SubPanel in LV8? And why
    inserted VI must be reenterant ONLY in lv8?
    Thanks for any advices.....

    Disable the scrollbars  in the VI Property settings under the "Window Appearance" category.
    I work successfully with non-reentrant subpanel VI's under LV8, what are you trying to do?

  • What version of LabView introduced the scrollbar controller?

    Hi,
    Can anyone tell me in what version of LabView the scrollbar controller was introduced? I know that the controller is available in LV 8.5
    Thaks
    Regards
    Tom Andres Lomsdalen, CTD

    I believe it was 8.0. It does not exist in 7.1.
    Of course, older versions have slides which can be customized to look like a scrollbar or use ActiveX scrollbars.
    Try to take over the world!

  • Remove Scroll Bars From a Subpanel in LV8

    Is there any way to make the scroll bars in a subpanel invisible? I am using LV8.

    Hello jas3600,
    I would check out the following post, LabVIEW 8 Subpanel scrollbars, which addresses your question.
    Thanks
    Wendy L
    LabWindows/CVI Developer Newsletter - ni.com/cvinews

  • How can i hide the scrollbars on my SubVI?

    Hi,
    My main program is using a subVI in his front panel. If i run the SubVI standalone it doesn’t have any scrollbars but when I load it in my main program there are two scrollbars showing up. Even when I have a clean, small front panel in my SubVI.
    Is there some way to turn them off?
    Thanks

    Hi jjanssen:
    I guess you're using your subVI in a subpanel. You do not mention with version of LabVIEW you work with, but in LabVIEW 7.0 is very easy to remove the scrollbars of the subpanel. Just right click on the subpanel and then deselect Visible items -> Horizontal/Vertical Scrollbar.
    However, in LabVIEW 8.2, which is the other LV version I have this options have dissapeared, and also I couldn't find a way to disable the scrollbars.
    Does somebody know why this options dissapeared in LV 8.2 (maybe since 8.0) and how to disable the subpanel scrollbars?
    Robst - CLD
    Using LabVIEW since version 7.0

  • Maximize child without covering parent's menu

    Dear friends,
    I am trying to create two vi's, being one the parent and the other the child. I am doing this by using the user32.dll and the "call library function node" tool.
    The problem appears when I want to maximize the child vi because it covers the menu of the parent vi. I would like to know if there is a way to confine the maximize-area of the child vi within the parent vi.
    thanking in advance,
    CJMV, Chile

    crimolvic wrote:
    Dear friends,
    I am
    trying to create two vi's, being one the parent and the other the
    child. I am doing this by using the user32.dll and the "call library
    function node" tool.
    The problem appears when I want to
    maximize the child vi because it covers the menu of the parent vi. I
    would like to know if there is a way to confine the maximize-area of
    the child vi within the parent vi.
    By using
    user32.dll you do certain assumptions that have not to be right for all
    applications. LabVIEW menus just as about everything else in LabVIEW
    except the window frame itself are not standard Windows objects. As far
    as Windows is concerned, everything in the LabVIEW window except the
    frame and title bar is client area. By maximizing a child window
    Windows will resize it to the area of the client area of the parent.
    Crying about these facts is possible but won't help and changing this
    is absolutely no option since LabVIEW was built that way to allow
    support of multiple platforms including MacOS, Solaris/XWindow,
    Linux/XWindows and in fact other OSes eventhough some of them never
    were released.
    You could do even more user32.dll magic by first retrieving the parent
    handle, getting its client area size, subtracting some constant for the
    menu (which will have problems for VIs that do not have menus as well
    as potential height differences for different Windows Theme Styles)
    and then size the child to that.
    Better would be to try to come up with other means. If you use LabVIEW >= 7 subpanels would be the way to go I think.
    Rolf Kalbermatter
    Message Edited by rolfk on 04-04-2006 11:40 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Subpanel scollbars in labview 8.0

    HI
    I Just installed Labview 8.0 instead of 7.1. I my VI i use a lot of subpanels, with no scrollbars but when i compile my vi to 8.0 scrollbars are added to the subpanels, and i  cant find an option to disbale them..please help..
    thnx
    Bart B
    Labview CLD , Engineer/Manager
    Promedes and DSM
    using LV 7.1, 8.0, 8.2, 8.5 and 2009 SP1
    http://www.promedes.nl

    Sorry to revive such an old thread, but although following the steps mentionned by Karsten, the scrollbars still appear in the sub panel. 
    Using LabVIEW 2009 SP1.

  • How to remove sub panel scrollbars with LabVIEW 2009-SP1?

    I did a search and found this thread on the subject: http://forums.ni.com/t5/LabVIEW/subpanel-scollbars-in-labview-8-0/m-p/284503/highlight/false#M149983
    I double checked that that the horizontal and vertical scrollbars were not selected in the Customize Window Appearance and they were not selected as shown in the image below.  You can see the nasty scrollbars in the front panel in the image at the bottom.  Of couse, since the code / sw cannot be shown, it has been painted over but you can still see the scrollbars along the frame of the sub-panel.
    Customized Window Appearance settings:
    Scrollbars are seen at the bottom & right of the sub panel frame
    Solved!
    Go to Solution.
    Attachments:
    WIndowAppearance.PNG ‏22 KB
    scrollbars.PNG ‏33 KB

    Just ran into this myself.  (To complicate matters, forgot that one of my debug tools turns the scroll bars back on upon program exit.)  "Off While Running" works, too.  You can insert this code onto the diagram of any VI that will be called in a subpanel.
    Thanks for the tip.
    Certified LabVIEW Architect
    Wait for Flag / Set Flag
    Separate Views from Implementation for Strict Type Defs

  • Problem with window repaint and scrollbars in edit mode (LabVIEW 8.0.1)

    I am running LabVIEW 8.0.1 in Windows XP SP3.  For my main VI, I ran into a strange problem about 5 months ago.  The front panel window - in both edit mode and run mode - stopped repainting itself on the right side which is most visible when you scroll up and down, but also visible with overlapping windows.  Coincident with the repaint problem, both scrollbars look disabled with greyed-out arrows and no boxes in the bars that you can click and drag to scroll the window.  The scrollbars still partially work if you hover the mouse over them and roll the mouse wheel but clicking and dragging doesn't work. 
    The front panel has lots of controls and indicators including tab-control containers and is larger in the horizontal and vertical directions so both scrollbars should be active.  But I deleted all elements on the front panel and everything in the block diagram and the problem persists.  So the problem is not directly related to some control/indicator display.
    I saved the simple VI with this problem (using a wide text line and a tall rounded box to test), then created a new VI and copied the two elements to the new VI.  This new VI does not have the repaint and scrollbar problem.  The two VIs differ slightly in memory usage and in revision number (the bad one is revision 1785 and the good one is revision 3), but otherwise the two VIs are identical.  I attached both VIs to this posting.  When you first open the bad VI, you'll see the disabled scrollbars whereas the good VI has active scrollbars.  To replicate the repaint problem, scroll the window up and down with your mouse wheel.  If it's fine when you first open the VI, click on another window, then click back on the VI window and try the mouse wheel again.  This clicking-away-and-back always causes the repaint problem for me.  I tried the VIs on two different computers both running Windows XP SP3 and LabVIEW 8.0.1 with identical results.
    Here's what I discovered from troubleshooting with the simple VIs:
    * scrollbars always disabled
    * repaint problem in main window for window widths larger then 680 pixels
    * repaint problem in main window menu toolbar for widths larger than 646 pixels
    * entire window becomes disabled for window widths larger than 1348 pixels
    * can repaint window by minimizing and restoring, but only repaints that one time
    * scrollbar boxes sometimes flicker into view but then disappear
    * scroll left and right by hovering mouse over horizontal scrollbar and using mouse wheel
    I found something similar on this forum (thread: Problem with front panel refresh) - it might be related to the CAR about the panel being offset internally.  I don't have access to LabVIEW 8.5 or later and don't plan to upgrade - I haven't tried the trial version as that user did.  I could try to copy and paste my entire block diagram to a new VI but the VI is so large I'm afraid something would break, plus I don't want this to happen again in a few months.  The problem seemed to occur after a certain number of saves (or revision number).  I save backup copies often and when the problem first happened, I was able to go back to a previous version, make the missing changes and save it with no problems, but this only delayed the problem and it came up later.  So maybe it's the revision number.  It didn't seem related to a particular addition or modification in the front panel or diagram.
    The image attached shows the repaint and scrollbar problems in the bad VI.
    This brings up a question I have - if this problem is a bug and was fixed in 8.5 and later, is there a way to apply bug fixes to earlier versions?  Or do I have to pay for an upgrade to fix such bugs?
    Solved!
    Go to Solution.
    Attachments:
    RepaintTest_Bad.gif ‏27 KB
    Test Repaint - From Bad VI, scrollbar and repaint problems.vi ‏7 KB
    Test Repaint - From Blank VI, no problems.vi ‏5 KB

    Seems something got corrupted with this VI. Copy things over to a fresh VI and things should be OK.
    See also this recent report of a similar issue.
    LabVIEW Champion . Do more with less code and in less time .

  • Subpanel problem & memory leak in Labview 8.0

    Hi,
    I just installed Labview 8.0 Evaluation package yesterday. I tried to
    code a user interface class using dqGOOP object oriented package. It
    seems that LV 8 behaves differently from LV 7.1 which is good. One can
    use same subvivi in multiple subpanels. I however run into problems
    with this new feature i.e. I cannot edit the subvi after it has been
    placed on two subpanels. Editing is possible after LV 8 restart.
    In my code I create two similar object instances from the panel class. I have a class method panel_run which puts itself on the subpanel defined by refence. I have two subpanels on the main vi, one for each of my panel_run instances. I do not stop the panel_run instances cleanly, instead I use the Labview stop button to stop the execution. Once the main vi has runned, the panel_run subvi cannot be edited any more. When one opens the panel_run
    subvi, a clone of the subvi is always opened instead. One cannot modify
    the clone. After a few runs, I also got a memory segmentation fault
    from labview, which then crashed. I was unable to repeat the crash.
    I attached the code. Use panel_test.vi to start the program. Is
    there any way to get around this problem of not being able to access a
    subvi after it has been placed on a subpanel?
    Regards,
    Tomi
    p.s. Sorry for the wrong category. This is Labview 8.0 problem. There
    was not however a category for labview 8, so I selected Labview 7.1.
    Tomi Maila
    Attachments:
    panel_test.zip ‏569 KB

    Open your panel_run VI --> you get a clone
    Press CTRL+M --> Will open your VI (Not the Clone)
    Close the Clone and work on the VI.
    PJM
    Got EasyXML?
    JKI.VIPM.EasyXML.OpenG.LAVA.Builder.blog

  • Scrollbar control in Labview

    Is there any way to make a scrollbar control other than using the activeX control Microsoft Forms 2.0 Scrollbar?

    You can define the size of the slide programmatically, by using the size property.
    To change the way the slide increments/decrements, you need some more programming.
    I have included the VI, that will change the current value of the slide depending on what you select on the bottom edge of the slide (I used Booleans for this). If the value selected is greater than the current value of the slide, the two will be added to give the new slide value.
    If the value selected is smaller than the current slide value, it will be subtracted.
    If the two values are the same, the slide value will stay the same.
    The VI was build in LabVIEW 6i.
    Zvezdana S.
    National Instruments
    Attachments:
    zvez.vi ‏34 KB

  • Labview window scrollbar won't enable

    A very frustrating problem. Have you ever been editing with a labview window (6.1) when suddenly you notice that the scrollbars on the side and bottom of the window are no longer enabled? It happens very infrequently but when it does the only way I can edit around the window is to drag an object to one extreme or another to make the window move. Except for the scrollbars not functioning everything else seems to be fine, the vi still functions correctly. I would say, in the last year, this is the third time this has happened to me, so it doesn't happen that often. I think it is somehow related to using type defs but I can't be sure. If I try to copy all the code to a new window I get an Insane Object error. If anyone is familiar with
    this problem I'd sure appreciate some help! Thanks.

    Hello,
    Are you referring to the scroll bars on the front panel or the block diagram? By design, the scrollbars become disabled when the entire front panel or diagram fits in the window. As you've discovered, moving an object close to the edge of the window will cause the scrollbars to become enabled. You can also left-click and draw a selection box towards the edge of the screen to scroll. Or, if you have a wheel mouse, you can scroll vertically by rolling the wheel up or down. To scroll horizontally, put the cursor over the (disabled) horizontal scroll bar and roll the wheel.
    For more information on insane object errors, see What Does an "Insane Object" Error
    Mean and What Should I Do? If you continue to see insane object errors, please call technical support for further assistance. To initiate this procedure,
    Go to http://www.ni.com and click on Support at the top.
    In option 2, select "Phone NI" and click Continue.
    Fill out information regarding your system and click "Solutions."
    Click the "Call NI" button in the top right.
    Happy coding,
    Grant M.
    National Instruments

  • Legend scrollbar for Labview 8.0

    Anybody know if an XY graph's plot legend can be made into a scrollbar? I have several plots on one graph (up to 80), and have written a program that at run-time makes certain plot visible or not visible, depending on user input. I want the legend so the plot color will appear next to each plot.
    If a scroll bar isn't possible, does anyone have any ideas on good ways to show this information?
    Michael

    Hi Michael,
    I made this VI as a suggestion. I used a multicolumn listbox to list the Plot names.
    Greets, Dave
    Message Edited by daveTW on 01-23-2007 01:08 AM
    Greets, Dave
    Attachments:
    Show Graph plots FP.png ‏20 KB
    Show Graph plots.png ‏15 KB
    Show Graph plots.vi ‏66 KB

  • LabVIEW 2009 Bug: Listbox Scrollbar Size Setting Lost Upon Saving VI

    Please do the following to recreate the problem:
    1. Drop a list box
    2. Customize the listbox by going to Advanced -> Customize
    3. Make the scroll bar bigger.
    4. Go to the block diagram and create a property node of the control.
    5. Save the VI.
    6. Re-open the VI.
    7. The scroll bar resets itself to original size.
    The problem occurs only when there is a property node. It is very annoying. Is there a way to control the scroll bar size programmatically so we can work around this bug?
    Thanks!

    Ian,
    I just accidently posted the below to the other thread referenced.  I'm reposting it here as well:
    I first reported this behavior (well, alright, I was using a table control/indicator, not the MCL) back in LabVIEW 8.0.  The discussion thread can be found on the LAVA forums, starting September 14, 2006.  In that discussion, Scott Menjoulet and jhoskins seemed to be able to work around it with the "custom control in a project fix", but I could never get that to work, at least not when I built the custom table into an executable.  I filed a bug report on the next beta cycle, but I can't find my old bug reports/CARs online anymore.
    But I'm reasonably certain it's been an identified bug since 8.5.
    Dave 
    David Boyd
    Sr. Test Engineer
    Philips Respironics
    Certified LabVIEW Developer

  • [subpanel labview 8.0] Another problem of subpanel..​.

           Hello,
        My problem is quite common, I want to add to a main
    program a subpanel connection and when the execution inside this one is
    complete catch the output cluster I've done inside the subpanel... I've
    seen a solution on the forums (see here) to catch the value of a control, but it doesn't work !
        My subpanel program is as simplest as possible :
    It's just a global while loop which contains some control where the
    user is asked to enter some characteristics of an experiment. When the
    data are entered, He must press a "check data" button to verify the
    data entered... The SubVI is attached...
           Can somebody help me please...
           Thanks a lot !
              Pi-r
    Attachments:
    subject_info.vi ‏35 KB

    Hi,
    You have already received the answer through the AE E-mail support but I'll post the answer here too.
    The VI below shows how to exchange data between the subVI and the MainVI trough VI server.
    The Error in your program was actually that you didn't uncheck the "Lock Front Panel" feature in the Event Case.
    Regards.
    JorisV
    Attachments:
    Daye.zip ‏24 KB

Maybe you are looking for

  • How do you set a default screen size for safari windows to open at ?

    Hi guys, I'm running my mac mini through a 50 inch plasma. I really like that safari opens the browser at a size that's just big enough to fit the page you are viewing to; but annoyingly my flatmate keeps changing the window size to full screen. I do

  • Output to Flash Problems

    I am experiencing problems when I export my project to flash in Encore CS3. The project builds & transcodes, then makes a .swf file but when I embed the flash into my html page it will not play. I know I have the correct html code to embed the flash

  • Businee logic Engine error:Invalid user name or password.Pl help

    Hi, I have installed Demantra 7.3.0.1 on windows and I am getting this error only when opening Business logic engine.All other components work with the same user name and password dm/password but only this one throws an error. Can some one help me pl

  • Zen Sleek Photo gets USB DEVICE NOT RECOGNI

    I have ZEN Sleek Photo which i use for about a week now. Today I connected the player to the computer and got "USB DEVICE NOT RECOGNIZED" window in Win XP and the Zen Photo froze. Disconnected it, reset it using a pin, then turn it on and it's "re-bu

  • Setting elements 13 as my external photo editor

    I have set elements 13 as my external photo editor in preferences , however when i select this the elements editor program does not open. Can anyone help with this please.