How to get sequence overall result in LabView ?

Hello,
Would anyone can help with this tiny problem ?
We have a batch (.bat) that launches a given list of TestStand sequences, which works as expected.
However, we would like to monitor the result of each sequence and display it to the operator.
Our idea is to get the sequence result in a VI, run at sequence end, and add it to a queue, that will be retrieved and displayed on a VI monitor, run separetly.
The only problem we have left is to be able to retrieve the sequence global result. Any idea or suggestion ?
Thanks
Raphael
Solved!
Go to Solution.

Thanks. The problem is not the monitor and how to pass the information to it.
We already have a test monitor (using queues) that is working as expected.
The test sequence is queuing information, mainly at steps end with step result, and the monitor is displaying information from that queue. The queue is resseted at each sequence start.
We would like to derivate that monitor to display only sequences (launched by a batch file) overall-global-final result of all the sequences ran. Using UImessage is maybe a better way, but we do not want to spend time re-writing another monitor.
The problem is how do we retrieve this overall-global-final sequence result in LabVIEW ?

Similar Messages

  • How to get  the Overall result and Avg in Query

    Hi
    I am facing a problem to find Overall result and Avg for the keyfigure.
    Here is the scenario.
    I have a fiscalperiod ,qty in query column and material in row, when user enters the fiscalperiod(004.2006 to 006.2006)
    the output should come as
       0406 0506 0606  Avg
    M1  10  20   40     35
    M2  20  40   30     45
    res 30  60  70
    i can able to get the overall result not avg,
    if i change the properities of keyfigure 'Calicuate Result as 'Average of all values'',then i am loosing the overall result.
    eitherway i can able to get one result,not both.
    anybody can help.
    Thanks
    Madhu

    You have 2 key figures and you have put Material in the ROWS.
    Remove Material from ROWS and instead use 0FISCYEAR in the row selection.
    You can create 12 Key figures for each month and use either Filer or Free Characteristic using 0CALMONTH to restrict the month for the selection Variable.
    For the Key Figures use "Calculate Single Value as" Average.
    Create another formula as KF1KF2....+KF12 to get the sum of average.
    Regs
    Gopi
    Assign points if it helps...

  • How to get the fixed result in a DES/CBC mode with fixed input data and fix

    How to get the fixed result in a DES/CBC mode with fixed input data and fixed key. Below is my program , I tried to get the checksum of the DESInputData with the DESKeyData, but each time the result is different.
    below is my code:
    byte[] DESKeyData = {(byte)0x01 ,(byte)0x01 ,(byte)0x01 ,(byte)0x01, (byte)0x01 ,(byte)0x01 ,(byte)0x01 ,(byte)0x01 };
    byte[] DESInputData = {(byte)0x31 ,(byte)0x31 ,(byte)0x31 ,(byte)0x31,(byte)0x31 ,(byte)0x31 ,(byte)0x31 ,(byte)0x31 };
    SecretKeySpec skey = new SecretKeySpec( DESKeyData, "DES" );
    Cipher cipher = Cipher.getInstance("DES/CBC/NoPadding");
    cipher.init( Cipher.ENCRYPT_MODE, skey );
    byte[] result = cipher.doFinal( DESInputData );

    Use class javax.crypto.spec.IvParameterSpec to specify IV for CBC mode cipher:
    // Create CBC-mode triple-DES cipher.
    Cipher c = Cipher.getInstance("DESede/CBC/PKCS5Padding");
    // Specify IV.
    IvParameterSpec iv = new IvParameterSpec(new byte[] { (byte)0x01, (byte)0x23, (byte)0x45, (byte)0x67, (byte)0x89, (byte)0xAB, (byte)0xCD, (byte)0xEF });
    // Initialize cipher with proper IV.
    c.init(Cipher.ENCRYPT_MODE, yourKey, iv);
    // Encrypt and decrypt should work ok now.
    For more info about cryptography, search the Internet for IntroToCrypto.pdf from mr. Phil Zimmerman. This document is also part of PGP (http://www.pgp.com).
    An excellent book is 'Applied Cryptography' from Bruce Schneier (http://www.counterpane.com/applied.html).
    Regards,
    Ronald Maas

  • How to get the query result of improvement (Before and After ) using sql de

    how to get the query result of improvement (Before and After ) using sql developer.

    Check
    http://www.oracle.com/technetwork/articles/sql/exploring-sql-developer-1637307.html

  • How to get the full result of a google search?

    How to get the full results of a google search?
    Nov 23, 2006 2:28 AM
    Hi, Friends,
    I want to build a URL collector as a seamless and integrated part of my desktop application in java language which can access the full search results of google, but i am not sure the right way? what is the best way to do that in java?
    Where to find the relevant materials for the problem?
    thanks a lot

    Cross post - http://forum.java.sun.com/thread.jspa?threadID=788627&messageID=4481369#4481369

  • How to get Sequence File Name ?

    Hello everybody !!
    I'm using TestStand 3.1 and i would like to get sequence file name. I've tried to use NameOf() function, but without success.
    Of course, I've searched previous posts about the same question, but nothing works.
    Is there someone able to tell me how to get sequence file name ?
    Thanks a lot.
    MrOrange

    MrOrange,
    first of all, the solution i will present only works for saved sequence files.
    you got all information you need within TestStand itself, just browse for RunState.SequenceFile.Path. here you can find the filename. but the path of the file is also included in the string, so this is a part you have to get rid off.
    you can use statements to extract the filename from the path. just search the string for the last occurence of "\\" (searchinreverse!) and then you can retrieve the right() part of the path. beware that right() needs the number of characters you want to extract, not the startindex!!
    hope this helps,
    Norbert B.
    NI Germany
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How to get computer ID programmatically in LabVIEW

    Hi all,
    I wish to know how to get the unique computer ID of a PC using LabVIEW. I need to acquire it to provide some kind of securinty to my labview based application. Please help.
    Regards,
    Giridhar Rajan
    Automation Engineer, Design
    Cruiser Controls
    Mumbai, India

    There are many threads here already on this subject.
    Search for the term 'Mac address' you will get over 122 results most of them on the subject of security.
    and try the following specific post
    http://forums.ni.com/ni/board/message?board.id=170&message.id=102353&query.id=23683#M102353
    look for the notes by Enrique
    You could of course buy a hardware key as well....

  • How to display the Overall result value at the top of work book

    Hi,
      How can i display the value of  Overall result(Sum of the Total) column at the top of the work book in Text field.
    Thanks
    Sreadhar

    Go to Query Global properties in Query designer and you can find a setting to show result rows on top. This setting will show overall result as first row in the report. But I don't think you can show it in Text field in WB.

  • How to get TOP 5 results in version 7.3.4?

    Hello,
    I have try to use subquery in a query to get the top 5 result in Oracle version 7.3.4, it seems like not working. Can you please tell me how to get the TOP 5 results with Oracle 7.3.4??
    For example,
    REJECT CATEGORY QUANTITY
    AA 100
    BB 5
    CC 20
    DD 73
    EE 88
    FF 76
    GG 43
    HH 99
    So i want to get the result as AA, HH, EE, FF, DD.
    Thanks.

    I don't have that version available to me and I forgot if rownum was already available. See if this works:
    select * from (
    select category, quantity, rownum rn
    from reject
    order by quantity desc)
    where rn <= 5;
    Note that this is not the same as the TOP posibilities in 9i, but you example seems to suggest this should be enough.
    Also note that on big tables, this query is performing porely because Oracle first needs to sort all records.
    L.

  • How to get sequence information.

    Hi,
    v_table contains sequence numbers in one column. In desc table_name not give sequence information like sequence name, sequence order like increment by...
    How can get this values. pls suggest me.
    Regards,
    Venkat.

    You can try connected as sequence owner:
      1* select dbms_metadata.get_ddl('SEQUENCE','SEQ_NAME') from dual
    SQL> /
    DBMS_METADATA.GET_DDL('SEQUENCE','SEQ_NAME)
       CREATE SEQUENCE  "TEST"."SEQ_NAME  MINVALUE 1 MAXVALUE 99999999999999999999999
    9999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER  NOCYCLE
    {code}
    or use USER_SEQUENCES view:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_2061.htm#i1588488
    Edited by: P. Forstmann on Jun 29, 2009 8:59 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to get sequence number by Category

    Hi there,
    This would be the sample values into the table;
    declare @table1 table
    Country varchar(10)
    insert into @table1
    values('Country1')
    ,('Country1')
    ,('Country1')
    ,('Country2')
    ,('Country2')
    ,('Country2')
    ,('Country2')
    Now, I'm trying to get sequence numbers by country, 
    Country1  1
    Country1  2
    Country1  3
    Country2  1
    Country2   2
    Country2   3
    And so on. Can you please give me some ideas how to accomplish this?
    Thanks very much in advance.

    Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules. You have absolutely
    no idea! Temporal data should use ISO-8601 formats. Code should be in Standard SQL as much as possible and not local dialect. 
    This is minimal polite behavior on SQL forums. What little you did post is garbage. Besides not knowing Netiquette or the basics of RDBMS, you do not know what a CREATE SEQUENCE is in SQL. Why do you think that a reserved word is good name for a table of counties?
    Where is the ISO country code? 
    CREATE TABLE Countries
    (country_code CHAR(3) NOT NULL PRIMARY KEY,
     country_name VARCHAR(25) NOT NULL);
    What you posted is not a table at all! It has no key. 
    CREATE TABLE Redundant_Country_List –- not a table!! 
    (country_code CHAR(3) NOT NULL
       REFERENCES Countries (country_code));
    What you asked for is:
    SELECT country_code,
           ROW_COUNT() OVER(PARTITION BY country_code)
            AS non-relational_redundancy_nbr
      FROM Redundant_Country_List;
    The correct answer is:
    SELECT country_code, COUNT(* AS degree_of_duplication 
      FROM Redundant_Country_List
     GROUP BY country_code;
    Based on teaching SQL for a few decades is that you are 2-3 years away from being able to use the language, if you study hard and work full time with good mentors. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • How to get sequence name in run time.

    hi
    I have several sub sequence called in the main sequence in TestStand. Those sub sequences have different sequence names, which i wanted to display by string indicator on the Labview Operator Interface. Is there a simple way to show the current calling sub sequence name during run time(run main).
    thanks.
    Message Edited by Appledoll on 07-12-2007 10:12 AM

    Hi,
    The easiest way is to use the NameOf() function. In this case where you wish to get the name of the current sequence the syntax NameOf(RunState.Sequence) yields the name. I attach a very simple example also.
    Getting the Name of Any TestStand Property Programmatically in TestStand
    Hope this helps
    Pelle S
    District Sales Manager
    National Instruments Sweden
    Attachments:
    Get sequence name.vi ‏15 KB

  • How to get the best results using the refine edge tool?

    how to use the sliders in the refine edge tool? how do you get the best results using the fine edge tool?

    You should ask in the forum for the (un-named) program you are using
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • How to get custom trigger result when insert

    I set a trigger before insert, if the result was $aa = 50;
    how to get $aa?
    it doesn't work
    $ins_testtable->addColumn("t_num", "NUMERIC_TYPE", "VALUE", $aa);

    I tried this one, actually, {GLOBALS.variable_name} is one of mark-up language,I add echo $a this time, after submit, $a appear on the page, so I think "definea trigger" has been executed successfully, but still got error message
    <br />
    <br />http://uploads.screenshot-program.com/my.php?image=upl2682569831.jpg
    <br />
    <br />code
    <br />--------------------------------------------------
    <br /><?php require_once('Connections/conndb.php'); ?>
    <br /><?php<br />// Load the common classes<br />require_once('includes/common/KT_common.php');<br /><br />// Load the tNG classes<br />require_once('includes/tng/tNG.inc.php');<br /><br />// Make a transaction dispatcher instance<br />$tNGs = new tNG_dispatcher("");<br /><br />// Make unified connection variable<br />$conn_conndb = new KT_connection($conndb, $database_conndb);<br /><br />//start definea trigger<br />function definea(&$tNG) {<br />global $a;<br />$a = 100;<br />}<br />//end definea trigger<br /><br />// Make an insert transaction instance<br />$ins_testtable = new tNG_insert($conn_conndb);<br />$tNGs->addTransaction($ins_testtable);<br />// Register triggers<br />$ins_testtable->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "ins");<br />$ins_testtable->registerTrigger("BEFORE", "definea", 50);<br />// Add columns<br />$ins_testtable->setTable("testtable");<br />$ins_testtable->addColumn("t_name", "STRING_TYPE", "POST", "t_name");<br />$ins_testtable->addColumn("t_num", "NUMERIC_TYPE", "VALUE", "{GLOBALS.a}");<br />$ins_testtable->setPrimaryKey("t_id", "NUMERIC_TYPE");<br /><br />// Execute all the registered transactions<br />$tNGs->executeTransactions();<br /><br />// Get the transaction recordset<br />$rstesttable = $tNGs->getRecordset("testtable");<br />$row_rstesttable = mysql_fetch_assoc($rstesttable);<br />$totalRows_rstesttable = mysql_num_rows($rstesttable);<br />?>
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <script src="includes/common/js/base.js" type="text/javascript"></script>
    <br />
    <script src="includes/common/js/utility.js" type="text/javascript"></script>
    <br />
    <script src="includes/skins/style.js" type="text/javascript"></script>
    <br />
    <br />
    <br />
    <br /><?php echo $a; ?>
    <br />
    <form id="form1" name="form1" method="post" action="">
    <br />
    <label for="t_name">tname</label>
    <br />
    <input type="text" name="t_name" id="t_name" />
    <br /> <?php<br /> echo $tNGs->getErrorMsg();<br />?>
    <br />
    <input type="submit" name="ins" id="ins" value="submit" />
    <br /></form>
    <br />
    <br />

  • How to get the required result in BI publisher?

    Hi All,
    QuoteROW
       QuoteItemROW
        SA   -- abc   
        PROD --xyzitem
        NR     -- 100
        MR     -- 150
                 QuoteItemROW
                       SA   -- abc   
                       PROD --xyz
                       NR     -- 100
                       MR     -- 150
                  QuoteItemROW
                       SA   -- abc   
                       PROD --xyz
                       NR     -- 100
                       MR     -- 150
      QuoteItemROW
        SA   -- abc   
        PROD --xyzitem
        NR     -- 100
        MR     -- 150
                  QuoteItemROW
                      SA   -- abc   
                      PROD --xyz
                      NR     -- 100
                      MR     -- 150
                   QuoteItemROW
                      SA   -- abc   
                      PROD --xyz
                      NR     -- 100
                      MR     -- 150
        QuoteItemROW
      SA   -- abc   
      PROD --klmitem
      NR     -- 100
      MR     -- 150
                  QuoteItemROW
                     SA   -- abc   
                      PROD --xyz
                      NR     -- 100
                      MR     -- 150
                  QuoteItemROW
                      SA   -- abc   
                      PROD --klm
                      NR     -- 100
                      MR     -- 150
    I have to grp on SA, PROD, NR, MR
    My Result should be a table
    SA ---abc
    PROD               NR           MR                 count
    xyzitem               100         150                    2
        xyz                  100         150                   4
    klmitem               100          150                   1
         xyz                 100          150                  1
         klm                 100          150                  1
    Please let me know how to get cnt on child record.
    Regards,
    Sam

    Hi Alex, thank you for your reply.
    Yes that is the hierarchy,
    QuoteItemROW -------------------------------------> this is the main POFS (master)
        SA  -- abc 
        PROD --xyzitem
        NR    -- 100
        MR    -- 150
        QTY  --  1
                QuoteItemROW ----------------------------this is POES under POFS (child)
                      SA  -- abc 
                      PROD --xyz
                      NR    -- 100
                      MR    -- 150
                      QTY  ---- 1
    and required a group on SA, then PROD, NR and MR. Basically wanted to display QTY count/sum.
    xyz is repeating (in red color) because first xyz is under group of xyzitem and another xyz is under another group of klmitem.
    SA ---abc
    PROD              NR          MR                QTY
    xyzitem              100        150                    2
       xyz                  100        150                  4
    klmitem              100          150                  1
       xyz                100          150                  1
        klm                100          150                  1
    Regards,
    Sam

Maybe you are looking for