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 | |
|---|---|---|---|---|
![]() |
ioState | Smart_State | ||
![]() |
inIpAddress | str | IP address of the runtime system (e.g. a smart camera) | |
![]() |
inDeviceID | GenAddress | None | None | Tries to find the camera in all available IDs (UserID, VendorName, ModelName...) |
![]() |
inPixelFormat | RemoteGrabberPixelFormat | None | None | |
![]() |
outImage | Image | Captured frame | |
![]() |
outIsRemote | bool |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.



