ICP DAS USA MAVIS IM-30 User Manual page 63

Ieee 1394 camera
Table of Contents

Advertisement

IMC_AcquisitionFrame_Save
Syntax:
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)
As Integer
C#.NET 2003
Mavis.IMC_AcquisitionFrame_Save(
strFileName);
Description:
This function starts the Image Acquisition, and then saves the acquired image to a
file. Currently, only
IM
C_Camera_Init().
Parameters:
Camera_Handle
strFileName
Return:
ERROR_SUCCESSFUL
ERROR_INVALID_FILENAME
ERROR_CAMERA_CREATE
ERROR_DEVICE_UNINIT
ERROR_INVALID_CAMERA
ERROR_1394FUNC_INCORRECT
ERROR_ACQUIMAGE_START
ERROR_IMAGE_ACQUIRE
ERROR_ACQUIMAGE_STOP
ERROR_BITMAPFILE_CREATE
ERROR_BITMAPFILE_WRITE
er 6.0:
BMP format is support. The camera needs be initialized with
The handle for MAVIS camera, use the hand
'pHandle' parameter of IMC_Camera_Init().
The s
tring saves the full path-name of target image.
Successfully
The strFileName is NULL.
The Camera_Handle is NULL.
The specific camera ha
The handle is invalid.
The error caused by port incorrect operation.
Fail to start the image acquisition.
Failure in frame acquisition
Fail to stop the image acquisition.
Fail to create the bitmap file.
Fail to write the data into bitmap file.
- 63 -
(
HANDLE
Camera_Handle,
IntPtr
Camera_Handle,
s not been initialized.
LPCTSTR
string
le gotten from the

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mavis im-100

Table of Contents