How do I get this text indicator?

Hi, I am new to Labview and I am going through Labview Tutorials and this one has me stumped. I am using Labview 12 and the tutorial is in the White Papers, Module  7, State Machines, step 10. (Coke Dispensing Machine).
In the last 3 states in the block diagram they show a purple or pink text indicator named "Money Deposited" with a constant wired to it. I placed this indicator earlier on but only one, can have a different constant for each state? If so how do you do that? The tutorial doesn't explain.
When I wire the right hand tunnel to the right shift register, all the states in the case structure change back to numbers, delete the wire and they return to named states. Am I doing something wrong, the wiring looks identical to the tutorial.
I really want to get my coke dispensed, any help is much appreciated!

Hi Doug_M,
Let me start with the "Purple or Pink text indicator" you saw on the image. Its actually not an indicator but a "Local variable" of the text indicator. You can create a local variable by right clicking an indicator or control and selecting create, Local variable. You can create multiple local varibales and add it in different states with different contant values wired to it. Hope I addressed your first query. (for more info refere to this link)
Regarding your second question regarding shift registers. make sure that you are doing the steps 6, 7, 8 and 9 properly. After this when you connect the right tunnel to the right shift register, it should not turn the cases to numbers. One thing which you can check is that in all the states of the case structure, the values wired to the right terminal of the case structure is getting the value of the enum. If there is a non enum value passed at any part of the comparison logic, it may eventually cause the change in cases to numeric.
It would help us to give you better support if you attach the vi which you are working on from next time onwards when ever you post a question. 
regards,
NitzZ
(Give Kudos To Good Answers, Mark it as a Solution If your Problem was Solved )

Similar Messages

  • How can I get this text effect

    I'm not sure if it's a bevel and emboss effect or what. Thanks in advance.

    Thanks. For some reason it won't let me add a gradient. It can be another other color though.

  • I updated to yosemite and now if someone is using imessage and sends a text message to my phone it doesn't show up on my phone but does on my computer.  I don't want messages on my computer!  How do I get this to go away and work like it used to?

    I updated to yosemite and now if someone is using imessage and sends a text message to my phone it doesn't show up on my phone but does on my computer.  I don't want messages on my computer!  How do I get this to go away and work like it used to?

    Follow the instructions under the heading "How to unlink a phone number" on this page.

  • HI, I recently upgraded my operating system IOS 5.0.1 on an iphone 3gs. MY question is, how do I get the text messaging preview to just pop up so that I can see the name only when the lock screen is on? The conventional ways of doing this aren't working

    HI, I recently upgraded my operating system IOS 5.0.1 on an iphone 3gs. My question is, how do I get the text messaging preview to just pop up so that I can see the name only when the lock screen is on? The conventional ways of doing this, such as using turning off the SMS preview under the "passcode lock", well that option no longer exists, or if it does, I'm somehow missing it.
    When I go to the "messages" setting under settings on my phone, I still don't see an option of turning it off.
    If I can just get the name of the person sending the message, as I had it before, I'd be happy.
    Help!

    That option still exists in Settings > Notifications > Messages > Show Prview (OFF) and View in Lock Screen (ON). Here's how to configure your Notifications and Notification Center for iOS 5: http://iphone-and-i.blogspot.com/2012/01/how-to-customize-notification-center-in .html

  • Previously I had my account set up so both my daughter and I got a text notification when the bill was due. I made changes in our plan and now we no longer receive alerts that the payment is due. How can I get this back?

    Previously my account was set up so my daughter and I got texts when the bill was due. I recently made some changes in our plan and now this is gone. How do I get this back?

    Sorry, without knowing the Apple ID/Password that was originally used to activate this phone, then there is no way to re-activate it, as you've found out.
    Apple can't/won't help you. Your choice is to get this info, or you simply won't be able to re-activate this phone.
    If you ex won't give it to you, then consult a lawyer.

  • After downloading the ios7 to my iPhone 4s, the keyboard does not have the microphone so I can't speak to text.  How do I get this feature back?

    After downloading the ios7 to my iPhone 4s, the keyboard does not have the microphone so I can't speak to text.  How do I get this feature back?

    Go to Settings > General > Siri and turn Siri on. Once you turn it on, you will have the microphone key back on the keyboard

  • I did the 8.0.2 update and no longer have my speak to text microphone down by the smileys.  Don't want to use audio text.  How can I get this back?

    I did the 8.0.2 update and no longer have my speak to text microphone down by the smileys.  Don't want to use audio text.  How can I get this back?

    Hey there tjbliven,
    It sounds like you are not able to use the dictation feature of iOS 8, becuase the microphone icon is missing. It seems to me like Siri may be turned off, which would cause the icon to not be there:
    Siri settings - iPhone
    To set options for Siri, go to Settings > General > Siri. Options include:
    Turning Siri on or off
    That should get the dictation feature back for you.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Somehow my MacBook (vintage) is now showing a black text box that continues to type and also speak what I am doing.  There is also a blk border text box that follow me in the page itself.  How do I get this turned off?

    Somehow my MacBook (vintage) is now showing a black text box that continues to type and also speak what I am doing.  There is also a blk border text box that follow me in the page itself.  How do I get this turned off?

    What version of Mac OS X? Do you have the original (or any) system disk?

  • How do I get a text file from Photoshop  to work in the main sequence in pp?

    How do I get a text file to work properly in the master sequence. I moved it from Photoshop, which I learned to do from a tutorial, but when I move the animated text sequence to the master, it either isnt running, or it is scaled way too big. How do I get it to run in the main sequence?

    "Wont Work Here" !  Does not mean much.
    Are you having an audio or a video issue? 
    Looks like no video clip on the video layer above that section of audio.
    I am teaching myself this stuff completely on the fly
    I suggest you do the Basic Tutorials ( Adobe TV for example) in both Premiere Pro and PhotoShop.
    You need to be competent in the basics and fundamentals of these apps and that will also help you describe and discuss the issues.   Check the 'Products on this site....
    Adobe TV

  • How do I get the text to flow throughout more then one page.

    Hello,
    I am currently using LiveCycke Designer to create a scholarship for my company. I created fields for the form and I would like to insert a text to describe the scholarship. When I insert the text, it doesn't flow onto the next page. I've tried creating a subform and clicking "flowed" and "allow page breaks within content". I also clicked auto-fit for the height, but it just makes a line. For the text box, I've clicked "Expand to fit on the height". It is also a dynamic XML Form. Is there anything else I should be doing?
    I could always send the file to someone to see if they can figure it out.
    Thank you,
    Natalie

    Thank you so much !
    but the link doesn't seem to work. It says that the URL is not in the correct format for an Acrobat.com document link.
    Natalie
    Date: Wed, 12 May 2010 07:53:12 -0600
    From: [email protected]
    To: [email protected]
    Subject: How do I get the text to flow throughout more then one page.
    Here is the corrected form..Even you you set the Subform type to "Flowed" to the subform where the Text box resides, you did not set the Page1 to Flowed (which is the key)..But when I make the Page1 type to "Flowed", all your fields above the Scholrship text boxes' Subform will go one below another.. To fix this, first I have select all the fields and wrap them into a subform and then set the Page1 to Flowed..
    https://acrobat.com/#d=XQ1yfV8fCk85M7sRLD*-gg
    Thanks
    Srini
    >

  • How can I get the "text" field from the actionEvent.getSource() ?

    I have some sample code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.ArrayList;
    public class JFrameTester{
         public static void main( String[] args ) {
              JFrame f = new JFrame("JFrame");
              f.setSize( 500, 500 );
              ArrayList < JButton > buttonsArr = new ArrayList < JButton > ();
              buttonsArr.add( new JButton( "first" ) );
              buttonsArr.add( new JButton( "second" ) );
              buttonsArr.add( new JButton( "third" ) );
              MyListener myListener = new MyListener();
              ( (JButton) buttonsArr.get( 0 ) ).addActionListener( myListener );
              ( (JButton) buttonsArr.get( 1 ) ).addActionListener( myListener );
              ( (JButton) buttonsArr.get( 2 ) ).addActionListener( myListener );
              JPanel panel = new JPanel();
              panel.add( buttonsArr.get( 0 ) );
              panel.add( buttonsArr.get( 1 ) );
              panel.add( buttonsArr.get( 2 ) );
              f.getContentPane().add( BorderLayout.CENTER, panel );
              f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              f.setVisible( true );
         public static class MyListener  implements ActionListener{
              public MyListener() {}
              public void actionPerformed( ActionEvent e ) {
                   System.out.println( "hi!! " + e.getSource() );
                   // I need to know a title of the button (which was clicked)...
    }The output of the code is something like this:
    hi! javax.swing.JButton[,140,5,60x25,alignmentX=0.0,alignmentY=0.5,
    border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@1ebcda2d,
    flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,
    disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,
    right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,
    rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=first,defaultCapable=true]
    I need this: "first" (from this part: "text=first" of the output above).
    Does anyone know how can I get the "text" field from the e.getSource() ?

    System.out.println( "hi!! " + ( (JButton) e.getSource() ).getText() );I think the problem is solved..If your need is to know the text of the button, yes.
    In a real-world application, no.
    In a RW application, a typical need is merely to know the "logical role" of the button (i.e., the button that validates the form, regardless of whether its text is "OK" or "Save", "Go",...). Text tends to vary much more than the structure of the UI over time.
    In this case you can get the source's name (+getName()+), which will be the name that you've set to the button at UI construction time. Or you can compare the source for equality with either button ( +if evt.getSource()==okButton) {...}+ ).
    All in all, I think the best solution is: don't use the same ActionListener for more than one action (+i.e.+ don't add the same ActionListener to all your buttons, which leads to a big if-then-else series in your actionPerformed() ).
    Eventually, if you're listening to a single button's actions, whose text change over time (e.g. "pause"/"resume" in a VCR bar), I still think it's a bad idea to rely on the text of the button - instead, this text corresponds to a logical state (resp. playing/paused), it is more maintainable to base your logic on the state - which is more resilient to the evolutions of the UI (e.g. if you happen to use 2 toggle buttons instead of one single play/pause button).

  • How do you get your text messages to not show on the screen when they come in

    How do you get your text messages to show on the screen when then come in?  My iphone 3s would just say the persons name and text message.  This says the persons name and the whole message

    Settings > Notifications > Messages > Show Preview - Turn to OFF

  • I am using Numbers on my iPhone5 and cannot get the app to do a simple (SUM) calculation.  It shows the formula correctly in the cell, but all I get for my long list of numbers to add is 0.  How can I get this to work?

    I am using Numbers on my iPhone5 and cannot get the app to do a simple (SUM) calculation.  It shows the formula correctly in the cell, but all I get for my long list of numbers to add is 0.  How can I get this to work?

    Oaky, at least we got that far.  Next step is to determine if all those "numbers" are really numbers.  Changing the format to "number" doesn't necessarily change the string to a number. The string has to be in the form of a number.  Some may appear to you and me as numbers but will not turn into "numbers" when you change the formatting from Text to Number. Unless you've manually formatted the cells to be right justified, one way to tell if it is text or a number is the justification. Text will be justified to the left, numbers will be justified to the right.
    Here are some that will remain as strings:
    +123
    123 with a space after it.
    .123

  • I still get plug in failure even after uninstall and reinstalled adobe flash to my mac os x 10.7.5 (4 bit) with flash 16.0.0.235 how do I get this fixed??? HELP

    I still get plug in failure even after uninstall and reinstalled adobe flash to my mac os x 10.7.5 (4 bit) with flash 16.0.0.235 how do I get this fixed??? HELP

    That crash appears to be casued by the Facebook plug-in.
    Create a new account (systempreferences -> accounts or Users & Groups on 10.7 and 10.8), make a new Library in that account, import some shots  and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.

  • The message suggestions that pop up while typing have disappeared. How do I get this feature back?

    I recently upgraded to ios 8.0.2 on the iPhone 5. One new feature I noticed was a grey box that listed word suggestions to add to a text as it was being typed (not to be confused with the auto correct or original word bubble that pops up for autocomplete). It disappeared and I am not sure why or how I can get this feature back.

    If there is a thin gray bar with a white dash in the middle immediately above the keyboard, you can reopen the suggestions by placing a finger on the white dash and dragging up.
    You can turn the suggestions on/off by going to Settings > General > Keyboard > Predictives

Maybe you are looking for