ICP DAS USA IM-100 User Manual

Page 72

Advertising
background image

IMC_Gain_Set

Syntax:

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

short IMC_Gain_Set ( HANDLE Camera_Handle, int GainValue);

Visual Basic 6.0

IMC_Gain_Set (ByVal Camera_Handle As Long, ByVal GainValue As Long) As Integer

C#.NET 2003

_Gain_Set( IntPtr Camera_Handle, int GainValue );

escription:

updates the setting of Gain. The camera needs be initialized with

arameters:

e

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

GainValue

.

eturn:

UCCESSFUL Successfully

NULL.

en initialized.

Mavis.IMC

D

This function

IMC_Camera_Init().

P

Camera_Handl

pHandle’ parameter of IMC_Camera_Init().

The Gain value with valid range from 0 to 255

R

ERROR_S

ERROR_CAMERA_CREATE

The Camera_Handle is

ERROR_DEVICE_UNINIT

The specific camera has not be

ERROR_INVALID_CAMERA

The handle is invalid.

ERROR_INAVLID_VALUE

The invalid Gain value

-

72

-

Advertising
This manual is related to the following products: