Click or drag to resize
Accord.NET (logo)

XimeaCameraSetParam Method (String, Int32)

Set camera's parameter.

Namespace:  Accord.Video.Ximea
Assembly:  Accord.Video.Ximea (in Accord.Video.Ximea.dll) Version: 3.8.0
Syntax
public void SetParam(
	string parameterName,
	int value
)
Request Example View Source

Parameters

parameterName
Type: SystemString
Parameter name.
value
Type: SystemInt32
Integer parameter value.
Exceptions
ExceptionCondition
VideoExceptionAn error occurred while communicating with a camera. See error message for additional information.
NotConnectedExceptionNo camera was opened, so can not access its methods.
Remarks

The method allows to control different camera's parameters, like exposure time, gain value, etc. See CameraParameter class for the list of some possible configuration parameters. See XIMEA documentation for the complete list of supported parameters.

See Also