Smart_GrabImage_GenICam


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

Syntax

C++
Python
 
def Smart_GrabImage_GenICam(
	state: Smart_State,
	inIpAddress: str,
	outImage: Image,
	/,
	*,
	inDeviceID: GenAddress | None = None,
	inPixelFormat: RemoteGrabberPixelFormat | None = None
)
-> (
	outResult: bool,
	outIsRemote: bool
)

Parameters

Name Type 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 inDeviceID GenAddress | None None Tries to find the camera in all available IDs (UserID, VendorName, ModelName...)
Input value inPixelFormat RemoteGrabberPixelFormat | None None
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.