beautypg.com

Software development kit, Oftware, Evelopment – Sharp VISION DIGITAL CAMERA User Manual

Page 9

background image

sharpVISION™ Digital Camera

sharpVISION

User Manual

9

3.3. Software Development Kit

Upon the installation of the sharpVISION software package several options are available to
the user. These options are easily accessed via the Program menu under the Windows Start
button. The programs and associated files are organized under the IDT/sharpVISION folder.
This folder includes the example programs and the associated documentation. The software
components included in the sharpVISION Software Development Kit are listed below.

Component

Windows

MAC

sharpVISION™ stand-alone image acquisition application

Yes

Yes

SDK modules with example source code in C++.

Yes

Yes

ActiveX Control

Yes

No

TWAIN driver

Yes

No

Plug-in for LabVIEW™

Yes

No

Plug-in for MATLAB™

Yes

Yes

The sharpVISION™ SDK modules provide an API interface to develop applications to
operate the camera and access all the camera capabilities using a programming language
such as C++ and Java. A C/C++ header file is included in the SDK (sharpAPI.h file in the
Include sub-directory). A Visual Basic module is also included in the SDK (sharpAPI.bas file
in the Include sub-directory).

Most compiled languages can call functions; you will need to write your own
header/import/unit equivalent based on the C header file.

The sharpVISION driver is a DLL that resides in the system32 directory. A Visual C++ 6.0
stub library is provided (SharpDrv.lib in the Lib sub-directory); if you are using Visual C++,
link to SharpDrv.lib. Most other compilers can create a stub library for DLLs. The
sharpVISION DLL uses Windows standard calling conventions (_stdcall).

The MAC sharpVISION driver is a Framework that resides in the /Library/Frameworks
directory. If you are using Apple Project Builder 2.1 or XCode, add the
sharpVISION.framework to the project.

For a more detailed description of the SDK please refer to the sharpVISION SDK Reference.