Smart_GrabImage_SynView


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

Syntax

C++
Python
 
def Smart_GrabImage_SynView(
	state: Smart_State,
	inIpAddress: str,
	inPixelFormat: SynViewColorFormat,
	inAcquisitionParams: SynViewAcquisitionParams,
	inImageFormatParams: SynViewImageFormatParams,
	inAnalogParams: SynViewAnalogParams,
	outImage: Image,
	/,
	*,
	inDeviceID: str | 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 str | None None Tries to find the camera in all available IDs (UserID, VendorName, ModelName...)
Input value inPixelFormat SynViewColorFormat Image color format
Input value inAcquisitionParams SynViewAcquisitionParams
Input value inImageFormatParams SynViewImageFormatParams
Input value inAnalogParams SynViewAnalogParams
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.