National Instruments PXI-1428 User Manual

Page 25

Advertising
background image

Chapter 3

Hardware Overview

IMAQ PCI/PXI-1428 User Manual

3-6

ni.com

You can use the serial interface interactively with MAX and

clsercon.exe

, or programmatically with LabVIEW and C.

Interactively:

MAX—Use MAX with a camera file containing preprogrammed
commands. When an acquisition is initiated, the commands are sent to
the camera.

clsercon.exe

—Use National Instruments terminal emulator for

Camera Link,

clsercon.exe

, if a camera file with preprogrammed

serial commands does not exist for your camera. With

clsercon.exe

, you can still communicate serially with your camera.

Go to

<NI-IMAQ>\bin

to access

clsercon.exe

.

Programmatically:

LabVIEW—Use the serial interface programmatically, through calls
to the NI-IMAQ driver using the IMAQ Serial Write and IMAQ Serial
Read VIs. Go to

<LabVIEW>\vi.lib\vision\driver\

imaqll.llb

to access these files.

C—Use the serial interface programmatically, through calls to the
NI-IMAQ driver using

imgSessionSerialWrite

and

imgSessionSerialRead

.

Note

clsercon.exe

, IMAQ Serial Write, IMAQ Serial Read,

imgSessionSerialWrite

, and

imgSessionSerialRead

are used for directly

accessing the IMAQ 1428 serial port and are not required for most users.

National Instruments also fully supports the recommended serial API
described in the Specifications of the Camera Link Interface Standard for
Digital Cameras and Frame Grabbers
manual.

Advertising