TestStand report shows a passing value as a fail

I ran into a possible bug that I'd like to get some feed back on.  Attached is a sequence and VI that when run in test UUT every other iterations value for the step (i.e. next UUT) the result is maintained from the last UUT and it show up in the report. Iit is a stripped-down-to-nothing version from the acutal test sequence on the floor with some stuff to simulate the error.
The step does have the ignore error on and this situation happens when an error occurs but I would not expect the previous test result value to show up.  Run the sequence and see what I mean.  It generated a report that makes my manufacturing floor question the stability of TS.
PS. LV 8.5 TS 4.0
Message Edited by paulmw on 03-04-2009 12:31 PM
Solved!
Go to Solution.
Attachments:
Report Error.zip ‏24 KB
PassAsFail.JPG ‏36 KB

Paul -
The reason are getting failed with a measurement from the last good UUT is because of many compounding issues. The sequence has the default setting of "Optimize non-reentrant calls to this sequence", which basically tells TestStand to cache the runtime copy of the steps in this sequence to improve performance for each subsequent call to the sequence. So the Step.Result.Numeric value will not only be maintained each time you call the step within an instance of the sequence, but now also subsequent sequencial invocations. Next, notice that the report says that you had 10 iterations executed with 0 passed and 0 failed. This means that you got errors on all iterations. Now a looping step reuses the step result as it executes each loop, and the final summary result is a snapshot of the last iteration. Since you are ignoring errors, the numeric value on the step result never gets updated, so the final summary step result is the same as the last UUT. The looping code then sets the loop status to Failed because no iterations passed.
Look at the attached report to illustrate the behavior. The report shows you the results from each iteration as well as the parent summary result.
In general ignoring errors is a bad idea, but assuming that you want to continue to ignore errors, you can do one of the following in order or ease and best behavior:
1) Add a preexpression to set Step.Result.Numeric to a failing value, such as zero or NAN
2) Uncheck the "Optimize non-reentrant calls to this sequence" setting, so that a default value of zero will be used for Step.Result.Numeric
3) Add another step after the one you are running to see if at least one iteration passed or failed.
Scott Richardson
National Instruments
Attachments:
Full Example Report.zip ‏2 KB

Similar Messages

  • COPA report showing as positive values which should be show as Nagitive val

    Dear Experts
    I have one issue with COPA and Profit center reports reconciliation where the both have same structure
    user  compareing the (Period :dec 2011)  report PCA and COPA there identified some values are difference  so we started investgation
    one of the cost element showing in nagitive value in accoungint document and same  it is showing postive value in COPA report
    that values for debit and credit line items are adding (,) insted of Cancellation  (+,-) , so that COPA report is incresed the value for one value field when compare with PCA report line items
    could you please let any guide me where is the problem is occuring
    thanks
    Rana

    Hi,
       The COPA sign logic depends on the cost element type used (costs or revenues) and also the customizing of the '+/-  transfer sign' in tcode KE4I.
    The following table shows an overview of how condition values are
    updated in CO-PA for billing documents from SD:
    Billing document (normal) "With +/- sign"    "Without +/- sign"
    Debit posting                          negative            positive
      (such as sales deductions)
    Credit posting                         positive            positive
      (such as sales revenues)
    Credit memo/return         "With +/- sign"    "Without +/- sign"
    Debit posting                          negative            negative
      (such as sales revenues)
    Credit posting                         positive            negative
      (such as sales deductions)
    The "+/- sign" refers to the "Transfer +/- sign" flag in tcode KE4I where you assign SD conditions to COPA value fields.
    If the system is behaving as shown above and you want a different behavior then you could change the sign in user exit COPA0002.
    regards
    Waman

  • Livecache remote cube report shows double the value in BW reports

    Hi,
    We are trying to report against livecache using remote cube and getting
    doubled values in reports where as direct report against livecache is showing different results.
    Transaction: RSA3
    Data Souce: Livecache
    Planning version: 000
    Loaded one particular product
    Then consensus forecast shows a value 250.
    The same information if we try to access using BEx analyzer 3.x then
    Consensus forecast = 500
    Which is DOUBLE the value than it is using RSA3. Why is it doubling? Please let me know if you come across similar issue.
    Thanks,
    Srini

    please check the Remote cube contents as well. Go to ListCube transaction enter the remote cube and check the contents of that cube.

  • Report shows "No data found" when validation fails

    Hi folks,
    I'm new to the OTN and have a short question regarding validations/report pagination.
    We are using Apex 4.0.2.00.07.
    I have a page containing a report with three columns.
    First column is a checkbox (f30), the second one a date picker and the third one is a value field (f34).
    I'm trying to build a validation for the value field (should only allow numeric values, but is varchar2) and used a validation with "Function Returning Boolean".
    The PL/SQL code is:
    DECLARE
    vrow BINARY_INTEGER;
    v_number FLOAT:=0;
    BEGIN
    FOR i IN 1 .. APEX_APPLICATION.g_f30.COUNT
    LOOP
    BEGIN
    vrow := APEX_APPLICATION.g_f30 (i);
    v_number := to_number(APEX_APPLICATION.g_f34(vrow));
    RETURN TRUE;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN FALSE;
    END;
    END LOOP;
    END;
    The validation works fine, but every time I enter a non numeric value and the validation fails (error message is displayed correctly as notification) I get a "report error: ORA-01403: no data found" in the pagination area of the report.
    Tried to disable pagination completely, but the error still displays when the validation fails.
    Any help would be appreciated.
    Thanks in advance and regards
    Sandro

    Content of the checkboxes is ok, debugging showed
    1:7     
    2:8
    (records 7 and 8 where ticked)
    Debugging console also shows:
         0.10900     0.00000     Processing point: Before Box Body          
         0.10900     0.00000     Region: Shareclassinformation          
         0.10900     0.00000     Item: P59_IS     
         0.10900     0.00000     Item: P59_NA
         0.10900     0.00000     Item: P59_CO
         0.10900     0.00000     Region: Attribute Selection
         0.10900     0.00000     Item: P59_LO
         0.10900     0.00000     Item: P59_ID
         0.10900     0.00000     Item: P59_IDAH
         0.10900     0.00000     Item: P59_IDAT
         0.10900     0.00000     Item: P59_SHO
         0.10900     0.00000     Item: P59_UTD
         0.10900     0.00000     Item: P59_X NA
         0.12500     0.00000     Region: Attributes
         0.12500     0.23400     Item: P59_NOT
         0.12500     0.00000     show report
         0.12500     0.00000     determine column headings
         0.12500     0.00000     parse query as: DB
         0.35900     0.14100     binding: ":P59_LOV_AT"="P59_LOV_AT" value="64"
         0.35900     0.00000     binding: ":P59_IDT"="P59_IDT" value="51"
         0.50000     0.01500     print column headings
         0.50000     0.00000     rows loop: 20 row(s)
         *0.51500     0.01600     report error: ORA-01403: no data found*
         0.51500     0.00000     Computation point: After Box Body
    ...

  • Display pass or fail in Report based on return value

    Hi,
    I'm trying to integrate TestStand with TestComplete using the ActiveX/COM server adapter.  I have the COM setup so that TestStand can call a test in TestComplete and have TestComplete return a string value (true|false) to TestStand.
    Now I need to get the TestStand report to display "pass" or "fail" text for this sequence call,  based on the return string from TestComplete.
    Is there someplace in Expressions or Post Actions that I can state and how:
    return value "True" = pass
    return value "false" = fail
    Thanks.
    Solved!
    Go to Solution.

    Hi,
    Option 1.) Use a String Value Test.   The Limits.String would be 'True'.  This would be the easiest because you already returning strings from your ActiveX call.   You could make your ActiveX calls a String Value Test.
    Option 2.) Use a Pass/Fail Step.   You could set the returned string to a local variable and then create another Pass/Fail step that would have the Pass/Fail criteria as Locals.StringReturned == 'True'
    These are two options that hopefully can get you started....
    Thanks,
    PH

  • How to pass values to Oracle store procedure in Crystal Report

    Hi all,
    I am newbie on passing values to stored procedure parameters. I created a Crystal Report using the Crystal Report wiward with PULL method and data come from Oracle stored procedure. In an ASP.NET page, I have stored two values in Session and need to pass them as input parameters to Oracle stored procedure to print the report. In Crystal reports 2010 once you connect to a stored-procedure as data source, it automatically creates the parameter fields with Crytal Report Viewer. Please show me how I pass values to store procedure at runtime automatically.
            'Set the parametter value
            myReport.SetParameterValue("@P_COURSE", "CoursetNo")
            myReport.SetParameterValue("@P_CLASS", "ClassNo")
        End Sub
    I tried to apply above codes from Brian Bischof book but display the error from the following lines:
            myReport.SetParameterValue("@P_COURSE", "CoursetNo")
            myReport.SetParameterValue("@P_CLASS", "ClassNo")
    I also enclosed my code. Any experts, please let me know anything wrongs on my code . I tried several methods that searching via google, but did not solve my issues. Thanks.
    Edited by: avt2K7 on Mar 15, 2011 7:02 AM

    Hi,
    Thank you for your response. Here are the detailed code and error as following:
    Please show what I am missing in my below VB.NET codes:
    ===========================================================================================
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            LogonToTables("username", "password", "servername", "")
        End Sub
        Private Sub LogonToTables(ByVal myUserId As String, ByVal myPassword As String, ByVal myServerName As String, ByVal myDataBaseName As String)
            Dim Course, Class As String
            Course = Session.Item("CourseNumber"))
            Class = Session.Item("ClassNumber"))
            Dim myReport As New CrystalDecisions.CrystalReports.Engine.ReportDocument
            myReport.Load(Server.MapPath("CrystalReport1.rpt"))
            Dim myTableLogonInfo As CrystalDecisions.Shared.TableLogOnInfo
            'Set the database properties and security credentials
            Dim myConnectionInfo As New CrystalDecisions.Shared.ConnectionInfo
            myConnectionInfo.ServerName = "servername"
            myConnectionInfo.DatabaseName = ""
            myConnectionInfo.UserID = "username"
            myConnectionInfo.Password = "password"
            'Apply the ConnectionInfo to the report tables
            Dim myTables = myReport.Database.Tables
            For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
                myTableLogonInfo = myTable.LogOnInfo
                myTableLogonInfo.ConnectionInfo = myConnectionInfo
                myTable.ApplyLogOnInfo(myTableLogonInfo)
            Next
            'Set the parametter value to Crystal Report parameter named P_COURSE and P_CLASS
            myReport.SetParameterValue("@P_COURSE", "Course")
            myReport.SetParameterValue("@P_CLASS", "Class")
        End Sub
    =================================================================================
    I put a break point to debug but display the error at the following lines:
            myReport.SetParameterValue("@P_COURSE", "Course")
            myReport.SetParameterValue("@P_CLASS", "Class")
    Eventhough, if I set a specific value to Course=1000 and Class = math and still receive the error:
    Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
    I tried several sources from Google search but it is not working. I really appreciate any detailed code either in C# or VB.NET to solve my issues. Thanks in advance.

  • How to pass value from report to form?

    Dear,
    I built a report and I create button on report too. This
    button will show a form that I want it to automatically show
    receivable values from report so that user don't complete them.
    So I create a button on the report . I enter Javascript in
    PL/SQL Code tab in '...after displaying the footer' as follow :
    htp.formOpen
    (owa_util.get_owa_service_path||'portal30.wwa_app_module.link?
    p_arg_names=_moduleid&p_arg_values=1736929105&p_arg_names=_show_h
    eader&p_arg_values=YES&p_arg_names=GNO&p_arg_values=1&p_arg_names
    =QNO&p_arg_values=2');
    htp.formSubmit(null,'New Answer');
    htp.formClose;
    GNO , QNO is value which I want to pass
    As you can see, the above code can pass only static value.
    But I want to pass values that is the condition of this report.
    I mean,such as, this report show data that gno=1 and qno=2 and I
    want to pass these values to form. So both value will appear in
    gno and qno field.
    So please tell me what should I do. Please help me. I don't
    know how to do it. I look forward to hearing from all of you.
    Please!!!!!! Don't hesitate to answer.
                        Thank you very much
                   Sirin Kittichotpanich

    Hi Marc,
    Yes, you have it correct in what I am trying to do and if I put a default value in the hidden item on page 2 and run it then that works fine. I just can't get the value from the form passed to page 2 for some reason. There are actually 22 items on the form that can be filtered but just using COREID for simplicity. When I run the form I am just entering a value in the COREID field to try and return those records. Most of the other items on the form are displayed as Popup LOV(fetches first row). Would the values of all these be done the same in a comma delimited list for the items and values? I was trying to get at least one of them working first. Here is the search result that comes up in the debug window:
    Search Results
    0.01: Item: P2_COREID HIDDEN
    0.01: show report
    0.02: determine column headings
    0.02: parse query as: MOTEAMSAPEX
    0.02: binding: ":P2_COREID"="P2_COREID" value=""
    0.02: print column headings
    0.02: rows loop: 15 row(s)
    No data found.
    Here is the SQL statement:
    select coreid, serialnumber
    from MOTEAMS.V_ASSETS where
    instr(UPPER("COREID"), UPPER(:P2_COREID)) > 0
    The branch settings are:
    Set these items: P2_COREID
    With these values: &P1_COREID (also tried this with period at the end)
    I am new to this and not familiar with apex.oracle.com. How would I go about posting to that site?
    Thanks,
    Pam

  • Passing values to subreport in SSRS throwing an error - Data Retrieval failed for the report, please check the log for more details.

    Hi,
    I have the subreport calling from the main report. The subreport is based on MDX query agianst the SSAS cube. some dimensions in cube has values 0 and 1.
    when I try to pass '0' to the sub report as the parameter value, it gives an error "Data Retrieval failed for the report, please check the log for more details".
    Actually I am using table for storing these parameter values. In the main report I am calling this table (dataset) and passing these values to subreport.
    so I have given like [0],[1] and this works fine. when I give only either [0] or [1] then it is throwing an error.
    Could you please advise on this.
    Appreciate all and any help.
    Thanks,
    Divya

    Hi Divya,
    Based on the current description, I understand that there is no issue if you pass two values from main report to subreport, while the issue occurs when passing one value to subreport.
    To narrow down the issue, I want to confirm whether the subreport can run if there is only [0] or [1] in the subreport. If so, it indicates the query statements exist error in the subreport. If it’s not the case, this shows the issue occurs during passing
    values from main report to subreport. To make further analysis, please post the details of query statements of the subreport to the forum.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • Passing values from main report to sub-reports

    - How do we pass values from main report to sub-report?

    Look at this link which shows how to pass values from a subreport to a main report.
    http://www.datamanagementgroup.com/resources/trainerstalk/trainerstalk_howto_share_subreport_data_with_main_report.asp
    You can use the same method to pass values from main report to a subreport.
    1) Create a formula @mainFormula in the main report, as given in item 1 of link.
    2) Place this formulla in a suppressed report footer section above the target subreport.
    3) In the subreport, create a formula @subFormula that declares the same variable name, as given in item 3 of link.
    4) Place @subFormula column in the subreport where you want to display it.

  • Pass values between ssrs 2008 r2 reports

    In a  ssrs 2008 R2 report, I need to pass parameters to existing subreports that are currently called.  Basically there is a main sssrs 2008 r2 report and there are 3 subreports. I would like subreports #1, subreport #2, and subreport #3 to receive
    the value values of customer number and customer name. I am hoping you can tell me and/or show me code that would tell me how to add parameters parameter values that are used to call these subreports.

    Hi wendy,
    According to your description, it seems that you want to pass parameter values from main report to subreport1, from subreport1 to subreport2, and from subreport2 to subreport3. If in this scenario, you can refer to the following steps about the sample test
    (from main report to subreport1) in my environment:
    Create a parameter named ID in the main report, adjust the report body and tablix with the same size.
    In the subreport1 report, right-click one cell to insert a subreport.
    Right-click the subpeort to open the Subreport Properties, and select the main report name in the drop-down list.
    In the left panel of the Subreport Properties dialog box, click Parameters.
    Select ID in the drop-down list of Name, and select [ID] in the drop-down list of Value.
    Considering your question, because I have create a parameter in the main report and specify the parameter in the subreport1, the main report will be passed by the parameter to subreport1.
    If you have any other questions, please feel free to ask.
    Thanks,
    Katherine xiong
    If you have any feedback on our support, please click here.
    Katherine Xiong
    TechNet Community Support

  • Facing Problem with passing Values from One report to another

    Hi,
    I am Hemanth, I have developed 2 reports. Firast Report High Level Summary, Secong is detailed. First report is developed using Union(4 union) , I am having 4 columns. The report is generating the data. I have used Navigation option on Client Column to move on to Second report. In Second report with in Filter i am using Prompted option. Due to some problem, the client value from first report is not passing to the second one. The second report is getting generated for all the clients.
    Normally i have used this Navigate option in other reports and that works fine. I have even tested with Union, it works. This time it is giving some trouble.
    Please, let me know whats going wrong.
    Thanks for the help.

    sorry for the late updation.
    My First Report, Summary level is a Pivot Table.
    I tried the same report with Table option, the value is passing correctly.
    Is there a way to get rid of this situation using Pivot table.
    Thanks for your help.
    below is the original request.
    Hi,
    I am Hemanth, I have developed 2 reports. Firast Report High Level Summary, Secong is detailed. First report is developed using Union(4 union) , I am having 4 columns. The report is generating the data. I have used Navigation option on Client Column to move on to Second report. In Second report with in Filter i am using Prompted option. Due to some problem, the client value from first report is not passing to the second one. The second report is getting generated for all the clients.
    Normally i have used this Navigate option in other reports and that works fine. I have even tested with Union, it works. This time it is giving some trouble.
    Please, let me know whats going wrong.
    Thanks for the help.

  • Items with  zero stock quantity show negative stock value in Stock reports

    When running Stock reports for controlling the stock value towards the GL accounts, some items appear with zero stock quantity, but the report still shows a stock value  (negative value in my case)
    How can this happen, and how can I correct this situation ?
    System parameters are :   negative stock is not allowed, Items with zero cost price not allowed. On item level average cost price method is used.
    P.K.Johnsen

    Hi Johnsen,
    I believe you have checked the" Manage Inventory by warehouse". I have noticed this issue in SAP B1 2005B but this is rectified in 2007B. The system behaves in this way as the system maintains item cost for the item for all warehouses and even if the stock is not present in the warehouse, the system would still show you a value for the same. Hope this helps. please search the forum. You'll find related threads.
    Thanks,
    Joseph

  • MC$4 report shows PO value in wrong currency

    MC$4 report shows PO value in wrong currency EUR (EURO) eventhough PO
    was created with SEK (swiss) currency. Report picks data from info
    table S012 that also reflects wrong currency.
    Please check attached example....
    Currency is getting picked up in table S012 info-structure from company
    code table T001 (PO belongs to) not from purchase order.
    This is certainly bug in standard SAP LIS report. This is inbuilt LIS feature given by SAP & we cannot do any fixing.
    Can you provide solution how we can correct this error. How to display correct currency in report & info-structure S012.

    hi
    in the report the system might be taking the co code currency
    what u have to do is go to  MC$4  press ctrl+F7
    u will get the currency change option change it to what u want
    regrads
    kunal
    awrad if helpful

  • Passing Value from Crystal Report (special function) to Business View parameter

    Friends,
                 Í have a scenario where i need to pass value from Crystal Report to a Business view's parameter.
    Eg : CurrentCEUsername (func in crystal report)-- gives login user  which i should pass to parameter in a Business view (used in the same report).
    Will be able to explain more if required.
    Thanks in Advance,
    Bharath

    I guess you got the picture wrong.  User_id is not a report_level parameter .
    In Data Foundation, below query is used..
    select Acc_Number, Account_Group,User_id  from Accounts where user_id={?User_id}
    where in {?User_id}  is the BV parameter...
    The Filter was a solution. But it takes long time to Query all the data from DB and then filter at BV level.
    How do i pass the CurrentCEUsername to {?User_id}
    Value should ve CurrentCEusername always. so that query will be
    select Acc_Number, Account_Group,User_id  from Accounts where user_id=CurrentCEusername
    It will restrict the data pulled from DB to BV .. right?

  • BO Webi report hierarchy with measure values showing more(almost double value) compare to BW Bex report

    Hi,
    In our BO Webi report hierarchy with measure values showing more(almost double value) compare to BW Bex report. Can any one please help on this.
    Is it BW problem or BO problem?
    I checked in some other threads but it's not given solution.
    Thanks,
    Manjunatha

    Hi,
    Is it BW problem or BO problem? : BO
    is it causing problem with hierarchly data only ?  without hierarchies data is matching or not?
    Post same in SAP BusinessObjects Web Intelligence  .
    Thanks.

Maybe you are looking for

  • How do I take songs off Ipod Classic if they are no longer in ITunes?

    I've nearly filled my Ipod Classic with music. Since my computer only has so much storage and ITunes couldn't possibly store all the songs, I kept deleting them, then would add new ones, move them manually to the Ipod, and then delete them. I continu

  • Install oracle 8.1.7 on Red Hat 8.0, can't find jre

    Hi, I follow the instructions at: http://www.ivascu.com/installing8i_linux80.htm and http://linuxlab.dk/fcl/technotes/ora_817_3 I already installed JDK 1.3.1_07 and set JAVA_HOME in profile, I also create some link at usr/bin, usr/local/bin, $ORACLE_

  • How to change application for opening an online program?

    I am trying to open an online program for which I have previously downloaded a plug-in required to open and utilize this online application, however, my computer must be set to a default to open the program with ScriptEditor, which is not compatible

  • Have installed but wont work, any ideas?

    Have Windows Vista and Internet Explorer 9, the 32 bit version. Have installed Flash Player, uninstall, restarted my laptop and installed again but can't get it to work. It shows up as being installed  but when ever I try to view anything that uses F

  • DB2 V9.5 migration on cluster

    Hello guys, I've just migrated my DB2 8.2 databases and now I've detected a problem. When I try to start database in second node cluster, it gives me an error. My cluster is HACMP. db2set variables are not available... and it doesn't recognize any in