TestCaseReportMeasuredValue
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
void TestCaseReportMeasuredValue(char semanticName[], float value);void TestCaseReportMeasuredValue(char semanticName[], float value, char unit[]);void TestCaseReportMeasuredValue(char semanticName[], long value);void TestCaseReportMeasuredValue(char semanticName[], long value, char unit[]);void TestCaseReportMeasuredValue(char semanticName[], char text[]);void TestCaseReportMeasuredValue(char semanticName[], char text, char unit[]);void TestCaseReportMeasuredValue(char semanticName[], signal sig);void TestCaseReportMeasuredValue(char semanticName[], signal sig, char unit[]);void TestCaseReportMeasuredValue(char semanticName[], sysvar aSysVar);void TestCaseReportMeasuredValue(char semanticName[], sysvar aSysVar, char unit[]);void TestCaseReportMeasuredValue(char semanticName[], dbEnvVar aEnvVar);void TestCaseReportMeasuredValue(char semanticName[], dbEnvVar aEnvVar, char unit[]);
Description
Adds a report entry in the measured values table for the given parameter at the test case level. Accepted parameters are: user defined values, signals, system variables and environment variables. Note: If the function is called several times inside a test case using the same semantic name, only the last value will be reported in the measured values table.Parameters
- semanticName: Semantic name for one reported value.
- value: Numerical value to be displayed in the measured values table.
- text: String value to be displayed in the measured values table.
- sig: Value of a signal to be reported in the measured values table.
- aSysVar: Value of a system variable to be reported in the measured values table. Currently supported types for system variables are: integer, float and string.
- aEnvVar: Value of an environment variable to be reported in the measured values table. Currently supported types for environment variables are: integer, float and string.
- unit: Optional. User defined unit text to be displayed in the measured value. If omitted the default unit will be displayed.