9 VariableTypes for the Vision System ToC Previous Next

9.1 ResultType ToC Previous Next

This VariableType aggregates simple Variables using simple DataTypes that reflect the elements of the ResultDataType structure. Its DataVariables have the same semantics as defined in in 12.17.

It is formally defined in Table 123.


readme_files/image045.png

Figure 37 – Overview ResultType

Table 123 – ResultType VariableType

Attribute Value      
BrowseName ResultType      
IsAbstract False      
ValueRank -1 {Scalar}      
DataType ResultDataType      
References Node Class BrowseName DataType / TypeDefinition ModellingRule
Subtype of the BaseDataVariableType defined in OPC 10000-5        
HasComponent Variable ResultId ResultIdDataType BaseDataVariableType Mandatory
HasComponent Variable HasTransferableDataOnFile Boolean BaseDataVariableType Optional
HasComponent Variable IsPartial Boolean BaseDataVariableType Mandatory
HasComponent Variable IsSimulated Boolean BaseDataVariableType Optional
HasComponent Variable ResultState ResultStateDataType BaseDataVariableType Mandatory
HasComponent Variable MeasId MeasIdDataType BaseDataVariableType Optional
HasComponent Variable PartId PartIdDataType BaseDataVariableType Optional
HasComponent Variable ExternalRecipeId RecipeIdExternalDataType BaseDataVariableType Optional
HasComponent Variable InternalRecipeId RecipeIdInternalDataType BaseDataVariableType Mandatory
HasComponent Variable ProductId ProductIdDataType BaseDataVariableType Optional
HasComponent Variable ExternalConfigurationId ConfigurationIdDataType BaseDataVariableType Optional
HasComponent Variable InternalConfigurationId ConfigurationIdDataType BaseDataVariableType Mandatory
HasComponent Variable JobId JobIdDataType BaseDataVariableType Mandatory
HasComponent Variable CreationTime UtcTime BaseDataVariableType Mandatory
HasComponent Variable ProcessingTimes ProcessingTimesDataType BaseDataVariableType Optional
HasComponent Variable ResultContent BaseDataType[] BaseDataVariableType Optional

Id

System-wide unique trimmed string, which is assigned by the system. This ID can be used for fetching exactly this result using the methods detailed in Section 7.10.2 and it is identical to the ResultId of the ResultReadyEventType defined in Section8.3.8.4.

IsPartial

Indicates whether the result is the partial result of a total result.

IsSimulated

Indicates whether the system was in simulation mode when the job generating this result was created.

ResultState

ResultState provides information about the current state of a result and the ResultStateDataType is defined in Section 12.18.

MeasId

This identifier is given by the client when starting asingle or continuous execution and transmitted to the vision system. It is used to identify the respective result data generated for this job. Although the system-wide unique JobId would be sufficient to identify the job which the result belongs to, this makes for easier filtering on the part of the client without keeping track of JobIds.

PartId

A PartId is given by the client when starting the job; although the system-wide unique JobId would be sufficient to identify the job which the result belongs to, this makes for easier filtering on the part of the client without keeping track of JobIds.

ExternalRecipeId

External Id of the recipe in use which produced the result. The ExternalID is only managed by the environment.

InternalRecipeId

Internal Id of the recipe in use which produced the result. This ID is system-wide unique and it is assigned by the vision system.

ProductId

productId which was used in starting the job which created the result.

ExternalConfigurationId

External Id of the configuration in use while the result was produced.

InternalConfigurationId

Internal Id of the configuration in use while the result was produced. This ID is system-wide unique and it is assigned by the vision system.

JobId

The ID of the job, created by the transition from state Ready to state SingleExecution or to state ContinuousExecution which produced the result.

CreationTime

CreationTime indicates the time when the result was created.

ProcessingTimes

Collection of different processing times that were needed to create the result.

ResultContent

Abstract data type to be subtyped from to hold result data created by the selected recipe.

Previous Next