Looking for a select block

Hello!
I'm looking for a select block but I don't find it.. I want a block with four inputs,an input select, and one output. The output variable catch  the value of the input variable which his position agree with the value of input select.
Ex.: I have input_1=20    input_2=30   input_3=40  input_4=50 and input select is 2. Output value is 30.
Exist a block like this? If not exist, which eay you try to build it? Thanks!
Thank you
Larson

Hi Larson
There is a select block - it is called "case structure" and is located in the structures palette (where the loops are).
You can use this structure to switch between different cases. You can have different types to control them.
Here is a simple example of what you want to do.
Hope this helps.
Thomas
Using LV8.0
Don't be afraid to rate a good answer...
Attachments:
Case.vi ‏17 KB

Similar Messages

  • Looking for smart/selective extract utility

    Hi all,
    I'm looking for a utility/script that will extract data in the
    format of SQL INSERT statement. In other words, it will
    generate INSERT statements based on existing data in a table.
    It should allow to choose the columns I want. Ideally, it would
    scriptable, but a UI-only tool would be ok too.
    If you know of such a tool, please share.
    -alex

    toad

  • Service Manager 2012 R2 Looking for the SDK method for Select All management packs OMCI Connector

    Hi all,
    I'm working through a script that updates the OpsMgr CI connector's MP sync list after a MP import. What I want to do is a Select All to sync the OpsMgr MP's I just imported into Service Manager. Just like checking the Select All
    box after refreshing the connector in the GUI.
    I have been through the cmdlets and looked at the assemblies in VS. I can't find the method that does this.
    I found IsNullPropertySkipped under
    Microsoft.EnterpriseManagement.ServiceManager.Connectors.OpsMgr but that's it
    And nothing in here
    Microsoft.EnterpriseManagement.ServiceManager.Sdk.Connectors.Connector
    Must be missing it, and am not having much luck with TechNet.
    Thanks much–Drew

    I'm afraid you won't find a quick'n'easy solution for this. I'll start out by saying I don't know if Powershell has any cmdlets for this..but I know you can use the .NET SDK via powershell to do whatever you need to do. So my post focuses on the SDK/C#. You
    should be able to adapt it in Powershell.
    The function you want to replicate (check-all) is unique to the Operations Manager CI connector implementation and, as such, my post below may sound a bit overwhelming.
    Let me start by describing where an OM CI connector's selected management packs are stored. They're stored in the connector's workflow rule (specifically, in its WriteAction module).  Take a look at the ServiceManager.LinkingFramework.Configuration
    management pack where all OM CI connector rules are stored. Look for a rule that starts with "OMConnector." (the dot will be followed by some random string of text and "_SyncRule"). Take a look at the <WriteAction> and you'll see an <MPList>
    node that contains a bunch of <MPInfo> nodes. Each <MPInfo> node represents a management pack that was selected in the OM CI Connector wizard.
    So, if I understand what you're trying to do, when you import a new MP into Service Manager, you want to add that MP to the OM CI connector's sync list. First; if that MP doesn't exist in OpsMgr, there isn't much point to adding it to the sync list, so I'll
    assume you want to add MPs to the sync list that also exist in OpsMgr). Second; there may be other constraints on what MPs you can actually choose in that OM CI wizard and it would be wise to respect those constraints in your own solution. In any case, you'll
    have to modify the OM CI connector's rule's write action. There are a couple approaches you can try.
    You can try using Microsoft's helper classes that were built for OM CI Connectors (check out the OpsMgrConnectorHelper class and related classes in the Microsoft.EnterpriseManagement.ServiceManager.OpsMgrConnectorUtils.dll.
    Also check out the OpsMgr connector wizard classes in the Microsoft.EnterpriseManagement.ServiceManager.UI.Administration.dll).
    The other possible approach is to modify the connector's rule directly using the SDK's ManagementPackRule and ManagementPackWriteActionModule classes. You can easily get your OM CI connector's rule using the management pack's "GetRule" method (or the EnterpriseManagementGroup's
    Monitoring.GetRule method). The management pack rule has a "WriteActionCollection" which is a collection of ManagementPackWriteActionModule objects. There should be only one ManagementPackWriteActionModule in an OM CI rule's write action collection.
    This object has a "Configuration" property..it contains a giant block of XML that holds all of the <MPInfo> nodes I mentioned earlier. So, you can modify that block of XML, then write the changes back to the management pack using the management pack's
    AcceptChanges() method. Here's the basic structure: 
    ManagementPack mpLinkingFramework = emg.ManagementPacks.GetManagementPack(new Guid("50DAAF82-06CE-CACB-8CF5-3950AEBAE0B0")); //ServiceManager.LinkingFramework.Configuration
    ManagementPackRule mpr = mpLinkingFramework.GetRule("<my connector's rule's name>");
    ManagementPackWriteActionModule mpwam = mpr.WriteActionCollection[0];
    String myConfig = mpwam.Configuration; //This is the XML block you want to update
    myConfig = "<a modified configuration with my new <MPInfo> node>";
    mpwam.Configuration = myConfig;
    mpLinkingFramework.AcceptChanges();
    Please note I haven't personally tried modifying an OM CI connector's rule using this method and I can't promise it will work..you'll definitely want to try it in a test environment first. But I can say I have modified my own connectors (and other write actions)
    using this technique and it works fine. I just can't say for sure how it might affect an OM CI connector since I haven't tried it myself.
    Though my post here is definitely _not_ a solution, hopefully it will give you some guidance on how you might approach your solution.
    Maybe someone else here has personally used the OM CI connector classes and can give you some better insight.

  • Looking for simple search example using SELECT

    Can anyone link me to an example of how to create a basic search page where the search criteria is selected in a drop-down list (<SELECT> in HTML)?
    Here's where I'm coming from so you have a better idea of what I'm trying to do. I've created a search page by creating a method in my App Module java class using setWhereClause(), then dropped my view onto my web page as a read-only table, and finally dropped the method and parameter as a command button and input text field, respectively. This works fine, but I'd like to replace the input text field with a select box so that the users will not have to type in their search criteria. I'd like to populate the drop-down with data from a table, which will then be sent as the argument for the method.
    I can create a ViewObject that contains the data I need, but I'm not sure where to go from there. I don't know how to create the drop-down list or connect the command button to the list. (Ultimately, I'd like to have the search text submitted when the drop-down changes, but I'll settle for pressing the button for now). I've fooled with using the LOV component, but without any luck.
    Step-by-step would be great, but if you can point me to an example, some documentation, etc., that would be great too.
    Thanks,
    Andy

    Excellent - Thanks for the link to the sample code page. I thought I had seen all the tutorials, etc. but for some reason never came across this page. The example you cited looks like it's just what I'm looking for.
    (Edit - For anyone who's interested, here's a step-by-step for creating a databound drop down list:
    http://www.oracle.com/technology/products/jdev/tips/mills/databound_lists.html )
    Andy

  • Time Machine on my iMac won't open iPhoto. It goes to desktop screen automatically. When I select User/Picture/Iphoto library it only brings up the preview page with the size of the folder. I can't get into the library to look for lost photos.

    Time Machine on my iMac won't open iPhoto. It goes to desktop screen automatically. When I select User/Picture/Iphoto library it only brings up the preview page with the size of the folder. I can't get into the library to look for lost photos.

    Thank You. This helps me alot to get into the masters and to see events and photos in a utilitarian way, but it is not as easy as viewing the normal iphoto format to find photos.  Can I do something else or did I not do something right to not see normal iphoto in Time Machine ?

  • Looking for Javascript to replace 'selected' pages in a pdf?

    Hi
    I've searched the web looking for a solution to a time consuming issue without luck. I have multi-page, print ready pdfs - but have to make corrections to a number of 'random' pages in InDesign. I have to replace only the random corrected pages in the standing pdf.
    An ideal solution would be a script that could launch an interface allowing input of the corrected page numbers eg: 3,5,14,56,92,146, together with a facility to select the corrected file/or files to replace pages, page number for page number in the print ready pdf. Does anyone know of a solution or possible starting point?
    MTIA

    Hi,
    Have you tried transforming this using XSLT?
    Regards
    Ayyapparaj

  • Looking for the oracle equivalent of T-SQL 'SELECT TOP n'

    Hi,
    I'm looking for the Oracle equivalent of T-SQL 'SELECT TOP n'
    and can't find any. There is SAMPLE(n) function but it supposed
    to pick up random values and I'm not sure if it's possible to
    make it select top values. Please help 8-)
    Thanx

    Hi Marina.
    Oracle does not have a functionality like SQL Server for TOP
    selection. The ROWNUM option should be used with great care and
    you may get unreliable results.
    Try looking at Metalink
    Doc ID: 291065.999
    Doc ID: 267329.999
    - They discuss this issue, and solutions.

  • Looking for Fm which display Blocked status

    Hi ,
    I was looking for a function module which displays the  blocked status in GTS system, i know one '/SAPSLL/CD_STATUS_GET' which exist ECC system, but i am looking for which is in GTS system.
    Could you plz help me out with this issue.

    Hi Ashok
    To answer your question some more context would be useful.  What inputs do you have to identify the document?  The reference document -OR- GTS customs document?  There are lots of standard function modules available such as /SAPSLL/CUHDSTA_DB_SGL_READ which provides the customs document header statuses for SPL, License and Embargo checks from the document header status table directly.  The inputs for this would be the GUID from table CUHD.
    The function module used when ECC calls GTS using /SAPSLL/CD_STATUS_GET is /SAPSLL/API_6800_STATUS_GET, this is another possibility. 
    Hope that helps.
    Rachael

  • Looking for best apple software for image extraction i.e. select an image from one photo and place it on another photo

    looking for best apple software for image extraction i.e. select an image from one photo and place it on another phot

    Cannot guarantee it's the best, but it certainly is the least expensive:
    http://www.gimp.org/downloads/

  • 11g block recover doesn't look for flashback logs

    dear all
    could you please let me know the reason of why rman doesn't uses flashback logs for block recovery? Here's the thread I've opened in ddatabase-general
    Re: 11g block recover doesn't look for flashback logs
    thanks
    john

    dear all
    could you please let me know the reason of why rman doesn't uses flashback logs for block recovery? Here's the thread I've opened in ddatabase-general
    Re: 11g block recover doesn't look for flashback logs
    thanks
    john

  • My 5s iphone has stopped syncing anything except Apps from i tunes on my Macbook Pro. Even if I select the Music tab it still only looks for Apps to sync

    My 5S iphone has suddenly stopped syncing anything except Apps. I have selected the music tab in i tunes and asked for it to sync entire music library but all I get is a message looking for which Apps to sync and after a brief time it stops doing any syncing at all. Consequently a new playlist I added to i tunes on my computer has not migrated to the iphone. This has never been an issue before so I'm a bit lost to know what to do.

    Under the Music tab is the "Sync Music" checkbox ticked? Beneath that have you defined what music you want to sync?

  • Looking for block diagram of 2.66GHz MacBookPro

    Does anyone have a link to a block diagram of the 2.66GHz MacBookPro? I am looking for information on how the processor, north & south bridge, ports & buses relate to each other.

    I know Apple has developer notes posted. They're not always that intuitive with respect to the way the pages link to subsystems... but I've always been able to track down what I've needed.
    Here is a sample:
    http://developer.apple.com/legacy/mac/library/documentation/HardwareDrivers/Conc eptual/HWTechabbrev/Introduction/abbrevintro.html
    And here is the main reference library page:
    http://developer.apple.com/mac/library/navigation/index.html?topic=Guides&sectio n=Resource+Types

  • I live in Hong Kong, but I am from Seattle WA. When i look for ibooks or itunes my selections are extremely limited. Is this because I'm in a different country?

    I live in Hong Kong, but I am from Seattle WA. When i look for ibooks or itunes my selections are extremely limited. Is this because I'm in a different country?

    For instance; it seems on the net I see that many Tom Clancy books are availbe on ibooks, but i can not just look them up on my phone. along with many other authors. in the Category section, when trying to browse, many of the categories do not contain any authors or titles at all. this goes for many "i" apps.

  • "Look for libraries to share" does not appear in the Shared pane under preferences.  I'm trying to see my fiances shared library.  She can see mine. I have selected share entire library.  Help please!

    Cannot see my fiance's library but she can see mine.  Checked all appropriate boxes to share entire library.  Help syays to check under Shared which does not even appear anywhere.  It also said to check the "Look for share libraries" under shared pane which also does not exit in that pane. I am Windows 7 and she is Macbook.  Thanks

    I'm using an Airport Extreme, and I'm not aware of UPnP settings in the Airport Utility.
    On the Mac, I set up a Parallels Vista instance in bridged mode and verified that I can see the other Vista PC share folders, so I know that the Vista PC has been set up correctly.
    Additionally, as mentioned before, I switched DNS Servers several times, but settled on an alternative Rogers DNS to avoid their awful failed lookup ad page (64.71.255.202 if anyone needs it).
    I also tried adding the Vista PC IP to my Mac hosts file, which oddly showed the Mac on the Vista side, but nothing on the Mac side.
    I also goofed around in the smb.conf file with some settings, but alas, nada.
    The only thing that might explain why the Airport Express network (Vista, XP) provided me with shares in the sidebar and not my own Airport Extreme network (just Vista) could be that it's a master browser issue. I saw a couple of posts about this.
    If the Vista machine is the master browser, nothing will show in the sidebar, but if XP or a Mac is the master browser, then the sidebar will show shares. I don't have a way to verify this as I'm not sure how to force one machine to be a master browser over another. I'm suspicious if this will do anything as I've found other posts saying exactly the opposite scenario.
    Is there anyone out there that has had a network, possibly with Airport Extreme, one Mac (Leopard), one Vista PC, and Vista share is showing in the Finder sidebar?

  • Contractor looking for advise for thinkpad selection

    I'm a small business const. Contractor. Because of our current work load I am no longer able to keep up with my work in the home office. I am looking for a reliable laptop pc so I can work in the field. I am looking at the think pad line becuase of the known durability. I would like this to become my primary pc . Business tasks to be performed: quickbooks accounting software, proposals, contracts, spreadsheets, digital picture storage, 3D design software (so I would need higher end graphics). 15.4" screen. I would need it to hold up to some dust, heat ect... Within reason. I just need something reliable. Any advise would be greatly appriciated. Thank you. Nick

    most of your needs can be catered for by a T510 with integrated GPU, but when you say you need to run 3D design software, what sort of software and what design would you need to do on it (how complex)?
    If you manipulate large models and such then you maybe better off with the W510, but if it is relatively simple then T510 with the Nvidia GPU should be fine.
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

Maybe you are looking for

  • Receiver Mail adapter with multiple mail ids

    Hi Experts, I am doing File to Mail scenario. I am generating mail package structure using Java mapping. Email is not going to multiple mail ids mentioned in To field. I tried with , and ; but for both it is behaving strange: When using ,(coma) in ca

  • How to setup weblogic cluster in 6.1 SP4

              Hi All,           I have a Licensed weblogic in my solaris servers. I need to test weblogic clustering           . How can i simulate weblogic clustering is there is any easy steps to do that           and what should i do in order to make

  • Problem with dimension of an image loaded from a database

    Hi, I succeed in saving image in a MSAccess database with this code: Image img; image = new ImageIcon("d:\\prova\\comore.jpg"); img=image.getImage(); try{ int[] pix = new int[img.getWidth(null) * img.getHeight(null)]; PixelGrabber pg = new PixelGrabb

  • The airport speaker option not showing on itunes

    I am connected wirelessly and can surf the net through the airport, but the speaker option is not showing on itunes. I have enabled it in the airport utility.

  • Flash Player 10 Debug version?

    Hi -- I am a Flash / Actionscript developer and I am eager to start working with Flash Player 10 but I can not seem to find a "debug" version that will output my "trace" statements. Is this available yet? Thanks Rich