different sous-schemas of a case of structures Concat strings

I use a case structure, which has about 8-10 different cases and each case has a string constant. I want to show the strings in a single indicator. Suppose that if 3 cases runs first, then second and third then. Then, the indicator should show

"first case".

second case

third case.

initially the indicator should be empty and then as soon as the first case runs indicator should show "first case".

After completing the first case, when the latter is running then the indicator should show

"first case".

second case. "

and so on... Please help me.

$agar wrote:

Here, it is attached with 3 cases...

Well, who does not seem very useful. Try to scale of 10 Boolean values!

Here's a quick draft how this could be done. Modify if needed.

Tags: NI Software

Similar Questions

  • sous-schema

    Hi all

    I have a question about the "business structure."

    I want to use a control "Tab" to select different sous-schemas in the structure of the case, and each sous-schema is labeled by string, such as 'tension', 'current' and 'power '.

    But it always shows errors:

    Structure of the case: selector values have bad type

    Structure of the case: no case for selector values.

    I was wondering how to solve this problem. Thank you.

    Well, you don't really have to do it either. A tab is an enum, and all you have to do is connect to a switch case. Do not type anything in the value box. He will automatically name the cases.

  • Block of sous-schemas to run in parallel

    I'm still new to LabVIEW, if this question is very probably stupid. But I am a little confused by the basics.

    We have a hypothetical test facility. To begin a measurement of what I need:

    1. turn on a couple of power supplies;

    (2 light up a cold room and set the temperature);

    3. While the temperature is defined but strictly after turning on the power supplies I need to do some upgrading/calibration with a couple of generators and a couple of power meters, and I want orders for such equipment must be sent at the same time.

    Well, LabVIEW is good in there, there are many structures I use to run this sequence: power meters installation... then other equipment orders. I can use the sequence of dish. Can I use nested case structures. But my question is: is there some way to just combine some sous-schemas to make them run together?

    To be more precise: I like the "place structure" for his appearance and behavior, but the description in the help leaves confused me a bit, if it's a good fit. Maybe there is a structure better?

    There are some ways more enjoyable to do things become more complicated, but essentially, this is what it looks like.  You can group certain Interior set VI a structure like below to ensure that they are made together.

  • How to read the data with different XML schemas within the unique connection?

    • I have Oracle database 11g
    • I access it via JDBC: Slim, version 11.2.0.3, same as xdb.
    • I have several tables, each has an XMLType column, all based on patterns.
    • There are three XML schemas different registered in the DB
    • Maybe I need to read the XML data in multiple tables.
    • If all the XMLTypes have the same XML schema, there is no problem,
    • If patterns are different, the second reading will throw BindXMLException.
    • If I reset the connection between the readings of the XMLType column with different schemas, it works.

    The question is: How can I configure the driver, or the connection to be able to read the data with different XML schemas without resetting the connection (which is expensive).

    Code to get data from XMLType is the implementation of case study:

     1   ResultSet resultSet = statement.executeQuery( sql ) ; 
    2   String result = null ;
    3    while(resultSet.next()) {
    4   SQLXML sqlxml = resultSet.getSQLXML(1) ;
    5   result = sqlxml.getString() ;
    6   sqlxml.free();
    7   }
    8   resultSet.close();
    9    return result ;

    It turns out, that I needed to serialize the XML on the server and read it as BLOB. Like this:

     1    final Statement statement = connection.createStatement() ;  2    final String sql = String.format("select xmlserialize(content xml_content_column as blob encoding 'UTF-8') from %s where key='%s'", table, key ) ;  3   ResultSet resultSet = statement.executeQuery( sql ) ;  4   String result = null ;  5    while(resultSet.next()) {  6   Blob blob = resultSet.getBlob( 1 );  7   InputStream inputStream = blob.getBinaryStream();  8   result = new Scanner( inputStream ).useDelimiter( "\\A" ).next();  9   inputStream.close(); 10   blob.free(); 11   } 12   resultSet.close(); 13   statement.close(); 14  15   System.out.println( result ); 16    return result ; 17
    

    Then it works. Still, can't get it work with XMLType in resultset. On the customer XML unwrapping explodes trying to pass to another XML schema. JDBC/XDB problem?

  • How can I call a stage, which is in a sous-suite, of a different sous-suite

    Hi, could someone me, please?

    How can I call a stage, which is in a sous-suite, of a different sous-suite.

    For example:

    Two sub sequence, is called, it is called B. In the order B, there is a step called BStep.

    In a sequence, there is a stage called AStep.

    Now, I Hope AStep can I call BStep, how can I do?

    Thank you in advance!

    Allan,

    What you're asking to do is not a practice of good software.  That's like saying you want to call a single line of code into a DLL.

    The best way to do what you want is to put the steps in a 3rd sous-suite.  Then set the subsequence with the parameters of the step.  Then call this subsequence of a sequence and the sequence B 3rd.

    This way, whenever you update the stage, they both get changes.

    Hope this helps,

  • order of sous-schema label z

    Is there a way to put the order of labels sous-schema plan? I realize threads I create will run under them, instead of course, leaving a Visual 'pause' in the thread.

    I'm sure that there is no way to change it... subdiagram labels will always be on top of son.

  • the label of sous-schema multiple line bug?

    Label sous-schema not be retractable at the time where the deletion of a line. I am doing it wrong or is this a bug?

    I've just updated to Labview 2013SP1

    Yes, looks like a bug... perhaps.

    Of course, you can simply grab the handle in the middle of the lower edge of the sous-schema label and resize it to where you want.

  • Is it possible to connect to different logical schema dynamically.

    Hello

    Is it possible to connect to different logical schema dynamically.

    We have the following requirement...

    (1) we have several end-of-source ERP and ERP running as target systems.
    We would like to integrate all instances of with a target.all source ERP the ERP have same tables and
    number of instance ERP source could be any number.

    It is that we want to build a unique interface that connects to each source ERP system
    dynamically and transfer the data to the target ERP.

    Example:

    We have three ERP oracle Application systems (EBS_01, EBS_02, EBS_03) you want to send item of table MTL_SYSTEM_ITEMS data to a target system ERP (OPSM).

    Since we all LES have the same table (MTL_SYSTEM_ITEMS), we want to create an interface skirts that connect to each instance of ERP and transfer point in OPSM ERP data.

    How can an interface dynamically connect to each LES...

    Please help us solve this problem...

    Thank you
    Baji

    Hi Vincent,.

    You can get all information about the context of the SNP_CONTEXT table (it will be there in the schema of the master repository)

    Thank you
    Fati

  • Case of Structures run a particular set of code for several conditions?

    Structures of the event may have a single case of event manage several event specifiers.

    C code supports this kind of statement 'switch ':

    Switch (EnumValue)
    {
    case a:
    case b:
    handleAOrB();
    break;

    case c:
    case d:
    e case:
    handleCOrDOrE();
    break;

    by default:
    handleOther();
    }

    How about Business Structures? Can I attach a code block to multiple values to enums? (without duplicating cases, which might be a maintenance nightmare)

    Edit: the closest thing I found is http://forums.ni.com/t5/LabVIEW/case-structure-multiple-inputs/td-p/2377132, but my original enum in another conversion is a bit rude

    You can specify multiple values enum for a particular case. Is that what you're looking for?

    For more information, see the series of weekly nuggets that I wrote on the case Structures: part 1, part 2, part 3, part 4and part 5.

  • Disable & gray a case of structure of the case

    Hello!

    I use 2 business structure to choose if I want a channel 'create' or not. I don't know if it's the best way to do it but... It s okay if I use this control type to choose the case? and... How can I disable and grey items in the not selected case?

    Thank you to

    TXL

    Yes you can do to control or indicator... Use the property node...

  • case of structure above or below

    Hello.

    I have trouble making a structure case that if a digital input is greater than a number, it does one thing and less he made another.

    Basically how do you work with structures of cases that are not Boolean, especially if a number is greater than 38 he he reassigns 0 (multiply by zero, something like that).

    Neil_Helsel wrote:

    Hello.

    I have trouble making a structure case that if a digital input is greater than a number, it does one thing and less he made another.

    Basically how do you work with structures of cases that are not Boolean, especially if a number is greater than 38 he he reassigns 0 (multiply by zero, something like that).

    You can use the range in a select case structure field. Use 38... for greater than or equal to 38... less than or equal to 38 38. You must use integers for that.

    EDIT, you can also use more operator if you have 2 possibilities.

    Ben64

  • set the number of cases cases of structure

    Is there a quick way to define say 200 cases in a structure of cases without having to manually add another case, after or before?

    Kind regards

    Hey Grant,

    who needs 200 + cases in a structure would have use a typedef enum, which connect to the entrance of the selector and select "create a case for each item.

  • Case of Structure / timer

    Hello

    I have attached a sample vi to control a serial device that takes input from 40 to turn the unit on and 41 to turn off the unit.

    I want to do is when I press start I want a 40 to send to the appliance and activate the timestamp of loop.

    Then, once the time is over, I want to end the timer to send a 41 to power off and stop the two loops.

    I think I need to add a case structure to the timing loop, but do not know how to do in this regard.

    Any suggestion would be great.

    Thank you


  • Case of Structure with three cases and a tolerance

    Hi all

    I have a variable tension that I will be integrated in a housing structure. Is it possible to put in place the structure case as follows.

    If input case is between 1,238 and 1.242, out = RIGHT

    If the case entry is less than 1,238, left = LEFT

    If the case entry is greater than 1,242, out = RIGHT

    Thank you

    Greg

    As mentioned previously, does not allow a variable to double precision as a selector of case. You will need to convert entire (digital > conversion) first

  • Case of Structure / while loop problems

    Hello

    I am trying to write a code that draws a random number whenever a key is pressed.  The chart must be a random number on the y axis and the number of times that the button is pressed on the x-axis.  I want to draw the last twenty random numbers.  I use a while loop and a box structure.  If the button is pressed, the case structure incruments the number of times where the button is pressed and generates a random number.  I'm using shift registers to track the last twenty numbers generated.  When the key not, registers to shift to day values incorrectly.  My code is associated with this issue.

    I know that the last value of the shift registers of wiring to the structure of the case will change the table across the last value when the button is not pressed.  I know what causes the problem, but I don't know how to fix it.  I would appreciate it if you have a look and give me some tips.

    Thanks in advance.

    Your problem is that the loop runs continuously and your values in the shift register are replaced when you do nothing.

    There are a few ways around this.  It would be simpler to use a Structure of the event.  Another option is to simply store your table in the shiftregister.  Use Rotate 1-d Array and replace a subset of table to update your chart.  It is a little more robust and easier to use than using the history of the shift register.

    But the absolute simplest, based only on what you told us, just use a graphic instead of a graph.  A graph keeps a history.  The length of the default history is 1024 samples, then you want to reduce that to 20.  Then you just wire your random number right in the chart, and everything is done for you.

Maybe you are looking for

  • migration to 250GB SSD, need to dump local Photos

    I just bought a new iMac with 250 GB of storage Flash and need to clear some media on my old desktop to make the Time Machine backup adjustment on the new Flash Player.  I have an iCloud 200 GB plan, and all my photos on three devices (iPhone, deskto

  • show photo DP as an icon of instead of the photo of the f

    ARE ALL SHOWING THE ICON OF MY DISPLAY PICTURE. HOW CAN I GET THE ICON IS REPLACED BY THE PHOTO?

  • blinking code

    I have a laptop HP Pavillion 1326dx G7. Code flashing on the num locks and locks of cap is a 1. The power led lights up continuously. According to the HP website, a 1 blink code indicates a bad treatment. I've taken steps to replace my processor with

  • Windows no. disk Exception Processing Message c0000013 parameters 75b6bf7c 4 75b6bf7c 75b6b7c

    I get this message pop up randomly. Any ideas on how to get rid of it, or what to check. I can leave the computer, walk and pop message. Makes me crazy. Windows no. disk Exception Processing Message c0000013 parameters 75b6bf7c 4 75b6bf7c 75b6b7c

  • Cannot find the driver

    System Specs: Model: HP Pavilion 1310us g7 OS: Windows 7 Home Premium 63 bit Problem: Could not locate the driver. Details of the hardware: Device name: BCM20702A0 Hardware ID: USB\VID_0A5C & PID_21E3 & REV_0112 USB\VID_0A5C & PID_21E3 I thank you in