Bo olean Parameters . . . . . . . . . . . 1-75
Reading Instrument Errors . . . . . . . . . . 1-76
Example Programs . . . . . . . . . . . . . . 1-77
Example Program . . . . . . . . . . . . . 1-77
Description . . . . . . . . . . . . . . . 1-77
Program Listing . . . . . . . . . . . . . 1-77
Program Comments . . . . . . . . . . . 1-78
Details of Commands and Responses . . . . . . . 1-80
In This Subsection . . . . . . . . . . . . . . 1-80
Program Message Syntax . . . . . . . . . . . 1-80
Subsystem Command Syntax . . . . . . . . 1-81
Common Command Syntax . . . . . . . . . 1-81
Response Message Syntax . . . . . . . . . . . 1-82
SCPI Data Types . . . . . . . . . . . . . . 1-83
Parameter Typ es . . . . . . . . . . . . . . 1-83
Numeric Parameters . . . . . . . . . . . 1-83
Extended Numeric Parameters . . . . . . . 1-84
Discrete Parameters . . . . . . . . . . . 1-85
Bo olean Parameters . . . . . . . . . . . 1-85
Response Data Types . . . . . . . . . . . . 1-85
Real Response Data . . . . . . . . . . . 1-85
Integer Response Data . . . . . . . . . . 1-86
Discrete Response Data . . . . . . . . . . 1-86
String Response Data . . . . . . . . . . . 1-86
Programming Typical Measurements . . . . . . . 1-87
In This Subsection . . . . . . . . . . . . . . 1-87
Using the Example Programs . . . . . . . . . 1-87
Use of the Command Tables . . . . . . . . . 1-88
GPIB Check, Example Program 1 . . . . . . . 1-90
Program Comments . . . . . . . . . . . . 1-90
Local Lo ckout Demonstration, Example Program 2 1-91
Program Comments . . . . . . . . . . . . 1-92
Setting Up A Typical Sweep, Example Program 3 1-93
Program Comments . . . . . . . . . . . . 1-93
Queries, Example Program 4 . . . . . . . . . . 1-95
Program Comments . . . . . . . . . . . . 1-95
Saving and Recalling States, Example Program 5 . 1-97
Program Comments . . . . . . . . . . . . 1-97
Looping and Synchronization, Example Program 6 1-99
Program Comments . . . . . . . . . . . . 1-99
Using the *WAI Command, Example Program 7 . 1-101
Program Comments . . . . . . . . . . . . 1-101
Using the User Flatness Correction Commands,
Example Program 8 . . . . . . . . . . . . 1-103
Programming the Status System . . . . . . . . . 1-106
In This Subsection . . . . . . . . . . . . . . 1-106
General Status Register Mo del . . . . . . . . . 1-106
Condition Register . . . . . . . . . . . . . 1-106
Transition Filter . . . . . . . . . . . . . . 1-107
Event Register . . . . . . . . . . . . . . . 1-107
Enable Register . . . . . . . . . . . . . . 1-107
Contents-3