Please enable JavaScript to view this site.

uEye .NET Manual 4.97

Class

uEye.Acquisition

Accessible

Camera.Acquisition.Stop

Syntax

uEye.Acquisition.Stop()

uEye.Acquisition.Stop(int wait)

uEye.Acquisition.Stop(uEye.Defines.DeviceParameter param)

Description

Stops live mode or cancels a hardware triggered image capture in case the exposure has not yet started.

hint_info

Note: This method uses the default setting "do not wait".

Parameter

none

Default: do not wait

param/wait

uEye.Defines.DeviceParameter.DontWait

uEye.Defines.DeviceParameter.Wait

Time t (Value range: 4...429496729 ms): Timeout value for image acquisition

Note: If a timeout value t is passed and the camera does not return after t + 10 ms, the function returns with IS_TIMED_OUT while image acquisition continues.

Example

public void StopCamera()

{

uEye.Camera cam = new uEye.Camera(1);  

uEye.Defines.Status statusRet;

satusRet = uEye.Acquisition.Stop();

}

Deprecated methods

uEye.Acquisition.Stop(int wait)

uEye.Acquisition.Stop(uEye.Defines.DeviceParameter param)

param/wait

uEye.Defines.DeviceParameter.DontWait: The method returns immediately when command completed. Digitizing the image is completed in the background.

uEye.Defines.DeviceParameter.Wait: The method waits until image saving is completed.

uEye.Defines.DeviceParameter.Force: Digitizing is stopped immediately.