ICP DAS USA IM-100 Manual Do Utilizador

Página de 109
IMC_ImageAcquisition_Stop 
 
 
 after calling this function. 
eturn: 
UCCESSFUL Successfully 
E 
andle is NULL. 
en initialized. 
 
ECT 
rt incorrect operation. 
 
Syntax: 
Visual C++ 6.0 / Boland C++ Builder 6.0: 
short IMC_ImageAcquisition_Stop ( HANDLE Camera_Handle); 
Visual Basic 6.0 
IMC_ImageAcquisition_Stop (ByVal Camera_Handle As Long) As Integer 
C#.NET 2003 
Mavis.IMC_ImageAcquisition_Stop( IntPtr Camera_Handle ); 
 
 
Description: 
This function stops the Image Acquisition that started with 
IMC_ImageAcquisition_Start() . Be aware that the buffer that contains the acquisition 
data will be destroyed
 
Parameters: 
Camera_Handle 
The handle for MAVIS camera, use the handle gotten from the 
pHandle’ parameter of IMC_Camera_Init(). 
 
R
ERROR_S
ERROR_CAMERA_CREAT
The Camera_H
ERROR_DEVICE_UNINIT 
The specific camera has not be
ERROR_INVALID_CAMERA
The handle is invalid. 
ERROR_1394FUNC_INCORR
The error caused by po
ERROR_ACQUIMAGE_STOP 
Fail to stop the image acquisition. 
 - 
61