Programming Examples
To Run
1. Find the pro duc
t-software CD-ROM included with your instrument, and insert
it in the C D-ROM drive of your computer/controller.
2. Navigate to th
e folder Samples > NI488.2 Samples on the CD. Find the
self-extracting archive file named Samples.exe in that folder.
3. Click the se
lf-extracting archive to execute it. In the dialog that displays,
accept the default installation directory or browse to your alternative location
on your computer/controller. To run the programs, your computer/controller
must be a PC-compatible system equipped with a National Instruments GPIB
board and associated drivers.
4. Ensure that:
the instrument is set as DEV1 with address of 1, and that the PC
(controller) is set as GPIB0.
a valid signal is connected to the instrument.
5. Navigate to the Sources directory contained in the Samples directory that
you extracted.
6. Click to execute the program that you wish to run. The program will display a
dialog box from which you can set up and run the program.
NOTE. To reassign the name of your instrument, you can, enter your current
device name into the appropriate edit box within each program (except the Mask
program, where the board address is hard-coded to zero). You can also use
IBC
ONF.EXE to reassign the name.
To Copy
1. Do steps 1 through 3 of the procedure To Run the Sample Programs if you
ha
ve not yet installed the Samples directory containing the programs.
2. Navigate to the Programs directory contained in the Samples directory.
3. Open the program file in your favorite editor or IDE, and copy the code you
want into your programs.
4-2 DSA/CSA/TDS8X00/B Series Programmer Manual