PXC Family

Datasheet (PDF)

Manual & Guide

Application Notes

Driver Updates

Example Source Code

Compatible Image Processing Software

Product FAQ

Home Page


Feedback at:
CSinfo@cyberoptics.com or
1-800-366-9131

4CAM Multi-camera sample

Win32 Systems (Win95, 98, Me, NT, 2000 and XP)

This sample program shows how to switch among four cameras and display each camera in a separate window. Make note of the "Wait()" command in the program. You need to delay at least two fields for a PXC200-F and probably 4 full frames for a PXC200-L after a camera switch. In most cases, if you are switching cameras, you should use the PXC200-F.

The program has a parameter called CAMERAS that specifies how many cameras and windows you want. It is a define statement near the top of the program:

#define CAMERAS 4

If you change it, the program will bring up as many windows as you specify up to 4.

In order to display 4 windows at once, the program is written to assume that your desktop is at least 1024 x 768. If you are using a smaller desktop, you can easily modify the window sizes in the source code.

The project file was built using Microsoft C/C++ 6.0.