System style boolean indicator

Experts,
Does anyone have a nice tidy way of displaying a boolean indicator in a system style? A checkbox does not seem like a good idea to me as it implies the user is able to click on it and change it. I could disable and grey it but again this implies something different.
What I am after is a simple and neat method of displaying a boolean status to the user. I am using a small-ish boolean off the modern pallette at the moment, but it does not really fit in with the rest of the system scheme.
Thanks
Neil
nrp
CLA
Solved!
Go to Solution.

Another option takes a bit of digging around in the control editor:
1. Create a new custom control, starting with a system listbox. Once dropped, change to Customize Mode (click the wrench/spanner in the toolbar), right click on the border of the list box and choose to copy to clipboard.
2. Create another new custom control, this time starting with a modern LED. Switch to the customize mode and right click on the border of the control and choose to paste from clipboard at the same size. 
3. Repeat for false as well as true and resize parts to suit.
4. I ended up with something like this:
Attachments:
System LED.ctl ‏4 KB

Similar Messages

  • Digital Input VI boolean indicator

    I am using the Example VI Digital Input as part of Fieldpoint.
    It works fine on its own.
    That is, I can place a voltage across the terminals of the DI module and the respective Boolean LED lights up on the front panel.
    I'd like to use the VI as a subVI for another program.
    I wired the connectors of Digital Input.VI connector pane such that the Fieldpoint IO Input and Boolean indicator array have connectors.
    I placed the Digital Input.VI in the block diagram of another VI and created an indicator on that VI to see the status of the array within the Digital Input.VI.
    Running the higher level VI and the boolean array on it is disabled (greyed out) but the boolean array on the Digital Input.VI is working properly.
    Any ideas?
    I'm just looking for a way to obtain a status bit type response to be used elsewhere.
    If one of the DI module channels is set high then the bit would be set (LED on) in my higher level VI.

    Alright, found that if I just take out the guts (Fieldpoint IO, FP Read, Type, Boolean indicator) and use that in my VI all works well.
    Now all I need to do is determine what bits are set and act on set bits.

  • Set default to Classic style control/indicator

    Is it possible to set default to "classic style" control/indicator so that when I create a control/indicator from the block diagram, I will have a classic style control/indicator on the front panel?
    Somehow, I still like the classic style control/indicator more. Many times, after I create a control/indicator from the block diagram, I have to replace the new style control/indicator with a classic style control/indicator from the front panel. It can be done, but it would be nice if I can create what I want from the block diagram directly.
    Thanks.
    Ian Ren

    Well, to manually place a classic control, you would just go to the classic palette, no settings needed.
    Have you read the detailed help for this option? Maybe it's not exactly what you think it is.
    "Control Style for Create Control/Indicator—Changes the style of the control or indicator LabVIEW creates when you right-click a terminal and select Create»Control or Create»Indicator from the shortcut menu."
    LabVIEW Champion . Do more with less code and in less time .

  • I want to add boolean indicator

    i wan to add boolean indiactor please help me frnds
    Solved!
    Go to Solution.

    Create a boolean indicator.  Put it in a single frame flat sequence structure with the List Names property node and wire a True constant to the indicator.  Now when that frame of the sequence structure executes, the boolean will be set true the same time the data is going into the property node.
    Of course you need to have a way to reset the boolean indicator to false at the beginning of the program.  So wire a False constant into a local variable of the indicator and be sure that piece of code executes at the beginning your VI's execution.

  • Why do boolean indicator outputs toggle when true is written repeatedly?

    Hi,
    I'm using an LED boolean indicator in a sub vi connected to an output terminal.
    If TRUE is repeatedly written to it then it toggles between ON and OFF as though it were a push button switch and each TRUE received was someone pushing the switch.
    If I disconnect it from the output terminal then it behaves as expected, staying ON if TRUE is repeatedly received.
    Why does it do this, how can I fix it?
    Also, how can I turn all breakpoints off collectively without removing them?
    Thanks,
    Dave G
    (LabView V7.0)

    Hi Dave,
    go to File>>VI Porperties>>Execution and check if "Clear indiators if called" is checked.
    If this is checked it clears the indicator when the VI is called. If you set the value to TRUE this value will be given back to the calling VI.
    This behaviour was introduced to allow simpler programming. Think of a programm with various cases. There is only one case where you want to set the indicator to TRUE. If you haven't the above flag you need to set it to FALSE in all other cases. This forces to move the terminal outside of the case and to wire a lot of FALSE constants to the tunnel (nowadays we have the "use default if unwired" mechanism which makes the flag unnesseccary).
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • Remove shading of boolean indicator

    I have created a boolean indicator which has some default shading to it.  Is there a way to get rid of the shading (plain color, unshaded) using the property nodes.  The help file doesn't really appear to address shading.
    Message Edited by mclaugb on 12-08-2009 02:07 PM
    Attachments:
    booleanindicator.vi ‏5 KB

    The trick is to copy the images from the Modern control to the images of a classic control.You do this using Customize Control...
    See attached file.
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness
    Attachments:
    booleanindicator 1.vi ‏5 KB

  • Odd even number and Boolean indicator

    Hi all,
    For example, I have these numbers from 0 to 112233. It will start counting from 0 and shown it on an output indicator. When it is even number (0,2 or 4,...) the Boolean indicator will become false, but when it is odd number (1,3 or,...) the Boolean indicator will become true.
    I'd like to ask if it is possible to detect the values changing in output indicator when it start counting numbers from 0, and then the Boolean indicator will become false or true depending on even or odd number shown on an output indicator? How can I do that?
    Thank you!

    johnsold wrote:
    It may not be that much faster. In the little test VI Q&R takes 581 ms for 10^8 iterations while AND takes 503 ms. That is 78 ps difference. Hardly enough time for a coffee break. Unless you drink really fast.
    Yes, both are "fast enough" for all practical purpose. Even thought they are nealy identical in speed, the Q&R shows more variability in execution time (10% variability), while the AND is singificantly more stable (>1% variability).
    (Make sure you disable debugging for a 10x speedup overall)
    It also seems that the AND code folds better. If we change the control to a diagram constant, the AND version speeds up by a factor of two, even though no folding is shown anywhere inside the sequence structure. I have no idea what that means.
    LabVIEW Champion . Do more with less code and in less time .

  • My Macbook Air keeps hanging on Desktop and Screen Saver of System Preference Setting indicating "loading Photos"

    My MacBook Air keeps hanging on Desktop and Screen Saver of System Preference Setting indicating "Loading Photos".
    Why is that ???

    Welcome to the Apple Support Communities
    Open Finder, select Go > Go to Folder, type ~/Library/Preferences and delete com.apple.desktop.plist

  • System Time Stamp Indicator?

    I'm trying to use the "System" theme for my front panel, and my controls and simple numeric indicators converted over (from "Modern"). However, I noticed that there is no simple "Time Stamp Indicator" apparent on the System > Numeric (or elsewhere).
    Is there one that I just can't find? Or will I have to hard-code it in so that it displays using the system theme?
    Thanks
    Solved!
    Go to Solution.

    The most trivial one would be to just use a double floating point control and set its format to absolute timestamp. Then convert the timestamp type to DBL with the according conversion function.
    If you really want to go the route of a true system type control you will have to go into the control editor, which is a somewhat irky and tedious editor that shows its age from early LabVIEW days. There you would start with a classic timestamp control and replace the cosmetics with ones from a system string or similar control. It takes quite a bit of time to get to know the control editor and work around its murky behaviour sometimes.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions
    Attachments:
    System Timestamp.ctl ‏5 KB

  • Boolean indicator come on and stay on if only one data point outside of limits

    Okay, here goes my second rookie question.  My first one was solved in a matter of hours after posting here, so I am going to give it another shot.  This has probably been posted elsewhere, but I just am not familiar enough with the terminology and know how to find it in this forum... sorry for that.
    Currently, I have a setup where I am using an In Range and Coerce function in the Comparison Pallette to check the output of my source and compare it with a user inputted upper and lower limit.  I have hooked up an LED indicator to the Index Array and then to the In Range output.  Right now, if my data goes outside of the limit, the LED Indicator will light up, but it will immediately turn off if the data goes back within the limits.  I want my LED indicator to come on and STAY on if even 1 data point goes outside of the limit.  What can I connect between my LED Indicator and my In Range Comparison to make this happen?  
    Sorry for being so new to this!!

    Hi Spsuengr,
    I have attached a boolean toggle vi for you. You can insert this vi in between your led indicator and in range output. It will latch the output by default. You can use the latch(t) input to disable the latch feature (to perhaps reset).
    Above is the boolean latch vi
    Above is how you need to insert it into your code. If you leave the Latch(t) input unconnected it defaults to a latch output. Only wire a control to this if you want to either change the output so it follows the input or if you need to reset the output.
    Rgs,
    Lucither
    Message Edited by Lucither on 04-15-2010 05:22 AM
    "Everything should be made as simple as possible but no simpler"
    Attachments:
    Boolean Latch.vi ‏18 KB

  • Animated Boolean Indicator

    I would like to create boolean indictor to show the status of a motor fan.
    The indicator will show a static fan if the input is false.
    It will show an animation of the fan turning i.e. moving when the input is True.
    Would appreciate if anyone could offer some advice me on how to carry out the implementation.
    Would it be easier to implement the control using the picture control toolkit or the picture ring control?
    I was unable to locate any help on picture control toolkit from the Labview Help files. The only documentation which I have was an obsolete Labview Picture Control Toolkit Reference manual dated back April 1994. It was downloaded from the NI website.
    Please share with me any websites or books which you may know th
    at provides more help or info on how to use the current version of the Picture Control Toolkit.
    My current Labview version is Labview 6.0.2
    Please feel free to email me at [email protected] if you have any advice or vi to share. Thanks.

    If you want to be really fancy, then upgrade to LabVIEW 6.1 which supports gifs(or rather the generic gif standard). This includes animated images. What you would need to do is to drop a classic square button in LabVIEW 6.1. The classic buttons have none of the 3d stuff. You then right click on the buttons >> advanced >> customize. This launches the control editor. Edit the control and import the animated gif from file for one state of the boolean button and you can import a static image for the other state. Now you have a boolean that will toggel between a staic image and an animated one. It will be tough to figure it out at first but learning how to customize controls is very rewarding.
    You can learn more about the editor by looking at the
    shipping doc "LabVIEW Custom Controls. Indicators, and Type definitions" This is found by opening LabVIEW >> help >> search the LabVIEW bookshelf. This launches a pdf of the shipping docs. A link to "LabVIEW Custom Controls. Indicators, and Type definitions" will be found there.
    I have attached an example I wrote for LabVIEW 6.1
    Jeremy
    Attachments:
    lew_logo.ctl ‏18 KB

  • Change boolean indicator type across entire VI

    I have a VI with hundreds of round boolean indicators.  I would like to change them to rectangular.  The only way I know to do this right now is to right click, then choose Replace and navigate to the rectangular type.  If I select several indicators at a time, this right-click context menu is no longer avaialble.
    Is there a way to do this across the entire VI, either by editing a params file somewhere or by being able to select many at the same time/

    bmishoe wrote:
    thank you, I'll see what I can do...
    Here's a Quick Drop plugin that'll do what you describe.  Change the style constant in the For loop to change what it replaces the selected objects with.
    This VI is in LabVIEW 2012 and was not made pretty.
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
    Attachments:
    QD_ReplaceIndicator.vi ‏34 KB

  • Airline Reservation System with boolean Array

    Good morning,
    I have written the following code for an airline reservation system. The applet will assign the user a seat in either economy or first class. When first class is full, it will offer economy seats. This works - but when it is about to assign the last seat in 'economy', the program stops working. The error messages suggest a problem in the method call to selectSeat() in the 'economy' part of the code. I can't see the problem, though, as this code is identical to the code I used for the 'first class' part.
    //Airline booking
    //Coded by Eoghain on 16/9/07
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class AirlineApplet extends JApplet implements ActionListener {
         JButton printPass;
         JTextArea outputArea;
         String output;
         int seatType, seatNum, choice;
         boolean[] seatArray = {false, false, false, false, false, false, false, false, false, false};
         public void init() {
              Container container = getContentPane();
              container.setLayout(new FlowLayout());
              chooseType();
              printPass = new JButton ("Click to print boarding pass");
              printPass.addActionListener(this);
              outputArea = new JTextArea(40, 40);
              container.add(printPass);
              container.add(outputArea);
         public void chooseType() {
              seatType = Integer.parseInt(JOptionPane.showInputDialog("Please type 1 first First Class or 2 for Economy"));
              selectSeat(seatType);
         public void actionPerformed(ActionEvent event) {
              outputArea.append(output);
              chooseType();
         public void selectSeat(int x) {
              //argument selects between first and economy
              if (x == 1)
                   if (seatArray[0] && seatArray[1] && seatArray[2] && seatArray[3] && seatArray[4])
                        choice = Integer.parseInt(JOptionPane.showInputDialog("There are no seats available in First Class. Would you like Economy? 1 for Yes, 2 for No."));
                        if (choice == 1)
                             selectSeat(2);
                        else
                             JOptionPane.showMessageDialog(null, "Next flight leaves in 3 hours.");
                   else
                   //do first stuff and make sure the seat is unoccupied
                   seatNum = (int)(Math.random()*5);
                        if (!seatArray[seatNum])
                             seatArray[seatNum] = true;
                        else
                             selectSeat(x);
                   output = "Your have seat " + seatNum + " in First Class. \n";
              else
                   if (seatArray[5] && seatArray[6] && seatArray[7] && seatArray[8] && seatArray[9])
                        JOptionPane.showMessageDialog(null, "There are no seats available in Economy. Sorry.");
                   else
                   //do economy stuff
                   seatNum = (5 + (int)(Math.random()*4));
                        if (!seatArray[seatNum])
                             seatArray[seatNum] = true;
                        else
                             selectSeat(x);
                   output = "Your have seat " + seatNum + " in Economy. \n";
    }Any advice would be greatly appreciated,
    -Eoghain

    You've created a nice little infinite loop in selectSeat here:
        if (!seatArray[seatNum])
            seatArray[seatNum] = true;
        else
            selectSeat(x);If you run out of 2nd class seats, your program isn't told to stop, it's told to just keep looking and looking and looking and looking and looking and looking and looking and looking and looking ...
    and so on. Don't do this.

  • Is there a way to programati​cally switch a control from the default style to the system style

    I was wondering if there was any way to conditionally make a control look like either the default control style or the system control style. The front panel that contained the control would not be running. I'm running Labview 8.0. One possisble way I'm thinking of is changing the type descriptor but I'm not sure how to write to it (I can read it from the 7.x flatten to string function). Another way I'm thinking is maybe changing or applying a typedef but I'm not sure if that's possible either.
    CLD (2014)

    " ... If the user wants to pursue this method then it will work, but be prepared to deal with more work than you'd expect."...
    My sentiments, exactly. There may come a day when I need to spend an afternoon making one really cool control ... but I don't see it happening anytime soon.
    Message Edited by PaulG. on 05-17-2007 05:04 PM
    PaulG.
    "I enjoy talking to you. Your mind appeals to me. It resembles my own mind except that you happen to be insane." -- George Orwell

  • How do i get a boolean indicator to trigger a event structure

    I have two parallel loops running, and i need to use a boolean value, one that comes out from an OR gate, to trigger an event in the parallel, event structure loop.  I've attached a simplified version of the loop.  Is there a way to get this done?  I've tried using local variables, value(signaling), etc. and they haven't worked
    Solved!
    Go to Solution.
    Attachments:
    Parallel Loop Trigger.vi ‏10 KB

    Here is a revised version of your VI. I modified the mechanical actino of the stop button so it kept it's value until it was read. In addition, I added a delay to your upper loop. Without a delay it was running too fast to actually see the button press. I modifed the event in the the event structure to trigger on a value change of Boolean.
    You don't really need the outer loop since it will only run a single time in all instances. On the first execution of that loop it will be sitting in the turn inner loops. Once you exit the two inner loops your outer loop will always exit. Therefore, it serves no purpose.
    Your OR in the upper loop is completely uses. It serves no purpose since the result will always be equal to the value of the Stop button.
    There are better ways of triggering events. a preferred method would be to use a user event and simply generate the event at the appropriate time. This has the advantage of not requiring additional controls/indicators simply to cause an event to occur.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot
    Attachments:
    Parallel Loop Trigger.vi ‏12 KB

Maybe you are looking for

  • How to decide whether to use a cube or dso?

    Hi, If any requirment is given ,Based on what conditions we decide which  data target(i.e a cube or dso) to be used ? As of my knowledge, 1) DSO has the property of Over write option and cube have additive property. 2) DSO  can have delta records and

  • What's a good app to use to put two photos on a single page like Windows Paint?

    I have a OSX Lion with an iPhoto app. I would like to put two photos on a single page like Windows Paint. What's a good app for this? Is there a Windows Paint app for Mac or something similar?

  • Connect 2 macs with USB?

    I ordered 2 macbook pros and an imac for my family. i need to transfer their files from the windows pcs to the new macs. what kind of cord do i need and where can i buy one?

  • Sub Contracting scenario - Material Lost

    Hi Experts, Material is issued to the vendor against the sub-contracting purchase order. The material is lost in the vendor premises. How to deal with this scenario Thanks Tanvi Sunil

  • Factory calender issue

    Hi all, Here goes a problem with factory calender in project systems. The Project performed by the client are flexible. in some projects they work considering sunday as holiday and in some cases they work on  sundays. we have only one plant assigned