OptoEngineeringHRAS_GrabImage_WithTimeout


Captures with timeout an image using Opto Engineering device.

Syntax

C++
Python
 
def OptoEngineeringHRAS_GrabImage_WithTimeout(
	state: OptoEngineering_State,
	inTimeout: int,
	/,
	*,
	inDeviceID: str | None = None,
	inInputQueueSize: int = 12
)
-> (
	outResult: bool,
	outImage: Image | None
)

Parameters

Name Type Range Default Description
Input will be modified ioState OptoEngineering_State
Input value inDeviceID str | None None Device identifying number
Input value inTimeout int 100 - Maximum time to wait for frame in milliseconds
Input value inInputQueueSize int 1 - 12 Capacity of output frames queue
Output value outImage Image | None Captured frame

Multithreaded environment

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