User`s guide

4-2 Agilent E6432A Microwave Synthesizer User’s Guide
Introduction to Programming
Selecting Functions
Compiling and Linking Programs Using Integrated Environments
Getting Started with Agilent VEE
Getting Started with LabVIEW
Getting Started with LabWindows
Selecting Functions
To identify the functions you will need in order to write your
VXIplug&play programs, refer to “VXIplug&play Commands
(Functional List)” on page 4-22.
Compiling and Linking Programs Using Integrated
Environments
This section introduces information on how to create projects using the
Microsoft Visual C++ compiler.
The example VXIplug&play programs in this Help file were developed,
compiled, linked, and tested using the Microsoft Visual C++ 6.0
integrated environment.
Using Microsoft Visual C++ (32-bit compiler versions)
To compile, link, and run programs from the Microsoft Visual C++ 6.0
integrated environment, you must create a project which specifies the
files necessary for Visual C++ to build the program.
1. Create a project workspace.
a. Select File | New... | Project Workspace
b. Set the project Type to Console Application.
c. Specify a project Name, set the Platform to Win32, and specify a
location where a project subdirectory can be created.
2. Insert the files needed to build the project.
a. Select Insert | Files into Project...
b. Add the application program (program.c) file and the driver
library file (for example,
c:\vxipnp\winnt\lib\msc\hpe6432.lib)