Skip to main content

IMeasurementRecorderCommands

Short summary

This is a fluent interface that provides single attempt commands, which can be evaluated by a cycle manager instance.

Example

	(* execute command when leaving a step *)
cycleManager.leave(
measurement.commands.addMeasurementEntry(
partIdentifier := 'Part123',
name := 'Voltage Check',
unit := 'V',
range := productType.VoltageCheck.Range,
value := 3.14
)
);
AccessAbstractFinalExtendsImplements
-NoNo--

UML Diagram

Methods

addMeasurement

  • Parameters:
    • partIdentifier (Tc2_System.T_MaxString): product identifier for that specific part
    • name (Tc2_System.T_MaxString): name of the measurement, e.g. label position, cell voltage, oven temperature
    • unit (UnitString): unit of the measurement, e.g. mm, V, °C
    • range (MeasurementRangeStruct): Permissible value range of the measurement for OK parts
    • value (LREAL): value of the measurement
  • Return type: CNM_CommandInterfaces.ISingleAttempt

This command creates a new measurement entry and queues it for the database insection.

Code

Declaration

INTERFACE IMeasurementRecorderCommands