SmartRay_GrabZILImages
Captures a ZIL images using SmartRay.
Syntax
C++
Python
def SmartRay_GrabZILImages( state: SmartRay_State, inAddress: str, inPort: int, inConnectionTimeout: int, inNumberOfProfiles: int, /, *, inInputQueueSize: int = 4, inTimeout: int | None = None, inCalibrationFile: str | None = None, inDataTrigger: SmartRayDataTrigger = SmartRayDataTrigger(SmartRayDataTriggerMode.FreeRun, None, None, None, None, None), inRegionOfInterest: SmartRayRegionOfInterest | None = None, inExposure: SmartRayExposure | None = None, inLaser: SmartRayLaser | None = None, inStartTrigger: SmartRayStartTrigger | None = None, inReflectionFilter: SmartRayReflectionFilter | None = None, inLaserLineThreshold: list[int] | None = None, inZmapResolution: SmartRayZmapResolution | None = None, inMinLaserLineThicknessLimit: int | None = None, inMaxLaserLineThicknessLimit: int | None = None, inSmartXtract: bool | None = None, inSmartXtractAlgorithm: SmartRaySmartXtractAlgorithm | None = None, inSmartXactMode: SmartRaySmartXactMode | None = None ) -> ( outResult: bool, outZMap: Surface | None, outIntensityImage: Image | None, outLaserLineThicknessImage: Image | None, outVerticalRes: float | None, outHorizontalRes: float | None, outOriginYMillimeters: float | None )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | SmartRay_State | |||
![]() |
inAddress | str | Device identifying address | ||
![]() |
inPort | int | Device identifying network port | ||
![]() |
inConnectionTimeout | int | 1 - 1000 | Timeout in seconds | |
![]() |
inInputQueueSize | int | 1 - 200 | 4 | Capacity of output frames queue |
![]() |
inTimeout | int | None | None | Grab image timeout. If NIl no timeout | |
![]() |
inNumberOfProfiles | int | Number of profiles to capture | ||
![]() |
inCalibrationFile | str | None | None | Do not set file to load data from device internal memory | |
![]() |
inDataTrigger | SmartRayDataTrigger | SmartRayDataTrigger(SmartRayDataTriggerMode.FreeRun, None, None, None, None, None) | ||
![]() |
inRegionOfInterest | SmartRayRegionOfInterest | None | None | ||
![]() |
inExposure | SmartRayExposure | None | None | ||
![]() |
inLaser | SmartRayLaser | None | None | ||
![]() |
inStartTrigger | SmartRayStartTrigger | None | None | ||
![]() |
inReflectionFilter | SmartRayReflectionFilter | None | None | ||
![]() |
inLaserLineThreshold | list[int] | None | None | ||
![]() |
inZmapResolution | SmartRayZmapResolution | None | None | ||
![]() |
inMinLaserLineThicknessLimit | int | None | None | ||
![]() |
inMaxLaserLineThicknessLimit | int | None | None | ||
![]() |
inSmartXtract | bool | None | None | ||
![]() |
inSmartXtractAlgorithm | SmartRaySmartXtractAlgorithm | None | None | ||
![]() |
inSmartXactMode | SmartRaySmartXactMode | None | None | ||
![]() |
outZMap | Surface | None | Captured z-map | ||
![]() |
outIntensityImage | Image | None | Captured intensity image | ||
![]() |
outLaserLineThicknessImage | Image | None | Captured laser line thickness image | ||
![]() |
outVerticalRes | float | None | |||
![]() |
outHorizontalRes | float | None | |||
![]() |
outOriginYMillimeters | float | None |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.



