
User Manual for Machine Vision Cameras
85
toupcam.lib, arm lib file.
toupcam.dll, arm dynamic library files.
arm64:
toupcam.lib, arm64 lib file.
toupcam.dll, arm64 dynamic library files.
winrt:
They can be applied for Dynamic library files of WinRT/ UWP (Universal Windows Platform)/ Windows Store
App. They are compatible with Windows Runtime and can be referenced by the Universal Windows Platform
app. If you use C # to develop UWP, you can use the toupcam.cs to wrap class.
Please pay attention to the DeviceCapability of uwp. Refer to How to add USB device capabilities to the app manifest.
(Microsoft seems to limit the Device entry under DeviceCapability to no more than 100) demouwp.zip is a simple example of
uwp. Please modify vid and pid. under DeviceCapability in the file Package.appxmanifest before compiling the run example.
drivers: (Cameras produced after 2017.1.1 support WinUSB. You no longer need to install drivers on Windows8 and
above)
The x86 folder contains the kernel state driver file for x86, including toupcam.cat, toupcam.inf and toupcam.sys.
The x64 folder contains the kernel state driver file for x64, including toupcam.cat, toupcam.inf and toupcam.sys
samples:
1.democpp, take C++ for example. This example shows an enumeration device, an open device, a preview video,
a snap image, a set resolution, a trigger and a wide variety of picture formats (bmp, jpg, png etc.) save the
image to the file, wmv format video, trigger mode, I/O control, etc. This example uses the Pull Mode
mechanism. In order to keep the code clean, the WTL library used by the example can be downloaded from this
link
http: //sourceforge.net/projects/wtl/
2.demopush, take C++ for example, using the Push Mode mechanism, StartPushModeV3
3.demomfc, A simple C++ example. it uses MFC as the GUI library, supports opening devices, previews video,
captures images, sets resolution and saves images to files in a variety of image formats (.bmp, .jpg, .png, etc.).
This example uses the Pull Mode mechanism.
4.demowinformcs1, take C# winform for example. It supports to open the device, preview video, capture
images, save pictures to files and set white balance. This example uses the PullMode mechanism, called
StartPullModeWithWndMsg.
5.demowinformcs2, take C# winform for example. It supports to open the device, preview video, capture
images, save pictures to files, set white balance. This example uses the Pull Mode mechanism called
StartPullModeWithCallback
6.demowinformcs3, take C# winform for example. It supports to open the device, preview video, capture
images, save pictures to files, set white balance. This example uses the Push Mode mechanism called
StartPushMode
7.demowinformvb, take VB.NET winform for example. It supports to open the device, preview video, capture
images, save pictures to files and set white balance. This example uses the Pull Mode mechanism.
⚫
linux: Linux platform file
Udev: 99
-
toupcam.rules, udev rule file
Please refer to:
http: //reactivated.net/writing_udev_rules.html
c#: toupcam.cs, Support. Net Core C#. toupcam.cs calls to libtoupcam.so. using P/Invoke Please copy toupcam.cs to
your C # project.
x86: libtoupcam.so, X86 version of so file.
x64: libtoupcam.so, x64 version of so file.