This method starts the scan process of the AutoID Device asynchronous. The scan results are delivered through Events where the EventType is a subtype of the AutoIdScanEventType defined in 7.2. There is a subtype defined for each concrete AutoID Device types.
The scan process is stopped through the Method ScanStop or if one of the termination conditions in the Settings parameter is fulfilled.
In addition, the scanning stops if the Client closes the Session, or if a new configuration file is stored within the AutoID Device. There might be other conditions depending on technology or device manufacturer.
Signature
ScanStart (
[in]ScanSettings Settings
[out]AutoIdOperationStatusEnumerationStatus
);
Argument |
Description |
Settings |
Configuration settings for the scan execution. The ScanSettings DataType is defined in 9.3.7. |
Status |
Returns the status of the scan start operation. The AutoIdOperationStatusEnumeration DataType is defined in 9.2.1. |
Method Result Codes
ResultCode |
Description |
Bad_InvalidState |
There is already a scan active |
|
Other OPC UA status codes defined for the Call Service in OPC 10000-4. |