ICP DAS USA IM-100 User Manual

Page 63

Advertising
background image

IMC_AcquisitionFrame_Save

Syntax:

er 6.0:

HANDLE Camera_Handle, LPCTSTR

As Integer

string

strFileName);

BMP format is support. The camera needs be initialized with

C_Camera_Init().

Camera_Handle

le gotten from the

strFileName

tring saves the full path-name of target image.

s not been initialized.

ERROR_1394FUNC_INCORRECT The error caused by port incorrect operation.

ERROR_ACQUIMAGE_START

Fail to start the image acquisition.

ERROR_IMAGE_ACQUIRE

Failure in frame acquisition

ERROR_ACQUIMAGE_STOP

Fail to stop the image acquisition.

ERROR_BITMAPFILE_CREATE

Fail to create the bitmap file.

ERROR_BITMAPFILE_WRITE

Fail to write the data into bitmap file.

Visual C++ 6.0 / Boland C++ Build

short IMC_AcquisitionFrame_Save (

strFileName );

Visual Basic 6.0

IMC_AcquisitionFrame_Save (ByVal Camera_Handle As Long, ByVal strFileName As

String)

C#.NET 2003

Mavis.IMC_AcquisitionFrame_Save(

IntPtr Camera_Handle,

Description:

This function starts the Image Acquisition, and then saves the acquired image to a

file. Currently, only

IM

Parameters:

The handle for MAVIS camera, use the hand

pHandle’ parameter of IMC_Camera_Init().

The s

Return:

ERROR_SUCCESSFUL

Successfully

ERROR_INVALID_FILENAME

The strFileName is NULL.

ERROR_CAMERA_CREATE

The Camera_Handle is NULL.

ERROR_DEVICE_UNINIT

The specific camera ha

ERROR_INVALID_CAMERA

The handle is invalid.

-

63

-

Advertising
This manual is related to the following products: