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

Crosshair - VB Sample Using Destructive Overlay

The Crosshair sample program is based on our PXCBASIC Visual Basic example. The Crosshair program demonstrates a simple technique for generating a destructive overlay using the GetPixel and PutPixel functions. You can find the actual routine for generating the crosshair (DrawCross) at the bottom of the display form (frmDisplay) in this example. This program will work for both PXC200 and PXC200A boards.

This sample was built for Windows NT, 2000 and XP. If you are using Windows 95, 98, or Me, you will need to delete the module PXC2_NT.BAS and insert the module PXC2_95.BAS. The modules for each operating system are listed below.

If you are running this sample under Windows NT, 2000 or XP you need the following modules:

FRAME_V4.BAS
VIDEO_32.BAS
PXC2_NT.BAS

If you are running this sample under Windows 95, 98 or Me you need the following modules:

FRAME_V4.BAS
VIDEO_32.BAS
PXC2_95.BAS

This sample was built with Visual Basic 6.0.