ICP DAS USA MAVIS IM-30 User Manual page 80

Ieee 1394 camera
Table of Contents

Advertisement

IMC_InputPort_Read
Syntax:
Visual C++ 6.0 / Boland C++ Builder 6.0:
short IMC_InputPort_Read ( HANDLE Camera_Handle, int Input_Port, bool* pValue);
Visual Basic 6.0
IMC_InputPort
_Read (ByVal Camera_Handle As Long, ByVal Input_Port As Long,
ByRef pValue As Boolean) As Integer
C#.NET 200
3
Mavis.IMC_
InputPort_Read( IntPtr Camera_Handle, int Input_Port, out bool
pValue );
Description:
This function reads the state for specific Input Port. The camera needs be initialized
with IMC_Camera_Init().
P
arameters:
Camera_Handl
e
Input_Port
pValue
R
eturn:
ERROR_S
UCCESSFUL
ERROR_INVALID_PORT
ERROR_CAMERA_CREATE
ERROR_DEVICE_UNINIT
ERROR_INVALID_CAMERA
The handle for MAVIS camera. Use the handle gotten from the
'pHandle' parameter of IMC_Camera_Init().
The Input Port to be read. The Ports can be:
INPUT_PORT_0 and INPUT_PORT_1
The pointer to the memory that contains state of the specific
Input Port.
Successfully
The invalid input port.
T
he Camera_Handle is NU
T
he specific camera has not been
T
he handle is invalid.
- 80 -
LL.
initialized.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mavis im-100

Table of Contents