 |
LabVIEW/IMAQ
Vision Driver
for ImperX VCE / VCE-Pro framegrabber.
Windows
9x/NT/2000/XP version
|
This
library contains the LabVIEW / IMAQ Vision driver for ImperX VCE framegrabbers.
Software requirements
for this driver:
- Windows 9x/NT/200/XP
- ImperX VCE or VCE-Pro system driver, and video capture essentials software
- LabVIEW 5.x, 6.x, 7.x
- IMAQ Vision 5,6, or 7
VCE
installation
The ImperX software
packaged with the board contains the low-level drivers and software necessary
to drive your VCE framegrabber. You must install this software package
first. Refer to the ImperX installation note for more details. Once the
setup of the framegrabber is achieved, you must test your system with
the ÒVideo Capture EssentialsÓ utility. If your framegrabber does not
work properly with this stand-alone software, please interrupt the installation
at this point and contact your ImperX local technical support.
General overview
All VIs dedicated
to the ImperX VCE boards are in the " VCE.llb" library. This library is
localized in "\user.lib". Selecting "User Libraries\ImperX VCE"
in the LabVIEW menu, you will see the following icons:

This set of VI's
gives access to basic actions:
- Initialize/Select a board.
- Select a board camera/channel.
- Set/Get informations about the video input signal (interlace mode, signal
type, ...).
- Start a single-shot acquisition(Snap).
- Transfer an image from the framegrabber memory to an IMAQ Vision image
in snap or grab mode (up to 30 frames/s with the "VCE Pro" model).
- Adjust the video levels (hue, saturation, brightness, contrast, gamma
correction).
VCE
Demo.vi
This Vi is a
simple example of how to use the VCE Vi's for:
- Initialize/setup a board.
- Select the board video levels, and the acquisition parameters.
- Start a single-shot image capture (snap acquisition) and display it
with IMAQ Vision.

VCE
InitBoard.vi
Initializes
a VCE board. It returns a "Board index" which is an identifier for the
board and should be use with other Vi's like "VCE - CloseBoard.vi" or
"VCE - CurrentBoard.vi". You must call this Vi at the beginning of your
LabVIEW application, for each VCE board you want to use.

Input connectors:
Error
In is a LabVIEW error cluster.
Output connectors:
Board
Index is an identifier of the VCE framegrabber.
Error
Out is a LabVIEW error cluster returning the message and the code
of the current error.
VCE CloseBoard.vi

Disposes a VCE board, given a "Board number". You must call this Vi, at
the end of your LabVIEW application, when you no longer need to use the
VCE framegrabber.
Input
connectors:
Board Number In is the identifier of the VCE Board to close."Board
Number" In is the identifier of the VCE Board to close.
Error In is a LabVIEW error cluster.
Output connectors:
Error Out is a LabVIEW error cluster returning the message and the
code of the current error.
VCE
CloseAll.vi

Disposes
ALL the previously initialized VCE board. You should call this Vi, at
the end of your LabVIEW application, when you no longer need to use the
VCE framegrabbers.
Input
connectors:
Error In is a LabVIEW error cluster.
Output connectors:
Error Out is a LabVIEW error cluster returning the message and
the code of the current error.
VCE CurrentBoard.vi

Set/Get
the current VCE board.
- in Set mode this allows you to select the current VCE board to use.
After calling this Vi, each consecutive calls to any VCE Vi's will be
redirected to the newly selected board (identified by "Board Number").
- in Get mode, this allows you to get the "Board Number" of the current
VCE board.
Input
connectors:
Board Number In is the index of the current VCE board..
Error in is a LabVIEW cluster error.
Output connectors:
Board Number Out is the index of the current VCE board.
Error Out is a LabVIEW error cluster returning the message and
the code of the current error.
VCE AcquireMode.vi

Changes
the board acquisition parameters (channel number, signal type, interlace
mode, optional rectangle).
Input
connectors:
Acquire Mode In is a LabVIEW cluster which contains all the acquisition
parameters.
Error in is a LabVIEW cluster error.
Output connectors:
Error Out is a LabVIEW error cluster returning the message and
the code of the current error.
VCE Get AcquireMode.vi

Returns
the current board acquisition parameters (channel number, signal type,
interlace mode, optional rectangle).
Input
connectors:
Error in is a LabVIEW cluster error.
Output connectors:
Acquire Mode Out returns the curent acquisition parameters.
Video Standard Out returns the current video standard ÒNTSCÓ/ÓPALÓ
or ÒNo signalÓ.
Error Out is a LabVIEW error cluster returning the message and
the code of the current error.
VCE Snap.vi

Acquires
a single frame from the VCE board, into an IMAQ Vision image buffer. A
"Snap" is the most basic acquisition mode and is appropriate for low-speed
or single-shot image capture.
Input
connectors:
Image In is the IMAQ Vision image which will receive the captured
image from the board.
Error in is a LabVIEW cluster error.
Output connectors:
Image Out returns the captured image from the board.
Error Out is a LabVIEW error cluster returning the message and
the code of the current error.
VCE Gamma.vi

Changes
the gamma correction level of the current VCE board. The parameter gamma
must be greater than 0. If gamma is > 1.0, the images become brighter.
If gamma is < 1.0, the images become darker.
Input
connectors:
Gamma In is the new gamma correction level (Set mode).
Set/Get allows you to choose between Set/Get mode.
Error in is a LabVIEW cluster error.
Output connectors:
Gamma Out returns the current gamma corection level of the board
(Get mode).
Error Out is a LabVIEW error cluster returning the message and
the code of the current error.
VCE Brightness.vi

This
function sets/gets the brightness parameter of the VCE board. The brightness
parameter can be in the range of minus 128 to 127, 0 = normal.
Input
connectors:
Brightness In is the new brightness level (Set mode).
Set/Get allows you to choose between Set/Get mode.
Error in is a LabVIEW cluster error.
Output connectors:
Brightness Out returns the current brightness level of the board (Get
mode).
Error Out is a LabVIEW error cluster returning the message and
the code of the current error.
VCE Contrast.vi

This
function sets/gets the contrast parameter of the VCE board. The contrast
parameter can be in the range of minus 128 to 127, 0 = normal.
Input
connectors:
Contrast In is the new contrast level (Set mode).
Set/Get allows you to choose between Set/Get mode.
Error in is a LabVIEW cluster error.
Output connectors:
Contrast Out returns the current contrast level of the board (Get
mode).
Error Out is a LabVIEW error cluster returning the message and
the code of the current error.
VCE Hue.vi

This
function sets/gets the hue parameter of the VCE board. The hue parameter
can be in the range of minus 128 to 127, 0 = normal.
Input
connectors:
Hue In is the new hue level (Set mode).
Set/Get allows you to choose between Set/Get mode.
Error in is a LabVIEW cluster error.
Output connectors:
Hue Out returns the current hue level of the board (Get mode).
Error Out is a LabVIEW error cluster returning the message and
the code of the current error.
VCE Saturation.vi

This
function sets/gets the saturation parameter of the VCE board. The saturation
parameter can be in the range of minus 128 to 127, 0 = normal.
Input
connectors:
Saturation In is the new saturation level (Set mode).
Set/Get allows you to choose between Set/Get mode.
Error in is a LabVIEW cluster error.
Output connectors:
Saturation Out returns the current saturation level of the board
(Get mode).
Error Out is a LabVIEW error cluster returning the message and
the code of the current error.
Home
page | Products
| Quotation
©
2000-2005 Alliance Vision. All rights reserved.
|