SmartRay_StartAcquisition
Starts acquisition using SmartRay.
Syntax
C++
Python
def SmartRay_StartAcquisition( state: SmartRay_State, inAddress: str, inPort: int, inConnectionTimeout: int, inInputQueueSize: int, inNumberOfProfiles: int, inAcquisitionType: SmartRayImageAcquisitionType, /, *, inTransportResolution: float = 1.0, 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 ) -> 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 | Capacity of output frames queue | |
![]() |
inTransportResolution | float | 0.0 - ![]() |
1.0 | Defines x-axis step for every profile |
![]() |
inNumberOfProfiles | int | Number of profiles to capture | ||
![]() |
inCalibrationFile | str | None | None | Do not set file to load data from device internal memory | |
![]() |
inAcquisitionType | SmartRayImageAcquisitionType | |||
![]() |
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 |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.



