Click or drag to resize
Accord.NET (logo)

XimeaCameraSetParam Method (String, Single)

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,
	float value
)
Request Example View Source

Parameters

parameterName
Type: SystemString
Parameter name.
value
Type: SystemSingle
Float 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