Example Programs
Overview of the SCPI Command Structure
Agilent 81250 Parallel Bit Error Ratio Tester, Programming Reference, March 2006
37
Types of Parameters
The following types of parameters can be accessed on terminal, port,
and connector level:
• timing parameters
• level parameters
• output parameters
• input parameters
• format parameters
The corresponding commands are available on each level. In this
reference they are described only once, summarized according to the
parameter type. The same principle is used for some port, terminal
and connector administration commands and for error handling
commands.
Example
For example, to set the delay for all terminals in a port (for example,
pins in a data bus), you can
• either address each terminal individually, using
:SGENeral:PDATa(*):TERMinal(*):PULSe:DELay
• or set the delay for the complete port, using
:SGENeral:PDATa(*):PULSe:DELay
Both commands are described in
“:PULSe:DELay” on page 185
.
Example Programs
Two example programs are discussed in the following:
•
“Typical SCPI Programming Sequence” on page 38
shows a typical
sequence of SCPI commands used for programming the Agilent
81250.
•
“Example C++ Program” on page 40
guides you through an example
program and a class library supplied with the Agilent 81250.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com