Creating new front panel elements

Hi,
is there a way to create my own front panel elements that inherit from existing ones and enhance their functionality. I'm thinking of things like a graph together with a numeric control that takes an array and displays the element defined by the numeric control. And I'd like to be able to define a new frontpanel element that implements this and then just having to pass an array to it for it to work and don't have to implement the selection logic everytime I use it.
In short: Can I define new frontpanel elements that inherit from existing ones?
Sorry, if this is a basic question.
Tobias

Yes an Xcontrol will et you develop those yourself but...
Your description sounds like an Chart with the
Properties >>> Visable Items >>> Numeric values
checked.
Ben 
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • How to create a front panel display that lights up with different colours depending on its input signal?

    I am doing a project where I have this array which has different voltage outputs for each grid. How do I create a front panel object that lights up with different colours depending on the voltage input or is there already such a pre-built function?
    In addition, I wish to display these in an array on screen. Is there any pre-built function for this?

    Repulse wrote:
    I am doing a project where I have this array which has different voltage outputs for each grid. How do I create a front panel object that lights up with different colours depending on the voltage input or is there already such a pre-built function?
    The simplest way would be an intensity graph. It gives you a 2D grid where each grid point is colored according to the value of a 2D array. The Z axis color ramp determines the color.
    My second choice would be an array of colorboxes. (They could even be made to look like LEDs (see image, if course you can leave them square too), All you need is a scaling function thap maps voltages into a color ramp lookup table with an 8bit index)
    (Using booleans and color property nodes is relatively clumsy. Booleans are meant for two states because the value is boolean. Since array elements can only differ in value, and not in properties, it will not even work. Color boxes have a color data type which is much more appropriate for this case)
    LabVIEW Champion . Do more with less code and in less time .

  • Programmatically generate a new front panel object

    I'd like to see an example of how to programmatically generate a new front panel object like a button or sub-panel at run time.  Any pointers?
    I've looked for examples but don't seem to be having success.

    "Controls on the fly" (artwork courtisy of Christian Altenbach) is something I have done on more than one app.
    Also check out the Picture control thread for more links and idea.
    The easy method is to pre-create and hide.
    The amount of code that goes into supporting functional controls is enormous (been ther done that)
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • An idea of how to create a front panel

    Hi all,
    Want to create a front panel using LV 8.  The panel using a vertical splliter bar to divide the panel into 2 sub panels, the left will be small , the right will be somewhat bigger than the left and as the main infomation display area. when click the splitter bar , the left panel can auto hide or collapse , if  click it again , the left panel  can open again . Please give a suggestion of achieving this . Thanks.
    David 

    Hi David,
    Yes, you can customize the positions of splitters, and as a result, control the size of the panes on your front panel.  Here are some of the different properties you can change on a splitter bar:
    Position on panel (i.e. horizontal pixel location of vertical splitter or vertical pixel location of horizontal splitter)
    Foreground and background color
    Whether or not it is "locked" (i.e. can't be repositioned by the user while the VI is running)
    The sizing attributes of the attached pane(s) when the splitter is re-positioned
    There are also several properties of the Pane class that relate to the panes on either side of a splitter.  Let me know if you'd like more information about those (although I suppose you could look for yourself at the LabVIEW 8.0 Evaluation version).
    Good luck,
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • How can I create multiple front panels for a single block diagram?

    Hello,
       I have developed a VI with multiple controls and indicators that needs to run on computers with screen resolutions ranging from 800x600 to 1680x1050. The problem I'm having is that the front panel does not properly scale for this range of resolutions by checking the options in the "VI properties" option. Is there a way to create multiple front panels of various sizes for my block diagram and programmatically select the appropriate front panel based on the screen resolution?
    Solved!
    Go to Solution.

    See the attached Zip file.
    I have two different front panels.  Open either one and run it.  They both call MainCode.vi which takes the references passed to it and register for events.  From there, it does all the work of the code you would have put in your front panel .vi.
    This way each front panel can be laid out however you want for each screen resolution.
    Attachments:
    MainCode.zip ‏22 KB

  • How do I automatically make new front panels and block diagrams a certain size and screen position, like able to fit on a 1024 x 768 screen?

    I'm studying for the CLD and I notice that one of the requirements is this:
    Develop block diagrams to fit a screen resolution of 1024 x 768.
    When I create a new VI, its resolution is slightly too big: 1110 x 768.
    When I create a subVI via the menu item Edit >> Create SubVI, it is way too small: 800 x 543.
    For both methods of creating new VIs, I would like to specify both the screen position and window size. But if that is not possible in LabVIEW, I'd like a quick way to make this happen. I see some property nodes for VIs where I could write a subVI that could do this for the front panel, but that is awkward. And it does not apply to block diagrams.
    Is there a clever way to do these things?

    bmihura wrote:
    I'm studying for the CLD and I notice that one of the requirements is this:
    Develop block diagrams to fit a screen resolution of 1024 x 768.
    When I create a new VI, its resolution is slightly too big: 1110 x 768.
    When I create a subVI via the menu item Edit >> Create SubVI, it is way too small: 800 x 543.
    For both methods of creating new VIs, I would like to specify both the screen position and window size. But if that is not possible in LabVIEW, I'd like a quick way to make this happen. I see some property nodes for VIs where I could write a subVI that could do this for the front panel, but that is awkward. And it does not apply to block diagrams.
    Is there a clever way to do these things?
    It doesn't mean the default size of the window. It means once your code is complete, your block diagram should be small enough that you can see all your code when its on a monitor of that resolution. Before you test, set your computer monitor resolution to 1024x768. Write your code. If all the code on your block diagram can be seen without scrolling, you will be fine. They won't measure this explicitly. They are basically just saying "you shouldn't have a huge block diagram."
    CLA, LabVIEW Versions 2010-2013

  • Enabling / Disabling graphs and opening a new Front Panel Window

    Hi,
      I have a simple application of showing 12 analog signals on 12 different graphs placed vertically in aligned position. I have to develop a user interface so that if user wants to display signal no. 1, 4 and 6 out of total 12 signals, he should make selection using check boxes and click a re-draw button. It should result in opening a separate window with these three signals displayed as separate graphs aligned vertically and adjusted to fit window size. Similarly later user can change his selection of displaying signals (from same acquired data) say 1, 3, 5, 6, 8, 9, 11 & 12 and click Redraw button. It should result in opening a new Window showing all these signals as separate graphs which are aligned vertically and resized to fit the window. Now I have two major issues in this context.
    1) I have been searching LabView help to locate a way to open a new window for this purpose but I failed to locate any way for it. As per my limited knowledge, it seems that we cannot have multiple "Front Panel" windows in Labview.
    2) For the graph I could not locate a control to enable/disable a graph so that it appears or vanishes. Is there any way to achieve it?
    I shall appreciate your valuable advice. I shifted from "Lab View Signal Express"  to "Lab View" in order to achieve this user interface design but I am still not successful in finding a good solution for this application.
    Regards
    Mnuet

    Hi Mnuet,
    You can do what was said above. Here is a KB on dynamically loading VIs. It looks something like this.
    Dynamically loaded VIs are loaded at the point in code while running, as opposed to being loaded when the parent VI is loaded into memory like normal subVIs. You can make a reference to them and then control the front panel appearance, their run status, etc with property nodes and invoke nodes.
    Jeff | LabVIEW Software Engineer

  • How to create two front panels

    Hi in my application i am using two Monitors .. 
    so i like to use one monitor for Vision display and control operation (Front panel )
    And another For Motion Control Front panel .. is it possible to do this .. 
    (In this case How to split my Front panel of my Vi ..)

    Hi
    If we use Border Layout, the Panels which are added to the main panel are not displaying properly.
    Solution is to use BoxLayout with AXIS parameter. Statement looks like this:
    mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout(PAGE_AXIS));
    Thank You for giving Reply,

  • How do I create tabs on front panels

    Hi everyone. I want to create multiple front panels on the same project. How do I go about this?
    Also, I needed to analyze noise from a thermocouple signal in terms of Probability  Density Function and power spectral density and I don't have a clue yet. Any body any useful info should pls reply.
    Thanks. 

    Well said Lynn..
    I do realize that the discussion has moved away from the original topic
    Are you trying to resolve a problem that would normally be solved using signal conditioning?
    Are you seeing artifacts from 50/60Hz ?
    Did you mention what your thermocouples were connected to or in proximity of?  ie: do you need shielding?

  • Clearing Previous Front Panel before displaying a new one.

    hi,
    My problem is clearing the old front panel. What I have is a VI with a CONFIG button. When user presses the config button front panel # 2 appears. There is a NEXT button on from panel #2. When you press the NEXT button front panel #3 pops up. The problem is that front panel # 2 stays in the background behind the new front panel # 3. What do i have to do to cancel the prevoius front panel? 
    Solved!
    Go to Solution.

    This will cancel the pervious window.  Your booleans should be inside the event structure.
    Reese, (former CLAD, future CLD)
    Some people call me the Space Cowboy!
    Some call me the gangster of love.
    Some people call me MoReese!
    ...I'm right here baby, right here, right here, right here at home
    Attachments:
    start with this VI-2.vi ‏8 KB
    2.vi ‏17 KB
    3.vi ‏14 KB

  • Is creating multiple indicators on a front panel the best way to go?

    I have a control panel with over 40 buttons that I would like to create a labview test
    for that will display which button is pressed.
    Would this be easiest to create a front panel with individual indicators for each or
    is there a simpler/ more efficient way to do this so that the front panel gives a visual
    indication of the actual button pressed and its location?
    Because the control panel is a serial RS232 line but was designed for use with a certain
    assembly, I wish to simplify this so I do not need to include as much hardware and have
    decided to use and arduino to  communicate to the control panel and hen use labview to
    communicate to the arduino via the USB port on the PC.
    Also, any thoughts on how to best parse the data from the arduino to enable the indicator on the front panel
    is appreciated.
    thanks

    My first thought was just having a string indicator instead of the large number of indicators.  I would probably also have a large string indicator to show a log of the states that you recieved.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Dynamic cluster/array follow up question - front panel

    Thanks for the responses to my last question - they were great and fast!
    I'm still stumped on how to create the front panel. It doesn't really matter whether it is an array or cluster. It sounds like either way, once I have it I can autoindex through it. The basic application here is that I have a VI that will store one XY plot to our database. I'd like to wrap that in a VI that will take N XY plots and store them all in our database regardless of what N actually is. So in terms of creating the front panel, I tried to create an array control and drop a XY graph in it, but it doesn't seem to like that. It said that I hadn't added an element to the array. I also tried to drop a XY graph into a cluster control and that cleared the broken run arrow, but wouldn't I have to know how many XY graphs are being passed in? It seems like I'd have to put one graph in the cluster control for each graph coming which defeats my purpose? Remember I won't know how many XY graphs are coming into my VI in the array or cluster. Anybody know how I can set up the front panel?
    Again thanks for the quick replies!!!
    Best Regards,
    Steve

    Look at the attached VI.
    It has a single XY graph inside a cluster container, and that is inside an array container.
    With this setup, it wouldn't matter how many graphs you pass to the subVI since it's an array, it will take whatever is passed to it.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
    Attachments:
    XY Graph in Array.vi ‏13 KB

  • Why am I unable to select the boolean indicators on my front panel?

    Hello all,
    This has to be an easy one for you guys, but here goes...
    I created a front panel with approximately 20 boolean indicators on it (LEDs). I realized that I only had 10 functional, so I made the others 'greyed out and disabled'. Well, now the ones I disabled are functional again, so I want to enable them. Problem is, when I go to the diagram and select 'show indicator' it is still grayed out. I cannot click on the indicator on the front panel to 'enable' the indicators. I cannot select them at all.
    I've tried creating property nodes and enabling them that way. They are no longer grayed out when I do this, but I still cannot click on them to move them about the front panel.
    All
    I want to do is select them so I can rearrange the way they look on the panel, but I cannot click on them.
    And, yes, I've had my tool palete on both 'Automatic Tool Selection' and 'Position/Size/Select'. It is also interesting that I can select and move the indicators which I never disabled in the first place.
    Any help would be great!
    Thanks in advance,
    Dave Neumann
    [email protected]

    "Neumannium" wrote in message
    news:[email protected]..
    > Paul,
    >
    > Part of the problem is that I cannot click on them at all. If I try
    > to right click, the Controls palette pops up (like it would if there's
    > nothing on the front panel).
    >
    > If I drag a box around them, they are not selected. It's as if they
    > don't exist, but they do! They still function -- I can still run the
    > test and the booleans react as they should, but they are not where I
    > want them to be (the user cannot see them all without scrolling).
    What happens if you go to the diagram and double click on the control? It
    should take you to the front panel and highlight/select the control.

  • Accessing front panel LEDs in several subVIs

    Hi, I'm new to LabVIEW! Ok, what I'm trying to do is create a front panel with 9 LEDs. Then I have a Menu Ring, with three different options. These options determine the order in which the LEDs are lit. So what I was planning on doing was creating three subVIs, one for each of the options...but how can I do that when I only have one boolean for each LED? So basically how can I relate the LEDs on the front panel into the subVIs? I tried using globals - but it seemed like that just passed on the state of the boolean instead of allowing me to actually change the boolean in the subVI. I hope this makes sense...I'm really confused! Thanks for any help!

    > Hi, I'm new to LabVIEW! Ok, what I'm trying to do is create a front
    > panel with 9 LEDs. Then I have a Menu Ring, with three different
    > options. These options determine the order in which the LEDs are lit.
    > So what I was planning on doing was creating three subVIs, one for
    > each of the options...but how can I do that when I only have one
    > boolean for each LED? So basically how can I relate the LEDs on the
    > front panel into the subVIs? I tried using globals - but it seemed
    > like that just passed on the state of the boolean instead of allowing
    > me to actually change the boolean in the subVI. I hope this makes
    > sense...I'm really confused! Thanks for any help!
    Initially, you might just hook your ring to a case structure to
    determine which frame exe
    cutes. You can put the terminals for the
    Booleans in the different diagrams and about the only other thing to
    keep in mind is that you probably want a delay in the loop.
    Greg McKaskle

  • How to make front panel as Generic

    Hi all ,
    I need to know that how to do front panel reuse.
    Here i am using two front panel to do some work .
    But both the front panel do the same work ,
    I need to use create one front panel make them as generic .
    I C#  can able to do front panel generic .
    In labview how to do it .
    It helps me lot ..
    Thanks in advance .,
    Attachments:
    fp.vi ‏11 KB

    You can group the controls as a Cluster and make a type-def of it. That's probably what you're after.
    /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

Maybe you are looking for

  • Lack of support from Apple re iTunes.

    For 4 weeks now I have been trying to get help from Apple and I have been sent from pillar to post! Initially, after downloading the latest version of iTunes, I found that I could no longer purchase any music. I was receiving: "An unknown error occur

  • Screen sharing and file sharing not working on LAN

    This is not a Mavericks specific problem since it existed before I upgraded to Mavericks.  I have a LAN that consists of 3 MBPs and 1 MacPro. Local screen sharing and file sharing works fine on all of these computers except for one MBP.  From this MB

  • To read data from cluster table  urgent

    i need to get personnel number(PERNR) from BSEG table which is a CLUSTER TABLE what else i have to add in here to get personnel number(PERNR) this code is giving no data only lots of ZEROS FORM getexpcode1 TABLES   in_tab21 STRUCTURE itcsy           

  • How to show budget cost in the PPR screen?

    Hi all, I define budget cost of project already but in PPR screen It cannot show this value. It show only actual cost. Please advice me to show this value. Thank you.

  • Editing clip changes entire footage

    Moved captured video from browser window into viewer window, set my "In" and "Out" points, moved the selected clip to the timeline and tried to edit that one clip w- brightness & contrast (even made it an "independent clip", renamed it, and even copi