structure business with interval value

Hello crew NOR! I have to set a case structure for many cases. But the problem is that cases are not enabled with concrete values, but with intervals, for example:

in 'A' variable that can have multiple values (including decimals):

1<= "a"=""> <= 2=""  =""  =""  ="" -="">case 1

2< "a"=""> <= 3        ="" -="">case 2

3<"A"> <= 4         ="" -="">case 3

So, is there a simple way to do this with a business structure?

Thanks in advance!

Hello :-)

If you use a numeric value to trigger the struvture of all you need to do is type 3.15 in the switch case label (note the two period characters) and it will call this case for any value in the range of 3 to 15.

Happy coding!

Dave.

Tags: NI Software

Similar Questions

  • I have a business (with 10 cases) structure and I want 2 of them to be included in a loop.

    Hi all

    I'm new to this forum and I have a question.

    I have a business (with 10 cases) structure and I want 2 of them to include in a loop.
    How can it be done?

    Thank you.

    mosheg.

    Use own State Machine, where you can select the case according to your needs

  • create repatriated to convert a column with interval into two columns

    Hello

    I am creating a query in order to adapt the results of a table to get a double interval, but I'm not be able to operate.

    I have a table with the structure and the following values:
    select 
    key,
    Key2,
    Value
     from PARAMETERS
    where key ='OFFSET'
    
    Key           Key2          OFFSET
    OFFSET     20110201         +4
    OFFSET     20110601        +5
    OFFSET     20111001              +3
    OFFSET     20120201        +4
    I have a client tool that I can't change and need to receive these values in the format:
    START         END          OFFSET
    20110201    20110601          +4
    20110601    20111001          +5
    20111001    20120201          +3
    any idea on how I can do this?
    I use a database 11.2.

    Thank you
    Ricardo Tomas
    with parameters as (
                        select 'OFFSET' key,to_date('20110201','yyyymmdd') key2,'+4' val from dual union all
                        select 'OFFSET',to_date('20110601','yyyymmdd'),'+5' from dual union all
                        select 'OFFSET',to_date('20111001','yyyymmdd'),'+3' from dual union all
                        select 'OFFSET',to_date('20120201','yyyymmdd'),'+4' from dual
                       )
    -- end of on-the-fly data sample
    select  startdt,
            enddt,
            offset
      from  (
             select  key2 startdt,
                     lead(key2) over(order by key2) enddt,
                     val offset
               from  parameters
            )
      where enddt is not null
    /
    
    STARTDT  ENDDT    OF
    -------- -------- --
    20110201 20110601 +4
    20110601 20111001 +5
    20111001 20120201 +3
    
    SQL> 
    

    SY.

  • Case of event Structure to manage the value between

    I put in place a structure of the event to enter data in a multicolumn listbox.  I wanted to use a table, but it was difficult to place symbols in the first column; even using the odd fonts (Webdings, etc.) to get check marks, x, etc...  I don't want the user to change some of the columns, so a MCL with a structure of the event to detect user input works well in the test code.

    When the user clicks on a cell in the LFA, then I place a transparent control chain on the cell of the same size, so the user, it seems that they enter data.  I pre-fill the chain with the existing content of the cell control and site selection at the end of the string.  After you enter a string, the control of transparent string is moved outside the LFA, so all the clicks of the mouse in the LFA are always detected.  It all works very well.

    If the user changes the value and press 'Enter' or click on the button Enter text under the file menu check box, the structure of the "Change value" event triggers then.

    If the user keeps the same value and presses 'Enter' then the structure of the 'Touch Up' event where ScanCode = 28 detects the press 'Enter '.

    However, if the user wants to keep the same value and presses the button check box on the file menu and then the structure of the event does not detect it.  I added a bunch of advanced control of the chain, but if the user moves the mouse away from the control and then the tip appears only for a few moments.

    Some of my users are used to click the box to enter the channels, so I'd like to understand how to handle this event.

    What can I add to the structure of the event to detect user maintaining the same value by clicking the checkbox?

    Thanks for any advice.

    Leif Kirschenbaum

    P.S. I'm using LV 7.1 because my startup employer cannot justify the money to upgrade right now.  Yes, in more modern versions are nodes property to indicate the line & column clicked in a MCL, but I don't have access to it, so I use the position sizes and the row/column of MCL up/left to determine what cell they clicked in.

    You could hide the toolbar of the VI during the race, this disables the option click on the button "enter".

    Or you can run a small loop to see if the string still has key-focus, I discovered that when you enter the main focus is removed from the control of the chain.

    Tone

  • Siri in him sending text with the value 'NULL '.

    When I say, "Siri, text my wife, 'X', ' Siri responds correctly,"here is your message to Jill: 'X'. "" "  "Ready to send it?"  I say 'Yes' and sends the message.  As soon as I get a text from my carrier saying the recipient of the message was invalid.  100% of the time, I see that Siri has sent a text with the value NULL.

    I tried to restart my phone.  I tried to remove and re-add my contacts.  Anyone else having this problem?  Someone knows how to solve?

    If it's by the carrier, you should contact them and see what they receive in return for their side. Ive had Siri send messages for me and I have never seen this one IOS.

  • I have a column with two values, separated by a space, in each line. How to create 2 new columns with the first value in a column, and the second value in another column?

    I have a column with two values, separated by a space, in each line. How do I create 2 new columns with the first value in one column and the second value in another column?

    Add two new columns after than the original with space separated values column.

    Select cell B1 and type (or copy and paste it here) the formula:

    = IF (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    shortcut for this is:

    B1 = if (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    C1 = if (Len (a1) > 0, Member SUBSTITUTE (A1, B1 & "", ""), "")

    or

    the formula of the C1 could also be:

    = IF (Len (a1) > 0, RIGHT (A1, LEN (A1) −FIND ("", A1)), "")

    Select cells B1 and C1, copy

    Select cells B1 at the end of the C column, paste

  • I just got an email saying that I bought 3 movie rentals with a value of £116,15 via the iTunes store. I've done this! Someone else?

    I just got an email saying that I bought 3 movie rentals with a value of £116,15 via the iTunes store. I've done this! Someone else?

    This is a phishing attempt. Do not respond. Shall not disclose any personal or financial information. You can use the address below to the suspicious message as an attachment to the Apple. [email protected]

    The link below has information to identify fraudulent emails.

    http://support.Apple.com/kb/HT4933

  • Fill an input array with the values from the worksheet

    Is it possible to fill an input array with the values to a text file or a spreadsheet? If so, how do you?

    Thanks to GerdW and all who responded. Fill a table control using a local variable with "The spreadsheet file read" as he entered works perfectly.

  • Show largest index in the array with the value 'True '.

    Hello

    Is it possible to show the maximum number of index with the value "true", as indicated under?

    I can show the value on what index series of 'real' ends with the function 'Table Max and Min', but when there
    a fake between these True, it shows that the index of the true left of the fake.

    I don't need to know the size of the table, because he must stay 8

    File is attached

    Hi Stef,

    Here you go:

  • How can I compare unique value with several value...

    Hello

    I want to compare a value with multiple values, how is it possible?

    I tried to design the same logic here as an attachment, but I had the problem that when I entered the value of y that is compared with only a minimum value of x, I don't want I want to compare the value of y with the value of x and then if y is less than x while loop should be stop.

    I want to do because in my program some time I have not result I want, for example, the values of x is 4,5,6,7,8 and value is assumed to be 6 then while loop should be stop but here he considers only less and its 4 here so so that the loop is not stop even there is less then 7 and 8. So I want to compare the value of y with all values of x and if y is less then one of the values while x loop should be stop and led should be on.

    Please guide me how I can do...

    I don't understand?  If there is less than the minimum value of X then it is less than all values of X.  That's what I do anyway:

  • How to remove empty entries in a table and replace them with the values of the instance?

    I have a table with values and spaces elements. I want to organize items such as table contains only values eliminating the empty spaces and re-organize the table with the values of cotimuous.  I use a bollean table to populate the items, so the bolleans to false fill the empty I don't want spaces. How can I program the above operation?

    Thank you

    Thank you for your solution, but I just found an easier way. INDEXING CONDITIONAL!. How I miss that. in any case, thanks...

  • DAQmx create track (I-current-Basic) 8 channels with different values of Shunt resistance

    Hello

    I want to measure 8 current channels with different values of Shunt resistance.

    Problem: The channel create DAQmx (HAVE current Basic) specifies that a value of Shunt resistance.

    How can I set the value of Shunt resistance for each channel individually?

    Concerning

    Marcel

    Hi Marcel_C,

    Take a look to get attached.

    Best regards

    Mencef

  • Read byte with a value up to 127 lire byte with an ASCII value greater than 7F (127 dec)

    Hello

    I have to read a byte with a value greater than 127, Labview turn 27.

    In help I saw that Labview provides a description of ASCII that pour values ranging up to ' 127.

    What do I need to do?

    LabVIEW 6.1

    Windows XP

    Hello

    I want to read a byte with a maximum value of 127, but Labiew reurn arround 27 value

    How do I do?

    Rigid wrote:

    Thanks for your help. I'm not changing lyke I understand (my English is poor quiet...)

    I have another program that communicate with the instrument. I know byte (6) must be greater than 18 (greater than 7F actually).

    But with Labview, I'm only 18.

    While it might be higher than 18 x, an I8 is signed, and therefore it cannot be greater than x7F - it has a range of-128 to 127. A U8 is not signed, and it's why he has a range from 0 to xFF. However, x 18 is the same if you treat as signed or not signed. I don't see how LabVIEW can read a wrong value on the serial port. Are you sure you're looking at the correct byte? Your code shows that you split the chain twice. Are you sure that you do this properly?

    Given that you use on Windows you can recheck the chain received using PortMon. Allows you to see what is actually received by the driver for the serial port on Windows.

    P.S. I actually meant the whole byte function.

  • I have a 32-bit version of Windows Vista business with service pack 1... How he move to Windows7?

    I have a 32-bit version of Windows Vista business with service pack 1... How he move to Windows7?

    How to upgrade:

    If you have Vista:

    Update: http://windows.microsoft.com/en-us/windows7/help/upgrading-from-windows-vista-to-windows-7

    Custom installation: http://windows.microsoft.com/en-US/windows7/help/upgrading-from-windows-vista-to-windows-7-custom

    If you are running Windows Vista , in some cases you can proceed directly to Windows 7, and in other cases, you must perform a custom installation. The following table shows what editions of Windows Vista can be upgraded to Windows 7.

    Windows Vista Home Basic

    Windows 7 Home Premium, Windows 7 Ultimate

    Windows Vista Edition Home Premium

    Windows 7 Home Premium, Windows 7 Ultimate

    Windows Vista Business

    Windows 7 Professional, Windows 7 Ultimate

    Windows Vista Ultimate Edition

    Windows 7 Ultimate

    For more information, see upgrading from Windows Vista to Windows 7 . (http://windows.microsoft.com/upgrade-windows-vista )
    You can't go from 32 bit to 64 bit, a clean install is required. If you have any questions about the upgrade from 32 bit to 64 bit or vice versa, please see this FAQ: http://windows.microsoft.com/en-us/windows7/32-bit-and-64-bit-Windows-frequently-asked-questions
    If you have any general questions about reinstalling Windows , please see this site:
    http://Windows.Microsoft.com/en-us/Windows7/installing-and-reinstalling-Windows

    Installation - 'upgrade' means what?
    Upgrade means that you can install Windows 7 simply by inserting the Windows 7 upgrade software in the DVD drive of your PC and follow the instructions on the screen. While you are not required to backup and reinstall your files, or reinstall your programs, it is a very good idea to back up your files and settings before you start any upgrade to the software. Get more information on the software updates and best practices .

    Installation - what does "Custom (Clean)" Mean?
    A custom (clean) installation clears the contents of the hard drive of your PC. Your files, settings, and programs will not be transferred to Windows 7. This means that to install Windows 7, you must:

    • Back up any files and settings you want to keep

    • Install Windows 7

    • Reinstall all your files

    • Reinstall all the programs you want to use.

    These four steps take time, skills, techniques and Windows Easy Transfer can help. However, if you are not comfortable with this process, please consider having the installation carried out by a local service provider.

  • Router Cisco Small business with the functionality of the link aggregation

    Hi all!

    can someone tell me if there is a router from Cisco Small business with the functionality of the link aggregation? (I want to connect two 4 Mbps SDSL for flow)  The RV082 can do?

    Best regards

    You would need a RV016, who takes in charge up to 7 WAN ports. RV082 has only two WAN ports.

Maybe you are looking for