StopAcquisition

StopAcquisition 1:

Deactivates the File Source. It will stop sending images.

Syntax

Definition:

METHOD StopAcquisition : HRESULT

StopAcquisition 2: Return value

HRESULT

Further information

The method StopAcquisition stops the image loading of the File Source.

State transitions

With StopAcquisition, the File Source is to be brought from the ACQUIRING state to the OPENED state. As a rule, this doesn't happen immediately, but via the intermediate state STOPACQUISITION.

All possible state transitions and their return codes are shown in the following transition matrix:

Return Codes (HRESULT)

Result state

ACQUIRING

STOPACQUISITION

OPENED

ERROR

Initial state

ACQUIRING

BUSY

PENDING

SUCCESS

FAILED

STOPACQUISITION

-

BUSY