Skip to main content

Report Definitions

Using the Report Definitions button on the homepage all available report definitions can be accessed.

Report-Templates

Creating Custom Report Definitions​

To create a custom report definition, click on the Create+ button, Choose which type of template you want to start from and select the desired template. You can then customize the report definition according to your needs.

tip

We strongly recommend to start with an existing report template rather than creating a 'New Report' one from scratch.

Creating Custom Report Definitions

Modifying Reports Templates​

You can also modify the existing report definition to better suit your needs.
Click on the Edit button of the report definition you want to edit from the list of available templates and make the necessary changes.

note

You are allowed to modify existing default report templates. You cannot change the templates available in Create+.

Editor​

An extensive user manual for the editor itself can be found at the following link:

https://docs.devexpress.com/eud/eud-for-devexpress-reports/reporting-for-web/report-designer

report editor

Saving modifications​

To save a report definition, click on the hamburger menu on the left and choose Save or Save As after making the necessary changes.

Available Data Fields​

The reporting engine is exposed to a hierarchical data structure representing test results, subtest results, and associated test objects.
Below you will find a description of the structure and all available fields.

Labels have a reduced subset of fields compared to the full data structure.

Data Structure​

Data is structured in a hierarchical manner, with the main test result at the top level and subtest results with their specific measurements underneath.

  • Each test session is represented by a MainTestResult in the data structure.
  • Each serial numbered object is represented by a TestObjectInstance in the data structure.
  • Each test is executed under a new SubTestResult.
    • This means each type of test has it's own SubTestResult.
    • This also means, if the object is re-wired due to multiple partial tests, each test after the re-wiring will have its own SubTestResult.
  • Each individual measurement is represented by a TestResult in the data structure.

An example may look like this:

MainTestResult
├── TestObjectInstance
| └── TestResult
|
├── SubTestResult Connection Test
│ ├── TestResult Socket 1
│ └── TestResult Socket 2
├── SubTestResult Resistance Test
│ ├── TestResult
│ └── TestResult
├── ...
├── SubTestResult Connection Test (part 2)
│ ├── TestResult Socket 3
│ └── TestResult Socket 4
└── SubTestResult Resistance Test (part 2)
├── TestResult
└── TestResult

Report parameters​

The following parameters are provided by the reporting engine itself.

ParameterTypePurpose
ResultIdintID of the test result to print
timezoneOffsetstringTimezone offset in hours from where the report is generated
timeZonestringTimezone from where the report is generated

Use the following syntax for these parameters, for example ?ResultId and ?timezoneOffset.

Main test result fields​

The MainTestResult is the origin of all data in the report.

FieldTypeDescription
SubTestResultsCollectionIndividual subtest results
TestObjectInstanceTestObjectInstanceInstance of the tested object
AmbientTemperaturefloatAmbient temperature during testing
AppVersionstringApplication version used during the test
CommentstringOptional operator comment
EstSerialNrstringSerial number of the EST used for testing
IdintUnique test-result identifier
OperatorIdstringDatabase ID of the operator
OperatorNamestringName of the operator
PassboolOverall Boolean pass/fail value
TestObjectDescriptionstringDescription of the tested object
TestObjectInstanceIdintID of the tested object instance
TestObjectNamestringName of the tested object
TestObjectSerialNrstringSerial number of the tested object
TestPlanDescriptionstringStored test-plan name, version, or description
TestPlanIdintID of the test plan
TestPlanNamestringName of the test plan
TestResultTest Result EnumOverall result classification
TimeStampDateTimeDate and time when the test was executed
ValidUntilDateTimeValidity date and time of the result

Test object instance fields​

TestObjectInstance identifies the physical object that was tested.

FieldTypeDescription
IdintUnique identifier of the object instance
NamestringObject-definition name; not persisted on the instance
SerialNumberstringSerial number of the object
TestObjDefIdintID of the object definition
TestResultsCollectionAll test results belonging to this object instance (only one result is provided)

Subtest fields​

Each item in SubTestResults exposes the following fields:

FieldTypeDescription
DiscardedboolWhether the result was discarded, usually after a retry
IdintSubtest result identifier
MainTestResultIdintParent result ID
SubTestTypeSubTest Type EnumType of subtest
TestCONResultsCollectionConnection measurements
TestFUNCResultsCollectionFunctional test results
TestINSResultsCollectionInsulation measurements
TestRCDResultsCollectionRCD measurements
TestRESResultsCollectionResistance measurements
TestPlanStepNrintTest-plan step number
TestResultTest Result EnumResult of the subtest
TestStrategystringStrategy used for the subtest
TestVISUResultsCollectionVisual inspection results
TimestampDateTimeSubtest execution timestamp

The available collection paths are:

SubTestResults
SubTestResults.TestCONResults
SubTestResults.TestINSResults
SubTestResults.TestRESResults
SubTestResults.TestRCDResults
SubTestResults.TestVISUResults
SubTestResults.TestFUNCResults

Measurement fields​

All measurement result have these common fields:

FieldTypeDescriptionRemarks
AttemptsintNumber of attempts
DiscardedboolWhether the measurement was discardedNot used
IdintMeasurement-result identifier
PassCriteriastringCriteria or norm used for evaluation
TestInstrumentstringInstrument or measuring device
TestResultTest Result EnumMeasurement result
TestSubTestResultIdintParent subtest ID
TimestampDateTimeMeasurement timestamp

Connection fields​

Each connection test result contains the following fields:

FieldTypeDescription
DetailsstringFailure or diagnostic details
InLetPinCodestringInlet-pin code
MeasureResultConnection Test Result EnumDetailed continuity result
OutletPinCodestringOutlet-pin code
PinDescriptionstringTested pin description
PinNrintTested pin number
RouteCodestringConnection-route code
SocketCodestringSocket code
SocketNamestringTested socket name
SocketNrintTested socket number
TestObjInletPinIdintTested inlet-pin definition ID
TestObjOutletPinIdintTested outlet-pin definition ID
TestObjRouteIdintTested route definition ID
TestObjSocketIdintTested socket definition ID

Available under SubTestResults.TestCONResults

Insulation fields​

Each insulation test result contains the following fields:

FieldTypeDescription
MeasureResultInsulation Test Result EnumDetailed insulation result
MsrResultValuedecimalProcessed insulation-resistance value
PinHstringHigh-potential pin
PinLstringLow-potential pin
RawValuedoubleRaw, unrounded measurement value
TestVoltagedecimalTest voltage

Available under SubTestResults.TestINSResults:

Resistance fields​

Each resistance test result contains the following fields:

note

Protective Conductor results are also resistance results, they differ from normal resistance result by their SubTestResult.Strategy.

FieldTypeDescription
MeasureResultTest Result RES Type EnumDetailed resistance result
MsrResultValuedecimalProcessed resistance value
PinDescriptionstringTested pin description
PinNrintTested pin number
RawValuedoubleRaw, unrounded measurement value
SocketNamestringTested socket name
SocketNrintTested socket number
TemperatureCompensatedboolWhether temperature compensation was applied
TestCurrentdecimalTest current
TestObjRouteCodestringTested route code
TestObjRouteIdintTested route definition ID

Available under SubTestResults.TestRESResults:

RCD fields​

Each RCD test result contains the following fields:

FieldTypeDescription
MeasureResultRCD Test Result EnumDetailed RCD result
MsrResultValuedecimalMeasured RCD value
RcdNamestringRCD name
RcdNrintRCD number
TestCurrentdecimalAC test current
TestedSocketstringSocket used to test the RCD
TestedSocketNrintNumber of the tested socket
TestObjRcdIdintTested RCD definition ID
TestTypeRCD Test Type EnumRCD test type
VerifiedSocketsstringSockets checked after RCD tripping

Available under SubTestResults.TestRCDResults:

Visual fields​

Each visual test result contains the following fields:

FieldTypeDescription
CommentstringOperator comment
TimeToAnswerTimeSpanTime taken to answer the visual question

Available under SubTestResults.TestVISUResults in addition to the common measurement fields:

Functional fields​

Available under SubTestResults.TestFUNCResults in addition to the common measurement fields:

FieldTypeDescription
CommentstringOperator comment
TimeToAnswerTimeSpanTime taken to answer the functional question

Enums​

Some data fields are an enumeration of possible values.

SubTest Type Enum​

The type of subtest performed.

intValueDescription
0UndefinedSubtest type is not specified
1VISUVisual Test
2CONConnection Test
3RESResistance Test
4INSInsulation Test
5RCDRCD Test
6FINFinalizing Connection Test
7FUNCFunctional Test

Test Result Enum​

The test result of a test plan execution.

intValueDescription
0UndefinedTest is not performed
1PassTest passed
2FailTest failed
3ErrorTest stopped on error
4AbortedTest aborted by user
5SkippedTest skipped

Connection Test Result Enum​

intValueDescription
0UndefinedTest is not performed
1OkConnection Ok
2OpenNo Connection Ok
3ClosedNo connected expected, but was measured closed
4BreakConnection expected but measured open
5ShortConnection expected but also found on different pin
6MiswiredConnection expected but detected on different pin

Insulation Test Result Enum​

intValueDescription
0UndefinedTest is not performed
1OkResistance Ok
2LowMeasured resistance was lower then allowed
3HighMeasured resistance was higher than allowed
4ShortMeasured a short circuit or overload of high voltage bias

RCD Test Result Enum​

intValueDescriptionRemark
0UndefinedTest is not performed
1OkRcd Ok
2LowRcd operated at a lower current than expectedOnly for tests measuring current
3HighRcd operated at a higher current than expectedOnly for tests measuring current
4FastRcd operated too fast (eg: for selective RCD)Only for tests measuring time
5SlowRCD did not operate fast enoughOnly applicable for tests measuring time
6NoTripRCD did not operate at all
7PartialTripRCD did operate, but not all downstream sockets were isolated

RCD Test Type Enum​

The type of RCD test performed.

intValueDescriptionPurpose
0UndefinedTest type is not specified
1RCD TimeRCD TimeTest trip time (time result)
2RCD ValueRCD ValueTest trip value (current result)

Resistance Test Result Enum​

intValueDescription
0UndefinedTest is not performed
1OkResistance Ok
2LowMeasured resistance was lower then allowed
3OpenConnection expected but measured open
4HighMeasured resistance was higher than allowed
5AsymmetricThe connection measured outside tolerable mean of the socket

Label template fields​

A label uses a reduced subset of all results and only exposes the following fields:

FieldTypeDescription
AmbientTemperaturefloatAmbient temperature during the test
AppVersionstringApplication version
CommentstringOperator comment
EstSerialNrstringEstimated serial number
IdintTest result ID
OperatorIdstringOperator ID
OperatorNamestringOperator name
PassboolWhether the test passed
TestObjectDescriptionstringTest object description
TestObjectInstanceIdintTest object instance ID
TestObjectNamestringTest object name
TestObjectSerialNrstringTest object serial number
TestPlanDescriptionstringTest plan description
TestPlanIdstringTest plan ID
TestPlanNamestringTest plan name
TestResultTest Result EnumOverall test result
TimeStampDateTimeTimestamp of the test
ValidUntilDateTimeValidity of the test result