manuals.online logo
Brands
  1. Home
  2. •
  3. Brands
  4. •
  5. THORLABS
  6. •
  7. Industrial Equipment
  8. •
  9. THORLABS LabView DCU2 Series Owner's manual

THORLABS LabView DCU2 Series Owner's manual

2010
Programming Manual
LabView®
DCU2xxx
DCC1x45x
Thorlabs Instrumentation
High-Resolution USB2.0 CMOS and CCD
Cameras
All manuals and user guides at all-guidesbox.com
all-guidesbox.com
Version:
Date: 3.5.2
22.09.2010
© 2010 Thorlabs
© 2010 Thorlabs
All manuals and user guides at all-guidesbox.com
© 2010 Thorlabs
Table of Contents
Foreword 3
Part I General Information 6
................................................................................................................................... 61 At a glance
................................................................................................................................... 62 System Requirements
................................................................................................................................... 73 Supported Operating Systems
................................................................................................................................... 74 Getting Started
Part II uc480 VIs 10
................................................................................................................................... 111 AddToSequence
................................................................................................................................... 122 ArrayToVision
................................................................................................................................... 133 CaptureVideo
................................................................................................................................... 144 ClearSequence
................................................................................................................................... 155 ExitCamera
................................................................................................................................... 166 FreeImageMem
................................................................................................................................... 177 FreezeVideo
................................................................................................................................... 188 GetActImgMem
................................................................................................................................... 199 GetActSeqBuf
................................................................................................................................... 2010 GetColorMode
................................................................................................................................... 2111 GetExposureRange
................................................................................................................................... 2212 GetFramesPerSecond
................................................................................................................................... 2313 GetFrameTimeRange
................................................................................................................................... 2414 GetGlobalFlashDelays
................................................................................................................................... 2515 GetImageSize
................................................................................................................................... 2616 GetNumberOfCameras
................................................................................................................................... 2717 GetPixelClockRange
................................................................................................................................... 2818 HasVideoStarted
................................................................................................................................... 2919 InitCamera
................................................................................................................................... 3020 IsMemoryBoardConnected
................................................................................................................................... 3021 IsVideoFinish
................................................................................................................................... 3122 LoadParameters
................................................................................................................................... 3223 LockSeqBuf
................................................................................................................................... 3324 MemoryFreezeVideo
................................................................................................................................... 3325 ResetToDefault
................................................................................................................................... 3426 SaveParameters
................................................................................................................................... 3527 SetAllocatedImageMem
................................................................................................................................... 3628 SetAOI
All manuals and user guides at all-guidesbox.com
© 2010 Thorlabs
................................................................................................................................... 3729 SetAutoParameter
................................................................................................................................... 3930 SetBinning
................................................................................................................................... 4031 SetBlCompensation
................................................................................................................................... 4132 SetColorCorrection
................................................................................................................................... 4233 SetColorMode
................................................................................................................................... 4334 SetEdgeEnhancement
................................................................................................................................... 4435 SetErrorReport
................................................................................................................................... 4536 SetExposureTime
................................................................................................................................... 4637 SetExternalTrigger
................................................................................................................................... 4738 SetFlashDelay
................................................................................................................................... 4839 SetFlashStrobe
................................................................................................................................... 4940 SetFrameRate
................................................................................................................................... 5041 SetGamma
................................................................................................................................... 5142 SetHardwareGain
................................................................................................................................... 5243 SetHotPixelCorrection
................................................................................................................................... 5344 SetImageMem
................................................................................................................................... 5445 SetPixelClock
................................................................................................................................... 5546 SetRopEffect
................................................................................................................................... 5647 SetSubSampling
................................................................................................................................... 5748 StopLiveVideo
................................................................................................................................... 5849 UnlockSeqBuf
Part III Appendix 62
................................................................................................................................... 621 Example programs
................................................................................................................................... 632 List of error messages
................................................................................................................................... 663 Copyright
................................................................................................................................... 674 Addresses
All manuals and user guides at all-guidesbox.com
We aim to develop and produce the best solution for your application
in the field of optical measurement technique. To help us to come up
to your expectations and develop our products permanently we need
your ideas and suggestions. Therefore, please let us know about
possible criticism or ideas. We and our international partners are
looking forward to hearing from you.
Thorlabs GmbH
This part of the instruction manual contains every specific information on how
to handle and use the DCx camera. A general description is followed by
explanations of how to operate the unit via USB.
Attention
This manual contains "WARNINGS" and "ATTENTION" label in
this form, to indicate danger for persons or possible damage of
equipment.
Please read these advises carefully!
NOTE
This manual also contains "NOTES" and "HINTS" written in this form.
© 2010 Thorlabs
All manuals and user guides at all-guidesbox.com
All manuals and user guides at all-guidesbox.com
all-guidesbox.com
General Information
DCx camera
Part I
All manuals and user guides at all-guidesbox.com
6 DCx camera
© 2010 Thorlabs
1General Information
1.1 At a glance
This LabVIEW manual contains all the information you need to program your own applications with
your DCx camera in LabVIEW.
Herinafter, uc480 stands for all Thorlabs DCx cameras:
DCU224C
DCU224M
DCU223C
DCU223M
DCC1645C
DCC1545M
The uc480 LabVIEW interface is part of the comprehensive software package included in the scope
of delivery of every DCx camera. In addition to the drivers, the software package includes the uc480
Camera Manager, the uc480 Demo, and a Software Development Kit (SDK) for creating your own
programs in Windows and Linux. Demo applications make it easier to start DCx camera
programming.
Please make sure to also read the file named WhatsNew.txt which you will find on the installation
CD and in the C:\Program Files\Thorlabs\DCx camera\Help directory when the installation is
completed. This file contains late-breaking information on new functions and fixed issues.
We would like to wish you every success with the product.
1.2 System Requirements
The uc480 LabVIEW interface supports versions 8.x and 2009 of LabVIEW. The NI Vision module
must be installed for some examples.
To operate the uc480 camera, the system environment in which it is used must meet
the following requirements:
Minimum*)
Recommended
CPU speed
600 MHz
2 x 2.4 GHz
Memory (RAM)
256 MB
2,048 MB
For USB uEye
cameras:
USB host controller
USB 2.0 high speed (480 Mbit/s)
USB 2.0 high speed (480 Mbit/s)
Intel®or NVIDIA®nForce main board
chip set
Graphics card
On-board graphics chip
AGP/PCIe graphics card
Up-to-date version of DirectX
Runtime 9.0c
*) Some capabilities of the camera maynot be available.
All manuals and user guides at all-guidesbox.com
7General Information
© 2010 Thorlabs
The USB 2.0 interfaces located on the main board usually provide notably better performance than USB
2.0 interfaces on PCI and PCMCIAadapters.
1.3 Supported Operating Systems
Table 1 : Supported Operating Systems and Interfaces
OS
Service Packs
Required Patches
Windows 2000
SP4
-
Windows XP
SP1
KB822603
Windows XP
SP3
-
Windows Vista 32-Bit
SP1
-
Windows Vista 64-Bit
SP1
-
Windows 7 32-Bit
-
-
Windows 7 64-Bit
-
-
Linux
Kernel 2.6.9 - 2.6.30
-
Supported Interfaces
Type
Version
Host Controller
Comment
USB
2.0
EHCI
Full support
USB
1.0
OHCI/UHCI
Not supported
NOTE
We strongly recommend using PCs with USB2.0 on board. PCIor PCMCIA USB2.0
adapters may have a lower performance.
Make sure that the USB2.0 interface is ‘full powered’ and can provide 500 mA.
1.4 Getting Started
To get your camera up and running the following points are necessary:
1. Install the USB camera driver from the supplied Support CD
2. Remove the dust/lens cover to attach an objective or other optical system, if present
3. Connect your camera via the USB2.0 cable to a USB2.0 port
4. The Windows "Found new Hardware" wizard recognizes the new hardware. DCx cameras can be
connected to a USB 2.0 port either directly or via hubs and repeaters. When the camera has been
correctly installed, the LED on the back of the camera lights up green.
To use maximum bandwidth, we recommend connecting the cameras directly to the USB 2.0 ports on the
mainboard. USB 2.0 ports on PCI/PCIe cards and the USB 2.0 ports on the front of the PC mostly supply
lower bandwidths.
All manuals and user guides at all-guidesbox.com
8 DCx camera
© 2010 Thorlabs
Detailed information on connecting and operating DCx cameras can be found in the Installation
chapter in the DCx Operation Manual
All manuals and user guides at all-guidesbox.com
uc480 VIs
DCx camera
Part II
All manuals and user guides at all-guidesbox.com
all-guidesbox.com
10 DCx camera
© 2010 Thorlabs
2uc480 VIs
The driver library provides the VIs described in this manual to integrate uc480 cameras into
LabVIEW. The VIs are located in the function palette under
Own libraries->uc480.
The descriptions of the uc480 VIs are listed in alphabetical order and are structured as follows:
Description:
Description of the VI
Parameters:
Description of the inputs and outputs
VI:
Image of the VI with all inputs and outputs
Functions that use an array that was created beforehand in another VI do not function properly.
The array is located in a different area of memory after the VI is exited. If this can be bypassed, all
functions can be used as usual.
Related functions:
List of similar or associated VIs.
All manuals and user guides at all-guidesbox.com
11uc480 VIs
© 2010 Thorlabs
2.1 AddToSequence
Description:
AddToSequence adds an image buffer to the list of image buffers used for ring buffering. The
image buffer must have been allocated beforehand with SetAllocatedImageMem .
All image buffers used for ring buffering must have been allocated for the same color depth
(bits per pixel). The number of image buffers for a sequence (memory ID) is limited to the
integer value range.
Parameters:
Memory ID
Image buffer ID
Image Memory
Image buffer
Camera Handle In/Out
Handle on camera
error in/out
Error code
VI:
Related functions
AllocAndAddToSequence
AllocAndSetImageMem
SetImageMem
35
53
All manuals and user guides at all-guidesbox.com
12 DCx camera
© 2010 Thorlabs
2.2 ArrayToVision
Description:
ArrayToVision converts one-dimensional 24-/32-bit arrays into a two-dimensional U32
array. This is necessary in order to process the data further with NI Vision.
Parameters:
Height
Image height
Width
Image width
Bits/Pixel
Color format
InArray
Memory array to be converted
OutArray
Converted memory array
VI:
All manuals and user guides at all-guidesbox.com
13uc480 VIs
© 2010 Thorlabs
2.3 CaptureVideo
Description:
CaptureVideo digitizes video frames in real time and transfers them to an allocated
image buffer. If you are using ring buffering (AddToSequence ), image capture
traverses all image buffers included in the sequence in an infinite loop.
Parameters:
Wait
Image buffer ID
IS_DONT_WAIT (0)
Function synchronizes image capture to the next
VSYNC, but returns immediately
IS_WAIT (1)
Function synchronizes image capture to the next
VSYNC, and only returns thereafter
Camera Handle In/Out
Handle on camera
error in/out
Error code
VI:
Related functions
FreezeVideo
11
17
All manuals and user guides at all-guidesbox.com
14 DCx camera
© 2010 Thorlabs
2.4 ClearSequence
Description:
ClearSequence removes all image buffers added with AddToSequence from the
sequence list. After ClearSequence, no image buffer is set to active. To set an image
buffer as active image buffer, SetImageMem must be used.
Parameters:
Camera Handle In/Out
Handle on camera
error in/out
Error code
VI:
Related functions
AddToSequence
AllocAndAddToSequence
11
53
11
All manuals and user guides at all-guidesbox.com
all-guidesbox.com
15uc480 VIs
© 2010 Thorlabs
2.5 ExitCamera
Description:
ExitCamera logs off the passed camera handle and frees up the data structures and
memory areas used by the uc480 camera.
Parameters:
Camera Handle In/Out
Handle on camera
error in/out
Error code
VI:
Related functions
InitCamera 29
All manuals and user guides at all-guidesbox.com
16 DCx camera
© 2010 Thorlabs
2.6 FreeImageMem
Description:
FreeImageMem frees up an allocated image buffer.
Parameters:
Image Memory
Array memory
Memory ID
ID for this memory
Camera Handle In/Out
Handle on camera
error in/out
Error code
VI:
Related functions
AllocAndSetImageMem
SetImageMem 53
All manuals and user guides at all-guidesbox.com
17uc480 VIs
© 2010 Thorlabs
2.7 FreezeVideo
Description:
FreezeVideo digitizes an image and stores it in the active image buffer.
Parameters:
Camera Handle In/Out
Handle on camera
error in/out
Error code
VI:
Related functions
CaptureVideo
HasVideoStarted
IsVideoFinish
13
28
30
All manuals and user guides at all-guidesbox.com
18 DCx camera
© 2010 Thorlabs
2.8 GetActImgMem
Description:
GetActImgMem returns a LabVIEW array with the image information.
Parameters:
Camera Handle In/Out
Handle on camera
Memory Number
Will contain the identification number of the
image buffer
Image Memory Out
Image buffer array
error in/out
Error code
VI:
Related functions
GetActSeqBuf
SetImageMem
19
53
All manuals and user guides at all-guidesbox.com

Other manuals for LabView DCU2 Series

1

This manual suits for next models

1

Other THORLABS Industrial Equipment manuals

THORLABS Vytran LDC401 User manual

THORLABS

THORLABS Vytran LDC401 User manual

THORLABS EXULUS-HD2 User manual

THORLABS

THORLABS EXULUS-HD2 User manual

THORLABS ULTRAsplice Operating and maintenance manual

THORLABS

THORLABS ULTRAsplice Operating and maintenance manual

THORLABS IO-F-660 User manual

THORLABS

THORLABS IO-F-660 User manual

THORLABS LNR502 User manual

THORLABS

THORLABS LNR502 User manual

THORLABS IO-L-2000 User manual

THORLABS

THORLABS IO-L-2000 User manual

THORLABS Vytran LFS4100 User manual

THORLABS

THORLABS Vytran LFS4100 User manual

THORLABS ELL6 User manual

THORLABS

THORLABS ELL6 User manual

THORLABS KT120 User manual

THORLABS

THORLABS KT120 User manual

THORLABS LNR50 Series User manual

THORLABS

THORLABS LNR50 Series User manual

THORLABS MLJ150 User manual

THORLABS

THORLABS MLJ150 User manual

THORLABS vytran LDC450B User manual

THORLABS

THORLABS vytran LDC450B User manual

THORLABS PDA400 User manual

THORLABS

THORLABS PDA400 User manual

THORLABS PICO D User manual

THORLABS

THORLABS PICO D User manual

THORLABS PDF10C2 User manual

THORLABS

THORLABS PDF10C2 User manual

THORLABS PY004 User manual

THORLABS

THORLABS PY004 User manual

THORLABS IO-J-1050APC User manual

THORLABS

THORLABS IO-J-1050APC User manual

THORLABS IO-K-1030 User manual

THORLABS

THORLABS IO-K-1030 User manual

THORLABS MAX300 Series User manual

THORLABS

THORLABS MAX300 Series User manual

THORLABS PWA090 User manual

THORLABS

THORLABS PWA090 User manual

THORLABS DTS25 User manual

THORLABS

THORLABS DTS25 User manual

THORLABS IO-F-940 User manual

THORLABS

THORLABS IO-F-940 User manual

THORLABS MTS25 Series User manual

THORLABS

THORLABS MTS25 Series User manual

THORLABS IO-L-1030 User manual

THORLABS

THORLABS IO-L-1030 User manual

Popular Industrial Equipment manuals by other brands

KTR ROTEX ZS-DKM Series instructions

KTR

KTR ROTEX ZS-DKM Series instructions

Lievers Prefab Easy Screed Operation manual

Lievers

Lievers Prefab Easy Screed Operation manual

Festo ELFC-KF operating instructions

Festo

Festo ELFC-KF operating instructions

ABB HT596622 Operation manual

ABB

ABB HT596622 Operation manual

Graco 234413 instructions

Graco

Graco 234413 instructions

Carlisle Ransburg A12895 Series Service manual

Carlisle

Carlisle Ransburg A12895 Series Service manual

Grundfos Selcoperm SES 125-2000 Installation and operating instructions

Grundfos

Grundfos Selcoperm SES 125-2000 Installation and operating instructions

Accelleron A100-L Assembly instructions

Accelleron

Accelleron A100-L Assembly instructions

ZPA Pečky MODACT MON Mounting instructions

ZPA Pečky

ZPA Pečky MODACT MON Mounting instructions

KAM Simple Precision IAS user manual

KAM

KAM Simple Precision IAS user manual

M-system M8BS-16U5 instruction manual

M-system

M-system M8BS-16U5 instruction manual

Graco 239802 Instructions-parts list

Graco

Graco 239802 Instructions-parts list

Proluxe DPR2000 Operation manual

Proluxe

Proluxe DPR2000 Operation manual

Siemens NXAIR installation instructions

Siemens

Siemens NXAIR installation instructions

FMS FMS-cradleGUARD Operating Manual and Installation Instructions

FMS

FMS FMS-cradleGUARD Operating Manual and Installation Instructions

SCHUNK MFT Assembly and operating manual

SCHUNK

SCHUNK MFT Assembly and operating manual

KTR BoWex-Elastic manual

KTR

KTR BoWex-Elastic manual

Orion H77-17 instruction manual

Orion

Orion H77-17 instruction manual

manuals.online logo
manuals.online logoBrands
  • About & Mission
  • Contact us
  • Privacy Policy
  • Terms and Conditions

Copyright 2025 Manuals.Online. All Rights Reserved.