National Instruments IEEE 1394 Manual De Usuario

Descargar
Página de 61
© National Instruments Corporation
5-1
5
Using NI-IMAQ for IEEE 1394 
Cameras in C and .NET
This chapter briefly describes how to use NI-IMAQ for IEEE 1394 
Cameras function in Microsoft Visual C and Microsoft Visual 
Studio .NET.
Using NI-IMAQ for IEEE 1394 Cameras for C
This section outlines the process for developing NI-IMAQ for IEEE 1394 
Cameras applications using C for Windows 2000/XP. Detailed instructions 
about creating project and source files are not included. For information 
about creating and managing project files, refer to the documentation 
included with your particular development environment.
Note
The generic and high-level functions appear within each function class in the logical 
order you might need to use them. The low-level functions appear within each function 
class in alphabetical order.
When programming, use the following guidelines:
Include the 
niimaq1394.h
 header file in all C source files that use 
NI-IMAQ functions. Add this file to the top of your source files.
Add  the 
niimaq1394.lib
 import library to your project. In some 
environments, you can add import libraries simply by inserting them 
into your list of project files. In other environments, you can specify 
import libraries under the linker settings portion of the project file.
When compiling, indicate where the compiler can find the NI-IMAQ 
header files and shared libraries. You can find most of the files you 
need for development under the NI-IMAQ target installation directory. 
If you choose the default directory during installation, the target 
installation directory is 
C:\Program Files\National 
Instruments\NI-IMAQ for IEEE-1394
. You can find the