How do I select a control based on another control's selection and how do I remove enumerations from a control?

Hi everyone,
I have a question and I *think* the answer may be the new active controls, so here goes:  I have a control which contains a variety of enumerated items - essentially a typedef enum.  I may have up to several dozen items in this control, like this:
Position - 1
Current - 2
Pressure - 3
Temperature - 4
Duty Cycle - 5, etc.
I also have a 2nd control (actually a set of controls) that refer to the indices of the above control.  For example, if I "Position" chosen, I wish the 2nd control to appear that refers to position - an enumeration with "X axis, Y axis, etc."  If I select "Temperature", I wish the 2nd control to appear that refers to temperature - a different typedef'd enum - "Inlet, Outlet, Air, Water, etc."
How do I do this?
Lastly, the first enum with ALL of the items, pressure, current, etc. does not need to be used.  For certain configurations, I wish to eliminate, say the 1st and 3rd item - I don't wish to just gray them out, I wish to remove them from the enumeration, WITHOUT changing their enumerated value.  Perhaps I need to write the resultant enum into a temporary ring enum - any ideas?
Thanks,
Jason

Unfortunately, you cannot edit the list of enums during runtime, only during edit mode.  You can use a ring control however.  Then you can use the Strings[] property to set the selections to whatever you want depending upon the 1st enum.  See attached vi.
- tbob
Inventor of the WORM Global
Attachments:
ChangeRing.vi ‏52 KB

Similar Messages

  • How do I remove Messages from Mission Control?

    I double clicked the top near the resize arrow mistakenly and it made its own screen in Mission Control. I've been looking online but I can't find out how to remove it. I've tried the control+click but it doesn't show the x. I don't want my messages in Mission Control as it just full screens it. I tried quitting and reopening but it just keeps opening my message window in the Mission Control full screen style. Even restarted my computer.

    I figured it out on my own finally. If for some reason you have a messages chat window open on its own as a full screen in the Mission Control and you want to remove it from Mission Control, just command+W and close the window that is currently open in Mission Control. Then Messages returns to normal. Also figured out that if you click those arrows at the top right hand side, it will full screen it in Mission Control. Those arrows are not the resize!

  • Method or property to remove decorations from a control

    Hi folk,
    by program, I would like to remove (to make transparent) some decorations of a control (the 3d border of an Intensity Graph) before to save it on a png/jpg file.
    Do you know how to perform that task by method or property?
    Regard,
    Asper

    Dear Ben,
    thanks for your workaround suggestion.
    I already use the Get Image node, but I believe that this is not the right way. I would like to preserve all features like scales, scale labels etc. and strip out only the 3d border and other decorations.
    "slice and dice" the image is not possible because it would cut parts of scales. Now I am using the "Create Mask.vi" to delete the color that is associated with the border. This approach works not very well too.
    The 3d border has a color gradient and it is necessary to delete all colors associated to the 3d border gradient.
    Further the 3d border changes size and number of gradient colors with the zooming of the windows. Not last, the size of plot area changes with variation of the minimum and maximum of scale limits.
    Programmaticly is not so clear which points should be selected to detect the colors to mask.
    Any method or property to remove decorations from a control?
    Asper

  • Search help for a field in table control based on another field value

    Hi,
    I want to attach the Search help for a field in table control based on another field value.
    Please help me asap.
    Will be highly rewarded

    HI,..
      Check these links
    search help in table control
    Re: How to create Search Help for a field in Table control !!
    How to create Search Help for a field in Table control !!
    F4 Help In Table Control
    Control table F4 help
    Problem in F4 help in screen field
    check this code
    DATA: BEGIN OF it_value4 OCCURS 0,
             TEXTCODE  LIKE  ZXX-TEXTCODE,
             TEXTDESC  LIKE  ZXX-TEXTDESC,
           END OF it_value4.
      progname = sy-repid.
      dynnum   = sy-dynnr.
             SELECT TEXTCODE TEXTDESC
               FROM  xxxx
               INTO CORRESPONDING FIELDS OF TABLE<b> it_value4</b>
              WHERE  LOSS_CODE =<b> IT_VALUE1 .</b>
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield    = 'TEXTCODE'
          dynpprog    = progname
          dynpnr      = dynnum
          dynprofield = 'ITVALUE-TEXTCODE'  "-->UR  4 th filed value in screen
          value_org   = 'S'
        TABLES
          value_tab   = it_value4.
    endmodule.
    Message was edited by:
            veereshbabu ponnada

  • Need a shortcut to "Allow pages to choose their own colors, instead of my selections above option preference" I know where it is and how to use it but I have to go through 7 mouse clicks to change it, then a few minutes later change it back. I also k

    Need a shortcut to "Allow pages to choose their own colors, instead of my selections above option preference" I know where it is and how to use it but I have to go through 7 mouse clicks to change it, then a few minutes later change it back. I also know the sequnce is alt t, alt o, alt c, alt a, then ok, ok. Got to be a way to make a one key short cut for this. I use a black background to reduce eye strain, but about 10% of the webpage I go to can't be send with black so I have to go into tools and hit 6 or 7 things to chnage it then after through with webpage have to do it all over at Not allow webpages to have own color. Very very cumbersome.
    == This happened ==
    A few times a week
    == made that way

    https://addons.mozilla.org/en-US/firefox/addon/toggledocumentcolors-198916/
    The above addon will solve your problem.
    Shortcut to toggle user color/page color :- Ctr+Shift+C

  • 301 unable to load plugin"controls" url'flowplayer.controls-32.13.swf What is this and how to reapair this?

    301 unable to load plugin"controls" url'flowplayer.controls-32.13.swf What is this and how to reapair this?
    I have no idea what to do.

    Probably because "latin-9" doesn't exist?
    # nano /usr/share/X11/xkb/symbols/fr
    xkb_symbols "latin9" {
    include "latin"
    include "nbsp(level3)"
    name[Group1]="French (legacy, alternative)";
    key <TLDE> { [ oe, OE, leftdoublequotemark, rightdoublequotemark ] };
    key <AE01> { [ ampersand, 1, dead_acute, periodcentered ] };
    key <AE02> { [ eacute, 2, asciitilde, Eacute ] };
    Try it without the dash (without the "-").
    And don't forget to mark it as solved (by editing the first post).

  • Which language is better to develop the software that controls the Tektronix-Sony 370A Curve tracer and how to approach it?

    Which language is better to develop the software that controls the Tektronix-Sony 370A Curve tracer and how to approach it. I a a fresher in this field. Please any one help us developing the software.

    If you're looking to develop a driver for the instrument, one already exists and can be download here or you can get it off of the driver disk that comes with LabVIEW. If you're asking for the best language in which to write an application program that uses the driver, the obviously the answer is going to be LabVIEW. Note that you might get a different answer if you post the question to a Visual Basic or C++ forum but those answers would be wrong.
    Message Edited by Support on 11-26-2008 01:33 PM
    Message Edited by Support on 02-17-2009 09:30 AM

  • HT204406 how does the iTune icon present itself onto the dock. ?  And how does it play without being requested ?

    how does the iTune icon present itself onto the dock. ?
    And how does it play without being requested ?

    1. The SCB-68 is just a terminal block; it does not measure anything. The measurement is made on the board connected to the SCB-68.
    2. Computer-based data acquisistion devices and 480 V motors with solid state speed controls do not "play nice," as the kids say. The connections you are trying to make may well end up with a fried data acquisition board, fried computer, and MOST IMPORTANTLY a fried USER!
    Ground loop problems may produce noisy measurements or may destroy all the low current devices (like the computer) in the system.
    Signal conditioners are not only to reduce noise but also to provide safe isolation between the high voltage and high power parts of the system and the more sensitive parts.
    A thermocouple is a voltage generating device. The measurement system measures that voltage (typically millivolts) and independently measures the temperature of the "cold junction" of the thermocouple. The temperature at the hot junction of the thermocouple is calculated as Temperature(TC voltage difference) - Temperature(cold junction). If currents flow through the TC wires, due to ground potential differences between the motor frame and the computer ground for example, the voltage drop from Ohm's law is added to the TC voltage and will produce temperature errors. TC wire may have significantly higher resistance than wires used for most elelctrical signals so the interfering signal may be greater than the desired signal.
    Lynn

  • I dont know why the battery life of my iphone 4 is so low ! i really want to know how many hours i'll have if it's on standby. And how many hours if i use it normally for music and facebook (sometimes a little bit games)

    i dont know why the battery life of my iphone 4 is so low ! i really want to know how many hours i'll have if it's on standby. And how many hours if i use it normally for music and facebook (sometimes a little bit games) !!!

    to enhance your battery life, keep screen display to minimum, set screen lock automatically after 1 min, select internet notifications to off.

  • HHola I update my Apple TV and I am frozen screen with the photo of Apple TV and iTunes symbol and a cable connected from one to another device, it happens and how to fix it Apple TV

    HHola I update my Apple TV and I am frozen screen with the photo of Apple TV and iTunes symbol and a cable connected from one to another device, it happens and how to fix it Apple TV

    Welcome to the Apple Community.
    If your problem persists get yourself a micro USB cable (sold separately), you can restore your Apple TV from iTunes:
    Remove ALL cables from Apple TV. (if you don't you will not see Apple TV in the iTunes Source list)
    Connect the micro USB cable to the Apple TV and to your computer.
    Reconnect the power cable (only for Apple TV 3)
    Open iTunes.
    Select your Apple TV in the Devices list, and then click Restore.
    (You may already have a micro USB cable if you have a camera or other digital device)

  • Reg.Remove quesitions from my control panel.

    Dear Friends
    I have 7 posts  in my forum which is blocked by SDN moderator,I want to remove those questions from unanswered status.
    Please guide me how to remove from my control panel.
    I am unable to ask more than 3 questions that there are 7 pending.
    Thanks
    Rajakumar.K

    Dear Juergen
    As per your advice I have mentioned the threads and my user ID and Password.
    """ SAP allows 10 open questions at a time.
    Locked questions are not considered as closed. So your possible open questions get reduced by any locked question.
    I think the questions got locked for a good reason.
    Unfortunatly I cannot search for these threads, Send me the links to each locked one to my mail address (can be found in my business card) and I will see what I can do. """
    Please remove my all questions and make it empty.
    Reg. TAX and VAT configuration
    Reg. Logistic execution process in MM
    Reg.Number range collapsed in production server -FBN1(NRIV table)
    Reg.Blueprint process
    reg. Tax code  in procedure TAXINJ is invalid
    Reg. New material type creation
    Reg.Std hierarchy creation problem
    Reg.Remove quesitions from my control panel.
    Thanks
    Rajakumar.K

  • How do I take 300 dpi photos with my iPhone 4s? And how do I export them to my MacBook Pro at 300 dpi to use as I want to print photos.

    How do I take 300 dpi photos with my iPhone 4s?
    And how do I export them to my MacBook Pro at 300 dpi to use as I want to print photos.
    I have been using the standard camera on the iPhone and require 300 dpi to create photo books as the photos are resized according the layout.
    Your time and assistance in appreciated.
    Thanks

    Thanks Tonefox!
    After looking at a few of the links I found a mathematical equation that assisted me.
    Inches = Pixels/DPI
    eg: 3 inches = 300 pixels/100 DPI
    Using this equation and the fact that iPhone 4s takes photos that are 3264 x 2448 I was able to work out the largest print I could make with 300 DPI.
    Width 3264 pix/ 300 DPI = 10.88 inches
    Height 2448 pix/ 300 DPI = 8.16 inches
    Therefore, the largest print (with 300DPI) I can make of these photos is 10.88 inches x 8.16 inches.
    Which is great!
    So is it critical for me to change the dpi in say photoshop or does it not matter as long as I don't go above the 10.88 inches x 8.16 inches?
    From what I can gather the smaller I resize the photo the higher the DPI and the bigger I stretch the photo the lower the DPI?
    Further clarification will be much appreciated. Thanks

  • I have 2 ipod touches. I backed up the new one with old's info. The old one will not unlock with the password I had wrote down and I tried my new ones password.  How can I reset the old ipod without affecting the new one and how can I unlock the old one?

    I have 2 ipod touches. I backed up the new one with old's info. The old one will not unlock with the password I had wrote down and I tried my new ones password.  How can I reset the old ipod without affecting the new one and how can I unlock the old one?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software

  • How to check if my Porsche Design P'9982 is brand new and how long I have warranty ?

    How to check if my Porsche Design P'9982 is brand new and how long I have warranty ?
    Chandy Boy

    chandlar_27 wrote:
    How to check if my Porsche Design P'9982 is brand new and how long I have warranty ?
    Hi @chandlar_27! Welcome to the BlackBerry Support Community Forums!
    Warranty? You have to conntact the place where you got it.
    To know if it's not been used yet, Go to the Phone App> Swipe down from the top screen> Settings> Call Summary.
    if the number there doesn't match your personal use since purchase, you will know it has been used before.
    Click if you want to Thank someone. If Problem is resolved, so that others can make use of it.

  • How  can I see the previews of my D610 in bridge cs5 and how can I open them in my CC photoshop?

    How  can I see the previews of my D610 in bridge cs5 and how can I open them in my CC photoshop?

    Nah. Raw support is version specific and that extends to Bridge as well. Older versions simply won't handle new cameras. If this is important to you, you will have to use Bridge CC.
    Mylenium

Maybe you are looking for