Specifications

Chapter 18 335
PSA Programming Examples
Using the VXI Plug-N-Play Driver in LabVIEW®
PSA Programming Examples
Using the VXI Plug-N-Play Driver in
LabVIEW
®
This example shows how to use the VXI plug and play driver over LAN
in LabVIEW 6. The vi file (lan_pnp.vi) can be found on the
Documentation CD.
You must have Version K of the Agilent IO libraries installed on your
PC, either alone or installed side-by-side with the National Instruments
IO libraries. Also, you must first import the VXI plug and play driver
into LabVIEW before running this example. The instrument drivers are
available at:
http://www.agilent.com/find/iolib (Click on instrument drivers.)
This example:
1. Opens a VXI 11.3 Lan connection to the instrument
2. Sets the Center Frequency to 1 GHz
3. Queries the instruments center frequency
4. Closes the Lan connection to the instrument
NOTE Substitute your instruments I.P. address for the one used in the
example.