Get in touch with us today and our team of imaging professionals will be pleased to assist you.
Camera attributes allow control and monitoring of various camera and driver parameters. This section details attribute types and associated functions that enable developers to interact with specific settings and features of the camera.
The camera supports multiple attribute types, each with designated functions for reading and writing values. Here’s a breakdown of the attribute types and the relevant functions:
EVT_CameraGetEnumParamEVT_CameraSetEnumParamEVT_CameraGetEnumParamRangeEVT_CameraGetUInt32ParamEVT_CameraSetUInt32ParamEVT_CameraGetUInt32ParamMinEVT_CameraGetUInt32ParamMaxEVT_CameraGetUInt32ParamIncEVT_CameraGetInt32ParamEVT_CameraSetInt32ParamEVT_CameraGetInt32ParamMinEVT_CameraGetInt32ParamMaxEVT_CameraGetInt32ParamIncEVT_CameraGetFloatParamEVT_CameraSetFloatParamEVT_CameraGetFloatParamMinEVT_CameraGetFloatParamMaxEVT_CameraGetFloatParamUnitEVT_CameraGetStringParamEVT_CameraSetStringParamEVT_CameraGetBoolParamEVT_CameraSetBoolParamEVT_CameraExecuteCommandEach attribute type’s functions facilitate smooth camera configuration, such as setting exposure or triggering specific commands. For example, to adjust exposure time:
EVT_CameraSetUInt32Param(Camera, "Exposure", 1000); // Sets exposure time to 1000 µs
Range and increment retrieval: For UInt32 and Int32 attributes, functions are available to retrieve minimum and maximum values and increment steps. This capability allows developers to validate input values programmatically, ensuring compatibility with the camera’s supported parameters.
Get in touch with us today and our team of imaging professionals will be pleased to assist you.