How do you create a custom control which has several buttons?

Can you do this in LabView?
I want to make it so that one button will disable or switch the value/state of another. (Think minesweeper). I can create the logic in a subVI, but only if I have access to the property nodes of each of the buttons.
I want the front panel of the main VI to have the buttons on it, and I don't want the buttons to appear in a separate window.
If I place all of the buttons individually on the front panel of the main VI and pass their references to the subVI, I end up with tons and tons of variables in the main VI block diagram. It works but is very very messy.
I tried to create a custom control with a cluster of buttons in it, but I can't seem to get at the individual property nodes. Is it possible?
(*sighs* I wanna Class!)
Thanks in advance
jen

Hi Jen
Yes it is possible to get the individual property nodes of controls that are in a cluster.
You have a property Controls[] in the property node of the cluster, so you get an array of control references. You just have to extract the single references to access the controls.
I attached a screen-shot, which shows this possibility.
Hope it helps.
Thomas
Using LV8.0
Don't be afraid to rate a good answer...
Attachments:
Cluster.jpg ‏11 KB

Similar Messages

  • How do you Create a Custom Control

    Is it possible to create a custom control under LabWindows ?
    I want to creat a control that represents a mobile phone.
    It will be a rectangle with about 4 lines of text displayed in it witch needs to be programmatically entered and the back ground colour needs to be able to be change to represent different states also programmatically.

    I don't know if it's possible to create custom controls under CVI. I can suggest you some hint to help solve your problem.
    As for the second part of your question, you could use a picture ring with different pictures (with different background color) associated with the different states in your program. When program state changes you will only have to SetCtrlVal (panel, control, state) to have the picture ring display the desired colour. I guess this is a simple indicator, so you can put Control mode to indicator and hide inc/dec arrow in order to exclude operator's managing of the control.
    As a workaround about the four line of text to be displayed, what about putting on top of the picture ring a simple text box or text message with transparent backgroud col
    our and frame colour? At the cost of managing two different controls, the matter should work...
    Roberto
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How can i create a custom control, indicator

    This is FredFred,
    How can i create a custom control switch with 3 or more options,
    OFF
    ON
    STANDBY
    Other than rocker, slide, or toggle switch, are there other switches that we can use, hence, the question of creating a custom switch.
    Also, is there a way to create an indicator with two options. Enclosed is a jpeg with an example of what i need
    Thanks in Advance
    Attachments:
    sample switches_displays.bmp ‏720 KB

    Hello.
    Boolean controls can only have 2 possible values, true or false, and there is no way to add more values to them.
    If you need more values, then you must use a numeric control (or a string, but I tend to like numerics better, although strings could be just as useful).
    There are several types of numeric controls you could use to provide 3 or more options. Attached is a VI which shows a ring, a knob, and a slide each with 3 possible values. In your code, you would then perform different actions depending on the numeric value of your control.
    Hope this helps,
    Alejandro
    Attachments:
    NumericsWith3Options.vi ‏14 KB

  • How do you connect your photoshop elements on your computer to your account online? and how do you create a customized url? how does the gallery work and how do you access it? i have trouble signing in on my program from my computer to connect to the onli

    how do you connect your photoshop elements on your computer to your account online? and how do you create a customized url? how does the gallery work and how do you access it? i have trouble signing in on my program from my computer to connect to the online photoshop, and I really want to create my own customized url and post photos to my gallery and share them with the world, family, and friends, but i need help because i can't figure how to do any of this, would really appreciate feedback and assistance, thanks, - claire conlon

    To add to sig's reply, "calibrating" does not calibrate Lithiu-Ion batteries, it calibrates the charge reporting circuitry.  If you look at the effect of deep discharging Lithium-Ion batteries in the data from the independent test group, Battery University, you will see that doing so shortens the life of the battery significantly. It looks like an optimum balance between use and life is at a discharge level of 50%.

  • How do you create a custom Photograph folder

    If you have a webcam configured to PhotoBooth then you have a 'PhotoBooth' folder which is in the file system (under the current users 'Pictures' folder) and is visible in iMovie.
    Now if I create a folder on the same level as the 'PhotoBooth' folder (ie again under the active users Pictures folder) then iMovie cannot see it but if I create a folder within the 'PhotoBooth' folder then iMovie can see it... I hope this makes sense.
    So my question is, how do you create a folder in the file system which is visible from iMovie? or how do you add custom folders to the Photographs window in iMovie?
    Sadie.

    If you have a webcam configured to PhotoBooth then you have a 'PhotoBooth' folder which is in the file system (under the current users 'Pictures' folder) and is visible in iMovie.
    Now if I create a folder on the same level as the 'PhotoBooth' folder (ie again under the active users Pictures folder) then iMovie cannot see it but if I create a folder within the 'PhotoBooth' folder then iMovie can see it... I hope this makes sense.
    So my question is, how do you create a folder in the file system which is visible from iMovie? or how do you add custom folders to the Photographs window in iMovie?
    Sadie.

  • How do you create a custom decoration

    I was trying to create a custom decoration but was unsuccessful.  Does anyone know the process?
    Joji

    Just to clarify on the above question.  How do you specifically add your decoration to your own custom palette.  When you add a *.ctl file without an actual control, LabVIEW doesn't know what to put down as all decorations are ignored when placing from the palette.
    Joji

  • How do you create a custom brush "shape"?

    I want to create an effect of a large paintbrush moving across the screen.
    Is there any way to create a custom brush "shape" to do this using the Paint tools? I can't find anything obvious in the help on how to do this.
    Thx
    Kevin

    Or, if you have Trapcode Particular, define your shape as a custom particle. The painting could then be controlled by animating the emitter position or defining a motion path by ways of a 3D light as an helper item.
    Mylenium

  • How can I create a custom feature, which will automatically take a custom master page while creating a site ?

    Hello ,
    I am new in Sharepoint development . I am trying to create a Sharepoint feature to Activate master page automatically while creating the site .Below mentioned code I am using to do this . 
    But When I am creating any site under site collection .It is not applying automatically . I have to manually Activate that feature . 
    SPSite site = properties.Feature.Parent as SPSite;
    SPWeb rootWeb = site.RootWeb;
    Uri masterUri = new Uri(rootWeb.Url + "/_catalogs/masterpage/mycustom.master");
    rootWeb.MasterUrl = masterUri.AbsolutePath;
    rootWeb.CustomMasterUrl = masterUri.AbsolutePath;
    rootWeb.Update();
    How Can I create a feature that can activate the master page at same time of site creation under Site collection ,Without any manual work .. 
    Thanks in Advance .. 

    Hi,
    You can associate master page during feature activation as follows:
    http://social.technet.microsoft.com/wiki/contents/articles/19933.sharepoint-2010-set-a-custom-master-page-during-feature-activation.aspx
    Then, you can use feature stapling to apply automatically on site creation:
    http://blogs.msdn.com/b/kunal_mukherjee/archive/2011/01/11/feature-stapling-in-sharepoint-2010.aspx
    Thanks,
    Avni Bhatt

  • How do you create a custom title Style

    iMovie 8 offers 12 title styles. I need to make my own title style and have it appear with the others so that I can use it each week and then just modify the text.
    Would someone explain how to do this please? Modifying an existing one with my own logo might be an option if I can't make a new one. The ones offered by iMovie aren't really useful for a small business user.
    I am new to iMovie and can't find this information in the help or in this forum - which may just mean that I am a lousy searcher, so if it's there, just point me to it.
    Thanks
    Joan

    Let's not be too quick to say this cannot be done.
    What if you created a blank or black slide with your logo? You could do this in Keynote or Powerpoint or a graphics editor. Save it as a JPEG. Import it into iPhoto, which then makes it easy to import into iMovie. You can use this slide as your Title slide, with whatever duration you need. Then you can use one of the iMovie 08 Titles on top of it so you can easily add text. The iMovie Title slides are very flexible. You can change the font, size, placement of the text.

  • How do you create a customized step list?

    I am creating a workbook for some exercises and I want to use a formatted, numbered step list so students can check off the step as they complete it. It might look something like this:
    __ 1. some instructions
    __ 2. more instructions
    __ 3. even more instructions
    The numbering would obviously continue from the previous number.
    How do I create such bullet/number option?
    Thanks

    You can certainly get the underscore as a leading bullet:
    +Inspector > Text (T) > List > Bullets and Numbering > Text Bullet > Type the underscore _ character however many times you want into the bullet field > click away in the page+
    Select the sample of the text and open the Styles drawer:
    +Menu > View > Show Styles Drawer+ or click on the reversed ¶ in the blue dot on the toolbar at the top of the window.
    Select any *List Styles* name and:
    +Right mouse click > Create new List Style from Selection… > Give it a descriptive name+
    This will create:
    __ some instructions
    but without the numbering, which will need to be added manually. To add numbering I think will need some deeper editing of code or xml within the Pages app itself.
    I tried combining the numbered list with a leader tab of underscores but one removes the other.
    Peter

  • How do you create a custom install DVD/CD?

    Does anyone know how to create a custom install DVD/CD?
    Thanks.

    Well, it's been a while since Tiger was released and he hasn't made a version yet. I wouldn't really expect one any time soon or ever.
    If I solved your problem or answered your question, please show your appreciation by marking my post as Solved. Also, if you've received advice you found helpful, let that responder know by using the Helpful button for their post. If your question was answered but not by one particular responder, then mark the question as Solved and reward the helpful contributors by marking their respective posts as Helpful. Not only will this be useful to other forum users, it will also show appreciation to those who have provided you with helpful assistance.

  • How can you create a customized page to change user password?

    Hello to all,
    I would like to create a customized page for a user to change their password. We are using Portal version 3.0.9 on Windows NT/2000. Currently there is a page in portal where a user can change their password.
    I tried linking to that page by copying the shortcut url and adding it as an html portlet. The problem is that we want to direct the users to a
    page of our choosing when they click on the "cancel" and "ok" buttons. I read in the forums that there is a selfreg.cmd script.
    I also read that there is some code that has been available.
    Has anyone implemented a customized user password change page? Do you know of any links that might have steps to follow or
    more informatioin?
    Thanks in advance,
    Lindsay

    Hi,
    I was able to customize the change password screen through a procedure. This is what I did:
    * Created a procedure under the Portal30_sso schema:
    CREATE OR REPLACE procedure reports_chage_password
    site2pstoretoken in varchar2 default null
    ,p_username in varchar2 default null
    ,p_error_code in varchar2 default null
    ,p_submit_url in varchar2 default null
    ,p_done_url in varchar2 default null
    ,p_pwd_is_exp in varchar2 default null
    ,p_password in varchar2 default null
    is
    begin
    htp.htmlopen;
    htp.headopen;
    htp.title ('<TITLE of Page>');
    htp.headclose;
    htp.bodyopen;
    htp.p('<table width="100%"><tr><td colspan=2 align=center><IMG SRC=<directory of image if you want>"><br><hr><br></td></tr>');
    htp.p('<tr><td colspan=2 align=center>');
    htp.p('<font COLOR="#000080" face="Times New Roman" size=+2><b>');
    htp.header(nsize => 1 ,cheader => 'Change Password');
    htp.p('</b></font>');
    htp.p('</td></tr><tr><td align=right>');
    htp.formopen(curl => p_submit_url );
    htp.p('<font color="#000080" face="Times New Roman" size=+1>');
    htp.p ('Username:');
    htp.p('</td><td alight=left><font color="#000080" face="Times New Roman" size=+1>');
    htp.p(p_username);
    htp.p('</font>');
    htp.p('</td></tr>');
    htp.formHidden(cname => 'p_username',cvalue => p_username);
    htp.br;
    htp.p('<tr><td align=right>');
    htp.p('<font color="#000080" face="Times New Roman" size=+1>');
    htp.p ('Old Password: ');
    htp.p('</font>');
    htp.p('</td><td align=left>');
    htp.p ( htf.formPassword(cname => 'p_old_password',csize => 30,cmaxlength => 30) );
    htp.p('</td></tr>');
    htp.br;
    htp.p('<tr><td align=right>');
    htp.p('<font color="#000080" face="Times New Roman" size=+1>');
    htp.p ('New Password: ');
    htp.p('</font>');
    htp.p('</td><td align=left>');
    htp.p ( htf.formPassword(cname => 'p_new_password',csize => 30,cmaxlength => 30) );
    htp.p('</td></tr>');
    htp.br;
    htp.p('<tr><td align=right>');
    htp.p('<font color="#000080" face="Times New Roman" size=+1>');
    htp.p ('Confirm New Password: ');
    htp.p('</font>');
    htp.p('</td><td align=left>');
    htp.p ( htf.formPassword(cname => 'p_new_password_confirm',csize => 30,cmaxlength => 30) );
    htp.p('</td></tr>');
    htp.p('<tr><td rowsapn=2>');
    htp.formHidden(cname => 'p_done_url',cvalue => '<the url that you want users to go to when they are done>');
    htp.formHidden(cname => 'p_pwd_is_exp',cvalue => p_pwd_is_exp);
    htp.formHidden(cname => 'p_password',cvalue => p_password);
    htp.formHidden(cname => 'site2pstoretoken',cvalue => site2pstoretoken);
    htp.p('</td></tr>');
    htp.p('<tr><td align=right>');
    htp.formSubmit(cname => 'p_action',cvalue => 'OK');
    htp.p('</td><td align=left>');
    htp.formSubmit(cname => 'p_action',cvalue => 'CANCEL');
    htp.p('</td></tr></table>');
    if p_error_code is not null then
    htp.br;
    htp.fontOpen(ccolor=> 'red', csize=> 4);
    if p_error_code = 'auth_fail_err' then
    htp.p('Old password is incorrect');
    elsif p_error_code = 'pwd_rule_err' then
    htp.p('The new password does not follow '||
    'the password policies.');
    htp.br;
    htp.p('Verify with your System Administrator '||
    'about the Password Policies');
    elsif p_error_code = 'confirm_pwd_fail_txt' then
    htp.p('Confirmation for new passord is not '||
    'the same as the New Passowrd');
    elsif p_error_code = 'null_new_pwd_err' then
    htp.p('New password cannot be null');
    elsif p_error_code = 'null_old_pwd_err' then
    htp.p('Old password cannot be null');
    else
    htp.p ('Error: ' || p_error_code );
    end if;
    htp.fontClose;
    end if;
    end;
    * Grant this procedure to PUBLIC
    * Update the portal30_sso.wwsso_ls_configuration_info_$:
    UPDATE portal30_sso.wwsso_ls_configuration_info_$
    SET LOGIN URL = '<YOUR CUSTOM LOGIN URL OR THE WORD UNUSED IF YOU DON'T HAVE ONE> http://<MACHINE_NAME>.<DOMAIN>/pls/portal30_sso/portal30_sso.<NAME OF PROCEDURE>';
    * After you update the table, go to your account information link, and click on the change password link.
    * Then copy the url that you see in your address line
    * And if you want a change password link at the top of your portal page, just go to EDIT on your page, then edit the banner defaults. Then in the links add the Lable and the URL. The URL would be the URL you copied from the previous step.
    Hope this helps.
    I've customized the login page too if you would like some sample code for that. Let me know.
    Martin

  • How do you indentify a cost center which has had no posting activity

    We need to identify all cost centers that haven't had a financial posting in 2 years.  Is there any stardard way to identify those cost centers? 
    Thanks

    Yes, this report shows you the cost centers against which you have financial postings. By downloading this report to Excel you can eliminate the Cost Centers using  "V Look Up" with the total no of cost centers you have in your client.
    Regards,
    Pandu

  • How do you create a custom size page?

    I"m trying to create a card but my sizes are different than what the templates have. How you you customize a new page? Also is there a way to know the sizes of Templates before you open up a page?

    If you are asking about Pages 09 on your desktop, you can download a copy of the user guide under the Help Menu, and the Pages 09 forum is here:
    http://discussions.apple.com/forum.jspa?forumID=1302
    (this one is for the ipad version, which is different in a lot of ways)
    From the Pages 09 help files:
    +To set paper size and orientation:+
    +Choose File > Page Setup.+
    +In the Page Setup dialog, choose the printer you will use from the “Format for” pop-up menu.+
    +Choose a standard paper size from the Paper Size pop-up menu.+
    +If you want to set a custom paper size, choose Manage Custom Sizes from the pop-up menu. Otherwise, go to step 7.+
    +Click the Add button, and then enter values in the Page Size fields.+
    +Either choose your printer’s default margins from the pop-up menu, or enter your own values for margins in the Left, Right, Top, and Bottom fields.+
    +If you want to change the custom size’s name, double-click the name in the list and enter a new name.+
    +Click OK.+
    +Choose the new paper size you named from the Paper Size pop-up menu, and then click OK.+
    +Select an orientation option using one of the buttons at the bottom of the Page Setup dialog.+
    +To make an image larger or smaller to fill more or less of the paper, type a percentage value into the Scale field, and then click OK.+
    +A value less than 100% makes the image smaller; a value greater than 100% makes the image larger.+

  • How do you create a custom search result for surrounding suburbs for a real estate website?

    I have a Web App for property listings for a real estate website. There are item fields as follows:
    Suburb List:
    Edensor Park
    Hoxton Park
    Denham Court
    Cecil Hills
    Abbotsbury
    Surrounding Suburb List:
    Edensor Park
    Hoxton Park
    Denham Court
    Cecil Hills
    Abbotsbury
    Say a property is listed in Edensor Park as the main suburb and Hoxton Park and Denham Court are also selected as its surrounding suburbs.
    On the website's search form, the visitor selects, for example, Edensor Park. I need the search results to show everything listed in Edensor Park as well as in the surrounding suburbs of Hoxton Park and Denham Court. Is this at all possible?
    Thanks,
    Veronica.

    The Filter settings are sticky.  Every container listed on the Library tab of the Inspector keeps it's own Filter settings, set to whatever was last used.
    I'm not aware of any way to set a default Filter.
    You could create a Folder and put a Smart Album in that Folder with "Source" set to the Folder.  Any Albums or Projects you put in the Folder become the superset for the Filter you set in the Smart Album.  This is a pretty sophisticated set-up, however.  What is the filter you need, and how often do you need it?

Maybe you are looking for

  • How To Fix iTunes Match in iOS 7

    After looking through other forums, I have found this soultion which seems to work well. Courtesy of  metmaestro 1) ON your iPhone/iPad: Go to Settings: iTunes & App Store.           Tap on your Apple ID, Sign Out, iTunes Match will be off. 2) On you

  • How do I update all appointments to match changing time zones when I travel?

    I have numerous appointments in my calendar. I also do a lot of travelling World Wide. As I arrive in a different time-zone I change the setting on my PC to match the current location. I understand that if I receive a new invitation to an appointment

  • How to stream tv from I pad to a tv

    How do I stream tv from ipad television what cables do i need

  • Unable to Download Condition Tables and Access Sequences from R/3

    Hi Experts, We have a new set of condition tables and access sequences created in R/3. Now we need to download them to CRM, which we are unable to perform. We tried downloading DNL_CUST_CNDALL, but there is no use. The new condition tables are not ge

  • Search for pr created through mrp

    Dear friends, Pl explain me how can we search for the pr which is created through mrp in the doc overview of po creation screen? Thanx & Regards,