Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

TestResult_Indictments

NI TestStand™ 2012 Help

Edition Date: August 2012

Part Number: 370052K-01

»View Product Info
An extension DLL can call this function for an ATML TR 5.0 report.  An extension DLL can call this function for an ATML TR 2.02 report.

Syntax

int TestResult_Indictments (CAObjHandle UUTHandle, CAObjHandle stationInfo, CAObjHandle context, CAObjHandle optionsHandle, CAObjHandle stepResult, BSTR *bstrStr)

Return Value

Indicates whether an error occurred in the exported function. A value of 0 indicates that no error occurred. Any negative value indicates that an error has occurred.

Purpose

Returns the outer XML value for the following elements:

  • <TestResults>/<ResultSet>/<Test>/<TestResult>/<Indictments>
  • <TestResults>/<ResultSet>/<TestGroup>/<TestResult>/<Indictments>
Note Note  The report text this function returns when executed does not depend on any report data that the report generator generates.

Remarks

If the report generator extension mechanism DLL implements and exports this function, the report generator adds to the report the content the bstrStr parameter specifies as a result of calling this function. If the extension mechanism DLL does not implement and export this function, the report generator does not add any report text for the <Indictments> element.

Parameters

  • UUTHandle—References a TestStand PropertyObject of the UUT type.
  • stationInfo—References a TestStand PropertyObject of the NI_StationInfo type.
  • context—References a TestStand PropertyObject of the Sequence Context type.
  • optionsHandle—References a TestStand PropertyObject of the ReportOptions type.
  • stepResult—References a TestStand PropertyObject of the Result type. This reference refers to a result that a step in the executed sequence file returns.
  • bstrStr—An [In] value specifies an empty string. An [Out] value specifies a string that the function returns upon execution and that contains the outer XML value of the report text.

See Also

PropertyObject


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit