Function Library - ICP DAS USA MAVIS IM-30 User Manual

Ieee 1394 camera
Table of Contents

Advertisement

6 Function Library

This chapter describes the API for MAVIS IM-30/IM
these functions to develop application programs und
6.0 , Boland C++ Builder 6.0, and C#.NET 2003.
The MAVIS DLL file (IMCamera.dll) is common to u
Boland C++ Builder and C#.NET development language.
For Vis
ual C++ and B
description to use.
For Visual Basic, we have offer "IMCamera.bas" mo
and user also can define or modify function module fi
For C#.NET, we have defined a class "Mavis" in our sample program and we are
strong to recommend that user can build own class as you need.
For example:
public class Mavis
{
[DllImport("IMCAMERA.DLL")]
public static extern short IMC_Camera_Scan(out IMC_DEVICE_DATA
pCamera_List);
[DllImport("IMCAMERA.DLL")]
public static extern short IMC_Camera_Init( int
[DllImport("IMCAMERA.DLL")]
public static extern short IMC_FrameRate_Set(
FrameRate, bool bMirror );
[DllImport("IMCAMERA.DLL")]
public static extern short IMC_Camera_Close(
...
}
Please refer to Table 6-1 List of Functions for function
follow Microsoft standard definitions.
oland C++ Builder, please just follow standard Syntax
- 50 -
-100 cameras. Users can use
er Visual C++ 6.0, Visual Basic
se in Visual C++, Visual Basi
dule file in our sample program
le as you need.
camera_idx, ref IntPtr pHandle );
IntPtr Camera_Ha
ndle, ulong
IntPtr Camera_Handle );
s by category. All the data types
c,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mavis im-100

Table of Contents