Smart_GrabImage_Roseek
Captures an image from a smart camera using Roseek interface. Allows for remote access to the runtime system.
Syntax
C++
Python
def Smart_GrabImage_Roseek( state: Smart_State, inIpAddress: str, outImage: Image, /, *, inPixelFormat: RoseekImageFormat = RoseekImageFormat.Mono8, inFrameRate: float | None = None, inWorkingMode: RoseekWorkingMode | None = None, inSensitivityLevel: int | None = None, inExposureMode: RoseekExposureMode | None = None, inExposureTime: int | None = None, inGain: float | None = None ) -> ( outResult: bool, outIsRemote: bool )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | Smart_State | |||
![]() |
inIpAddress | str | IP address of the runtime system (e.g. a smart camera) | ||
![]() |
inPixelFormat | RoseekImageFormat | RoseekImageFormat.Mono8 | Image color format | |
![]() |
inFrameRate | float | None | None | Requested camera frame rate in frames per second | |
![]() |
inWorkingMode | RoseekWorkingMode | None | None | Working mode of image acquisition | |
![]() |
inSensitivityLevel | int | None | 0 - 3 | None | Sensitivity level of camera sensor |
![]() |
inExposureMode | RoseekExposureMode | None | None | Exposure mode, should be set to Manual if you want to adjust inExposureTime manually | |
![]() |
inExposureTime | int | None | 0 - ![]() |
None | Camera frame exposition time |
![]() |
inGain | float | None | 0.0 - 36.0 | None | Camera exposure gain |
![]() |
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.




