This method starts the scan process of the optical verifier device synchronous and returns the scan results. It overwrites the Scanmethod of the OpticalReaderDeviceTypedefined in 0.

Signature

Scan(

[in]ScanSettings Settings

[out]OpticalVerifierScanResult [] Results

[out]AutoIdOperationStatusEnumerationStatus

);

Argument

Description

Settings

Configuration settings for the scan execution. The ScanSettings DataTypeis defined in 9.3.7.

Results

Results of the scan execution. The OpticalVerifierScanResult DataTypeis defined in 9.3.11.

Status

Returns the status of the scan operation.

The AutoIdOperationStatusEnumeration DataTypeis defined in 9.2.1.

Method Result Codes

ResultCode

Description

Bad_InvalidState

There is already a scan active

Bad_InvalidArgument

The scan setting contained an invalid value like infinite duration.

Other OPC UA status codes defined for the Call Service in OPC 10000-4.