342 DCx camera
© 2010 Thorlabs
7.6.1.5
Programming with ActiveX
The DCx camera SDK comes with an ActiveX component that allows you to use almost all functions
of the DCx camera. Programming the uc480 ActiveX component is described in the DCx camera
ActiveX Manual, you will find this manual on the supplied DCx USB Camera CD.
Required Files
In order to access the uc480 ActiveX component, make sure to include the following file in your
project:
ActiveX control: uc480.ocx (C:\Windows\System32)
NOTE
We suggest that you keep the function libraries (DLL, AX and OCX files) in the
default directory. Under Windows, these files reside in C:\Windows\System32\
after the installation.
Copying these files to other locations may result in version conflicts.
7.6.1.6
Thread Programming
In general, the DCx camera API is thread-safe. This means that the DCx camera API can be
accessed by multiple threads simultaneously. Simultaneous attempts to call the same function are
recognised and prevented by the driver.
We recommend that you call the following functions only from a single thread in order to avoid
unpredictable behaviour of the application.
is_InitCamera()
is_SetDisplayMode()
is_ExitCamera()
192
246
143