Ensenso_GrabImage
Captures Images using Ensenso.
Syntax
C++
Python
def Ensenso_GrabImage( state: Ensenso_State, inDevices: list[EnsensoCameraInformation], outImage1: Image, /, *, inParametersFile: str | None = None ) -> ( outResult: bool, outImage2: Image | None )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
ioState | Ensenso_State | ||
![]() |
inDevices | list[EnsensoCameraInformation] | Structures identifying devices. | |
![]() |
inParametersFile | str | None | None | Initial global parameters. |
![]() |
outImage1 | Image | Image from the left camera of a dual camera sensor or the only image from a single camera sensor. | |
![]() |
outImage2 | Image | None | Image from the right camera of a dual camera sensor if exists. |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.



