Blinking problem in buttons

Hi ppl,
I have problem with blinking. In my .vi I set blinking option in property node for buttons and the blinking works fine. But when I build .exe file the color of the blinking is not the same as in the .vi in run-time mode. In run-time mode the color is red and in the .exe run-time mode the color is yellow. I am new in LabVIEW programming so I really need help. I am using LabVIEW 8.2
Thx in advance . . .
Greetings from Croatia

I forgot to attach image. I am attaching it with this post.
As you are using 8.2 category may be different.
When you will change this setting you will find these in *.ini file of labview.
"blinkFG=00890011
blinkBG=0000179F"
Copy this and paste it in ini file of your exe.
Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
Attachments:
Setting.JPG ‏52 KB

Similar Messages

  • Problem placing buttons on top of a background image

    My knowledge of Java isn't the greatest and I am currently having problems placing buttons on top of a background image within a JApplet (this is also my first encounter with Applets).
    I'm using a Card Layout in order to display a series of different screens upon request.
    The first card is used as a Splash Screen which is displayed for 5 seconds before changing to the Main Menu card.
    When the Main Menu card is called the background image is not shown but the button is.
    While the Applet is running no errors are shown in the console.
    Full source code can be seen below;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.net.*;
    // First extend JApplet
    public class WOT extends JApplet {
         //--------------- Variables are declared here -----------------
         private CardLayout contentCardLayout = new CardLayout();  // declare CardLayout
         private Container contentContain;     // declare content Container
         private JPanel contentCard, splashScreen, mainMenu, menuImage; // declare content Panels
         private JLabel splash, menu, map; // declare image labels
         private ImageIcon mapBtn; // declare ImageIcons
         private JButton mapOption; // declare option Buttons
         private Timer timer; // declare Timer
         private ActionListener actionListener, mapOptionListener; // declare ActionListener
    //--------------- Initialise Applet -----------------
      public void init() {
         //--------------- Set-up Card Layout -----------------
         contentCard = new JPanel(contentCardLayout); // assign card panels to CardLayout
         //--------------- Splash Screen -----------------
         splashScreen = new JPanel();
         splash = new JLabel(new ImageIcon(getClass().getResource("img/bg.gif")));
         splashScreen.add(splash);
         splashScreen.setSize(600,800);
         splashScreen.setLocation(0,0);
    //--------------- "View Map" Option Button -----------------
         mapBtn = new ImageIcon(getClass().getResource("img/map.gif"));
         mapOption = new JButton(mapBtn);
         mapOption.setBorder(null);
         mapOption.setContentAreaFilled(false);
         mapOption.setSize(150,66);
         mapOption.setLocation(150,450);
         mapOption.setOpaque(false);
         mapOption.setVisible(true);
    //--------------- Main Menu Screen -----------------
         //menuImage = new JPanel(null);
         //menuImage.add(mainMenu);
         //menuImage.setLocation(0,0);
         mainMenu = new JPanel(null);
         menu = new JLabel(new ImageIcon(getClass().getResource("img/menu.gif")));
         menu.setLocation(0,0);
         mainMenu.add(menu);
         //mainMenu.setBackground(Color.WHITE);
         mainMenu.setLocation(0,0);
         mainMenu.setOpaque(false);
         //mainMenu.setSize(150,66);
         mainMenu.add(mapOption);
         //--------------- Map Image Screen -----------------
         map = new JLabel(new ImageIcon(getClass().getResource("img/map.gif")));
         //--------------- Add Cards to CardLayout Panel -----------------
        contentCard.add(splashScreen, "Splash Screen");
         contentCard.add(mainMenu, "Main Menu");
         contentCard.add(map, "Map Image");
    //--------------- Set-up container -----------------
          contentContain = getContentPane(); // set container as content pane
          contentContain.setBackground(Color.WHITE); // set container background colour
           contentContain.setLocation(0,0);
           contentContain.setSize(600,800);
          contentContain.setLayout(new FlowLayout()); // set container layout
           contentContain.add(contentCard);  // cards added
           //--------------- Timer Action Listener -----------------
           actionListener = new ActionListener()
                    public void actionPerformed(ActionEvent actionEvent)
                             //--------------- Show Main Menu Card -----------------
                             contentCardLayout.show(contentCard, "Main Menu");
         //--------------- Map Option Button Action Listener -----------------
           mapOptionListener = new ActionListener()
                    public void actionPerformed(ActionEvent actionEvent)
                             //--------------- Show Main Menu Card -----------------
                             contentCardLayout.show(contentCard, "Map Image");
         //--------------- Timer -----------------               
         timer = new Timer(5000, actionListener);
         timer.start();
         timer.setRepeats(false);
    }Any help would be much appreciated!
    Edited by: bex1984 on May 18, 2008 6:31 AM

    1) When posting here, please use fewer comments. The comments that you have don't help folks who know Java read and understand your program and in fact hinder this ability, which makes it less likely that someone will in fact read your code and help you -- something you definitely don't want to have happen! Instead, strive to make your variable and method names as logical and self-commenting as possible, and use comments judiciously and a bit more sparingly.
    2) Try to use more methods and even classes to "divide and conquer".
    3) To create a panel with a background image that can hold buttons and such, you should create an object that overrides JPanel and has a paintComponent override method within it that draws your image using the graphics object's drawImage(...) method
    For instance:
    an image jpanel:
    import java.awt.Dimension;
    import java.awt.Graphics;
    import java.awt.image.BufferedImage;
    import java.io.File;
    import java.io.IOException;
    import java.net.URISyntaxException;
    import java.net.URL;
    import javax.imageio.ImageIO;
    import javax.swing.JButton;
    import javax.swing.JPanel;
    public class BackgroundImage
        // **** this will have to be changed for your program:
        private static final String IMAGE_PATH = "../../m02/a/images/Forest.jpg";
        private BufferedImage myImage = null;
        private JPanel imagePanel = new JPanel()
            @Override
            protected void paintComponent(Graphics g)
            {   // *** here is where I draw my image
                super.paintComponent(g);  // **** don't forget this!
                if (myImage != null)
                    g.drawImage(myImage, 0, 0, this);
        public BackgroundImage()
            imagePanel.setPreferredSize(new Dimension(600, 450));
            imagePanel.add(new JButton("Foobars Rule!"));
            try
                myImage = createImage(IMAGE_PATH);
            catch (IOException e)
                e.printStackTrace();
            catch (URISyntaxException e)
                e.printStackTrace();
        private BufferedImage createImage(String path) throws IOException,
                URISyntaxException
            URL imageURL = getClass().getResource(path);
            if (imageURL != null)
                return ImageIO.read(new File(imageURL.toURI()));
            else
                return null;
        public JPanel getImagePanel()
            return imagePanel;
    }and an applet that uses it:
    import java.lang.reflect.InvocationTargetException;
    import javax.swing.JApplet;
    import javax.swing.SwingUtilities;
    public class BackgrndImageApplet extends JApplet
        @Override
        public void init()
            try
                SwingUtilities.invokeAndWait(new Runnable()
                    @Override
                    public void run()
                        getContentPane().add(new BackgroundImage().getImagePanel());
            catch (InterruptedException e)
                e.printStackTrace();
            catch (InvocationTargetException e)
                e.printStackTrace();
    }

  • Problem in button

    hi,
    at present i am working in oracle forms
    in that while i am running the form, in the MDI window max,min,close button will appear,
    my problem is i don't want that button ,that buttons should not appear while running
    what to do for that

    hi
    pls..do not post the same quetion multiple times
    follow the link
    problem in button
    thanks
    Kris

  • Strange solution to problem of buttons dissappearing in Encore 2.0

    I've pulled my hair over a problem with buttons dissappearing at preview. They are nice looking in the menu window, I can route them and so on, but when previewing they simply dissappear, or sometimes become partly visible, or sometimes become displaced.
    Now, I found that one solution to this is to place a new button in the menu, possibly onto the same place as another button already there. Then a immediately remove the newly placed button. After that problem seems solved, at least until I move or handle my buttons again. Might someone explain how this is possible? What in Encores internal workings can explain this? Deleting the cache folder didn't solve it. mind you.
    Regards,
    Nikolaj

    I have not analyzed the buttons in PS. How do I do that? I'll have to export the buttons as PS-files first, right?
    You are correct. Just use Edit in Photoshop, and the program will launch, and then Open your Menu.
    Once in PS, you will want to make sure that the Layers Palette is Open and visible. You will see several Layer Sets. Most will be your Buttons. When you click on the little triangle, at the left-side of the Button Layer Set, it will "twirl-down" all of the included Layers. Note that the Button Layer Sets, and each enclosed Layer will have some odd names. The first several characters in those names are VERY important. These MUST be correct, for the PSD file to function as a Menu.
    Also, don't worry about any mis-steps. That comes from not knowing the program yet.
    Take note that just because I have not encountered a problem with EncoreDVD 2.0, does not mean that it does not exist. I have done many, many Projects, and burned many successful discs, but then I do things the same exact way for each Project. Pretty boring, I will admit, but if it works, then I have few reasons to change anything.
    Now, I do get to exercise my artistic side with the Menus and the navigation, but the rest of it is rather "by the numbers."
    One note on Edit in Photoshop: this operation will create a TMP file of your Menu. It is THAT file, that is Opened. Look at the name. It'll be rather cryptic. When you make a change, in PS, and hit Save (Ctrl+S), those changes are transferred back to Encore. Do not do a Save_As, unless you have a good reason to do so, or Encore will still have the old Menu, and it will not update.
    Also, there are instances, where a simple Save does NOT update Encore. Through trial and error, I have found that if one does three (3) Saves, this gets past whatever that glitch is. Normally, I just use Ctrl+S, at least 3x, during the editing process, whether I have any indication that the Save is not working, as it should. It has now become habit for ALL Menus in my workflow, though the problem seems to only happen about 1:8 Menus.
    Good luck,
    Hunt
    PS - If you have any questions on your Menu and your Button Layer Sets, do not hesitate to do a screen-cap, and attach that. Hint: use the little "camera" icon in the lower-middle of the editing screens Toolbar. We'll all take a good look at it. I'd Save that as a JPEG @ ~ a compression of 9 on the PS scale, so we can read the "fine print."

  • I have problems with buttons and Forms in my trial proof of Indesign CC, how can I fix it?

    I have problems with buttons and Forms in my trial proof of Indesign CC, how can I fix it?

    Moved to InDesign forum.
    You can start by telling us what the problem is.

  • E71 navigation button blinking problem.

    navigation button light blinks every 8 seconds. its consuming my battery. can i stop it?
    Solved!
    Go to Solution.

    Yes ... there are a couple of features that could be making it blink, as follows:
    1. It could be notifying you of certain events (such as missed call, texts etc) ... Tools --> Settings --> General --> Personalisation --> Notification light
    or
    2. You might have the "breathing light" enabled (as it is by default). This is set for each profile - for example, you'll find it her for the General profile ... Tools --> Profile --> General --> Personalise --> Breathing light
    By turning off the "Breathing light", I think this will also give you a non-lit digital clock as your screen saver afte your time-out period.
    Hope this helps.
    My previous phones:
    6310i --> SE K750i --> E50 --> E61i --> E71
    ... much prefer the Nokia phones, especially the E71

  • N770 TF 2GD5/OC Gaming black screen blinking problem

    Hello there,
    i upgraded my PC 4 days ago with a MSI N770 TF 2GD5/OC Gaming graphic card. I installed the newest graphic drivers. Clean install and without nVidia Experience. My problem is black screen blinking when i am playing or watching. Screen turns to black for 1-5 seconds like monitor lost its signal. It happening when i click to fullscreen button. No matter if its in youtube or windows. It happening every time. It does the same when i am playing. Big lag and then black screen blinking for 10 sec. Sometimes more sometimes less than 10 sec. I used Google and i am not the only one, who have this problem. Some people says, that GPU BIOS flash helped but in MSI website is only one BIOS and i dont know if its newer than mine or not. S/N of my card is 602-V282-380B1404100829 (if it helps) and my current bios is here h t t p ://leteckaposta.cz/186979270 (just click on the GK104.rom in the middle).  I think i tried almost everything. Registry clean, anti malware and spyware, drivers re-install, turn W Aero Off, UAC off and other worthless tips how to fix this issue. I monitored my PC with many temperature software and i am 100% sure, that overheating isnt the problem. So could you please check if the MSI Bios is newer than mine or tell me what to do to fix this irritating problem?
    Thank you very much
    PS: I am not a native speaker and english is my 3rd language tbh, so please excuse any grammar mistakes

    you are using latest vbios version, test the card in another PC

  • Pavilion dv7-4051nv will not post, no display abd blinking caps lock button

    I am working on this laptop that was working fine last week.  Now it will not display, no post beep and the caps lock button blinks constantly every 3 seconds.  What can I check?
    Thanks

    Hi
    Try a hard reset,
    Disconnect all external devices first.
    Remove power cord and battery
    Press power button for 30 seconds
    Reinstall only power cord for first startup.
    Power on
    If no response
    Try to Enter BIOS setup by tapping/holding the F10 key immediately after powering on the laptop.
    Use Diagnostics to test your hdd - extensive.
    If you cannot get the system to power on,
    Manual: http://h10032.www1.hp.com/ctg/Manual/c02642701.pdf
    Try reseating the hard drive by disconnecting & reconnecting SATA cable gently & firmly
    Try reseating memory module
    Power on & check
    This document will help you troubleshooting the blink codes you're getting: http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c01732674
    If not resolved yet, contact HP, may be a major hardware issue or a board problem: http://www8.hp.com/us/en/contact-hp/ww-contact-us.html
    Thanks,
    ++Please click KUDOS / White thumb to say thanks
    ++Please click ACCEPT AS SOLUTION to help others, find this solution faster
    **I'm a Volunteer, I do not work for HP**

  • Problem with buttons in my screens

    hi
    i have two buttons in my screen say button1 and button2
    by default when i display this screen as per my requirement only button1 should be visible and button2 should be invisible
    button2 should only be visible when i click on my first button i.e. button1.
    where and how to code this
    vamsi

    Hello Sir,
    This is Ravi and Saras this side.
    Remember?
    TCS.....SAP Training.....Lemon Tree...
    Ok.
    As far as ur question is concerned.....
    1. At selection-screen output
         loop at screen.....then make the 2nd button invisible by modifying the screen.
    2. At selection-screen
         Between an if endif condition check whether the 1st button has been clicked.
         If yes then again loop at screen and make the 2nd button visible.
    That will solve ur problem.
    Regards,
    Ravi and Saras

  • Problem with Buttons/Form Fields in Acrobat PDF when created in InDesign CS4

    So I have been working for quite some time on an interactive form for an internal client at my job. It has two major components, one is the side bar navigation, which I created using buttons in InDesign which link to bookmarks in the document. The second aspect is that I also created "check boxes" accoring to this video: http://www.adobe.com/designcenter/cs4/articles/lrvid4434_ds.html
    I have two major issues:
    1. Whenever I try to convert my boxes to form fields in Acrobat it will not recognize them unless I save out 4 pages at a time (rather than the whole document).
    2. I then have to combine the document and get multiple sets of bookmarks, and some bookamrks are corrupted (not working properly). Even when I try to convert the whole document some of the buttons are corrupted.
    UGH tired of this project, I am really bastardizing the whole thing to get it done, but want to figure out the problem as this is an ongoing document that we will be using over and over again in future years.
    I am attaching the pdf file--this is a pieced together one (saved out 4 pages at a time) (which I did do some fixes to to get buttons to go to proper locations) and the original indesign file (partial file due to size).
    PLEASE OH PLEASE HELP ME!

    Acrobat's Form Wizard is good but not perfect when creating form data from a PDF. I have never encountered Acrobat not able to finish the process of creating all form fields, but have encountered very slugish performance afterwards when there was a lot of forms, buttons, and other elements within the pages. And I would say, from your attached PDF, it is pretty heavy with content. I am going to suggest an idea, but I have not tested this to see if it would work.
    In InDesign, create a layer for your navigation tabs, and a layer for your text with the check boxes. Create two PDFs from ID, one PDF with just your-nav tabs, the second with just your text with check boxes. In Acrobat, perform the Form Wizard on the second PDF and see if this will finish, the idea here is to reduce the cllutter for the Form Wizard to finish. If it does, you can merge the first PDF as a layer with the second to have a completed document. Again, I have not tested this theory.

  • Problem with buttons in repeated table header

    I have a bunch of tables that expand/contract at the click of a button in their respective header rows.
    The problem I'm having is when a table breaks to another page the button doesn't work properly in the repeated header - the scripted value isn't making it to the repeated button (I've also tried checkboxes).
    Is there any way to make this happen? Should I try using variables to store a flag or something like that?
    https://acrobat.com/#d=m7zuQYiUoFrtz5isD7rErQ

    This issue is that the second header is an instance of the first, so all unmanaged relative code breaks. I would hazzard a guess to say that your add code looks like "$.parent.row1.instanceManager.addInstance(1)." This will break, as the "second" header row no longer sees the 'table' element as it's parent.
    Changing to code to a static reference will fix it... i.e. xfa.form.form1.table1.row1.instanceManager.addInstance(1).
    This should solve it for you... if not, let me know.
    - Scott

  • Problem with buttons in background

    Viewing the problem problem:
    http://www.ucsdkya.com/ >
    (you can skip the intro via link in top right) > cilck on the
    moon in upper right .
    When the new movie has loaded (its on Level 1), the buttons
    below it (on Level 0) still make their noises. How do I stop the
    response of these buttons?

    Mr. Rish wrote:
    > Viewing the problem problem:
    http://www.ucsdkya.com/ >
    (you can skip the intro
    > via link in top right) > cilck on the moon in upper
    right .
    >
    > When the new movie has loaded (its on Level 1), the
    buttons below it (on Level
    > 0) still make their noises. How do I stop the response
    of these buttons?
    Buttons remain their full functionality across multiple
    levels, always.
    There is few things you can do to avoid it:
    1)
    While loading something in level 1, send level0 timeline to
    an empty frame
    w/o any content using regular gotoAndStop() action.
    2)
    Place big button on bottom layer of the movie in level1.
    Buttons can't work across
    buttons so the big one will eliminated any button below, they
    still there tho
    you can't click them. You can then deactivate the hand
    pointer so the mouse cursor
    won't react to that big button using action like
    btn.useHandCursor = false;
    3)
    You could deactivate the buttons directly using btn.enabled =
    false; while to content
    is loaded and activated them when you need it back using
    btn.enabled = true;
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Problem with buttons in page fragment

    Hi,
    I'm developing a jsp-page, which has two page-fragments and one inline frame..
    I've a problem with one page-fragment. This one contains three buttons, for changing the language. When someone pushes the button, it seems that there is no action triggered...
    Here is my code:
    <?xml version="1.0" encoding="UTF-8"?>
    <div style="-rave-layout: grid" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:j="http://www.sun.com/creator/jsfcl">
        <f:loadBundle basename="oltbwebapplication.bundle" var="bundle"/>
        <h:outputText binding="#{OltbStatus.mnuBanksys}" id="mnuBanksys" style="left: 96px; top: 0px; position: absolute" value="#{bundle.mnuLac}"/>
        <h:commandButton action="#{OltbStatus.choseNl}" actionListener="#{OltbStatus.btnNl_processAction}" binding="#{OltbStatus.btnNl}" id="btnNl"
            style="left: 432px; top: 0px; position: absolute" value="NL"/>
        <h:commandButton action="#{OltbStatus.choseFr}" binding="#{OltbStatus.btnFr}" id="btnFr" style="left: 480px; top: 0px; position: absolute" value="FR"/>
        <h:commandButton action="#{OltbStatus.choseEn}" binding="#{OltbStatus.btnEn}" id="btnEn" style="left: 528px; top: 0px; position: absolute" value="EN"/>
    </div>Thx in advance
    Ann Carpentier

    Hi Ann,
    I was working with dropdowns in pagefragments consequent to your query. I noticed that there is a problem with the dropdowns too. This especially happens if you have the same components in both the page fragments. For example buttons in both the page fragments or dropdowns in both page fragments etc.
    I have filed a change request on your behalf for the same.
    We thank you for bringing this to our notice.
    Thanks and
    Cheers :-)

  • Problem with buttons in Content Viewer iPad app

    Hi,
    I'm having a problem with my navigation once my app is viewed on the iPad. All pages in all of my articles are using the same master page for a menu button, and they all work when I view the app through the Content Viewer on my desktop. Once I log in to the Content Viewer on my iPad, however, the menu button on the first page of every article doesn't work. I did a test of swapping the first page with the second page in one of the articles, and the original page's menu button then worked while the second page's (now located at the beginning) wasn't being read. Other buttons on the first page work (which are also from the master page), it's just the menu button that makes my table of contents box appear. I have eleven articles in my folio and it's happening on the first page of every single one. Not too sure what's going on here, any help is appreciated.
    Thanks.

    I also figured out after playing around with it a bit more that this only happens when "Horizontal swipe only" is checked in the properties.

  • Zen Style M300 problem lock button

    Hi,
    I have my new Zen Style M300 with a problem. The lock button is not working. If I move the button to the right position the device is not blocked, so if I touch any other button (an arrow...) it is possible to modify the music, radio or wathever.
    Another question is about the "idle shutdown" feature. I think is not working as a sleep feature, I mean, I would like to listen to?the radio at nigth and enable the sleep mode to shutdown the device in 30 minutes (for example). That's something not possible to do with de idle shutdown.
    I know a lot of creative mp3 players have this feature, but the M300 device.
    Thanks and regards

    &Hi,
    Sounds like something's wrong with the power switch, you might want to check with the place of purchase or contact Customer Support. In order for idle shutdown to happen, there must be no activity on the player.

Maybe you are looking for