Chapter 4 Remote Interface Reference (continued)
Null (Relative) Commands 145
Input Filter Commands 146
Math Operation Commands 148
Statistics operation commands (AVERage) 149
Scale operation commands 150
Triggering 151
The Wait-for-Trigger State 153
Triggering Commands 154
Chart Output (Analog Out) Commands 156
System-Related Commands 157
The SCPI Status Model 159
What is an Event Register? 159
What is an Enable Register? 159
What is a Condition Register? 159
SCPI Status System 160
The Status Byte 161
Using Service Request (
SRQ) and Serial POLL 162
Using
*STB? to Read the Status Byte 163
To Interrupt Your Bus Controller Using
SRQ 163
To Determine When a Command Sequence is Completed 163
How to Use the Message Available Bit (MAV) 164
Using
*OPC to Signal When Data is in the Output Buffer 164
The Standard Event Register 165
The Questionable Data Register 167
The Operational Status and Condition Registers 169
Status Reporting Commands 171
Calibration Commands 174
RS-232 Interface Configuration 176
RS-232 Configuration Overview 176
RS-232 Data Frame Format 177
Connection to a Computer or Terminal 177
Connection to a Printer 179
DTR / DSR Handshake Protocol 179
RS-232 Troubleshooting 181
RS-232 Interface Commands 182
An Introduction to the SCPI Language 183
SCPI Data Types 185
Input Message Terminators 186
Output Data Formats 186
Using Device Clear to Halt Measurements 187
TALK ONLY for Printers 187
To Set the HP-IB Address 188
To Select the Remote Interface 189
To Set the Baud Rate 190
To Set the Parity 191
To Select the Programming Language 192
Alternate Programming Language Compatibility 193
Specific Issues 193
SCPI Compliance Information 194
IEEE-488 Compliance Information 197
C
o
n
t
e
n
t
s
Contents
9