Smart_GrabImage_Roseek


Captures an image from a smart camera using Roseek interface. Allows for remote access to the runtime system.

Syntax

C++
Python
 
def Smart_GrabImage_Roseek(
	state: Smart_State,
	inIpAddress: str,
	outImage: Image,
	/,
	*,
	inPixelFormat: RoseekImageFormat = RoseekImageFormat.Mono8,
	inFrameRate: float | None = None,
	inWorkingMode: RoseekWorkingMode | None = None,
	inSensitivityLevel: int | None = None,
	inExposureMode: RoseekExposureMode | None = None,
	inExposureTime: int | None = None,
	inGain: float | None = None
)
-> (
	outResult: bool,
	outIsRemote: bool
)

Parameters

Name Type Range Default Description
Input will be modified ioState Smart_State
Input value inIpAddress str IP address of the runtime system (e.g. a smart camera)
Input value inPixelFormat RoseekImageFormat RoseekImageFormat.Mono8 Image color format
Input value inFrameRate float | None None Requested camera frame rate in frames per second
Input value inWorkingMode RoseekWorkingMode | None None Working mode of image acquisition
Input value inSensitivityLevel int | None 0 - 3 None Sensitivity level of camera sensor
Input value inExposureMode RoseekExposureMode | None None Exposure mode, should be set to Manual if you want to adjust inExposureTime manually
Input value inExposureTime int | None 0 - None Camera frame exposition time
Input value inGain float | None 0.0 - 36.0 None Camera exposure gain
Output value outImage Image Captured frame
Output value outIsRemote bool

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.