Back to Adaptive Vision Library website

You are here: Start » Function Reference » NET ICube » ICube_SetParameter

ICube_SetParameter


Header:ThirdPartySdk.h
Namespace:avl

Sets a parameter of type Integer in an ICube device.

Syntax

void avl::ICube_SetParameter
(
	ICube_State& ioState,
	atl::Optional<int> inDeviceID,
	int inType,
	int inValue
)

Parameters

Name Type Default Description
ioState ICube_State& Object used to maintain state of the function.
inDeviceID Optional<int> NIL Index of a camera
inType int Type of the parameter to set (see Parameter Definitions in the API Header)
inValue int Value to set

Description

Sets value of the parameter specified by inType. This filter executes the ICubeSDK_SetCamParameter ICube SDK function.

Remarks

To be able to use an ICube camera, you need to install the camera driver. You can find it at the following address (select binaries):

https://net-usa-inc.com/en/usb2.0.html or https://net-usa-inc.com/en/usb3.0.html

Please make sure that the ICube SDK is installed properly on your computer. To verify the driver installation, you can run iControl.exe. If the camera was detected and you can see the image from it in this application, you can use your ICube camera in Adaptive Vision Studio.

Recommended ICube SDK version for Adaptive Vision Studio usage is v2.0.4.8.

The full description of the camera parameters can be found in the ICube SDK documentation.

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.

See Also