ICP DAS USA IM-100 User Manual

Page 74

Advertising
background image

IMC_Brightness_Set

Syntax:

Visual C++ 6.0 / Boland C++ Builder 6.0:

short IMC_Brightness_Set ( HANDLE Camera_Handle, int BrightnessValue);

Visual Basic 6.0

IMC_Brightness_Set (ByVal Camera_Handle As Long, ByVal BrightnessValue As Long)

As Integer

C#.NET 2003

Mavis.IMC_Brightness_Set( IntPtr Camera_Handle, int BrightnessValue );

T

p

T

ERROR_INAVLID_VALUE

The invalid Brightness value

Description:

This function updates the Brightness Configuration. The camera needs be initialized

with IMC_Camera_Init().

Parameters:

Camera_Handle

he handle for MAVIS camera, use the handle gotten from the

Handle’ parameter of IMC_Camera_Init().

BrightnessValue

he Brightness value with valid range from 0 to 1023.

Return:

ERROR_SUCCESSFUL Successfully

ERROR_CAMERA_CREATE

The Camera_Handle is NULL.

ERROR_DEVICE_UNINIT

The specific camera has not been initialized.

ERROR_INVALID_CAMERA

The handle is invalid.

-

74

-

Advertising
This manual is related to the following products: