Scrollable sub panel

Hi,
I have an application that consists primarily of a tab control.  On a portion of one of the tabs, I have various controls: check boxes, radio buttons, text and numeric fields. (see attached snap of tab) These are used to access 8 different registers.  I need to expand this to access 32 registers but I don't want to grow the tab to be that large. Not all 32 need to be visible at one time.
I was thinking some sort of scrollable sub panel would be nice where you can view 8 registers at a time, but I don't know how to create one.  I read other similar posts that recommend using a splitter bar but I only need this capability on one of the tabs not the whole thing.
Any suggestions?
I'm using LV 8.2.
Thanks.
Solved!
Go to Solution.
Attachments:
ScrollPane.jpg ‏68 KB

Thanks!
I implemented an array of clusters and that works well.  I didn't go as far as using a separate scrollbar and controlling the index. I'm able to use the array's built in scroll bar feature to implement what I needed.
However, using the array's scrollbar, when I scroll past the active members of the array, there are additional non-active array elements that are grayed out.  Is there a way to have an array not show the grayed out 'potential' array members?
Thanks.

Similar Messages

  • Loading independent sub vis in sub panels and calling from main vi

    Hi all,
    I have trying to work on the following requirement.
    I have a main vi with a file browzer and sub panel - Channel . I will select a channel configuration text file which contains Analog and digital channels names. ''
    My vi will read that file and loads and Channel VI in the sub panel - Channel.
    Now the CHANNEL VI has a tab control with 2 pages analog and digital. Each page again has sub panels i,e. sub Panel - Analog and sub-Panel-Digital.
    Analog VI with some knob controls which are binded to Signals are displayed in the sub Panel - Analog.
    Digital VI with some boolean controls  which are binded to Signals are displayed in the sub Panel - Digital.
    These vis will show the values acquired from the hardware.
     I want to provide the user to load any channel configuration file and acquire the data. For the first time the execution is working fine. The next time when I tried to load a new configuration file. it says "Invoke node in main cvi <Append> Method Name <b>Run VI</b> and the new configuration is not loaded.
    The following logic is implemented as a sub vi to load and close the sub panel vi.
    VI Load logic:
    VI CLose Logic
    So please let me know where am i doing wrong.
    Before loading the new configuration file Iam calling the close logic . But still is not working.
    Thanks in Advance.
    Ramesh.

    Can you post a vi snippet? It would be helpful to see your logic flow, I'm wondering if your problem is that you've got "remove vi" node at the end after you have already closed the vi reference - but can't tell if same vi reference are used as in the case of top diagram.
    -DP
    New Controls & Indicators made using vector graphics & animations? Click below for Pebbles UI

  • How to get rid of scroll bars in sub panels when displaying a VI which is part of a class?

    I am writing an application that applies different analyses to a set of data. The program must be flexible configurable. To not clutter the GUI with too much elements I ended up with the idea to load the needed user interfaces for each specific analysis dynamically into a single sub panel when needed. This works well without any problem.
    Due to the fact that all analyses share some common functionality I have decided to use LabVIEW classes for implementation. Each class has one VI representing the user interface to show in the sub panel.
    This works also well BUT the sub panel always shows a horizontal and vertical scroll bar I don't want to see!
    I have already learned that I need to change the user interface VI to a custom "Window Appearance" and disable the "Show scroll bar" properties. But this seems to work only for "normal" VIs but not for VIs that are part of a class.
    Any ideas?
    Ingo
    Solved!
    Go to Solution.

    Thanks Pixar, this was the right tip!
    Although: there seems to be a difference between "normal" VIs and VIs that are members of a class.
    For "normal" VIs it is sufficient to set the property to "Off While Running" and it works as expected.
    VIs part of a class need the "Always Off" setting" which is only accessible via right click on the scroll bars but not via the VI's properties box.
    Thanks and Regards
    Ingo

  • Problem with multiple sub-panels through Enum case structure: "The VI is not in a state compatible with this operation"

    Hello,
    I am using LabVIEW 8.0 and I am attempting to create a sub-panel that displays the front panel of a sub-vi depending on the selection made by the user via the Enum dropdown menu.  I have wired the Enum to a case structure and applied identical coding to each individual case structure except for obviously changing the sub-vi source.  However, I receive an error "The VI is not in a state compatible with this operation."  I was able to successfully make a single sub-vi work within a sub-panel using a true/false case structure and the exact same coding.  However, now that I am using an Enum box wired to a case structure, I receive this error.  I have attached my block diagram as well.  Could anyone assist me as to where it is that I am going wrong?
    Thanks in advance!
    Solved!
    Go to Solution.
    Attachments:
    enum subpanels.JPG ‏22 KB

    torm wrote:
    I have attached my block diagram as well
    I only see a picture. Can you attach the VI instead? At what point do you close the reference?
    torm wrote:
    I have wired the Enum to a case structure and applied identical coding to each individual case structure except for obviously changing the sub-vi source.
    Well, if the code is identical except for the source, only the source should be inside the case, right? Why duplicate code?
    LabVIEW Champion . Do more with less code and in less time .

  • ActiveX controls disappear when VI is loaded in a Sub-Panel with Start Modal Dialog usage

    Hi,
    I have a subpanel in a VI (VI1) in which another VI (VI2) is loaded. VI1 is used as a module for an Action step in TestStand. VI2 has ActiveX controls like ExpressionEdit and Adobe PDF reader etc. VI1 loads VI2 in a sub-panel and calls Start Modal Dialog.vi. I have set 'Show front panel when called' to true for VI1 so that the VI pops up when the sequence is run. When the sequence runs and when the Start Modal Dialog VI is called from VI1, all ActiveX controls in VI2 (loaded in the sub-panel) disappears. Here is the screenshot of the frontpanel of VI1 when the sequence is run:
    This problem occurs in TestStand 4.2.1, TestStand 2010 and TestStand 2010 SP1 (as far as I have tested. May occur in older versions too). In the attached file, VI1 is 'ExprEdit Test.vi' and VI2 is 'SubpanelLoad.vi'. The attached sequence is developed in TestStand 2010 SP1.
    How can this issue be solved?
    Thank you,
    Ganesh Kumar
    Solved!
    Go to Solution.
    Attachments:
    Subpanel Load ExpressionEdit problem.zip ‏23 KB

    Hi,
    An update on this issue: I tried changing the order of loading the VI in the SubPanel and the start modal dialog. I called start modal dialog and then loaded the VI (VI2) in the SubPanel. When I ran the sequence, the activeX controls did not disappear (I was pretty sure that the ActiveX controls in VI2 would not disappear since I am calling Start Modal Dialog before loading the VI in the Subpanel). Then I just changed the sequence of operations back to the previous order (loading the Subpanel with the VI and then calling the Start Modal Dialog). When I ran the sequence, the activeX controls where still displayed. But when I ran the sequence with the VI1 backup (that I had taken before making all these modifications) the activeX controls were not displayed. I a nutshell, I now have 2 versions whose codes are the same. But when I run the sequence with action steps for these VIs, the activeX controls disappear when the unmodified backup VI runs and does not disappear when the modified VI is run. I have attached the files that I used along with the sequence file. The details are as follows:
    ExprEdit Test (Not Working).vi - The unmodified backup VI for which the ActiveX controls disappear.
    ExprEdit Test (Working).vi - The modified VIs in which the ActiveX Controls do not disappear (But same code as ExprEdit Test (Not Working).vi).
    ExpreEdit Test.seq - The sequence file containing 2 action steps one each for theabove mentioned VIs.
    SubpanelLoad.vi - The VI that contains activeX controls and is loaded in the SubPanel.
    Note that the sequence is created in TestStand 4.2.1.
    Thank you,
    Ganesh Kumar
    Attachments:
    Subpanel Load ExpressionEdit problem.zip ‏36 KB

  • How do I get the Basic and camera calibration sub panels in the develop modual to come back after they go away on there own?

    I was working on images and then when I picked a different image the basic and camera calibration sub panels disappeared. How do I get them back?

    Right click on one of the other headers and a popup will appear and you can select the ones you need to view.

  • Vi's with sub panel

    hi
    i want to run an aplication on fp-2010 which have sub panels(panel embedding)
    but i got the following problems
    1.vi's with sub panel are not loaded on fp-2010
    2.and not supported by Lab VIEW Real Time
    can any one help me in this regard or suggest any other method that i run my application with fp-2010
    OR can i use any other tecnique which give the same functionality as sub panels and compatible Lab VIEW Real Time
    regards
    mazhar

    duplicate post

  • Controlling VI from inside the Sub-Panel

    I have a prog which is used as the Main prog and has a sub-panel in it,whenever an event is occured iam popping up an VI,which should be inside the sub-panel,when i press the stop button which is inside the sub-panel,the vi should stop

    And what is the problem....?;-)
    Sub-Panels just show the front panel of the VI you choose to show. When the event that should show a certain VI fires just make your code so that it will run the VI in question...and then set the sub-panel to show that VI. In the VI you need a button and code that will make the VI run until the button is clicked.
    That's it.
    Now you may the VI or multiple VIs to run in parallell, or you may want to send a stop message to the main VI from the VI in the sub-panel when the button is hit...For the first problem, call the VIs using an invoke node and the wait until finished set to false. For the latter problem use e.g. a functional global, que, event, occurance or a notifier.
    If there's a patricular part of this design that you h
    ave a problem with, let us know. If you can upload example VIs we can edit to show the behaviour you need, include those.
    Mads
    MTO

  • Handling User Events in sub panel vis and main vis with same Event reference Number.

    Hi All, Iam trying to work to handle events in both subpanel vi and main vi.
    I have a main program, and 2 sub vi. I will load the sub VI in 2 sub panels in main vi. Each sub pael vi has controls on it.
    I have created 2 User events for 2 sub panels vi. One user event consits of a Cluster with 2 Booleans (x & Y) and Other User Event consists of cluster of 2 unsigned 8 Numbers (a & b). These are created and registered in the main Vi and event register refnum is passed to the subpanel vi from the main panel vi.
    I have Event structure in main panel and sub panel vis.
    In one sub panel vi, When the value of one boolean(i.e. X) in the clusters changes, the Events structure in sub panel vi should perform some operation in sub panel vi only. When the value of other boolean (i.e. Y) changes it should perform some operation in main vi. I will try to Generate user event with the x value and Y value changed based on the control clicks in the sub panel vi.
    The OTher panel vi should behave in the smae way when the a & b value changes.
    The "Generate User Event" is working fine some times and sometimes there in no event triggered in the sub panel vi or main vi.
    Please let me know what is the problem Ramesh.

    There is a lot of talking, but not much understanding.  It'd be better if you posted some example VI's of what you are trying to do so that the words will make sense.
    One thing I can tell you is that you don't want to have two event structures handle the same event reference number.  You want to have two event registrations with each one going to its own event structure.

  • Sub panel vi cannot be loaded properly when main vi is converted to exe

    Hi All, I have a main vi that uses sub panel to call another single vi during the operation. The code is working well in vi level. However, When I converted the main vi to exe file, this sub panel cannot load that single vi properly.
    The error shows"  Built Application or Shared Library (DLL): Make sure all dynamically loaded VIs were properly included in the build specification for the application or shared library.  LabVIEW Real-Time: VIs built into executables cannot be accessed through VI Server calls. Use Source Distributions to dynamically call VIs on Real-Time targets."
    Here is how it is used in sub panel, could you tell me how can I change the path building to make this work in exe file? Thank you very much!
    Solved!
    Go to Solution.

    Path-specific issues are typically caused by this: http://digital.ni.com/public.nsf/allkb/FD7DE8BC8FFC256C862565F4006BE363
    In terms of the build, you must explicitly add dynamic VIs to the list of source files. These need to be in the "Always included" list on the "Source Files" tab. Please review the documentation for the App Builder for further information and details.

  • Is ist possible to start a vi in a vi sub panel?

    hello,
    is it possible to start a vi with his functionality in a sub panel? or is there another way to do this?
    markus

    I think the answer is yes, it is possible to start a VI within the
    subpanel.  See 'simple.vi' within the examples, or search the
    examples for "subpanel"  You have to use an invoke node to start
    the VI.  See the attached pic of the block diagram.
    Attachments:
    Image1.png ‏19 KB

  • Sub Panel in Application Builder

    My VI has a sub panel with with a sub vi front panel displayed in it.  When I build my application the sub panel is no longer visible.  How do I get it to show up?
    Solved!
    Go to Solution.

    there is a simple subpanel.vi example you can take a look at.
    its in the examples.
    Best regards,
    Krispiekream
    Attachments:
    subpanel.llb ‏23 KB

  • Insert multiple panel into sub panel

    hello
    I've written a subVI which performs differents tasks. For each task there is a corresponding panel; That is my subVI  has multiple panel. Each task is performed one at a time : I call the panel showing the actual task progression the active panel. My subVI runs (is called) on the block diagram of the main VI.
    Now my question : How can I plot only the subVI active panel into the sub panel of main VI? I am wondering if at all it's possible! if not! is there another way of doing this?
    Thanks for reply

    Hi Achilles,
    I've created a tab as you suggested. I set the size of my subVI's Panel to be equal to tab's size. But I'm having difficuties centering it into the sub panel control. Have you got a clue on how to achieve this?

  • Inability to run VIs in more than one sub panel

    Hello,
    I have a VI that contains a tab control with 8 tabs. Under each tab, I have placed a sub panel. I need to a separate VI in each sub panel simultaneously.
    Using Open VI reference function and without any options,I have Invoked Nodes to Run VI and then insert respective VIs in unique sub panels.
    Apart from a single VI running under a single tab, I am unable to see any of the other VIs running in all other tabs. Error Indicator shows No Error.
    Could someone please tell me how to run multiple VIs, each in a unique sub panel, but under the same tab control?
    I failed to execute a separate VI under a sub-panel that was even placed OUTSIDE the tab control...
    Thanks in advance.

    Hello Freelance_LV,
    Thanks for your response.
    Please find the snapshots of the Front Panel and corresponding Block Diagram of the sample code I intended to use (in Labview 12).
    As you said, I too, was able to switch (insert-remove-re-insert) VIs to execute from a single sub-panel when required.
    However, in this instance, I need to run 8 different VIs in 8 sub-panels simultaneously. Its so that my customer can look at different VIs for different tab selections at any point of time, and at the same time. Sadly, only 1 sub-panel VI seems to be running while the others arent, even though the logic for opening-running-inserting VIs for all sub-panels are the same...
    Attachments:
    SubPanelTestVI - FP.jpg ‏117 KB
    SubPanelTestVI - BD.jpg ‏186 KB

  • 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

Maybe you are looking for

  • ISE 1.1 - switch ignores "Session-Timeout"

    hi all, I'm playing around with ISE guest service and have some difficulty with Time Profiles. After guest logs in, Radius attributes are sent to the switch (3750G) one of them is Session-Timeout which should be similar to 1h (DefaultOneHour) Accordi

  • Mac partition dissappeared !

    hi there, I have been using bootcamp with windows on my macbook for a number of months without issue. I've now got a problem as follows. When I try to boot my macbook it no longer boots at all, after a few minutes I get - - a black screen with a wind

  • Email Settings Help Needed!

    Hi there, I am trying to access the email settings -- the username/password is forgotten. I have 4 user name options. I type them in one by one and requested the password to be sent to my device. One of the worked and the password arrived. I then typ

  • Re: PDF reader err 109 on output of PDF generator

    Folks, I'm calling the CreatePDF2 method of the GeneratePDFService in a .NET client. I'm trying to convert a Word .DOC file to PDF. The CreatePDF2 method call works, but when trying to open the resulting output with Adobe Reader 10 or IE 9, I get a 1

  • So can I actually use a 3G Iphone if i buy it from Best Buy or Walmart?

    I want to buy a Iphone 3G but heres the deal I have a Palm Centro with ATT currently with a SIM card and i am on a current contract paying unlimited text and data charges a month,but if I buy the Iphone from either Walmart or Bestbuy can I get it wit