Why doesn't my boolean controls work?

I'm building an user interface and I have a tab control with several options. In the tabs I have Boolean controls that are always in the false state. Why does this happen?
I'm running LabVIEW 6.1 in Windows XP.

Hi Marmelo
The default state of a boolean control is "Faslse". If you want that "True" is the default state you have to change the value to true and than right click on the control, select Data operations and there select "make current value default". After that the default value of the boolean control is "True". Under Mechanical Action you can define different switch actions.
Luca P.
Applications Engineer
National Instruments
Regards,
Luca

Similar Messages

  • Why doesn't my remote control work?

    My remote controls for both my Portable and desktop stopped working.  Has the software changed?

    Could you please post complete product/model number of your Notebook? You can use link below to find this info
    http://h10025.www1.hp.com/ewfrf/wc/document?tmp_renderType=findModel&cc=us&dlc=&docname=c00033108&lc...
    //Click on Kudos and Accept as Solution if my reply was helpful and answered your question//
    I am an HP employee!!

  • Why doesn't the FloatVolume Control work?

    Hi!
    First message for me on this board, so I hope I did the things right posting here (and sorry in advance for my bad english)
    I have a problem with the Java Sound API. I'm trying to control the sample rate from a wav file to change the pitch (so sound (engine) will change when the RPM get higher) but it looks like the floatControl were not supported...
    This is the contructor from the class:
       public SampledSound(String file)
             _position = 0;
             _file = file;
             try {
                 AudioInputStream audioStream = AudioSystem.getAudioInputStream(new File("sound/"+_file));
                   DataLine.Info info = new DataLine.Info(Clip.class, audioStream.getFormat(),((int) audioStream.getFrameLength() * audioStream.getFormat().getFrameSize()));
                   _player = (Clip) AudioSystem.getLine(info);
                   _player.open(audioStream);
                   if(_player.isControlSupported(FloatControl.Type.SAMPLE_RATE))
                        FloatControl SRControl = (FloatControl) _player.getControl(FloatControl.Type.SAMPLE_RATE);
                        SRControl.setValue(SRControl.getValue()*2);
                   else
                        System.err.println("Error: FloatControl SAMPLE_RATE non support�.");
              } catch (Exception e) {
                   e.printStackTrace();
                     System.err.println("Error: Le fichier '"+_file+"' n'a pas pu �tre lu.");
              }And it's not working...
    And if I try to list the controls available for the object _player (instance of Clip) I get the following output:
      public SampledSound(String file)
             _position = 0;
             _file = file;
             try {
                 AudioInputStream audioStream = AudioSystem.getAudioInputStream(new File("sound/"+_file));
                   DataLine.Info info = new DataLine.Info(Clip.class, audioStream.getFormat(),((int) audioStream.getFrameLength() * audioStream.getFormat().getFrameSize()));
                   _player = (Clip) AudioSystem.getLine(info);
                   _player.open(audioStream);
                   for(int i=0; i<_player.getControls().length; i++)
                        System.out.println(_player.getControls().toString());
              } catch (Exception e) {
                   e.printStackTrace();
                   System.err.println("Error: Le fichier '"+_file+"' n'a pas pu �tre lu.");
    Master Gain with current value: 0.0 dB (range: -80.0 - 6.0206)
    Mute Control with current value: False
    So, does it mean that there is no FloatControl for the clip line?
    How I am supposed to do to get the control from the sample rate?
    Thanks!
    Edited by: astroB on Mar 28, 2008 7:44 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Seems to be a problem on Apples end. Probably a server overload.

  • Why Doesn't the XIRR function work?

    In Excel if you have 5 records from a1:b5 then XIRR looks like this:
    XIRR(A1:A5, B1:B5) you get a nice neat answer like .35
    Here is a version that works in Crystal that would require manual entry of any new quarters numbers and dates-- and if you plug this into Crystal it works:
    (XIRR([1000000,-100000,-100000,-100000,-100000,10277.49,-100000], [DateValue(1999,2,1),DateValue(1999,3,1),DateValue(1999,6,1), DateValue(1999,12,1),DateValue(2000,3,1),DateValue(2000,6,1),DateValue(2000,9,1)]))*.100
    You do get a nice answer of something like .035.  But this is all done manually and I need it to function automatically when the report is refreshed.
    So you have a range for the currency and a range for the date fields. I need to simulate this in crystal. Crystal has an XIRR function, and with the arrays, I should be able to fill in the range, but am having difficulty getting it to work.
    After building the arrays, I made another formula to combine the arrays in the XIRR formula.
    I am down to this error now after getting this formula this far  --
    "Numerical method did not converge; try another value for guess."
    Here's where I am with the formula, although they don't want to use the guess part of the XIRR function - they just want to use the XIRR(number/currency, date).  Maybe you could pass this on too?:
    /{@Reset} for the group header (NOT using a repeated group header):
    whileprintingrecords;
    numbervar array x := 0;
    datevar array y := date(0,0,0);
    numbervar i := 0;
    numbervar j := 0;
    //{@accum} for the detail section:
    whileprintingrecords;
    numbervar array x;
    datevar array y;
    numbervar i := i + 1;
    numbervar j := count({table.groupfield},{table.groupfield});
    if i <= j then (
    redim preserve x[j];
    redim preserve y[j];
    x<i> := tonumber({table.currency});
    y<i> := datevalue({table.datetime})
    //{@xirr calc} to be placed in the group footer:
    whileprintingrecords;
    numbervar array x;
    datevar array y;
    xirr(x,y)
    The array works correctly.  So why do I get that error and why doesn't the XIRR formula work like they say it should?  Has anyone used this successfully in Crystal--maybe you could shed some light?
    Thanks!

    Hi,
    I am receiving that same error when the last item in the array is 0, otherwise all works perfectly.
    When I run the same group of numbers and dates in Excel it returns without issue.
    -265500.00,-690000.00,-570000.00,16814.25,-855000.00,-619500.00,55293.46,30411.40,15183.76,  0.00
    01-25-2007,03-06-2007,05-02-2007,06-29-2007,08-01-2007,08-24-2007,09-17-2007,03-14-2008,05-28-2008,03-31-2010
    =XIRR(A2:J2,A1:J1,-0.1)
    Is there a known bug in Crystal's XIRR function when the last value is 0? 
    Or a hot-fix that will repair this?
    Thanks in advance,
    Gary
    PS. I am using Crystal XI Product Version: 11.0.0.2495

  • Why doesn,t  my mail iccon work?

    Why doesn't my mail icon work?

    If you moved Mail out of the Applications folder, then applied the security update, Mail has been disabled.
    It must stay protected in the Applications folder, or you risk the possibility that malware might change it and use it to send spam.
    Mac OS X v10.6: "You can't use this version of Mail…" alert after installing Security Update 2012-004

  • Why doesn't the "back" button work all the time in Safari?

    Why doesn't the "back" button work all the time in Safari?

    thanks for the reply. You prompted me to check and I realised it wasn't installed on my test laptop and opening in Microsoft Reader. I've installed it now and it works.
    My next challenge is to prevent the mailto: command opening Microsoft Mail instead of Outlook, but I guess every user will have a different default.
    Thank you

  • Why doesn't my VGA adapter work to connect my iPad2 to my projector. I haven't had any problems in the past?

    Why doesn't my VGA adapter work to connect my iPad2 to my projector. I haven't had any problems in the past?

    Hey MarieF-D,
    Thanks for the question. The following article provides basic troubleshooting steps that may help to resolve your issue:
    iOS: About Apple Digital AV Adapters
    http://support.apple.com/kb/HT4108
    Troubleshooting
    If you encounter an issue using the Apple Digital AV Adapter or VGA Adapter:
    Disconnect and reconnect the adapter from the iOS device and display.
    Connect directly to the TV, projector, or external display using a known-good VGA or HDMI cable.
    Remove any VGA or HDMI extension cables or converters.
    Note that accessories that convert a VGA or HDMI signal to other video formats (DVI, Composite, Component) are not supported.
    Ensure that you are using the latest version of iOS. Some Apple Digital AV Adapters require iOS 5.1 or later.
    Note: When using an Apple Digital AV Adapter manufactured before early 2012 with iPad (3rd generation), you may see the "This accessory is not supported" alert. Dismissing the alert will allow you to use the adapter.
    For optimal performance, you may need to adjust the video resolution or settings for your display. If your display offers an "auto detect" or "factory default" setting, you may be able to use these options to optimize video resolution and display.
    Thanks,
    Matt M.

  • Lost my iPhone and why doesn't find my iPhone work

    Lost my iPhone and why doesn't find my iPhone work

    A friendly reminder: In order to use Find My IPhone Successfully, you need to 1. Turn on Location Services, 2. Lock Location Services (Using Restrictions in Settings, General, Restrictions) so that if some one else finds your IPhone, they can NOT turn off Find My IPhone And/Or Location Services itself! 3. Add your Mobile Me and/Or ICloud Account to your IPhone. 4. Lock Accounts (Again in Restrictions) from being changed or Deleted so that your Mobile Me And/OR ICloud Account can NOT be Deleted! 5. Look Up the Location of your IPhone Before Suspending Service to the IPhone, NOT after Suspending Service (simple common since applies here as well).

  • Why doesn't my duplicate frame work in photoshop 2014?

    why doesn't my duplicate frame work in photoshop 2014?
    I draw a figure in frame 0 then duplicate frame. After the frame is duplicated I move the figure over to make sure there are different frames but as soon as I check the first frame Ive noticed that both frames have moved together. So nothing has changed. Why?

    I always create the individual frames in layer groups first. So build what you need, break them up or duplicate them, position them where you want them and then create your frames by turning off all the layer groups or layers you don't need.
    Here is an example of one of my layer pallets:
    Each scene is a frame and I turn them on and off as I need them.

  • Why doesn't my email address work for apps

    Why doesn't my email address work on my envy printer?

    You don't give us anything like enough data to go on. What is your operating system? Do you have a functioning iCloud account - i.e. are you signed in in System Preferences>iCloud?
    Were you originally a MobileMe subscriber? If so, did you migrate to iCloud?
    Was your email still working recently? Do you get any error messages? What happens when you try to use it?
    Have you been using an @icloud.com address or an @me.com address?
    (Please do not post your email address when answering.)

  • Why doesn't my iWeb page work with google chrome?

    Why doesn't my iWeb page work with google chrome?

    Bonjour
    Don't test your website with Google Chrome if you publish it into a local  folder.
    Publish to a server. You need an URL with http:// and ( not file://) to view an iWeb site in Chrome.
    You can also
    activate the web sharing on your computer (Preferences system > Sharing > Check web sharing)
    publish to Sites folder (MacIntosh HD > Users > Home folder >Sites)
    and use the URL (with http) given by the web sharing tab in preferences system http://computer_name.home/~user_name/site_name/

  • Why doesn't the CC app work properly?

    I've been using Creative Cloud for some time now and am really loving it, however I must say it is a source of annoyance that the Creative Cloud app just doesn't work properly.
    Firstly, I used it initially to download all my apps, then after an update those apps no longer appeared in the "Apps" list. Now only those that have been installed since that update appear in this list. Why doesn't the "Apps" list display all of the Adobe CC apps that I have installed on my computer?
    Why does it keep reinstalling fonts? I'm always getting "Lush Script Regular" and other fonts being added.
    It regularly comes up telling me that Dreamweaver and Premiere Pro need to be updated, but always I get an error, then the update request disappears.
    I'm regularly getting 4 files that it can't sync - even though they are the same files as others in the folder. If nothing else, why can't I say "Great, got the message". Also, why is the error message just "due to server error" with no advice on how to resolve it? Why is there a server error on only these 4 files?
    It seems to me there are still some teething issues with the CC app, but what I don't understand is why they aren't being resolved much faster, given that this is the portal to the service.
    Of course, given Adobe I doubt I'll get satisfactory answers – a little jaded with their responses. Anyway, thought I'd at least post the questions.  

    Questapo I am sorry you have been facing difficulties with your Creative Cloud experience.  I don't believe it will be possible to address all of your concerns in one discussion.  I would not be surprised if at least three of the issues are related to the same root cause.
    First in order for the applications to be visible are you regularly needing to delete the OPM.db file?  You can find this listed as solution 2 in CC desktop lists applications as "Up to Date" when not installed - http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html.

  • Why doesn't my default email work?

    Hey Ya'll,
    Quick question if anyone can help. I have a new MacBookPro, and LOVE it. My email was working great, but as soon as my free trial of .mac expired, I can't get my default email from my non-.mac account. Why doesn't it work and what do I do to get it working?
    Alisa

    Launch Mail and select preferences and reset your mail app to Mail. If you were using web-based mail with the trial .Mac account, I don't know if any of that's recoverable. Check the .Mac forum.

  • Why doesn't my create pack work?

    Why doesn't my create pack do anything that I need it to do.  Can't save to pdf, can't retrieve, doesn't recognize format.  The free trial version worked; the subscription does not.

    If you moved Mail out of the Applications folder, then applied the security update, Mail has been disabled.
    It must stay protected in the Applications folder, or you risk the possibility that malware might change it and use it to send spam.
    Mac OS X v10.6: "You can't use this version of Mail…" alert after installing Security Update 2012-004

  • Why doesn't the alt tag work in firefox to open a description of an image on mouseover

    In IE, when I roll my mosue over an image, it gives a tooltip description of the image contained in the html alt tag. Why doesn't this work in Firefox?

    The "alt" tag is meant to show text when the image isn't loaded, the "title" tag is meant for a description of an image on cursor hover. IE has been doing that wrong for many years, where Firefox follows W3C standards. A properly coded webpage should have both "alt" and "title" tags.

Maybe you are looking for

  • Is this the flashback malware?

    Please look at these logs and tell me if these names and addresses look legit.  Ever since january 12th I have had lots of problems with my computer. running slow, freezing up, my user permmisions changed, and sleep schedule changed, things like that

  • Reverse the order of Legend in Column Chart

    Hello All, Hope all is well. I tried to find way of doing it .... I am currently getting my legends in order ... but I wanted to reverse it ...can it be done ? I can put simple text as legend but probolem is I have show/Hide series on and hence it wo

  • Can I connect MacMini 2009 to Thunderbolt Display with Adapter Cable

    Can I connect MacMini 2009 to Thunderbolt Display with Adapter Cable (Mini Display to Thunderbolt Adapter)

  • How to hide detailed exception report on production system from end user

    Dear all, We have developed a Web Dynpro Java application for our client. Now the client would like to make sure that on their production portal (NetWeaver Portal 7.0), if an end user comes across an application exception (or any other exception for

  • Quicklink for Pages in Standard Roles

    Hi All, I have developed custom top level navigation(with dropdonlist). As per my requirements, I have to use quick links for all pages. So that my custom toplevel navigation only supports for quick link. Now, I want to add  Custom Admin and User Adm