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
Input will be modified ioState SmartRay_State
Input value inAddress str Device identifying address
Input value inPort int Device identifying network port
Input value inConnectionTimeout int 1 - 1000 Timeout in seconds
Input value inInputQueueSize int 1 - 200 Capacity of output frames queue
Input value inTransportResolution float 0.0 - 1.0 Defines x-axis step for every profile
Input value inNumberOfProfiles int Number of profiles to capture
Input value inCalibrationFile str | None None Do not set file to load data from device internal memory
Input value inAcquisitionType SmartRayImageAcquisitionType
Input value inDataTrigger SmartRayDataTrigger SmartRayDataTrigger(SmartRayDataTriggerMode.FreeRun, None, None, None, None, None)
Input value inRegionOfInterest SmartRayRegionOfInterest | None None
Input value inExposure SmartRayExposure | None None
Input value inLaser SmartRayLaser | None None
Input value inStartTrigger SmartRayStartTrigger | None None
Input value inReflectionFilter SmartRayReflectionFilter | None None
Input value inLaserLineThreshold list[int] | None None
Input value inZmapResolution SmartRayZmapResolution | None None
Input value inMinLaserLineThicknessLimit int | None None
Input value inMaxLaserLineThicknessLimit int | None None
Input value inSmartXtract bool | None None
Input value inSmartXtractAlgorithm SmartRaySmartXtractAlgorithm | None None
Input value 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.