Interface functions, Utility functions, Interface functions -7 utility functions -7 – National Instruments Image Acquisition Software User Manual

Page 20

Advertising
background image

Chapter 2

Software Overview

©

National Instruments Corporation

2-7

NI-IMAQ User Manual

imgGetBufferElement

Gets an element of a specific type from a
buffer list.

imgSessionClearBuffer

Clears a session’s image data to the
specified pixel value.

imgSetArrayPointerValue

Constructs an array of 32-bit pointers
(a Visual Basic helper function).

imgSetBufferElement

Sets a buffer list element of a given type
to a specific value.

Interface Functions

Interface functions load and control the selected IMAQ device and
cameras. These functions use information stored by the IMAQ
Configuration Utility.

imgInterfaceLock

Locks a logical interface so that another
process cannot use it.

imgInterfaceQueryNames

Returns the interface name identified by
the index parameter.

imgInterfaceReset

Performs a hardware reset on the
interface type and returns a status,
either good or bad.

imgInterfaceUnlock

Unlocks a logical interface, allowing
another process to use it.

Utility Functions

Use utility functions to display an image in a window, save an image to a
file, or to get detailed error information.

imgPlot

Plots a buffer to a window given a native
window handle.

imgSessionSaveBufferEx

Saves a buffer of a session to disk in a
native operating system-specific format
such as bitmap or tag image file format
(TIFF).

imgShowError

Returns a null terminated string
describing the error code.

UM.book Page 7 Monday, July 13, 1998 9:49 AM

Advertising