change the push button for control or indicator at run time

Hello

I have a lamp that can turn into power according to the value of a Boolean variable.

There are two ways in which I can control the lamp.

(1) manual mode in which the button must be used as control to change the value of the Boolean variable.

2 auto mode) in which the value of the variable is changed programmatically. Push button must return to an indicator to indicate the value of the Boolean variable.

I should be able to swith bw manual and automatic mode for the duration and the push button should switch to control and indicator respectively.

For those who might wonder why it's necessary: there is a sign which must be controlled in manual/auto mode. in manual mode, operator will manually use the buttons as controls for updating the control variables, in auto mode, my control algorithm updates the variables, and the Organizer must be able to see which button is pressed and when. If the button should be the control of update of variables in manual mode and must be the indicator of the evolution of the variables in auto mode.

How is that possible?

A basic VI with three objects are attached, and the Boolean control variable is global.

Did.

Tags: NI Software

Similar Questions

  • Need to change the shortcut keys for copy and paste Hotkeys

    I would like to know how to change shortcut keys copy and paste for the computer around rather than for a specific program, such as excel or internet explore. Specifically, I want to change the copy and paste control button C (2 buttons) for only F1 (1 shot), if possible. Thanks in advance for the answer!

    Original title: modify and paste keyboard shortcuts

    Hello

    Copy and paste keys are the keys to Windows by default and cannot be reconfigured or the function can not be reassigned to other keys.

    Reference:

    Keyboard shortcuts for Windows

    http://support.Microsoft.com/kb/126449

    I hope this helps.

  • How can I change the music button on my keyboard to launch Windows Media Player to launch WinAmp?

    original title: program music keyboard key

    How can I change the music button on my keyboard to launch Windows Media Player to launch WinAmp?

    Thank you

    Drew

    As Mike Hall suggested, first look for the keyboard utility and seek to change the keyboard assignment there.

    If this option is not available, you can try to change the default program to open files of music. I do not think that "hotkey" keyboard music trying to specifically open Windows Media Play, rather it opens the program assigned as the default value for the music.

    So you'll need to get to the default programs control panel applet. To get there:

    1. Click Start , then Control Panel (in midway up on the right side)
    2. In the Control Panel window, click programs (not options, just the word more big programs). (If you have your set control panel to displayall items in the Panel control, then the applet default programs will be already visible and available directly)
    3. The second group of options should be the default programs. The two options here that should be of interest to you are:
      Make a file always open in a specific program type and (especially) set your default programs.

    You should find everything you need there.

    • If this proposal of solution solves your problem, please go back and mark as answer for others to consider.
  • How can I change the value of a control on front panel?

    On the front panel, I'm doing a complex control that consists of a Slider control and control of the digital inputs. Both controls display the same information and either may be used for entry. When changing value, I want the other control to display the same value.

    How can I change the value of a control on front flap when another control changes the value? I know how to use a structure of the event to detect value has changed, but I do not know how to impose control on front panel to change its value in the block diagram.

    Why do you not use a digital display on the slider, and no code is required:

    EDIT: Yes, he said. ***

  • Change the tab order of controls installation changes

    Hello

    When designing my UIR for a new project, I realized that when I use the function "change the controls' to change the attributes of several controls at once, the tab order changes.

    I noticed that, because the constants of the UIR are essential for my application and they are changed automatically in the header file according to the tab order.

    If I change the attributes one by one, then the tab order is preserved.

    Is it really a bug or am I missing a point here?

    (I'm with CVI 8.5.1)

    Thank you for the provision of the UIR and for reporting this bug. Unfortunately, it has been reported too late to get into the next version 9.0, but we will try to fix it in the maintenance release.

    -jared

  • How can I change the filter settings for the e-mail account of my child?

    How can I change the filter settings for the e-mail account of my child?

    Hi Schaefle,

    May I know if you refer to web filtering? If Yes please visit this link to learn how to change the filter settings.

    Note: for to work in web filtering settings, you must install and configure the filter of family security on each computer your child uses.

    For more information on parental controls, please visit http://windows.microsoft.com/en-US/windows-live/essentials-help-center

    Thank you!

  • My habit of HP G62-455DX' turn on. but the Start button / stop flashes with indicator led F12 or wi - fi

    My habit of HP G62-455DX' turn on. but the Start button / stop flashes with indicator led F12 or wi - fi. u ' is the problem with that? Help, please. Thank you...

    Perform a hard reset on the phone. To perform a hard reset, follow the steps below

    • Unplug the PC laptop AC adapter
    • Remove the battery from the laptop compartment
    • Disconnect external devices or devices connected to the laptop. Press and hold the power button for about 15 seconds
  • Change the default DPI for scanning in paint

    How can I change the default values for scanning for painting so that each scan is 300 dpi?

    I'll give you an answer. What the interrogator does not understand, is that MS Paint does not have a setting for the CIO. There is no default DPI setting in MS Paint. The setting is controlled by the scanner driver or scanner itself. MS Paint simply communicates with the driver for the scanner, which then continues to do the analysis, then once completed, he hands the digitized data back to MS Paint. Therefore, the parameters of the interrogator wants to know how to change are not in MS Paint. they are in the driver scanning interface. This driver determines how he manages the parameters after returning the scanned data to the connection/disconnection of call program, in this case MS Paint. Most of the drivers scan all right back to their default value. In the case of the user, it's 100 dpi, but another scanner, this could be 150dpi (common with many scanners a few years back), and by default most recent scanners often at 200 dpi. After scanning, you need to change the defaults anywhere from new, because once the scanner driver handed the scan back data to the calling program, it is no longer in communication with her. It doesn't matter whether you use MS Paint, Picasa, IrfanView, or any other program that connects to the scanner TWAIN. If you start with a scanner that has a default of 300 dpi, you would have thought that it was a question on. You can not insistent that no one answered your question if it is based on the wrong premise at first.

    Some scanners allow control of the scanner itself. I use a HP (all-in-One) printer/scanner combination. I can configure default to the control panel of the printer/scanner at 300 dpi or whatever value I want; I often put it at 600 dpi. Then I can scan directly from the scanner/printer and still get 300/600 dpi scans. By default the program to manage the registered file type determines which program will be executed when the image is sent to the computer. It could be MS Paint or IrfanView or whatever. Very often, I send the scans on a SD card on the printer instead. When I'm finished, I have a SD card with images scanned at 300 dpi that I take to another computer. Because the scanner/printer has been set to use 300 dpi by default, MS Paint, IrfanView or any other program that launches a scan will get also 300 dpi scans.

    What the questioner needs is a scanner which allows its default value to or one that is default to 300 dpi in a first time. If you try a new scanner, you will find that the parameters does not return to 100 dpi, but instead has regardless of the definition of the scanner as default.

    Given that most of the pilots to simple scanner always return to the default devices, and in this case, setting this parameter scanner is only 100 dpi, you can use a software that is specially designed to solve this program with its own resolution settings. An example is called "search". In its interface, you choose what the desired resolution, then when it communicates with the scanner, he deals with the change in the value whenever a scan is requested.

    If you use color or grayscale is a separate choice outside the DPI setting. Some scanners can scan to a different resolution for shades of gray than they do for the color. Nevertheless, the problem and the solution is the same.

  • Changing the default settings for printing in Office Picture Manager

    Anyone know how to change the default setting for printing in Office Picture Manager?

    I have a user who clams that when they try photo printing settings in Office Picture Manager has been configured to print bac2 and paper 4 x 6.  Now when it prints, it must use the drop-down list boxes to tell it to print from bac2 and paper 4 x 6.
    I changed the default settings of the printer to print from the bac2 and use paper 4 x 6, but they must still use the drop-down list boxes in Picture Manager.
    Thank you!

    Although I maded the changes to the properties of the Windows printer I had to do that to solve the problem.

    To solve the problem:

    1. once in the print of the image window there is a link 'Options '.... "at the bottom right.

    2. once it's a click a print settings window that opens there. You will need to click on the link 'printer properties '.

    3. now the printer Document Properties window appears. Change of Source paper and media here.

    4. click on the OK button and now it's good to go.

  • Change the default search for small native browser (Lollipop) engine

    It does not seem possible to change the default search for the small browser engine.  I would like to change from the current, Google, DuckDuckGo or similar.  Anyone know how?

    FYI: the 'small' browser is the first reached by pressing the button of the Application selector and selecting the browser available by default in the list of small applications at the foot of the screen.

    1. open the small browser
    2 menu
    3 settings
    4 Advanced
    5. set map search engine
    6. Select a different search engine

  • How to change the boot order for the applications to the taskbar?

    When I moved to W7, software of my trackball wouldn't work and Kensington wouldn't fix, so I moved to a conventional mouse. I recently bought a better mouse and it has its own software. The software works very well, the problem is that it starts towards the end of the boot sequence. I would like to start earlier. The problem is that all the research I've done changing the order of departure come back with how to change the order of display in the taskbar.

    How can I change the boot order for the applications to the taskbar for the software for the mouse, boots earlier in the list?

    Windows does not have native to adjust the boot order, but there are third party solutions. See

    http://www.howtogeek.com/52043/how-to-control-the-order-of-startup-programs-in-Windows/

  • How can I change the backgrounds menu for several pages?

    Hello

    How can I change the backgrounds menu for several pages in yet?  I want a single image appears on several pages in the background.

    Thank you.

    You must do this for each menu page.

    If the rest of the etc button style will be the same, just add the background you want and duplicate this menu before you change the titles, button names, linking.

  • How to change the default setting for the touch-pad?

    I have a HP Pavilion dv7 running Windows 7 Home Premium.

    I use it 99% of the time on your desktop, using a mouse instead of the key.

    Sometimes I forget to turn off the key by using the small dot in the upper left corner, which causes the movement of the cursor unexpectedly.

    Question: Is there a way to reset the value by default for the touch-pad to be inactive, and use the small point to activate the key only if I use the computer in a remote location?

    Thanks for any help on this.

    Larry

    Hi Larry,

    See if you have the following option.

    Open windows control panel, open the mouse, click the device settings tab and then click on the button "settings".  Click on the + next to the Touchpad disable Zone, and then click top left Action.  Click on the radio button for TouchPad Switch Off, click on apply and then click Ok.  Click apply and then click OK in the remaining window.

    This should enable the TouchPad on/off function to remember, so if you turn it off, it will be turned off after a reboot.

    Kind regards

    DP - K

  • Change the default icon for dissatisfied node

    Is it possible to change the default icon for the node dissatisfied (dissatisfied indicator). I checked the content element of the user interface with the same name, but it doesn't have the setting file from the source in it, so I guess it's hard coded. I tried to change the source file with the name unsatisfied_status.gif to a different image and it works, but it will be a big change of system. I want to do this as a specific model change. Did anyone done this before? Thanks in advance.

    ---
    See you soon,.
    Biju.

    [My Oracle Blog | http://oraclewithbiju.blogspot.com]

    Have you tried to change the name of the image in the page change the UI?
    Interface user edit page lists a few images that can be modified for each user interface, as dissatisfied with indicator, etc. logical status icons.

  • Change the default location for saving the photos in 10 items.

    How can I change the default location for saving images for the first time in 10 items? For some reason, the program is saving my work in the Temp folder, when I need the work in the library of images.

    From the Organizer, go to:

    Edit > preferences > files

    Click on the Browse button and navigate to your pictures folder

Maybe you are looking for

  • How can you check to see if your computer has a virus

    I have a MacBook Air OS X Yosemite 10.10.5 and I received an alert that said I had a virus and I need to download MacKeeper to get rid of it.  Is this a false alarm?  How can I check to see if I have a virus for real? MLP

  • How do I create a new folder in iCloud by using my iPad?

    How can I create a new folder to iCloud for my iPad? I can create a new folder to iCloud if I login to iCloud via Safari on my iMac or a MacBook. However when I use Safari on my iPad, I receive a 'Welcome screen' tthat is useless because it does not

  • Search for an item that is created dynamically c ++

    I use ComponentDefinition to create a page. ComponentDefinition { id: preferences objectName: "preferences" Preferences { } } C ++ I want to find this component, how do I do that? I tried several approaches with objectName, but none were successful.

  • VPN IPSEC on Metro-Elba

    Hi all I have a small question. Is it possible to run L2L IPSEC VPN via a subway-E connection? It's not supposed to do something like that with Metro-E but this connection is with a partner so at both ends, firewall is in place. With port forwading,

  • Troubleshooting-new HP with Windows 7 spectrum XT, does not connect to the WiFi at home?

    So I just got my brand new HP ENVY spectrum XT Ultrabook with Windows 7 Home Premium installed. 64 bit. I start it, everything works fine, except that when I connect to my WiFi at home. I tried to connect, entered my password, but it does not connect