7.7.2.4 Prepare

This method is used to prepare the recipe so that it can be used for starting a job on the vision system.

Signature

	Prepare ([out]	Boolean	isCompleted[out]	Int32	error);
Table 59 – Prepare Method Arguments
Argument Description
isCompleted

Flag to indicate that the recipe has been completely prepared before the method returned.

If False, the client needs either to check the properties of the recipe to determine when preparation has completed or wait for the RecipePrepared event.

error

0 – OK

Values > 0 are reserved for errors defined by this and future standards.

Values < 0 shall be used for application-specific errors.

Table 60 – Prepare Method AddressSpace Definition
Attribute Value
BrowseNamePrepare
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasPropertyVariableOutputArgumentsArgument[]PropertyTypeMandatory

The effects of the Prepare method of a RecipeType object on the VisionSystem shall be identical to those of the PrepareRecipe method of the RecipeManagementType object.