EasyManuals Logo

THORLABS DCU22 Series User Manual

THORLABS DCU22 Series
530 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #454 background imageLoading...
Page #454 background image
© 2013 Thorlabs GmbH452
DCx Cameras
Function library (DLL): uc480_tools.dll
In order to access the uc480 DirectShow functions, make sure to include the following files in your project:
Header file: uc480CaptureInterface.h
DirectShow interface: uc480capture.ax
Note
Programming under Linux
In order to access the uc480 API, make sure to include the following files in your project:
Header file: uc480.h
Library: libuc480_api.so
4.6.2 Programming in C#
We suggest to use the C# programming language for the creation of visualization applications. While it is possible
to access image memory contents, doing so is more tedious than in C/C++ due to the 'managed code'. To access
image memory contents in C#, you can use 'unsafe code' or the 'Marshall class'. Some system-level functions,
such as Windows event handling, can be integrated using the Windows API.
The uc480 SDK includes sample programs for programming with Microsoft Visual Studio in the C# programming
language.
Required Files
In order to access the uc480 API in C#, make sure to include the following files in your project:
Header file: uc480.cs
Function library (DLL): uc480_Api.dll
In order to access the uc480 AVI functions in C#, make sure to include the following files in your project:
Header file: uc480_tools.cs
Function library (DLL): uc480_tools.dll
Hint
We suggest that you keep the function libraries (DLL, AX and OCX files) in the default directory. After the
installation, these files reside e.g. under Window (32 bit) in C:\Windows\System32\.
Copying these files to other locations may result in version conflicts.
4.6.3 Programming in VB.NET
We suggest to use the Visual Basic programming language for the creation of applications which are exclusively
used for visualization purposes. The access to image memory contents is extremely tedious due to the missing
pointer arithmetics.
We suggest to use the uc480 ActiveX component when programming in VB.Net. The uc480 SDK includes a
sample program for programming with Microsoft Visual Studio in the VB.NET programming language using the
uc480 ActiveX component.
The constants can be looked up in the uc480.h file.
4.6.4 Programming in Delphi
The uc480 SDK does not provide direct integration of the uc480 API for the Delphi programming language. In order
to use the uc480 API in Delphi, you need to create separate header files. We suggest to use the uc480 ActiveX
component (see also Programming with ActiveX) when programming in Delphi.
Attention
To use the uc480_api.dll in Delphi, the cdecl calling convention has to be used.
Hint
We suggest that you keep the function libraries (DLL, AX and OCX files) in the default directory. After the
installation, these files reside e.g. under Window (32 bit) in C:\Windows\System32\.
Copying these files to other locations may result in version conflicts.
453
453

Table of Contents

Other manuals for THORLABS DCU22 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the THORLABS DCU22 Series and is the answer not in the manual?

THORLABS DCU22 Series Specifications

General IconGeneral
BrandTHORLABS
ModelDCU22 Series
CategorySecurity Camera
LanguageEnglish

Related product manuals