SubPanel Transparency (Transparent Sub Panel)

I am developing an HMI wrapper that contains a few SubPanels. These SubPanels correctly swap between called VIs using "Insert VI" and "Remove VI" Invoke nodes. Now, I would like to add a visual effect to fade these VIs into and out of the SubPanel. Currently, the VIs that are being inserted will fade from transparent to opaque using a For Loop and the "FP:Transparency" property node when run independently. Once they are inserted into the main wrapper as a SubPanel, the transparency effect ceases to work (remains opaque).
I am aware of the "Make Panel Transparent" property of SubPanels and the "Window runs transparently" property of a VI, and have tried several configurations toggling these properties. Any suggestions on how to enable transparency of a VI inserted into a SubPanel?
Regards,
Jack
a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

Aashish,
Thank you for your suggestions. The method I am using to insert the VI into the SubPanel is attached in the code snippet below. It is not much different than your method, except I am using a static reference to the VI to be inserted. This snippet is in the "caller" VI that contains the SubPanel, and the static VI reference is to the VI that is to "fade in" using the FP:Transparency property (like the snippet in my previous post).
This code will properly insert a VI that is opaque, and the previous code will properly fade a window from transparent to opaque. However, I have not been able to insert a VI that uses the FP:Transparency property into a SubPanel.
Can anyone properly do this?
Thanks again,
Jack 
a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}
Attachments:
InsertIntoSubpanel.png ‏7 KB

Similar Messages

  • DW CC Fluid grid transparent text panels over media content?

    Hi,
    I want to add some text panels similar to this website over images and other media content such as video clips:
    http://roedesigns.com/easy-css-only-image-description-hover/
    I don't need it to hover, I just want to add a transparent text panel like in the link over a picture or video.
    The website i'm working on is Fluid so is this something I need to do with CSS or JQuery.?
    What would be the code for something like that?
    At the moment I have a new section with a 'article' object/div set up for the content, the content will be a image with the text panel or a video with the text panel.
    <article class="fluid article">INSERT PIC/VIDEO HERE</article>
    help much appreciated!

    See this updated Fiddle:
    Edit fiddle - JSFiddle
    Nancy O.

  • Transparent xfce panel??

    I have the latest xfce4.6 installed and working good. I have enabled transparency which will transparent the panel, but it also transparents the icons and text (entire panel). I only want the panel "background" to be transparent and all icons and text fully visible. Is there a way to set this up?
    I found a link on setting the panel settings in a .gtkrc2.0 file which I was able to change the color, but not much more.

    banshee28 wrote:I have the latest xfce4.6 installed and working good. I have enabled transparency which will transparent the panel, but it also transparents the icons and text (entire panel). I only want the panel "background" to be transparent and all icons and text fully visible. Is there a way to set this up?
    I found a link on setting the panel settings in a .gtkrc2.0 file which I was able to change the color, but not much more.
    This is not possible without the cairo-patch for xfce4-panel. There was an AUR package for it, but I think it's only for 4.4...

  • Alpha/semi-transparent  floating panel

    Is it possible to have a alpha/semi-transparent floating panel, for example in Unreal 2004 when u access the console a semi-transparent console appears.

    Hello,
    Yes it is possible; try the following code in your container...
         public void doLayout()
              super.doLayout();
              // use some reference to where you want the panel to float
              floatablePanel.setBounds(........);
         } // end doLayout... and the following in your floatablePanel...
         public void paint(Graphics g)
              Graphics2D g2 = (Graphics2D) g.create();
              g2.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_ATOP, 0.2f));
              super.paint(g2);
              g2.dispose();
         } // end paintHope it gives you ideas.
    Warm regards,
    Darren

  • 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

  • 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.

  • 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

  • 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

  • Drag drop Sub Panel VI

    Has anyone done a drag from a tree control and dropped the data into another control on the front panel of a VI running within a Sub Panel container? I believe I will have to use a queue to actually communicate the data from the parent vi to the vi in the sub panel, but let me know if I am barking up the wrong tree.
    Chris
    Practical Physics, LLC
    www.practicalphysicsllc.com
    National Instruments Alliance Partner
    Certified LabVIEW Developer

    I dont quite get what you're referring to, while editing, or in a running vi? Or transfer data to a subpaneled vi?
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Sub panel

    How to multiple call sub panels one by one in a vi

    Thanks all for your response,
    Actually wat i meant is , in an application i want to display sub vi s in the main vi front panel.Even i want to edit the values of that sub vi displayed in front panel.So how i can call multiple subpanels in main vi and edit the values of opened sub vi s.Now i can call sub vi's but not able to edit values.
    Sample vi attached.
    Attachments:
    Sample for subpanel.vi ‏10 KB
    current.vi ‏5 KB
    voltage.vi ‏5 KB

  • Vit's not loading in sub panel in executable

    I have turned a project into an executable. This executable acts as a server and the user interacts with it through a web browser. There is a subpanel which loads different vit's front panels depending on which button is pressed. I have solved the path issues (thanks to help from you guys). Is there an issue with sub-panels and vit's? (I have built a simpler application which loads two vit's into a subpanel alternatively and its working fine). So what might be the problem? (The executable is not outputting any errors; the application runs fine in development mode. I have used OpenG Commander to download all the libraries and vi's through it and integrated them into LabVIEW (8.2). Could it be causing some problem?

    Thanks Ben for the help!
    Yes Ben I have added all the vit's in the "Dynamic vi's and support files" section of the build properties dialog box. Yes the front panels load fine if not being loaded in the sub panel. Actually this application runs through a web server. And all the panels load and unload inside the browser. The applicatio works fine in development mode but doesn't work as expected when turned into an executable. So as a last resort I converted all vit's into seven vi's each (by appending numbers to their name) and then used a hidden control to find out which one to call. Its working now but only seven users can log onto the server at any given time. So if it could work properly somehow it would be so nice (and soothing to my aching mind which has been battling (and losin so far) the problem but to no avail).
    Thanks for the help!

  • 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

Maybe you are looking for