addMeasurement
Short summary
This command creates a new measurement entry and queues it for the database insection.
- Return type: CNM_CommandInterfaces.ISingleAttempt
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| partIdentifier | Tc2_System.T_MaxString | product identifier for that specific part | input |
| name | Tc2_System.T_MaxString | name of the measurement, e.g. label position, cell voltage, oven temperature | input |
| unit | UnitString | unit of the measurement, e.g. mm, V, °C | input |
| range | MeasurementRangeStruct | Permissible value range of the measurement for OK parts | input |
| value | LREAL | value of the measurement | input |
Code
Declaration
METHOD addMeasurement :CNM_CommandInterfaces.ISingleAttempt
VAR_INPUT
(* product identifier for that specific part *)
partIdentifier :Tc2_System.T_MaxString;
(* name of the measurement, e.g. label position, cell voltage, oven temperature *)
name :Tc2_System.T_MaxString;
(* unit of the measurement, e.g. mm, V, °C *)
unit :UnitString;
(* Permissible value range of the measurement for OK parts*)
range :MeasurementRangeStruct;
(* value of the measurement *)
value :LREAL;
END_VAR