Programming Examples
To Run
1.
Find the product-software CD-ROM included with your instrument, and insert
it in the CD-ROM drive of your computer/controller.
2.
Navigate to the folder Samples > NI488.2 Samples on the CD. Find the
self-extracting archive
fi
le named Samples.exe in that folder.
3.
Click the self-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
IBCONF.EXE to reassign the name.
To Copy
1.
Do steps 1 through 3 of the procedure To Run the Sample Programs if you
have not yet installed the Samples directory containing the programs.
2.
Navigate to the Programs directory contained in the Samples directory.
3.
Open the program
fi
le in your favorite editor or IDE, and copy the code you
want into your programs.
4-2
DSA8300 Programmer Manual
Summary of Contents for DSA8300
Page 1: ...xx DSA8300 Digital Serial Analyzer ZZZ Programmer Manual P077057002 077 0570 02 ...
Page 2: ......
Page 8: ...Preface iv DSA8300 Programmer Manual ...
Page 9: ...Getting Started ...
Page 10: ......
Page 15: ...Syntax and Commands ...
Page 16: ......
Page 404: ...Commands Listed in Alphabetical Order 2 388 DSA8300 Programmer Manual ...
Page 405: ...Status and Events ...
Page 406: ......
Page 426: ...Status and Events 3 20 DSA8300 Programmer Manual ...
Page 427: ...Examples ...
Page 428: ......
Page 431: ...Appendices ...
Page 432: ......
Page 433: ...Appendix A Character Set DSA8300 Programmer Manual A 1 ...
Page 434: ...Appendix A Character Set A 2 DSA8300 Programmer Manual ...
Page 446: ...Appendix C Factory Default Setup Values C 8 DSA8300 Programmer Manual ...