SiliconSoftware_GrabImage_WithTimeout


Captures a frame using Silicon Software board.

Syntax

C++
Python
 
def SiliconSoftware_GrabImage_WithTimeout(
	state: SiliconSoftware_State,
	inPort: int,
	inTimeout: int,
	inInputQueueSize: int,
	/,
	*,
	inDeviceIndex: int | None = None,
	inAppletPath: str | None = None,
	inConfigurationFile: str | None = None
)
-> (
	outResult: bool,
	outImage: Image | None
)

Parameters

Name Type Range Default Description
Input will be modified ioState SiliconSoftware_State
Input value inDeviceIndex int | None 0 - None Device identifying number
Input value inAppletPath str | None None Applet to load
Input value inPort int 0 - DMA port
Input value inTimeout int 1 - Maximum time to wait for frame in seconds
Input value inInputQueueSize int 4 - 200 Capacity of output frames queue
Input value inConfigurationFile str | None None Configuration file path
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.