HP (Hewlett-Packard) 132A manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330

Ir a la página of

Buen manual de instrucciones

Las leyes obligan al vendedor a entregarle al comprador, junto con el producto, el manual de instrucciones HP (Hewlett-Packard) 132A. La falta del manual o facilitar información incorrecta al consumidor constituyen una base de reclamación por no estar de acuerdo el producto con el contrato. Según la ley, está permitido adjuntar un manual de otra forma que no sea en papel, lo cual últimamente es bastante común y los fabricantes nos facilitan un manual gráfico, su versión electrónica HP (Hewlett-Packard) 132A o vídeos de instrucciones para usuarios. La condición es que tenga una forma legible y entendible.

¿Qué es un manual de instrucciones?

El nombre proviene de la palabra latina “instructio”, es decir, ordenar. Por lo tanto, en un manual HP (Hewlett-Packard) 132A se puede encontrar la descripción de las etapas de actuación. El propósito de un manual es enseñar, facilitar el encendido o el uso de un dispositivo o la realización de acciones concretas. Un manual de instrucciones también es una fuente de información acerca de un objeto o un servicio, es una pista.

Desafortunadamente pocos usuarios destinan su tiempo a leer manuales HP (Hewlett-Packard) 132A, sin embargo, un buen manual nos permite, no solo conocer una cantidad de funcionalidades adicionales del dispositivo comprado, sino también evitar la mayoría de fallos.

Entonces, ¿qué debe contener el manual de instrucciones perfecto?

Sobre todo, un manual de instrucciones HP (Hewlett-Packard) 132A debe contener:
- información acerca de las especificaciones técnicas del dispositivo HP (Hewlett-Packard) 132A
- nombre de fabricante y año de fabricación del dispositivo HP (Hewlett-Packard) 132A
- condiciones de uso, configuración y mantenimiento del dispositivo HP (Hewlett-Packard) 132A
- marcas de seguridad y certificados que confirmen su concordancia con determinadas normativas

¿Por qué no leemos los manuales de instrucciones?

Normalmente es por la falta de tiempo y seguridad acerca de las funcionalidades determinadas de los dispositivos comprados. Desafortunadamente la conexión y el encendido de HP (Hewlett-Packard) 132A no es suficiente. El manual de instrucciones siempre contiene una serie de indicaciones acerca de determinadas funcionalidades, normas de seguridad, consejos de mantenimiento (incluso qué productos usar), fallos eventuales de HP (Hewlett-Packard) 132A y maneras de solucionar los problemas que puedan ocurrir durante su uso. Al final, en un manual se pueden encontrar los detalles de servicio técnico HP (Hewlett-Packard) en caso de que las soluciones propuestas no hayan funcionado. Actualmente gozan de éxito manuales de instrucciones en forma de animaciones interesantes o vídeo manuales que llegan al usuario mucho mejor que en forma de un folleto. Este tipo de manual ayuda a que el usuario vea el vídeo entero sin saltarse las especificaciones y las descripciones técnicas complicadas de HP (Hewlett-Packard) 132A, como se suele hacer teniendo una versión en papel.

¿Por qué vale la pena leer los manuales de instrucciones?

Sobre todo es en ellos donde encontraremos las respuestas acerca de la construcción, las posibilidades del dispositivo HP (Hewlett-Packard) 132A, el uso de determinados accesorios y una serie de informaciones que permiten aprovechar completamente sus funciones y comodidades.

Tras una compra exitosa de un equipo o un dispositivo, vale la pena dedicar un momento para familiarizarse con cada parte del manual HP (Hewlett-Packard) 132A. Actualmente se preparan y traducen con dedicación, para que no solo sean comprensibles para los usuarios, sino que también cumplan su función básica de información y ayuda.

Índice de manuales de instrucciones

  • Página 1

    Programming Guide HP 53131A/1 32A 225 MH z Universal Cou nter[...]

  • Página 2

    [...]

  • Página 3

    This guide describes how to program the HP 53131A/132A 225 MHz Universal Counter. The information in this guide applies to instruments having the number prefix listed below, unless accompanied by a “Manual Updating Changes ” package indicating otherwise. SERIAL NUMBER PREFIX : 3546 to 3622 (HP 53131A) 3546 to 3646 (HP 53132A) Programming Guide [...]

  • Página 4

     Copyright Hewlett-Packard Company 1996 All Rights Reserved. Reproduction, adaptation, or translations without prior written permission is prohibited, except as allowed under the copyright laws. Printed: November 1996 Printed in USA Manual part number 53131-90044 Certification and Warranty Certification Hewlett-Packard Company certifies that thi[...]

  • Página 5

    Programming Guide iii 1 Before You Start ... Introduction 1-2 Differences Between Prior and Current Revisions of the HP 53131A/132A 1-3 HP 53131A Containing Firmware Revisions (3317, 3335, or 3402) 1-3 HP 53132A Tim e Interval Delay Arming 1-5 Getting Started 1-6 How to Use This Guide 1-6 New Users 1-6 What You Should Understand 1-6 Learning to Pro[...]

  • Página 6

    Contents iv Programming Guide Calibration Menu to SCPI Command Map 2-18 HP 53131A/132A Command Summary 2-20 SCPI Conformance Information 2-20 IEEE 488.2 Common Commands 2-21 HP 53131A/132A SCPI Subsystem Commands 2-24 Std/New Column 2-24 Parameter Form Column 2-24 *RST Response 2-40 3 Programming Your Universal Counter for Remote Operation Introduc[...]

  • Página 7

    Contents Programming Guide v Suffixes 3-12 Suffix Elements 3-12 Suffix Multipliers 3-13 Command Terminator 3-13 Using Multiple Commands 3-14 Program Messages 3-14 Program Message Syntax 3-14 Overview of Response Message Formats 3-16 Response Messages 3-16 Response Message Syntax 3-16 Response Message Data Types 3-17 Status Reporting 3-19 Status Byt[...]

  • Página 8

    Contents vi Programming Guide Event Status Register 3-39 Using the Questionable Data/Signal Status Register to Alert the Computer When Automatic Interpolator Calibration is Disabled — Example 3 3-39 Questionable Data Status Register 3-40 Using the Operation Status Register to Alert the Computer When Measuring has Completed — Example 4 3-40 Oper[...]

  • Página 9

    Contents Programming Guide vii To Perform Limit Testing (HP BASIC) 3-63 To Measure the Statistics of 50 Measurements (HP BASIC) 3-64 To Use Limits to Filter Data Before Measuring Stats (HP BASIC) 3-66 To Read and Store Calibration Information (HP BASIC) 3-68 To Perform a Time Interval Calibration (HP BASIC) 3-69 To Optimize Throughput (HP BASIC) 3-[...]

  • Página 10

    Contents viii Programming Guide 4 Command Reference Introduction 4-2 :ABORt Command 4-4 :CALCulate Subsystems 4-5 :CALCulate[1] Subsystem 4-7 :CALCulate[1]:MATH Subtree 4-9 :CALCulate2 Subsystem 4-11 :CALCulate2:LIMit Subtree 4-12 :CALCulate3 Subsystem 4-19 :CALCulate3:AVERage Subtree 4-19 :CALCulate3:LFILter Subtree 4-23 :CALibration Subsystem 4-2[...]

  • Página 11

    Contents Programming Guide ix [:SENSe]:EVENt3 Subtree 4-84 [:SENSe]:FREQuency Subtree 4-85 [:SENSe]:FREQuency:ARM Subtree 85 [:SENSe]:PHASe Subtree 4-91 [:SENSe]:PHASe:ARM Subtree 4-91 [:SENSe]:ROSCillator Subtree 4-92 [:SENSe]:TINTerval Subtree (HP 53131A and HP 53132A With S/N Prefix Below 3646) 4-95 [:SENSe]:TINTerval:ARM Subtree (HP 53131A and [...]

  • Página 12

    Contents x Programming Guide *IDN? (Identification Query) 4-130 *LMC? (Learn Macro Query) 4-131 *OPC (Operation Complete Command) 4-132 *OPC? (Operation Complete Query) 4-133 *OPT? (Option Identification Query) 4-134 *PMC (Purge Macro Command) 4-135 *RCL <NRf> (Recall Command) 4-136 *RST (Reset Command) 4-137 *SAV <NRf> (Save Command) 4[...]

  • Página 13

    1 1 Before You Start ...[...]

  • Página 14

    Chapter 1 Before You Start ... Introduction 1 - 2 Programming Guide Introduction This programming guide contains programming information for the HP 53131A/132A Universal Counter. This guide assumes you are familiar with the front-panel operation of the Counter. See the HP 53131A/132A Operating Guide for detailed information about front- panel opera[...]

  • Página 15

    Chapter 1 Before You Start ... Programming Guide Contents Programming Guide 1 - 3 Differences Between Prior and Current Revisions of the HP 53131A /132A If you have an HP 53131A containing one of the prior firmware revisions (3317, 3335, or 3402), read th e sub section below titled “ HP 53131A Containing Firmware Revisions (3317, 3335, or 3402) ?[...]

  • Página 16

    Chapter 1 Before You Start ... Differences Between Prior and Current Revisions of the HP 53131A/132A 1 - 4 Programming Guide Measurements If your Counter contains other than the current firmware revision, the following measurement capabilities are different : • Ratio channel selections Ratio 2 to 1 and Ratio 3 to 1 (for those counters equipped wi[...]

  • Página 17

    Chapter 1 Before You Start ... Programming Guide Contents Programming Guide 1 - 5 :CONFigure:TOTalize:TIMed :CONFigure:TOTalize:CONTinuous :MEASure:TOTalize:TIMed? If your Counter contains firmware revision s 3402 and below , the Totalize Measurement Instruction commands (shown above) are not avail a ble to disable auto-trigger. In the firmware rev[...]

  • Página 18

    Chapter 1 Before You Start ... Getting Started 1 - 6 Programming Guide Getting Started Before attempting to program the Counter, take some time to familiarize yourself with the content of this guide. The remainder of this chapter contains the following information: • An explanation of how you should use the programming guide based on your experie[...]

  • Página 19

    Chapter 1 Before You Start ... Programming Guide Contents Programming Guide 1 - 7 Learning to Program the Counter To learn how to program the Counter, perform the following: • Scan the summary tables in Chapter 2, “ Command Summary , ” to get a feeling for the number and structure of commands available to you. • Read and study map drawings [...]

  • Página 20

    Chapter 1 Before You Start ... How to Use This Guide 1 - 8 Programming Guide • Review the remaining information in this guide to determine what is applicable to your programming requirements. If you need more information than is contained in this guide, see the section in this chapter titled “Related Documentation. ” Applications After you ha[...]

  • Página 21

    Chapter 1 Before You Start ... Programming Guide Contents Programming Guide 1 - 9 Programming Guide Contents The following information is contained in this guide: • Table of Contents • Chapter 1 (this chapter) , “ Before You Start , ” is a preface that introduces you to the programming guide. • Chapter 2, “ Command Summary , ” is a qu[...]

  • Página 22

    Chapter 1 Before You Start ... Related Documentation 1 - 10 Programming Guide Related Documentation This section contains a list of documentation related to the use of the Counter. Additional information that you may find useful can be found in the following publications: 1. HP 53131A/132A Operating Guide (HP Part Number 53131 - 90043 ) 2. Beginner[...]

  • Página 23

    Chapter 1 Before You Start ... Programming Guide Contents Programming Guide 1 - 11 To obtain a copy of this standard, write to: The Institute of Electrical and Electronic Engineers Inc. 345 East 47th Street New York, NY 10017 USA 6. The International Institute of Electrical Engineers and Electronic Engineers, IEEE Standard 488.2-1987, IEEE Standard[...]

  • Página 24

    Chapter 1 Before You Start ... Related Documentation 1 - 12 Programming Guide[...]

  • Página 25

    2 2 Command Summary A Quick Reference[...]

  • Página 26

    Chapter 2 Command Summary Introduction 2 - 2 Programming Guide Introduction This chapter is a quick reference that summarizes the Counter ’ s programming commands. Chapter Summary • Front Panel to SCPI Command Maps 1 pg. 2- 3 – Some SCPI Syntax Conventions pg. 2- 3 – Input Channels Conditioning Keys to SCPI Command Map pg. 2- 4 – Instrume[...]

  • Página 27

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 3 Front Panel to SCPI Command Maps Figures 2-1 through 2-6 provide maps that show the one-to-one relationship of the front-panel keys and the SCPI commands. These maps should help with identifying commands if you are already familiar with the front panel. Some SCPI Syn[...]

  • Página 28

    Chapter 2 Command Summary Front Panel to SCPI Command Maps 2 - 4 Programming Guide Input Channels Conditioning Keys to SCPI Command Map _____________________________ * For TI 1 TO 2 (Time Interval measurements) only . ** Channel 3 is optional. Figure 2 - 1 . Input Channels Conditioning Keys to SCPI Command Map (Part 1 of 2)[...]

  • Página 29

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 5 Input Channels Conditioning Keys to SCPI Command Map (Cont .) 1 a. [:SENSe]:EVENt[1|2]:LEVel[:ABSolute]:AUTO ON|OFF b 1 . [:SENSe]:EVENt[1|2]:LEVel[:ABSolute] <numeric_value> [V] b 2 . [:SENSe]:EVENt[1|2]:LEVel:RELative <numeric_value> [PCT] c. [:SENSe]:E[...]

  • Página 30

    Chapter 2 Command Summary Front Panel to SCPI Command Maps 2 - 6 Programming Guide I nstrument Control, Utility, Recall, and Save & Print Keys to SCPI Command Map Figure 2 - 2 . Instrument Control, Utility, Recall, and Save & Print Keys to SCPI Command Map (Part 1 of 2)[...]

  • Página 31

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 7 Instrument Control, Utility, Recall, and Save & Print Keys to SCPI Command Map (Cont .) 1 a. *IDN? b. No command c 1 . [:SENSe]:ROSCillator:SOURce INTernal c 2 . [ :SENSe]:ROSCillator:SOURce EXTernal c 3 . [:SENSe]:ROSCillator:SOURce:AUTO ON d. No command (see Ca[...]

  • Página 32

    Chapter 2 Command Summary Front Panel to SCPI Command Maps 2 - 8 Programming Guide MEASURE Keys to SCPI Command Map Figure 2 - 3 . MEASURE Keys to SCPI Command Map (Part 1 of 2)[...]

  • Página 33

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 9 MEASURE Keys to SCPI Command Map (Cont.) 1 a. [:SENSe]:FUNCtion[:ON] “ [:][XNONe:]FREQuency [1 | 2 | 3] ” b. [:SENSe]:FUNCtion[:ON] “ [:][XNONe:]FREQuency:RATio [1,2 | 1,3 | 2,1 | 3,1] ” 2 a. [:SENSe]:FUNCtion[:ON] “ [:][XNONe:]TOTalize [1] ” b. [:SENSe]:[...]

  • Página 34

    Chapter 2 Command Summary Front Panel to SCPI Command Maps 2 - 10 Programming Guide Gate & ExtArm Key to SCPI Command Map Freq, Period, Ratio (HP 53131A/132A) Phase (HP 53131A/132A) Totalize ( HP 53131A/132A) Rise Time, Fall Time,+/-Width, Dutycycle (HP 53131A/132A) Time Interval ( HP 53131A and HP 53132As with S/N prefix below 3646 ) See page [...]

  • Página 35

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 11 Gate & ExtArm Key to SCPI Command Map (Cont.) 1 Freq, Period, Ratio Auto Arming: a. [:SENSe]:FREQuency:ARM[:STARt]:SOURce IMMediate [:SENSe]:FREQuency:ARM:STOP:SOURce IMMediate Digits Arming: b. [:SENSe]:FREQuency:ARM[:STARt]:SOURce IMMediate [:SENSe]:FREQuency:[...]

  • Página 36

    Chapter 2 Command Summary Front Panel to SCPI Command Maps 2 - 12 Programming Guide Gate & ExtArm Key to SCPI Command Map (Cont.) Totalize Auto Arming: a. [:SENSe]:TOTalize:ARM[:STARt]:SOURce IMMediate [:SENSe]:TOTalize:ARM:STOP:SOURce IMMediate Time Arming: b 1 . [:SENSe]:TOTalize:ARM[:STARt]:SOURce IMMediate b 2 . [:SENSe]:TOTalize:ARM:STOP:S[...]

  • Página 37

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 13 Gate & ExtArm Key to SCPI Command Map — For HP 5313 1 A (and HP 53132A With S/N Prefix Below 3646) Time Interval (HP 53131A and HP 53132A With S/N Prefix Below 3646 ) Auto Arming: a. [:SENSe]:TINTerval:ARM[:STARt]:SOURce IMMediate b 1 . [:SENSe]:TINTerval:ARM:[...]

  • Página 38

    Chapter 2 Command Summary Front Panel to SCPI Command Maps 2 - 14 Programming Guide Gate & ExtArm Key to SCPI Command Map (Cont.) — For HP 53132A (With S/N Prefix 3646 and Above) Time Interval (HP 53132A With S/N Prefix 3646 and Above ) Auto Arming : a. T START: AUTO b 1 . DELAY T : NONE b 2 . DELAY T : TIME b 3 . DELAY T : EVENT c. T T : <[...]

  • Página 39

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 15 Gate & ExtArm Key to SCPI Command Map (Cont.) — For HP 53132A (With S/N Prefix 3646 and Above) Time Interval (HP 53131A and HP 53132A With S/N Prefix Below 3646) Auto Arming: a. [:SENSe]:TINTerval:ARM:ESTART:LAYer2:SOURce IMMediate [:SENSe]:TINTerval:ARM:ESTOP[...]

  • Página 40

    Chapter 2 Command Summary Front Panel to SCPI Command Maps 2 - 16 Programming Guide LIMITS and MATH Keys to SCPI Command Map Figure 2-5. LIMITS and MATH Keys to SCPI Command Ma p (Part 1 of 2)[...]

  • Página 41

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 17 LIMITS and MATH Keys to SCPI Command Map (Cont.) 1 a. :CALCulate2:LIMit:UPPer[:DATA] <numeric_value> [HZ | S | DEG] b. :CALCulate2:LIMit:LOWer[:DATA] <numeric_value> [HZ | S | DEG] 2 a. :CALCulate2:LIMit:STATe OFF | ON b 1 . :INITiate:AUTO OFF b 2 . :INI[...]

  • Página 42

    Chapter 2 Command Summary Front Panel to SCPI Command Maps 2 - 18 Programming Guide Calibration Menu to SCPI Command Map Figure 2-6. Calibration Menu to SCPI Command Map (Part 1 of 2)[...]

  • Página 43

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 19 Calibration Menu to SCPI Command Map (Cont.) 1 a. :CALibration:SECurity:STATe? b. :DIAGnostic:CALibration:INPut1:OFFSet:AUTO ONCE :DIAGnostic:CALibration:INPut2:OFFSet:AUTO ONCE :DIAGnostic:CALibration:INPut1:GAIN:AUTO ONCE :DIAGnostic:CALibration:INPut2:GAIN:AUTO O[...]

  • Página 44

    Chapter 2 Command Summary HP 53131A/132A Command Summary 2 - 20 Programming Guide HP 53131A/132A Command Summary This section summarizes both the IEEE 488.2 Common and HP 53131A/132A Standard Commands for Programmable Instruments (SCPI) commands in tabular format. IEEE 488.2 Common commands are listed first, followed by SCPI commands. SCPI Conforma[...]

  • Página 45

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 21 IEEE 488.2 Common Commands The Common Commands are general purpose commands that are common to all instruments (as defined in IEEE 488.2). Common Commands are easy to recognize because they all begin with an “*” (for example, *RST, *IDN?, *OPC ). These commands [...]

  • Página 46

    Chapter 2 Command Summary HP 53131A/132A Command Summary 2 - 22 Programming Guide Table 2 - 1 . IEEE 488.2 Common Commands Mnemonic Command Name Function *CAL? *CLS *DDT <arbitrary block> *DMC <string>, <arbitrary block> *EMC <NRf> *EMC? *ESE <NRf> *ESE? *ESR? *GMC? <string> *IDN? *LMC? *OPC *OPC? Calibration Cle[...]

  • Página 47

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 23 Table 2-1 . IEEE 488.2 Common Commands (Continued) Mnemonic Command Name Function *OPT? *PMC *RCL <NRf> *RST *SAV <NRf> *SRE <NRf> *SRE? *STB? *TRG *TST? *WAI Option Identification Query Purge Macro Command Recall Reset Save Service Request Enable [...]

  • Página 48

    Chapter 2 Command Summary HP 53131A/132A Command Summary 2 - 24 Programming Guide HP 53131A/132A SCPI Subsystem Commands SCPI Subsystem commands include all measurement functions and some general purpose functions. SCPI Subsystem Commands use a hierarchy relationship between keywords that is indicated by a “:” (colon). For example, in the SYST:[...]

  • Página 49

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 25 Table 2 - 2 . HP 53131A/132A SCPI Command Summary Keyword/Syntax Parameter Form Std/ New Comments :ABORt Std Event; no query. Aborts measurement in progress. :CALCulate[1] :DATA? :FEED :IMMediate :AUTO :MATH [:EXPRession] :CATalog? [:DEFine]? :NAME | :SELect :STATe [...]

  • Página 50

    Chapter 2 Command Summary HP 53131A/132A Command Summary 2 - 26 Programming Guide Table 2-2. HP 53131A/132A SCPI Command Summary (Continued) Keyword/Syntax Parameter Form Std/ New Comments :CALCulate2 (Cont.) :LIMit (Cont.) :FCOunt :LOWer? :UPPer? [:TOTal]? :LOWer [:DATA] :STATe :UPPer [:DATA] :PCOunt [:TOTal]? <numeric_value> [HZ | S | DEG] [...]

  • Página 51

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 27 Table 2-2. HP 53131A/132A SCPI Command Summary (Continued) Keyword/Syntax Parameter Form Std/ New Comments :CALCulate3 (Cont.) :LFILter :LOWer [:DATA] :STATe :UPPer [:DATA] :PATH? <numeric_value> [HZ | S | DEG] <Boolean> <numeric_value> [HZ | S | D[...]

  • Página 52

    Chapter 2 Command Summary HP 53131A/132A Command Summary 2 - 28 Programming Guide Table 2-2. HP 53131A/132A SCPI Command Summary (Continued) Keyword/Syntax Parameter Form Std/ New Comments :DIAGnostic (Cont.) :CALibration (Cont.) :ROSCillator :AUTO :STATus? :TINTerval :FINE :QUICk ONCE | OFF [1 | 2 | 3 | 4] New New New New New New Subtree. ROSCilla[...]

  • Página 53

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 29 Table 2-2. HP 53131A/132A SCPI Command Summary (Continued) Keyword/Syntax Parameter Form Std/ New Comments :INITiate :AUTO :CONTinuous [:IMMediate] <Boolean> <Boolean> Std New Std Std Subsystem. Controls the initiation of measurements. AUTO ON enables th[...]

  • Página 54

    Chapter 2 Command Summary HP 53131A/132A Command Summary 2 - 30 Programming Guide Table 2-2. HP 53131A/132A SCPI Command Summary (Continued) Keyword/Syntax Parameter Form Std/ New Comments Measurement Instructions * :CONFigure [:SCALar]:<function> :CONFigure? :MEASure [:SCALar]:<function>? :READ [[:SCALar]:<function>]? :FETCh [[:S[...]

  • Página 55

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 31 Table 2-2. HP 53131A/132A SCPI Command Summary (Continued) <function> * <parameters> [,<source_list>] ** Std/ New [:VOLTage]:DCYCle or [:VOLTage]:PDUTycycle [:VOLTage]:FALL:TIME or [:VOLTage]:FTIMe [:VOLTage]:FREQuency [:VOLTage]:FREQuency:RATio **[...]

  • Página 56

    Chapter 2 Command Summary HP 53131A/132A Command Summary 2 - 32 Programming Guide Table 2-2. HP 53131A/132A SCPI Command Summary (Continued) Keyword/Syntax Parameter Form Std/ New Comments :MEMory :DELete :MACRo :FREE :MACRo? :NSTates? <string> Std Std New Std Std Std Subsystem. Manages instrument memory. Subtree. Event; no query. Deletes the[...]

  • Página 57

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 33 Table 2-2. HP 53131A/132A SCPI Command Summary (Continued) Keyword/Syntax Parameter Form Std/ New Comments [:SENSe] (Cont.) :EVENt3 :LEVel [:ABSolute]? :SLOPe? :FREQuency :ARM [:STARt] :SLOPe :SOURce :STOP :DIGits :SLOPe :SOURce :TIMer :EXPected[1|2|3] :AUTO POSitiv[...]

  • Página 58

    Chapter 2 Command Summary HP 53131A/132A Command Summary 2 - 34 Programming Guide Table 2-2. HP 53131A/132A SCPI Command Summary (Continued) Keyword/Syntax Parameter Form Std/ New Comments [:SENSe] (Cont.) :FUNCtion [:ON] :PHASe :ARM [:STARt] :SLOPe :SOURce :ROSCillator :EXTernal :CHECk :FREQuency? <sensor_function> (See below) “ [:][XNONe:[...]

  • Página 59

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 35 Table 2-2. HP 53131A/132A SCPI Command Summary (Continued) Keyword/Syntax Parameter Form Std/ New Comments [:SENSe] (Cont.) :ROSCillator (Cont.) :SOURce :AUTO :TINTerval :ARM (HP 53131A and HP 53132A with S/N prefix below 3646) [:STARt] :SLOPe :SOURce :STOP :SOURce [...]

  • Página 60

    Chapter 2 Command Summary HP 53131A/132A Command Summary 2 - 36 Programming Guide Table 2-2. HP 53131A/132A SCPI Command Summary (Continued) Keyword/Syntax Parameter Form Std/ New Comments [:SENSe] (Cont.) :TOTalize (Cont.) :ARM (Cont.) :STOP :SLOPe :SOURce :TIMer POSitive | NEGative EXTernal | TIMer | IMMediate <numeric_value> [S] New New Ne[...]

  • Página 61

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 37 Table 2-2. HP 53131A/132A SCPI Command Summary (Continued) Keyword/Syntax Parameter Form Std/ New Comments :SYSTem :COMMunicate :SERial Std Std Std Subsystem. Collects the functions that are not related to instrument performance. Subtree. Collects together configura[...]

  • Página 62

    Chapter 2 Command Summary HP 53131A/132A Command Summary 2 - 38 Programming Guide Table 2-2A. HP 53132A (S/N Prefix 3646 and Above) Time Interval Arming SCPI Command Summary Keyword/Syntax Parameter Form Std/ New Comments [:SENSe] (Cont.) :TINTerval :ARM :ESTART :LAYer2 :SLOPe :SOURce [:LAYer[1]] :ECOunt :SOURce :TIMer :ESTOP :LAYer2 :SLOPe :SOURce[...]

  • Página 63

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 39 Table 2-2A. HP 53132A (S/N Prefix 3646 and Above) Time Interval Arming SCPI Command Summary (Continued) Keyword/Syntax Parameter Form Std/ New Comments [:SENSe] (Cont.) :TINTerval (Cont.) :ARM (Cont.) :ESTOP (Cont.) [:LAYer[1]] :SOURce :TIMer [:STARt] :SLOPe :SOURce[...]

  • Página 64

    Chapter 2 Command Summary *RST Response 2 - 40 Programming Guide * RST Response The IEEE 488.2 *RST command returns the instrument to a specified state optimized for remote operation. (Use *CLS to clear the status event registers and the SCPI error queue.) The states of commands affected by the *RST command are described in Table 2- 3 . Since the H[...]

  • Página 65

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 41 Table 2-3. HP 53131A/132A *RST State (Continued) Command Header Parameter State * EMC <NRf> 0 (i.e., disabled) :FORMat[:DATA] ASCii | REAL ASCii :HCOPy:CONTinuous <Boolean> OFF :INITiate:AUTO :INITiate:CONTinuous <Boolean> <Boolean> OFF OFF :[...]

  • Página 66

    Chapter 2 Command Summary *RST Response 2 - 42 Programming Guide Table 2-3A. HP 53131A (and HP 53132A With S/N Prefix Below 3646) Time Interval *RST State Command Header Parameter State [:SENSe]:TINTerval:ARM[:STARt]:SLOPe [:SENSe]:TINTerval:ARM[:STARt]:SOURce [:SENSe]:TINTerval:ARM:STOP:SOURce [:SENSe]:TINTerval:ARM:STOP:TIMer POSitive | NEGative [...]

  • Página 67

    Chapter 2 Command Summary Front Panel to SCPI Command Maps Programming Guide 2 - 43 Table 2 - 4 . Unaffected by *RST Item * ESE * OPC? * SRE * WAI :CALibration:COUNt? :CALibration:DATA :CALibration:SECurity:CODE :CALibration:SECurity:STATe :DISPlay[:WINDow]:TEXT:RADix :STATus:OPERation:ENABle :STATus:OPERation:NTRansition :STATus:OPERation:PTRansit[...]

  • Página 68

    Chapter 2 Command Summary *RST Response 2 - 44 Programming Guide[...]

  • Página 69

    3 3 Programming Your Universal Counter for Remote Operation[...]

  • Página 70

    Chapter 3 Programming Your Universal Counter for Remote Operation Introduction 3 - 2 Programming Guide Introduction This chapter provides remote operation setup, and programming information that helps you operate the Counter as a remote device. Chapter Summary • Configuring the HP-IB pg. 3- 4 • Overview of Command Types and Formats pg. 3- 7 •[...]

  • Página 71

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 3 • Parameter Separator, Query Parameters, Suffixes pg. 3- 11 • Command Terminator pg. 3- 13 • Program Messages pg. 3- 14 • Response Messages, Response Message Syntax pg. 3- 16 Where to Find HP BASIC Programming Examples • Eas[...]

  • Página 72

    Chapter 3 Programming Your Universal Counter for Remote Operation Configuring the HP-IB 3 - 4 Programming Guide Configuring the HP-IB This section gives information on connecting and configuring the HP-IB to enable remote operation of the Counter . The Counter has two HP-IB operating modes : • Addressed (talk/listen) — This mode is for bi - dir[...]

  • Página 73

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 5 3a To set the addres s to “15”, perform the following: a. Press s key. HP-IB: 0 3 is displayed. Note that “0” digit appears and is highlighted, indicating that this digit will change when the d or f arrow key is pressed. b. Pr[...]

  • Página 74

    Chapter 3 Programming Your Universal Counter for Remote Operation Configuring the HP-IB 3 - 6 Programming Guide To Connect the Counter to a Computer Connect the Counter to a computer by simply installing an HP-IB cable (such as an HP 10833A cable) between the two units as shown in Figure 3-1. Figure 3 - 1 . HP-IB Interconnection Remote/Local Operat[...]

  • Página 75

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 7 Overview of Command Types and Formats There are two types of HP 53131A/132A programming commands: IEEE 488.2 Common Commands and Standard Commands for Programmable Instruments (SCPI). The IEEE 488.2 Common Commands control and manage [...]

  • Página 76

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands 3 - 8 Programming Guide Elements of SCPI Commands A program command or query is composed of functional elements that include a header (or keywords with colon separators), program data, and terminators . These elements are sent to the Counter over the HP-IB a[...]

  • Página 77

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 9 NOTE: sp = space. ASCII character decimal 32 Figure 3 - 3 . Simplified Common Command Syntax Diagram Abbreviated Commands The command syntax shows most keywords as a mixture of upper and lower case letters. Upper case letters indicate[...]

  • Página 78

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands 3 - 10 Programming Guide Examine the portion of the [:SENSe] subsystem shown below: [:SENSe] :FREQuency :ARM :STOP :SOURce EXTernal The root-level keyword [:SENSe] is an optional keyword. To set the Counter ’ s frequency stop arm to external, you can use e[...]

  • Página 79

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 11 Parameter Types Table 3-1 contains explanations and examples of parameter types. Parameter types may be numeric value, Boolean , literal , NRf, string , non-decimal numeric , or arbitrary block . Table 3 - 1 . Command and Query Param[...]

  • Página 80

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands 3 - 12 Programming Guide Parameter Separator If you send more than one parameter with a single command, you must separate adjacent parameters with a comma . Query Parameters All selectable <numeric value> parameters can be queried to return the minimum[...]

  • Página 81

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 13 Suffix Multipliers Table 3-2 lists the suffix multipliers that can be used with suf fix elements (except PCT and DEG). Table 3 - 2 . Suffix Multipliers DEFINITION MNEMONIC NAME 1E18 EX ETA 1E15 PE PETA 1E12 T TERA 1E9 G GIGA 1E6 MA ([...]

  • Página 82

    Chapter 3 Programming Your Universal Counter for Remote Operation Using Multiple Commands 3 - 14 Programming Guide Using Multiple Commands Program Messages Program Messages are a combination of one or more properly formatted SCPI Commands. Program messages always go from a computer to the Counter. They are sent to the Counter over the Counter ’ s[...]

  • Página 83

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 15 For example, sending :INP:COUP AC;IMP 50 is equivalent to sending: :INP:COUP AC :INP:IMP 50 or :INP:COUP AC;:INP:IMP 50 The “:” must be present to distinguish another root level command. For example: :INP:COUP AC;:INIT:CONT OFF i[...]

  • Página 84

    Chapter 3 Programming Your Universal Counter for Remote Operation Overview of Response Message Formats 3 - 16 Programming Guide Overview of Response Message Formats Response Messages Response messages are data sent from the Counter to a computer in response to a query . (A query is a command followed by a question mark. Queries are used to find out[...]

  • Página 85

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 17 Response Message Data Types Table 3-3 contains explanations of response data types. Table 3 - 3 . Response Message Data Types Type Description <NR1> This numeric representation has an implicit radix point. The maximum number of[...]

  • Página 86

    Chapter 3 Programming Your Universal Counter for Remote Operation Overview of Response Message Formats 3 - 18 Programming Guide Table 3-3 . Response Message Data Types (Continued) Type Description <Boolean> A single ASCII-encoded byte, 0 or 1, is returned for the query of settings that use <Boolean> parameters. <literal> ASCII-enc[...]

  • Página 87

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 19 Status Reporting The HP 53131A/132A status registers conform to the SCPI and IEEE 488.2 standards. Figure 3-6 shows all the status system register groups and queues in the Counter. This is a high level drawing that does not show all [...]

  • Página 88

    Chapter 3 Programming Your Universal Counter for Remote Operation Status Reporting 3 - 20 Programming Guide Figure 3 - 6 . HP 53131A/132A SCPI Status Reporting Summary Functional Diagram[...]

  • Página 89

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 21 Status Byte Register and Service Request Enable Register Figure 3 - 7 . Status Byte and Service Request Enable Status Byte Register The Status Byte Register is the summary-level register in the status reporting structure. It contains[...]

  • Página 90

    Chapter 3 Programming Your Universal Counter for Remote Operation Status Reporting 3 - 22 Programming Guide Table 3 - 4 . Status Byte Register BIT WEIGH T SYMBOL DESCRIPTION 0 Not used 1 Not used 2 Not used 3 8 QSB Questionable Data/Signal Status Register Summary Bit 4 16 MAV Message Available Summary Bit 5 32 ESB Standard Event Status Register Sum[...]

  • Página 91

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 23 • Bit 5 (ESB) summarizes the Standard Event Status Register. This bit indicates whether or not one of the enabled Standard Event Status Register events have occurred since the last reading or clearing of the Standard Event Status R[...]

  • Página 92

    Chapter 3 Programming Your Universal Counter for Remote Operation Status Reporting 3 - 24 Programming Guide Standard Event Status Register Group Figure 3 - 8 . Standard Event Status Reporting Standard Event Status Register The Standard Event Status Register contains bits that monitor specific IEEE 488.2-defined events as shown in Figure 3-8. Use *E[...]

  • Página 93

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 25 A detailed description of each bit in the Standard Event Status Register follows: • Bit 0 (Operation Complete) is an event bit which is generated in response to the *OPC command. This bit indicates that the Counter has completed al[...]

  • Página 94

    Chapter 3 Programming Your Universal Counter for Remote Operation Status Reporting 3 - 26 Programming Guide • Bit 3 (Device-Specific Error) is an event bit which indicates an operation did not properly complete due to some condition of the Counter. Errors -300 through -399 and all those with positive error numbers (+2000 through ...) are device-s[...]

  • Página 95

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 27 Operation Status Register Group and Questionable Data/Signal Status Register Group The Operation Status Register Group and the Questionable Data/Signal Status Register Group each have a complete set of registers that consists of the [...]

  • Página 96

    Chapter 3 Programming Your Universal Counter for Remote Operation Status Reporting 3 - 28 Programming Guide Condition Register A condition register continuously monitors the hardware and firmware status of the Counter. There is no latching or buffering for this register; it is updated in real time. Reading a condition register does not change its c[...]

  • Página 97

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 29 Transition filters are unaffected by *CLS or queries. Transition filters are set to default values by :STATus:PRESet and power-on. To write to the transitions filter registers use: :STATus:OPERation:PTRansition :STATus:OPERation:NTRa[...]

  • Página 98

    Chapter 3 Programming Your Universal Counter for Remote Operation Status Reporting 3 - 30 Programming Guide Operation Status Register Group The Operation Status Register Group monitors conditions which are part of the Counter ’ s normal operation. Table 3-7 lists the Operation Status Register bits and briefly describes each bit. Table 3 - 7 . Ope[...]

  • Página 99

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 31 • Bits 1 – 3 are not used. • Bit 4 (Measuring) is a condition bit which indicates the Counter is actively measuring. The condition bit is TRUE (one) during a measurement and FALSE (zero) otherwise. If the external reference has[...]

  • Página 100

    Chapter 3 Programming Your Universal Counter for Remote Operation Status Reporting 3 - 32 Programming Guide Note that this is the only bit in the Operation Status Register which is not representing a condition . Therefore, the transition filters have no effect on this bit. The Counter does not monitor the condition indicating whether the last measu[...]

  • Página 101

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 33 A detailed description of each bit in the Questionable Data/Signal Status Register Group follows: • Bits 0 – 1 are not used. • Bit 2 (Time) is a condition bit which indicates that the Time measurements (Period, Time Interval, R[...]

  • Página 102

    Chapter 3 Programming Your Universal Counter for Remote Operation Status Reporting 3 - 34 Programming Guide • Bit 10 (Out of Limit Event) is an event bit indicating the last measurement limit tested was “out of limit. ” Each and every time a measurement is limit tested and found to be out of limit, this event will be reported. Note that this [...]

  • Página 103

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 35 Command Settings for Optimizing Throughput This section lists the commands which enable the Counter to transfer data at the fastest possible rate. See the “ To Optimize Throughput ” sample programs on pages 3- 73 , 3- 86 , and 3-[...]

  • Página 104

    Chapter 3 Programming Your Universal Counter for Remote Operation Command Settings for Optimizing Throughput 3 - 36 Programming Guide Set reference oscillator to non-auto state (internal or external): [:SENSe]:ROSCillator:SOURce INTernal | EXTernal (See Note below.) Disable checking of external source if using external reference oscillator: [:SENSe[...]

  • Página 105

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 37 Table 3-9 lists the typical performance for three different computers. The “ To Optimize Throughput ” sample programs on pages 3- 73 , 3- 86 , and 3 - 96 were used to generate the numbers in the table. The actual examples listed [...]

  • Página 106

    Chapter 3 Programming Your Universal Counter for Remote Operation How to Program the Counter for Status Reporting 3 - 38 Programming Guide How to Program the Counter for Status Reporting Determining the Condition of the Counter The Counter has status registers that are used to indicate its condition. There are four register groups that can be exami[...]

  • Página 107

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 39 Using the Standard Event Status Register to Trap an Incorrect HP-IB command — Example 2 The following command grouping shows how to use the Standard Event Status Register and the Status Byte Register to alert the computer when an i[...]

  • Página 108

    Chapter 3 Programming Your Universal Counter for Remote Operation How to Program the Counter for Status Reporting 3 - 40 Programming Guide Questionable Data Status Register :STAT:QUES:PTR 100; NTR 0 :STAT:QUES:ENABLE 100 *SRE 8 Detect transition from non-questionable to questionable data. Enable to detect for auto cal off. Assert SRQ on Questionabl[...]

  • Página 109

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 41 Figure 3 - 10 . Status Reporting Flowchart (1 of 2)[...]

  • Página 110

    Chapter 3 Programming Your Universal Counter for Remote Operation How to Program the Counter for Status Reporting 3 - 42 Programming Guide Figure 3-10. Status Reporting Flowchart (2 of 2)[...]

  • Página 111

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 43 How to Program the Counter to Display Results Configuring the Counter ’ s Display The Counter has five different display modes: 1. Non-scaled/offset results — frequency, period, time interval, etc. This display mode is used on po[...]

  • Página 112

    Chapter 3 Programming Your Universal Counter for Remote Operation How to Program the Counter to Display Results 3 - 44 Programming Guide Commands for Displaying Scaled/Offset Results The following lines will enable Math (scale/offset). It is assumed that the values for scale and offset are already set. If not, the default value for scale is 1 and f[...]

  • Página 113

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 45 Commands for Enabling and Disabling the Display The Counter display can be turned on or off. The normal condition is for the display to be on. To achieve maximum HP-IB throughput, the display must be disabled. :DISP:ENABLE OFF :DISP:[...]

  • Página 114

    Chapter 3 Programming Your Universal Counter for Remote Operation How to Program the Counter to Synchronize Measurements 3 - 46 Programming Guide How to Program the Counter to Synchronize Measurements Synchronizing Measurement Completion The Counter has three different methods for synchronizing the end of a measurement and computer transfer of data[...]

  • Página 115

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 47 :CALC3:AVERAGE ON :CALC3:AVERAGE:COUNT 50 :TRIG:COUNT:AUTO ON :INIT *WAI :CALC3:AVERAGE:ALL? Enable statistics. Base statistics on 50 measurements. On INIT, take 50 measurements. Start 50 measurements. Wait until 50 measurements are [...]

  • Página 116

    Chapter 3 Programming Your Universal Counter for Remote Operation How to Program the Counter to Synchronize Measurements 3 - 48 Programming Guide *SRE 32 are used to assert the SRQ line to alert the computer that the Counter has completed a measurement. It is up to the computer to use the serial poll command to determine which of the instruments on[...]

  • Página 117

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 49 How to Program the Counter for Math/Limit Operations Updating Math and Limit Results Over HP-IB When using the Limits or Math capabilities from the front panel, the default (power-up) operation is for results to be automatically upda[...]

  • Página 118

    Chapter 3 Programming Your Universal Counter for Remote Operation How to Program the Counter for Math/Limit Operations 3 - 50 Programming Guide results are calculated. The only drawback with this command is that you must always send it when you change the limits or scale/offset values. The section in this chapter titled “How to Program the Counte[...]

  • Página 119

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 51 If you need to query the scale and offset values, you need to know if you are in ASCII or REAL data format. The values returned from the following query will be sent using the format that is currently defined (:FORMat[:DATA]) in the [...]

  • Página 120

    Chapter 3 Programming Your Universal Counter for Remote Operation How to Program the Counter to Define Macros 3 - 52 Programming Guide How to Program the Counter to Define Macros A macro is a user defined command that can be used to replace one or many Counter commands. There are two good reasons to use macros in place of other commands: 1. They pr[...]

  • Página 121

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 53 A macro also lets you send variable parameters along with the name. For example, you could have a macro that sets up a measurement channel. One of the variables may be the input impedance, either 50 Ohms or 1 Megaohm. To program this[...]

  • Página 122

    Chapter 3 Programming Your Universal Counter for Remote Operation How to Program the Counter to Define Macros 3 - 54 Programming Guide *DMC ‘ limitdisplay ’ ,#268 :DISP:MENU 0;TEXT:FEED ‘ CALC2 ’ ;:CALC2:LIM:STAT 1;DISP GRAP; :CALC:IMM Programming examples using macros are provided in the following section titled “Programming Examples. ?[...]

  • Página 123

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 55 Writing SCPI Programs Figure 3-11 is a general summation of how to write SCPI programs . It shows a typical sequence you might go through in the process of writing a program. You do not have to follow this exact sequence, but it will[...]

  • Página 124

    Chapter 3 Programming Your Universal Counter for Remote Operation Writing SCPI Programs 3 - 56 Programming Guide Figure 3 - 11 . SCPI Programming Flowchart (Sheet 1 of 2)[...]

  • Página 125

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 57 Figure 3-11. SCPI Programming Flowchart (Sheet 2 of 2)[...]

  • Página 126

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 58 Programming Guide Programming Examples In this section, you will see how to program the HP 53131A/132A to make many common measurements. Examples are provided in the following programming languages: • HP BASIC • Microsoft  QuickBASIC (version 4.5)* [...]

  • Página 127

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 59 Using QuickBASIC The QuickBASIC examples assume you have an HP 82335A HP-IB Interface card inside your IBM PC or compatible. Using Turbo C The Turbo C examples assume you have an HP 82335A HP-IB Interface card inside your IBM PC or c[...]

  • Página 128

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 60 Programming Guide Easiest Way to Make a Measurement (HP BASIC) 10 ! This program shows how to use the MEASure group of instructions to 20 ! quickly and easily make any of the counter's measurements. 30 ! In this program, time interval, frequency and p[...]

  • Página 129

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 61 Easiest Way to Make a Measurement (HP BASIC) (Continued) 540 ! The following commands will measure the frequency on channel 1. 550 ! The MEAS? query can be broken down into CONF and READ? commands. 560 ! The CONF and READ? allow more[...]

  • Página 130

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 62 Programming Guide To Make a Frequency Measurement (HP BASIC) 10 ! This program sets up the counter to make 10 frequency 20 ! measurements on channel 1, using a 0.1 second gate time. 30 ! The results are displayed on the computer CRT. 40 ! ASCII format is u[...]

  • Página 131

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 63 To Perform Limit Testing (HP BASIC) 10 ! This program sets up the counter to make period measurements 20 ! indefinitely until an out of limits measurement occurs. 30 ! The upper limit is 1 usec and the lower limit is 500 nsec. 40 ! I[...]

  • Página 132

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 64 Programming Guide To Measure the Statistics of 50 Measurements (HP BASIC) 10 ! This program instructs the counter to take 50 period measurements. 20 ! The counter is put into SINGLE measurement mode. The number of 30 ! measurements to take is programmed us[...]

  • Página 133

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 65 To Measure the Statistics of 50 Measurements (HP BASIC) (Continued) 520 OUTPUT @Count;":INIT;*OPC" ! Enable OPC bit and starts measurement 530 Loop_here:GOTO Loop_here ! Wait here until measurement complete. 540 ! 550 Get_a[...]

  • Página 134

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 66 Programming Guide To Use Limits to Filter Data Before Measuring Stats (HP BASIC) 10 ! This program instructs the counter to determine the statistics of 20 ! 50 Period measurements that are within the limits defined by the 30 ! variables "Upper" a[...]

  • Página 135

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 67 To Use Limits to Filter Data Before Measuring Stats (HP BASIC) (Continued) 500 OUTPUT @Count;":CALC3:LFIL:STATE ON" ! Enable statistics filter 510 OUTPUT @Count;":CALC3:LFIL:LOWER ";Lower ! Set the lower limit 520[...]

  • Página 136

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 68 Programming Guide To Read and Store Calibration Information (HP BASIC) 10 !This program reads the calibration data for the counter into an array. 20 !Before calibrating the counter, it is a good idea to read 30 !and store the current values in case somethi[...]

  • Página 137

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 69 To Perform a Time Interval Calibration (HP BASIC) Early versions of the Counter cannot execute this program since they do not support calibration security or “ fine ” time interval calibration. 10 ! This program shows you how to [...]

  • Página 138

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 70 Programming Guide To Perform a Time Interval Calibration (HP BASIC) (Continued) 440 CLEAR @Count 450 OUTPUT @Count;"*RST" ! Reset the HP 53131A 460 OUTPUT @Count;"*CLS" ! Clear event registers and error queue 470 OUTPUT @Count;"*SR[...]

  • Página 139

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 71 To Perform a Time Interval Calibration (HP BASIC) (Continued) 910 Cal_quick: ! Calibrates using the QUICK TI calibration. 920 PRINT "Connect square wave signal to Channel 1" 930 GOSUB Wait_for_input 940 PRINT "Recalibr[...]

  • Página 140

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 72 Programming Guide To Perform a Time Interval Calibration (HP BASIC) (Continued) 1400 Restore_cal:! Restores the calibration data previously saved. 1410 IF Status=0 THEN 1420 INPUT "Calibration successful, restore backup anyway?",Answer$ 1430 ELSE[...]

  • Página 141

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 73 To Optimize Throughput (HP BASIC) 10 ! This program shows how to set up the counter to transfer data at the 20 ! fastest possible rate. Note that the arming mode is AUTO. This mode 30 ! provides the least resolution of all arming mod[...]

  • Página 142

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 74 Programming Guide To Optimize Throughput (HP BASIC) (Continued) 500 OUTPUT @Count;":INIT:CONT ON" ! Put counter in Run mode 510 OUTPUT @Count;"FETCH:FREQ?" ! Fetch the frequency to be used 520 ENTER @Count USING "#,K";Dummy$ ![...]

  • Página 143

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 75 To Use Macros (HP BASIC) 10 USER 1 KEYS 20 ON KEY 1 LABEL " Macro Free ",1 CALL Macro_free 30 ON KEY 2 LABEL " Enable Macros",1 CALL Macro_enable 40 ON KEY 3 LABEL " Display Macros",1 CALL Display_macros[...]

  • Página 144

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 76 Programming Guide To Use Macros (HP BASIC) (Continued) 520 SUB Define_macro ! Define a macro for the counter 530 DIM Name$[25],Macro$[200],Send$[255],Header$[2] 540 CLEAR SCREEN 550 LINPUT "Enter the name of the macro",Name$ 560 LINPUT "Ente[...]

  • Página 145

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 77 To Make a Frequency Measurement (QuickBASIC) 'This program sets up the counter to make 10 frequency measurements 'on channel 1 using a 0.1 second gate time. 'The results are printed on the computer CRT. 'Data is s[...]

  • Página 146

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 78 Programming Guide To Perform Limit Testing (QuickBASIC) 'This program sets up the counter to make period measurements 'indefinitely until an out of limits measurement occurs. The upper 'limit is set to 1 us and the lower limit is set to 500 [...]

  • Página 147

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 79 To Perform Limit Testing (QuickBASIC) (Continued) ON PEN GOSUB limitfail 'When SRQ happens, go get out of PEN ON 'limit result CALL IOPEN(isc&, priority%) CALL sendhp(":INIT:CONT ON") 'Set counter to run [...]

  • Página 148

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 80 Programming Guide To Measure the Statistics of 50 Measurements (QuickBASIC) 'This program instructs the counter to take 50 period measurements 'and return the mean, minimum, maximum and standard deviation. 'The counter is put into SINGLE mea[...]

  • Página 149

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 81 To Measure the Statistics of 50 Measurements (QuickBASIC) (Continued) CALL sendhp(":FUNC " + CHR$(34) + "PER 1" + CHR$(34)) 'Measure Period 'The function must be a quoted string. The actual string sent t[...]

  • Página 150

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 82 Programming Guide To Use Limits to Filter Data Before Measuring Stats (QuickBASIC) 'This program sets up the counter to determine the statistics of '50 period measurements that are within limits defined by the variables ''UPPER' an[...]

  • Página 151

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 83 To Use Limits to Filter Data Before Measuring Stats (QuickBASIC) (Continued) CALL sendhp(":FREQ:ARM:STAR:SOUR IMM") 'These 3 lines enable time CALL sendhp(":FREQ:ARM:STOP:SOUR TIM") 'arming with a 0.01 s[...]

  • Página 152

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 84 Programming Guide To Use Limits to Filter Data Before Measuring Stats (QuickBASIC) (Continued) PRINT "Status byte = ", statusbyte CALL sendhp(":CALC3:AVERAGE:TYPE MIN;:CALC3:DATA?") 'Ask for all the stats CALL IOENTERS(source&,[...]

  • Página 153

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 85 To Read and Store Calibration Data (QuickBASIC) 'Before calibrating the counter, it is a good idea to read 'and store the current calibration values in case something goes wrong with 'the calibration. 'This progra[...]

  • Página 154

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 86 Programming Guide To Optimize Throughput (QuickBASIC) 'This program sets up the counter make 1000 frequency as fast as possible. 'Note that the arming is set to AUTO. This allows measurements to be taken 'quickly, but at the least resolution[...]

  • Página 155

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 87 To Optimize Throughput (QuickBASIC) (Continued) 'The following lines will provide the fastest throughput, regardless of 'the state of the counter before these lines are executed. CALL sendhp(":FREQ:ARM:STAR:SOUR IMM&qu[...]

  • Página 156

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 88 Programming Guide To Use Macros (QuickBASIC) 'This program is useful for writing macros for the counter. Softkeys 'are available at the bottom of the computer screen to help determine 'the status of the macros. 'The SUB sendhp sends com[...]

  • Página 157

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 89 To Use Macros (QuickBASIC) (Continued) ON KEY(1) GOSUB availablememory ON KEY(2) GOSUB enablemacro ON KEY(3) GOSUB displaymacro ON KEY(4) GOSUB querymacro ON KEY(5) GOSUB definemacro ON KEY(6) GOSUB deletemacro ON KEY(7) GOSUB purgem[...]

  • Página 158

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 90 Programming Guide To Use Macros (QuickBASIC) (Continued) purgemacro: 'Purge all macros INPUT "Are you sure you want to purge all macros? ", answer$ answer$ = UCASE$(answer$) IF answer$ = "Y" THEN sendhp ("*PMC") PRINT &qu[...]

  • Página 159

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 91 To Make a Frequency Measurement (Turbo C) /* This program sets up the counter to make 10 freqeuncy measurements on channel 1, using a 0.1 second gate time. The results are displayed on the computer CRT The program comments discuss th[...]

  • Página 160

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 92 Programming Guide To Make a Frequency Measurement (Turbo C) (Continued) for (i=1; i<=samples ;i++) { sendhp("INIT"); /* Start a measurement */ s endhp("FETCH:FREQUENCY?"); IOENTERS(ctr,freq,&length); /* fetch the data */ length=s[...]

  • Página 161

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 93 To Use Limits to Filter Data Before Measuring Statistics (Turbo C) /* This program instructs the counter to determine the statistics of 50 Period measurements that are within programmed test limit values. Periods that are outside of [...]

  • Página 162

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 94 Programming Guide To Use Limits to Filter Data Before Measuring Statistics (Turbo C) (Continued) IOEOI(isc,state); /* Enable use of EOI */ sendhp(":FUNC 'FREQ 1'"); /* Make a frequency measurement */ sendhp(":FREQ:ARM:STAR:SOUR IMM[...]

  • Página 163

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 95 To Use Limits to Filter Data Before Measuring Statistics (Turbo C) (Continued) IOSPOLL(ctr,&status); /* Serial poll counter for status */ puts("Transferring and processing data"); sendhp(":INIT:CONT OFF"); /* [...]

  • Página 164

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 96 Programming Guide To Optimize Throughput (Turbo C) /* This program sets up the counter to transfer data at the fastest possible rate. Note that the arming mode is AUTO. This mode provides the least resolution of all the arming modes. The program comments d[...]

  • Página 165

    Chapter 3 Programming Your Universal Counter for Remote Operation Elements of SCPI Commands Programming Guide 3 - 97 To Optimize Throughput (Turbo C) (Continued) sendhp(":ROSC:SOURCE INT"); /* Use internal oscillator. If you want to use an external timebase, you must select it and turn off the automatic detection using: :ROSC:EXT:CHECK OF[...]

  • Página 166

    Chapter 3 Programming Your Universal Counter for Remote Operation Programming Examples 3 - 98 Programming Guide To Optimize Throughput (Turbo C) (Continued) /* Function to send command to HP 53131A */ void sendhp(hpib_cmd) char *hpib_cmd; { char hpcmd[80]; /* Variables used by function */ int length; strcpy(hpcmd,hpib_cmd); length=strlen(hpcmd); er[...]

  • Página 167

    4 4 Command Reference A Dictionary[...]

  • Página 168

    Chapter 4 Command Reference Introduction 4 - 2 Programming Guide Introduction This chapter describes the SCPI Subsystem commands and the IEEE 488.2 Common commands for the HP 53131A/132A 225 MHz Universal Counter. The information in this chapter will help you program the Counter over the HP-IB. The commands are presented in alphabetical order. • [...]

  • Página 169

    Chapter 4 Command Reference Introduction Programming Guide 4 - 3 • the short form of keywords is shown in uppercase. • quotation marks may be part of the command ’ s parameter; the quotation marks shown must be sent to the Counter. • unless otherwise noted, the command is sequential (not overlapped). See Chapter 3 in this guide for details [...]

  • Página 170

    Chapter 4 Command Reference :ABORt Command 4 - 4 Programming Guide :ABORt Command :ABORt This command is an event that causes the Counter to abort , as quickly as possible, any measurement in progress. The :ABORt command is not complete until the current measurement is stopped. The execution of an ABORt command sets false any Pending Operation Flag[...]

  • Página 171

    Chapter 4 Command Reference Introduction Programming Guide 4 - 5 :CALCulate Subsystems Three :CALCulate subsystems (:CALCulate[1], :CALCulate2, and :CALCulate3) perform post-acquisition data processing and data transfer of the corresponding results. Functions in the SENSe subsystem are related to data acquisition, while the :CALCulate systems opera[...]

  • Página 172

    Chapter 4 Command Reference :CALCulate Subsystems 4 - 6 Programming Guide Figure 4 - 1 . The CALCulate Subsystems[...]

  • Página 173

    Chapter 4 Command Reference Introduction Programming Guide 4 - 7 :CALCulate[1] Subsystem Performs post-acquisition math (scale/offset) processing (on the data acquired by a SENSe function) and data transfer of the scaled/offset result. See the :TRACe subsystem for commands used to set the scale and offset. Not until :CALCulate[1]:MATH:STATe is set [...]

  • Página 174

    Chapter 4 Command Reference :CALCulate[1] Subsystem 4 - 8 Programming Guide :CALCulate[1]:FEED “ [:]SENSe[1] ” Sets or queries the data flow to be fed into the CALCulate[1] block. Since the Counter can only sense one function at a time, there is only one valid parameter. The string “ SENS ” is returned. *RST: “ SENSe[1] ” :CALCulate[1]:[...]

  • Página 175

    Chapter 4 Command Reference Introduction Programming Guide 4 - 9 :CALCulate[1]:IMMediate:AUTO <Boolean> Sets or queries whether post-processing (recalculation) will automatically occur whenever any changes are made to the :CALCulate[1|2] subsystems. With :CALC:IMM:AUTO set to OFF, :CALCulate[1|2] only produces new results when new SENSe data [...]

  • Página 176

    Chapter 4 Command Reference :CALCulate[1] Subsystem 4 - 10 Programming Guide :CALCulate[1]:MATH[:EXPRession][:DEFine]? Queries equation used for math operation. A sequence of ASCII-encoded bytes: ( “ SENS ” * SCALE + OFFSET) terminated with a new line and EOI. • Query only. • This query should be the last query in a terminated program messa[...]

  • Página 177

    Chapter 4 Command Reference Introduction Programming Guide 4 - 11 :CALCulate2 Subsystem This subsystem performs post-acquisition limit testing and data transfer. Not until :CALCulate2:LIMit:STATe is set to ON will any of the :CALCulate2 settings be used. :CALCulate2:FEED “ [:]CALCulate[1] ” Sets or queries the data flow to be fed into the CALCu[...]

  • Página 178

    Chapter 4 Command Reference :CALCulate2 Subsystem 4 - 12 Programming Guide :CALCulate2:IMMediate:AUTO <Boolean> Sets or queries whether post-processing (recalculation) will automatically occur whenever any changes are made to the :CALCulate[1|2] subsystems. With :CALC2:IMM:AUTO set to OFF, CALCulate[1|2] only produces new results when new SEN[...]

  • Página 179

    Chapter 4 Command Reference Introduction Programming Guide 4 - 13 :CALCulate2:LIMit:CLEar:AUTO <Boolean> Sets or queries if the limit test results are to be cleared with each :INITiate[:IMMediate] and :INITiate:CONTinuous ON operation. • Single ASCII-encoded byte, 0 or 1. • A value of 0 indicates OFF; a value of 1 indicates ON. • *RST: [...]

  • Página 180

    Chapter 4 Command Reference :CALCulate2 Subsystem 4 - 14 Programming Guide :CALCulate2:LIMit:DISPlay GRAPh | NUMBer Sets or queries whether the measurement display is numeric or symbolic (on a graph) . When :CALC2:LIM:DISP is NUMBer, the measurement results are displayed numerically. When :CALC2:LIM:DISP is GRAPh, the measurement results are displa[...]

  • Página 181

    Chapter 4 Command Reference Introduction Programming Guide 4 - 15 • If the current measurement is Totalize or Voltage Peaks, 0 is returned and error -221 is generated. :CALCulate2:LIMit:FCOunt:LOWer? Queries the number of limit test failures (that is, the Fail COunt) at the lower limit. • Numeric data transferred as ASCII bytes in <NR1> f[...]

  • Página 182

    Chapter 4 Command Reference :CALCulate2 Subsystem 4 - 16 Programming Guide Query only. :CALCulate2:LIMit:LOWer[:DATA] <numeric_value> [HZ | S |DEG] Sets or queries the lower limit used for limit testing. When the result is less than the lower limit, a fail is reported; when the result is equal to the lower limit, a fail is not reported. If ma[...]

  • Página 183

    Chapter 4 Command Reference Introduction Programming Guide 4 - 17 :CALCulate2:LIMit:PCOunt[:TOTal]? Queries the total Pass COunt (that is, the number of measurements that passed the limit test). • Numerical data transferred as ASCII bytes in <NR1> format. • If CALC2:LIM:STATe is OFF, 0 is returned and error -221 is generated. • If no va[...]

  • Página 184

    Chapter 4 Command Reference :CALCulate2 Subsystem 4 - 18 Programming Guide :CALCulate2:LIMit:UPPer[:DATA] <numeric_value> [HZ | S | DEG] Sets or queries the upper limit used for limit testing. When the result is greater than the upper limit, a fail is reported; when the result is equal to the upper limit, a fail is not reported. If math is en[...]

  • Página 185

    Chapter 4 Command Reference Introduction Programming Guide 4 - 19 :CALCulate3 Subsystem This subsystem performs post-acquisition statistics computation and data transfer. Not until :CALCulate3:LFILter:STATe is set to ON will any of the :CALCulate3:LFILter settings be used. Not until :CALCulate3:AVERage[:STATe] is set to ON will any of the :CALCulat[...]

  • Página 186

    Chapter 4 Command Reference :CALCulate3 Subsystem 4 - 20 Programming Guide • If the current measurement is Totalize or Voltage Peaks, Not a Number 9.91E37 is returned and error -221 is generated. • Query only. • The last calculated result remains valid until a new computation is made or a relevant instrument state is modified. Stats :CALCulat[...]

  • Página 187

    Chapter 4 Command Reference Introduction Programming Guide 4 - 21 Stats :CALCulate3:AVERage:COUNt:CURRent? Queries the current count (that is, the number of data values collected for statistical computation). • Numeric data transferred as ASCII bytes in <NR1> format. • Range is 0 to 1,000,000. • If :CALC3:AVER[:STATe] is OFF, error -221[...]

  • Página 188

    Chapter 4 Command Reference :CALCulate3 Subsystem 4 - 22 Programming Guide Stats :CALCulate3:AVERage:TYPE MAXimum | MINimum | SDEViation | SCALar or MEAN Selects which statistical result will appear: • in the :CALC3:DATA? response, and • on the front-panel display when :DISP[:WIND]:TEXT:FEED is set to “ CALC3 ” . A sequence of ASCII-encoded[...]

  • Página 189

    Chapter 4 Command Reference Introduction Programming Guide 4 - 23 • If the current measurement is Totalize or Voltage Peaks, Not a Number 9.91E37 is returned and error -221 is generated. • Query only. • The last calculated result remains valid until a new computation is made or a relevant instrument state is modified. :CALCulate3:FEED “ [:][...]

  • Página 190

    Chapter 4 Command Reference :CALCulate3 Subsystem 4 - 24 Programming Guide Numeric data transferred as ASCII bytes in <NR3> format with eleven significant digits. • *RST: 0.0000000000 • This command couples :CALC2:LIM:LOW to the same value. • Updating the lower limit value causes the limit counts (:CALC2:LIM:FCO, :CALC2:LIM:PCO) to be c[...]

  • Página 191

    Chapter 4 Command Reference Introduction Programming Guide 4 - 25 -9.9999990000E+12 to -1.0000000000E-13, 0.0000000000, +1.0000000000E- 13 to +9.9999990000E+12. 11 digits Numeric data transferred as ASCII bytes in <NR3> format with eleven significant digits. • *RST: 0.0000000000 • This command couples :CALC2:LIM:UPP to the same value. •[...]

  • Página 192

    Chapter 4 Command Reference :CALibration Subsystem 4 - 26 Programming Guide :CALibration Subsystem :CALibration[:ALL]? This query causes an internal interpolator self-calibration . • Numeric data transferred as ASCII bytes in <NR1> format. • A value of zero indicates the calibration completed without error. A value of one indicates the ca[...]

  • Página 193

    Chapter 4 Command Reference Introduction Programming Guide 4 - 27 • Your Counter was calibrated before it left the factory. When you receive your Counter, read the calibration count to determine its initial value. • Early versions of the Counter do not support this query. Scale & Offset / POWER (Calibration Menu) :CALibration:DATA <arbit[...]

  • Página 194

    Chapter 4 Command Reference :CALibration Subsystem 4 - 28 Programming Guide :CALibration:SECurity Subtree This subtree provides capabilities related to the security of the Counter ’ s calibration factors. Note, early versions of the Counter do not support any of the :CALibration:SECurity commands. :CALibration:SECurity: CODE <NRf> Sets the [...]

  • Página 195

    Chapter 4 Command Reference Introduction Programming Guide 4 - 29 • The calibration state is stored in non-volatile memory, and is unaffected by power-on, save/recall, and *RST. • The security code is set to 53131 or 53132 (depending on which model you have) when the Counter is shipped from the factory. If you forget your security code, you can[...]

  • Página 196

    Chapter 4 Command Reference :CONFigure Subsystem 4 - 30 Programming Guide :CONFigure Subsystem Refer to the Measurement Instructions section on page 4- 52 in this chapter for a description of :CONFigure.[...]

  • Página 197

    Chapter 4 Command Reference Introduction Programming Guide 4 - 31 Device Clear Device Clear The full capability of the Device Clear IEEE 488.1 interface function is implemented in the Counter. This function allows a device to be initialized to a cleared state. The device-dependent effect is described below. In response to either the Device Clear me[...]

  • Página 198

    Chapter 4 Command Reference :DIAGnostic Subsystem 4 - 32 Programming Guide :DIAGnostic Subsystem This subsystem controls the remote calibration of the Counter. All of the calibration values, with the exception of the interpolator values, are stored in non-volatile memory and are unaffected by power-on, save/recall, and *RST. Any of the commands whi[...]

  • Página 199

    Chapter 4 Command Reference Introduction Programming Guide 4 - 33 :DIAGnostic:CALibration:INPut[1|2]:OFFSet: AUTO ONCE | OFF Calibrates the channel 1 or 2 input trigger OFFSet when the ONCE parameter is used. Before sending this command, BE SURE to disconnect any input signal from the appropriate input. A sequence of ASCII-encoded bytes: OFF • Th[...]

  • Página 200

    Chapter 4 Command Reference :DIAGnostic Subsystem 4 - 34 Programming Guide :DIAGnostic:CALibration:ROSCillator:AUTO ONCE | OFF Calibrates the reference oscillator when ONCE parameter is used. Before sending this command, connect 10 MHz to channel 1. A sequence of ASCII-encoded bytes: OFF • This command is available only if the instrument contains[...]

  • Página 201

    Chapter 4 Command Reference Introduction Programming Guide 4 - 35 :DIAGnostic:CALibration:TINTerval:FINE[1|2|3|4] These event commands, when performed in the appropriate order and with the appropriate calibration signals supplied to both channels, calibrate out the differences in electrical path length between Channel 1 and Channel 2. Before sendin[...]

  • Página 202

    Chapter 4 Command Reference :DIAGnostic Subsystem 4 - 36 Programming Guide :DIAGnostic:CALibration:TINTerval:QUICk This event command calibrates out the differences in electrical path length between channels 1 and 2. Before sending this command, connect to channel 1 a square wave of approximate frequency 10 MHz, but more importantly with a rapid ri[...]

  • Página 203

    Chapter 4 Command Reference Introduction Programming Guide 4 - 37 :DISPlay Subsystem This subsystem controls the selection and presentation of textual information on the Counter ’ s display. This information includes measurement results. :DISPlay is independent of, and does not modify, how data is returned to the controller. See the section title[...]

  • Página 204

    Chapter 4 Command Reference :DISPlay Subsystem 4 - 38 Programming Guide :DISPlay[:WINDow]:TEXT:FEED “ [:]CALCulate2 ” | “ [:]CALCulate3 ” Sets or queries what data flow is fed into the display . Choose from the following <data_handle> strings: • “ [:]CALCulate2 ” — should be used to direct any result other than the statistics [...]

  • Página 205

    Chapter 4 Command Reference Introduction Programming Guide 4 - 39 :DISPlay[:WINDow]:TEXT:RADix COMMa | DPOint Sets or queries the character used to separate integral and fractional portions of a displayed number. To conform to the numerical convention used in the USA, specify decimal point with DPOint. To conform to the numerical convention used in[...]

  • Página 206

    Chapter 4 Command Reference :FETCh Subsystem 4 - 40 Programming Guide :FETCh Subsystem Refer to the Measurement Instructions section on page 4- 52 in this chapter for a description of :FETCh.[...]

  • Página 207

    Chapter 4 Command Reference Introduction Programming Guide 4 - 41 :FORMat Subsystem This subsystem sets the data format for transferring numeric information. This data format is used for response data by those commands that are specifically designated to be affected by the :FORMat subsystem. :FORMat[:DATA] ASCii | REAL Sets or queries the data form[...]

  • Página 208

    Chapter 4 Command Reference Group Execute Trigger (GET) 4 - 42 Programming Guide Group Execute Trigger (GET) The full capability of the Group Execute Trigger IEEE 488.1 interface function is implemented in the Counter. This function permits the Counter to have its operation initiated over the Bus. The device-dependent result of this triggering is d[...]

  • Página 209

    Chapter 4 Command Reference Introduction Programming Guide 4 - 43 :HCOPy Subsystem :HCOPy:CONTinuous <Boolean> Enables or disables printing results. When :HCOPy:CONTinuous is enabled (:HCOP:CONT ON), the Counter prints each measurement. If statistics is enabled (:CALC3:AVER[:STAT] ON), all statistics (standard deviation, mean, minimum, and ma[...]

  • Página 210

    Chapter 4 Command Reference :INITiate Subsystem 4 - 44 Programming Guide :INITiate Subsystem This subsystem controls the initiation of a measurement. :INITiate:AUTO <Boolean> Sets or queries if the Counter should stop measurements or continue measuring (go on) when a measurement exceeds the user-entered limits. AUTO ON configures the Counter [...]

  • Página 211

    Chapter 4 Command Reference Introduction Programming Guide 4 - 45 • *RST: OFF • When the :INIT:CONT ON command is sent, the Counter: – invalidates the statistics results, – clears the statistics current count to 0, – reports the negative status condition (NOT Computing Statistics) to bit 8 of Operation Status Register. • When :CALC2:LIM[...]

  • Página 212

    Chapter 4 Command Reference :INITiate Subsystem 4 - 46 Programming Guide • When a single measurement is in progress (:INIT:CONT is OFF): – Error -213 (Init ignored) is generated and the state of INIT:CONT is unaffected by :INIT:CONT ON. – Error -210 (Trigger error) is generated by INIT:CONT OFF. • Note that the Counter powers up with :INIT:[...]

  • Página 213

    Chapter 4 Command Reference Introduction Programming Guide 4 - 47 • When :TRIG:COUN:AUTO is ON and :CAL3:AVER[:STAT] is ON, the Counter clears the statistics results and the statistics current count on :INIT[:IMM]. • If the instrument is already in the process of making a measurement or if INITiate:CONTinuous is set to ON, an :IMMediate command[...]

  • Página 214

    Chapter 4 Command Reference :INPut[1|2] Subsystem 4 - 48 Programming Guide :INPut[1|2] Subsystem This subsystem controls the characteristics of the Counter ’ s input ports. :INPut1 corresponds to channel 1 input port and :INPut2 corresponds to channel 2 input port. :INPut[1|2]:ATTenuation 1 | 10 Sets or queries the input attenuation . Numeric dat[...]

  • Página 215

    Chapter 4 Command Reference Introduction Programming Guide 4 - 49 :INPut[1|2]:FILTer[:LPASs]:FREQuency? Queries the cutoff frequency of the low-pass filter. • Numeric data transferred as ASCII bytes in <NR3> format with six significant digits. • A value of 100E+3 is returned. Units are Hertz. :INPut[1|2]:IMPedance <numeric_value> [O[...]

  • Página 216

    Chapter 4 Command Reference :INPut3 Subsystem 4 - 50 Programming Guide :INPut3 Subsystem This subsystem queries the characteristics of the Counter ’ s channel 3 input port. These commands are only available if Option 030/050 is installed. :INPut3:COUPling? Queries the channel 3 input coupling . A sequence of ASCII-encoded bytes: AC This command i[...]

  • Página 217

    Chapter 4 Command Reference Introduction Programming Guide 4 - 51 :MEASure Subsystem Refer to the Measurement Instructions section on page 4- 52 in this chapter for a description of :MEASure.[...]

  • Página 218

    Chapter 4 Command Reference Measurement Instructions (:CONFigure, :FETCh, :MEASure, :READ) 4 - 52 Programming Guide Measurement Instructions (:CONFigure, :FETCh, :MEASure, :READ) The purpose of these commands is to acquire data using a set of high-level instructions. These commands are structured to allow you to trade off interchangeability with fi[...]

  • Página 219

    Chapter 4 Command Reference Introduction Programming Guide 4 - 53 The <source_list> parameter has the same syntax as SCPI <channel_list> syntax. For example, a one-channel function (such as Frequency, Period, etc.) would use (@1) to specify channel 1, whereas a two-channel function (such as Time Interval, Phase, and Ratio) would use (@1[...]

  • Página 220

    Chapter 4 Command Reference Measurement Instructions (:CONFigure, :FETCh, :MEASure, :READ) 4 - 54 Programming Guide • This command disables math, statistics, and limit-testing. • If an absolute trigger level is not specified in the <parameters>, then when this command executes, for functions other than Voltage Peaks (maximum, minimum, pea[...]

  • Página 221

    Chapter 4 Command Reference Introduction Programming Guide 4 - 55 FETCh [[:SCALar]:<function>]? This query returns the measurement taken by the :INITiate (or :MEASure query or :READ?) commands. When [:SCALar]:<function> is specified, the instrument will retrieve the specified result if it matches the current measurement type or can be d[...]

  • Página 222

    Chapter 4 Command Reference Measurement Instructions (:CONFigure, :FETCh, :MEASure, :READ) 4 - 56 Programming Guide • Refer to the sub-section in this chapter titled “ Descriptions of the Measurement Functions ” for descriptions of each measurement function. • Refer to Table 4-1 in this section for a summary of the <function>, <par[...]

  • Página 223

    Chapter 4 Command Reference Introduction Programming Guide 4 - 57 :READ [[:SCALar]:<function>]? This query provides a method of performing a :FETCh? on fresh data. A common application is to use this command in conjunction with a :CONFigure to provide a capability like :MEASure? in which the application programmer is allowed to provide fine a[...]

  • Página 224

    Chapter 4 Command Reference Measurement Instructions (:CONFigure, :FETCh, :MEASure, :READ) 4 - 58 Programming Guide • Result will be formatted according to :FORMat[:DATA] ASCii | REAL setting. • When ASCii format is used, numeric data is transferred as ASCII bytes in <NR3> format. The number of significant digits will range from 1 to 15, [...]

  • Página 225

    Chapter 4 Command Reference Introduction Programming Guide 4 - 59 Table 4 - 1 . The <function>, associated <parameters> and <source_list> for the Measure Instruction Commands <function> * <parameters> [,<source_list>]** [:VOLTage]:DCYCle or [:VOLTage]:PDUTycycle [<reference>] [(@1)] [:VOLTage]:FALL:TIME or [...]

  • Página 226

    Chapter 4 Command Reference Measurement Instructions (:CONFigure, :FETCh, :MEASure, :READ) 4 - 60 Programming Guide Descriptions of the Measurement Functions — <function> This sub-section provides a description of each measurement function (that is, [:VOLTage]:FREQuency, [:VOLTage]:FREQuency:RATio, [:VOLTage]:PERiod, etc.) that can be used [...]

  • Página 227

    Chapter 4 Command Reference Introduction Programming Guide 4 - 61 Descriptions of the Measurement Functions — <function> (Cont.) :MEASure[:SCALar][:VOLTage]:DCYCle? [<reference>][,(@1)] Measures Duty Cycle . The measurement arming is coupled to “ auto. ” The <reference> specifies the point on the pulse where the duty cycle i[...]

  • Página 228

    Chapter 4 Command Reference Measurement Instructions (:CONFigure, :FETCh, :MEASure, :READ) 4 - 62 Programming Guide Descriptions of the Measurement Functions — <function> (Cont.) :MEASure[:SCALar][:VOLTage]:FALL:TIME? [<lower_reference>[,upper_reference>]][,(@1)] Measures Fall Time . The measurement arming is coupled to “ auto. ?[...]

  • Página 229

    Chapter 4 Command Reference Introduction Programming Guide 4 - 63 Descriptions of the Measurement Functions — <function> (Cont.) :MEASure[:SCALar][:VOLTage]:FALL:TIME? ( Cont.) <source_list> range: (@1) default: (@1) :MEASure[:SCALar][:VOLTage]:FREQuency? [<expected_value>[,<resolution>]][, (@1)|(@2)|(@3)] Measures Frequen[...]

  • Página 230

    Chapter 4 Command Reference Measurement Instructions (:CONFigure, :FETCh, :MEASure, :READ) 4 - 64 Programming Guide Descriptions of the Measurement Functions — <function> (Cont.) :MEASure[:SCALar][:VOLTage]:FREQuency? ( Cont.) default: value which indicates 4 digits of resolution for the specified <expected_value> Ch3 <expected_val[...]

  • Página 231

    Chapter 4 Command Reference Introduction Programming Guide 4 - 65 Descriptions of the Measurement Functions — <function> (Cont.) :MEASure[:SCALar][:VOLTage]:FREQuency:RATio? [<expected_value>[,<resolution>]] [, (@1), (@2) | (@1), (@3) | (@2), (@1) | (@3), (@1) ] Measures Frequency Ratio between two inputs. The measurement arming[...]

  • Página 232

    Chapter 4 Command Reference Measurement Instructions (:CONFigure, :FETCh, :MEASure, :READ) 4 - 66 Programming Guide Descriptions of the Measurement Functions — <function> (Cont.) :MEASure[:SCALar][:VOLTage]:FREQuency:RATio? ( Cont.) resolution: <resolution> should use a mantissa of 1.0 and be an even power of 10 default: value which i[...]

  • Página 233

    Chapter 4 Command Reference Introduction Programming Guide 4 - 67 Descriptions of the Measurement Functions — <function> (Cont.) :MEASure[:SCALar][:VOLTage]:NWIDth? [<reference>][,(@1)] Measures Negative Pulse Width . The measurement arming is coupled to “ auto. ” The <reference> specifies the point on the pulse where the ne[...]

  • Página 234

    Chapter 4 Command Reference Measurement Instructions (:CONFigure, :FETCh, :MEASure, :READ) 4 - 68 Programming Guide Descriptions of the Measurement Functions — <function> (Cont.) :MEASure[:SCALar][:VOLTage]:PERiod? [<expected_value>[,<resolution>]][, (@1)|(@2)|(@3)] Measures Period . The measurement arming mode is set to “ dig[...]

  • Página 235

    Chapter 4 Command Reference Introduction Programming Guide 4 - 69 Descriptions of the Measurement Functions — <function> (Cont.) :MEASure[:SCALar][:VOLTage]:PERiod? ( Cont.) Ch3 <expected_value> range: 0.33 ns to 10.0 ns resolution: <expected_value> should be within 10% of input period for optimum arming configuration default: 2[...]

  • Página 236

    Chapter 4 Command Reference Measurement Instructions (:CONFigure, :FETCh, :MEASure, :READ) 4 - 70 Programming Guide Descriptions of the Measurement Functions — <function> (Cont.) :MEASure[:SCALar][:VOLTage]:PHASe? [(@1),(@2)] Measures Phase . The measurement arming is coupled to “ auto. ” The trigger settings are coupled so that both ch[...]

  • Página 237

    Chapter 4 Command Reference Introduction Programming Guide 4 - 71 Descriptions of the Measurement Functions — <function> (Cont.) :MEASure[:SCALar][:VOLTage]:PWIDth? [<reference>][,(@1)] ( Cont.) <reference> percent range: 0 to 100 [PCT] percent resolution: 10% voltage range: For volts if X1 Attenuation: -5.125V to +5.125V For vo[...]

  • Página 238

    Chapter 4 Command Reference Measurement Instructions (:CONFigure, :FETCh, :MEASure, :READ) 4 - 72 Programming Guide Descriptions of the Measurement Functions — <function> (Cont.) :MEASure[:SCALar][:VOLTage]:RISE:TIME? ( Cont.) <lower_reference> percent range: 0 to 100 [PCT] percent resolution: 10% voltage range: For volts if X1 Attenu[...]

  • Página 239

    Chapter 4 Command Reference Introduction Programming Guide 4 - 73 Descriptions of the Measurement Functions — <function> (Cont.) :MEASure[:SCALar][:VOLTage]:TINTerval? [(@1),(@2)] Measures Time Interval . The first channel in the channel list is the start channel and the second is the stop channel. The trigger settings are coupled so that b[...]

  • Página 240

    Chapter 4 Command Reference Measurement Instructions (:CONFigure, :FETCh, :MEASure, :READ) 4 - 74 Programming Guide Descriptions of the Measurement Functions — <function> (Cont.) :MEASure[:SCALar][:VOLTage]:TOTalize:TIMed? [<gate_time>][,(@1)] Measures Totalize during the specified <gate time>. The totalize gate mode is set to ?[...]

  • Página 241

    Chapter 4 Command Reference Introduction Programming Guide 4 - 75 How to Use the Measurement Instruction Commands The Measure Instruction commands have a different level of compatibility and flexibility than other commands. The parameters used with commands from the Measure Instruction describe the signal you are going to measure. This means that t[...]

  • Página 242

    Chapter 4 Command Reference Measurement Instructions (:CONFigure, :FETCh, :MEASure, :READ) 4 - 76 Programming Guide How to Use the Measurement Instruction Commands (Cont.) Using :CONFigure with :READ ? The :CONFigure command causes the instrument to choose default settings for the specified measurement. :READ? starts the measurement and queries the[...]

  • Página 243

    Chapter 4 Command Reference Introduction Programming Guide 4 - 77 How to Use the Measurement Instruction Commands (Cont.) Use :SENS:EVEN:LEV 0V to set the trigger level to 0 Volts. Use :INITIATE to start the measurement. Use :FETCH? to query for result. Firmware Revision Work -Around Commands The following applies to HP 53131A instruments with Firm[...]

  • Página 244

    Chapter 4 Command Reference Measurement Instructions (:CONFigure, :FETCh, :MEASure, :READ) 4 - 78 Programming Guide The work - around commands which should be substituted are listed below. :INIT; *WAI :FETCh:MAXimum? :INIT; *WAI :FETCh:MINimum? :INIT; *WAI :FETCh:PTPeak? The command listed below should NOT be used when the function choice is Voltag[...]

  • Página 245

    Chapter 4 Command Reference Introduction Programming Guide 4 - 79 :MEMory Subsystem This subsystem manages the instrument ’ s memory . The MEMory capabilities of an instrument are not part of the instrument state, and are not affected by reset (*RST) or recall (*RCL). In this instrument, the macro capabilities will not survive a power cycle, but [...]

  • Página 246

    Chapter 4 Command Reference [:SENSe] Subsystem 4 - 80 Programming Guide [:SENSe] Subsystem The [:SENSe] subsystem commands are divided into several sections. Each section or subtree deals with controls that directly affect instrument-specific settings and not those related to the signal-oriented characteristics. [:SENSe]:DATA? [ “ [:]SENSe[1] ”[...]

  • Página 247

    Chapter 4 Command Reference Introduction Programming Guide 4 - 81 [:SENSe]:EVENt2:FEED “ [:]INPut[1] | [:]INPut2 ” Sets or queries the common/separate enable. Feeding the :INPut2 subsystem to the [:SENSe]:EVENt2 subsystem corresponds to separate; feeding the :INPut1 subsystem to the [:SENSe]:EVENt2 subsystem corresponds to common. The string ?[...]

  • Página 248

    Chapter 4 Command Reference [:SENSe] Subsystem 4 - 82 Programming Guide 0, 50, or 100 PCT Numeric data transferred as ASCII bytes in <NR1> format. Current firmware revision — *RST: 0 PCT (least noise immunity) Prior firmware revisions — *RST: 100 PCT (maximum sensitivity) (3317, 3335, and 3402) Trigger/Sensitivity [:SENSe]:EVENt[1|2]:LEVe[...]

  • Página 249

    Chapter 4 Command Reference Introduction Programming Guide 4 - 83 [:SENSe]:EVENt[1|2]:LEVel[:ABSolute]:AUTO <Boolean> Sets or queries the “ auto-trigger “ enable. When AUTO is set to ON, the Counter automatically measures and computes a trigger level which corresponds to the auto-trigger percentage (specified with [:SENS]:EVEN[1|2]:LEV:RE[...]

  • Página 250

    Chapter 4 Command Reference [:SENSe] Subsystem 4 - 84 Programming Guide • *RST: 50 PCT • Only applies when [:SENS]:EVEN[1|2]:LEV[:ABS]:AUTO is ON. Trigger/Sensitivity [:SENSe]:EVENt[1|2]:SLOPe POSitive | NEGative Sets or queries which edge of the input signal will be considered an event for Frequency, Period, Frequency Ratio, Time Interval, Tot[...]

  • Página 251

    Chapter 4 Command Reference Introduction Programming Guide 4 - 85 [:SENSe]:EVENt3:SLOPe? Queries which edge of channel 3 input port will be considered an event. A sequence of ASCII-encoded bytes: POS [:SENSe]:FREQuency Subtree This subtree controls the Frequency, Frequency Ratio, and Period measuring capabilities of the instrument. [:SENSe]:FREQuen[...]

  • Página 252

    Chapter 4 Command Reference [:SENSe] Subsystem 4 - 86 Programming Guide [:SENSe]:FREQuency:ARM[:STARt]:SOURce IMMediate |EXTernal Sets or queries the start arm for Frequency, Frequency Ratio, and Period measurements. A sequence of ASCII-encoded bytes: IMM or EXT *RST: IMMediate Gate & ExtArm [:SENSe]:FREQuency:ARM:STOP:DIGits <numeric_value&[...]

  • Página 253

    Chapter 4 Command Reference Introduction Programming Guide 4 - 87 [:SENSe]:FREQuency:ARM:STOP:SOURce IMMediate | EXTernal | TIMer | DIGits Sets or queries the stop arm for Frequency, Frequency Ratio, and Period measurements. A sequence of ASCII-encoded bytes: IMM, EXT, TIM, or DIG *RST: TIMer Gate & ExtArm [:SENSe]:FREQuency:ARM:STOP:TIMer <[...]

  • Página 254

    Chapter 4 Command Reference [:SENSe] Subsystem 4 - 88 Programming Guide [:SENSe]:FREQuency:EXPected[1|2|3] <numeric_value> [HZ] Sets or queries the approximate frequency of a signal you expect to measure. Providing this value enables the Counter to eliminate a pre-measurement step, saving measurement time and enabling more accurate arming. Th[...]

  • Página 255

    Chapter 4 Command Reference Introduction Programming Guide 4 - 89 • *RST: ON • This value is unaffected by save/recall. • While the Counter is configured to ON, representative CW signal(s) must be present at the measurements input(s). • The ON setting causes the Counter to disregard any previously set “ expected frequency ” ([:SENS]:FRE[...]

  • Página 256

    Chapter 4 Command Reference [:SENSe] Subsystem 4 - 90 Programming Guide • The string “ <function> <channel>[,<channel>] ” is returned. • The string omits default nodes (XNONe) and uses short form mnemonics. If the channel specifier(s) are set to default value(s), no channel specifier is returned in response. If the channel[...]

  • Página 257

    Chapter 4 Command Reference Introduction Programming Guide 4 - 91 • When the sensor function is changed resulting in auto-trigger being enabled, the Counter will wait until a measurement is initiated before performing the first “ auto-trigger ” and updating the absolute level(s). • This command has no direct effect on :FETCh?, :READ?, or :C[...]

  • Página 258

    Chapter 4 Command Reference [:SENSe] Subsystem 4 - 92 Programming Guide [:SENSe]:PHASe:ARM[:STARt]:SOURce IMMediate | EXTernal Sets or queries the start arm for Phase measurements. A sequence of ASCII-encoded bytes: IMM or EXT *RST: IMMediate Gate & ExtArm [:SENSe]:ROSCillator Subtree This subtree controls the Reference Oscillator . [:SENSe]:RO[...]

  • Página 259

    Chapter 4 Command Reference Introduction Programming Guide 4 - 93 A sequence of ASCII-encoded bytes: ON or OFF • *RST: ON • Use this command when [:SENS]:ROSC:SOUR EXT has been sent. • This value is unaffected by save/recall. [:SENSe]:ROSCillator:EXTernal:FREQuency? Queries the frequency value of the external reference oscillator. • Numeric[...]

  • Página 260

    Chapter 4 Command Reference [:SENSe] Subsystem 4 - 94 Programming Guide • Execution of the command (that is, explicitly selecting internal or external timebase) sets [:SENS]:ROSC:SOUR:AUTO to OFF. • The query can be used to determine the current reference timebase when [:SENS]:ROSC:SOUR:AUTO is ON. That is, the query response will indicate whic[...]

  • Página 261

    Chapter 4 Command Reference Introduction Programming Guide 4 - 95 [:SENSe]:TINTerval Subtree (HP 53131A and HP 5313 2 A With S/N Prefix Below 3646 ) This subtree controls the time interval (including Time Interval, Risetime, Falltime, Duty Cycle, and Pulse Width functions) measuring capabilities of the instrument. Refer to page 4 - 98 , for Time In[...]

  • Página 262

    Chapter 4 Command Reference [:SENSe] Subsystem 4 - 96 Programming Guide [:SENSe]:TINTerval:ARM[:STARt]:SOURce IMMediate | EXTernal Sets or queries the start arm for time interval (including Time Interval, Risetime , Falltime , Duty Cycle , and Pulse Width functions) measurements. A sequence of ASCII-encoded bytes: IMM or EXT *RST: IMMediate Gate &a[...]

  • Página 263

    Chapter 4 Command Reference Introduction Programming Guide 4 - 97 Numeric data transferred as ASCII bytes in <NR3> format with six significant digits. • *RST: 10E-3 S • Only applies when [:SENS]:TINT:ARM:STOP:SOUR TIM is selected. • This [:SENS]:TINT:ARM:STOP:TIM command has no affect on the following measurements: Risetime, Falltime, D[...]

  • Página 264

    Chapter 4 Command Reference [:SENSe] Subsystem 4 - 98 Programming Guide [:SENSe]:TINTerval Subtree (HP 53132A With S/N Prefix 3646 and Above ) This subtree controls the time interval (including Time Interval, Risetime, Falltime, Duty Cycle, and Pulse Width functions) measuring capabilities of the instrument . Refer to page 4 - 95 , for Time Interva[...]

  • Página 265

    Chapter 4 Command Reference Introduction Programming Guide 4 - 99 Front -Panel Arming Settings ESTART:LAY2 :SOURce ESTART:LAY1 :SOURce ESTOP:LAY2 :SOURce ESTOP:LAY1 :SOURce T START T DELAY STOP T DELAY T IMMediate IMMediate IMMediate IMMediate AUTO _______ AUTO NONE IMMediate IMMediate IMMediate TIMer AUTO _______ AUTO TIME IMMediate IMMediate IMMe[...]

  • Página 266

    Chapter 4 Command Reference [:SENSe] Subsystem 4 - 100 Programming Guide [:SENSe]:TINTerval:ARM:ESTART:LAYer2:SLOPe POSitive | NEGative Sets or queries the slope of the external start arm signal used in external arming time interval (including Time Interval, Risetime, Falltime, Duty Cycle, and Pulse Width functions) measurements. A sequence of ASCI[...]

  • Página 267

    Chapter 4 Command Reference Introduction Programming Guide 4 - 101 • The [:SENS]:TINT:ARM:EST ART [:LAYer[1]]:ECO command has no affect on the following measurements: Risetime, Falltime, Duty Cycle, and Pulse Width. [:SENSe]:TINTerval:ARM:ESTART[:LAYer[1]]:SOURce IMMediate | TIMer | INTernal[1] Sets or queries the start arm delay for Time Interva[...]

  • Página 268

    Chapter 4 Command Reference [:SENSe] Subsystem 4 - 102 Programming Guide [:SENSe]:TINTerval:ARM:ESTOP:LAYer2:SLOPe POSitive | NEGative Sets or queries the slope of the external stop arm signal used in external arming time interval (including Time Interval, Risetime, Falltime, Duty Cycle, and Pulse Width functions) measurements. A sequence of ASCII-[...]

  • Página 269

    Chapter 4 Command Reference Introduction Programming Guide 4 - 103 [:SENSe]:TINTerval:ARM:ESTOP[:LAYer[1]]:SOURce IMMediate | TIMer | INTernal2 Sets or queries the stop arm for Time Interval measurements. A sequence of ASCII-encoded bytes: IMM or TIM or INT2 • *RST: IMMediate • The [:SENS]:TINT:ARM:ESTOP[:LAYer[1]]:SOUR command has no affect on[...]

  • Página 270

    Chapter 4 Command Reference [:SENSe] Subsystem 4 - 104 Programming Guide [:SENSe]:TOTalize Subtree This subtree controls the Totalize measuring capabilities of the instrument. [:SENSe]:TOTalize:ARM Subtree This subtree is used to synchronize the Totalize start and stop arm with events. The following combination of start/stop arming sources are vali[...]

  • Página 271

    Chapter 4 Command Reference Introduction Programming Guide 4 - 105 [:SENSe]:TOTalize:ARM[:STARt]:SOURce IMMediate | EXTernal Sets or queries the start arm for Totalize measurements. A sequence of ASCII-encoded bytes: IMM or EXT • *RST: IMMediate • When both start and stop arm are set to IMMediate, use :INIT[:IMM] to begin totalizing and :ABORt [...]

  • Página 272

    Chapter 4 Command Reference [:SENSe] Subsystem 4 - 106 Programming Guide [:SENSe]:TOTalize:ARM:STOP:SOURce IMMediate | EXTernal TIMer Sets or queries the stop arm for Totalize measurements. A sequence of ASCII-encoded bytes: IMM, EXT or TIM • *RST: TIMer • When both start and stop arm are set to IMMediate, use :INIT[:IMM] to begin totalizing an[...]

  • Página 273

    Chapter 4 Command Reference Introduction Programming Guide 4 - 107 :STATus Subsystem The :STATus subsystem commands allow you to specify or examine the status of the Operation Status Register group and the Questionable Data/Signal Register group. :STATus:OPERation Subtree The :STATus:OPERation subtree commands allow you to examine the status of the[...]

  • Página 274

    Chapter 4 Command Reference :STATus Subsystem 4 - 108 Programming Guide :STATus:OPERation:ENABle <non-decimal numeric> | <NRf> Sets or queries the Operation Event Status Enable Register. The parameter and query response value, when rounded to an integer value and expressed in base 2 (binary), represents the bit values of the Operation E[...]

  • Página 275

    Chapter 4 Command Reference Introduction Programming Guide 4 - 109 :STATus:OPERation:NTRansition <non-decimal numeric> | <NRf> Sets or queries the negative transition filter for the Operation status reporting structure. The parameter and query response value, when rounded to an integer value and expressed in base 2 (binary), represents [...]

  • Página 276

    Chapter 4 Command Reference :STATus Subsystem 4 - 110 Programming Guide • At power-on and STAT:PRES, the positive transition filter is preset such that each bit is a 1 (TRUE). • This value is unaffected by *RST and save/recall. :STATus:PRESet This event command presets the enable registers and transition filters associated with the Operation an[...]

  • Página 277

    Chapter 4 Command Reference Introduction Programming Guide 4 - 111 :STATus:QUEStionable:CONDition? Queries the status of the Questionable Data Condition Status Register. Bits are not cleared when read. • Numeric data transferred as ASCII bytes in <NR1> format. • Range is 0 to 65,535. • The query response value is an integer formed by th[...]

  • Página 278

    Chapter 4 Command Reference :STATus Subsystem 4 - 112 Programming Guide :STATus:QUEStionable[:EVENt]? Queries the status of the Questionable Data Event Status Register. The Questionable Data Event Status Register captures changes in conditions by having each event bit correspond to a specific condition bit in the Questionable Data Condition Status [...]

  • Página 279

    Chapter 4 Command Reference Introduction Programming Guide 4 - 113 :STATus:QUEStionable:PTRansition <non-decimal numeric> | <NRf> Sets or queries the positive transition filter for the Questionable Data status reporting structure. The parameter and query response value, when rounded to an integer value and expressed in base 2 (binary), [...]

  • Página 280

    Chapter 4 Command Reference :SYSTem Subsystem 4 - 114 Programming Guide :SYSTem Subsystem This subsystem collects together the capabilities that are not related to instrument performance. :SYSTem:COMMunicate Subtree The :SYSTem:COMMunicate subtree collects together the configuration of the control/communication interfaces. The :SYSTem:COMMunicate:S[...]

  • Página 281

    Chapter 4 Command Reference Introduction Programming Guide 4 - 115 A sequence of ASCII-encoded bytes: IBF, ON, or LIM • This value is stored in non-volatile memory. It is unaffected by power-on, save/recall, and *RST. • The start and stop thresholds are not user configurable. Utility/POWER :SYSTem:COMMunicate:SERial:TRANsmit:BAUD <numeric_va[...]

  • Página 282

    Chapter 4 Command Reference :SYSTem Subsystem 4 - 116 Programming Guide :SYSTem:COMMunicate:SERial:TRANsmit:PARity[:TYPE] EVEN | ODD | NONE Sets or queries the parity scheme. A sequence of ASCII-encoded bytes: EVEN, ODD, or NONE • This value is stored in non-volatile memory. It is unaffected by power-on, save/recall, and *RST. • If parity is en[...]

  • Página 283

    Chapter 4 Command Reference Introduction Programming Guide 4 - 117 This command simulates the pressing or a front-panel key. The <numeric_value> is a key code value. This command puts an entry in the Key Queue (just as any front-panel key press does). The length of the Key Queue is 500. The keys and their corresponding key codes are listed in[...]

  • Página 284

    Chapter 4 Command Reference :SYSTem Subsystem 4 - 118 Programming Guide • At*RST and power-on, the Key Queue is cleared (emptied). • The Key Queue is unaffected by save/recall. • Key commands are sequential, but only in terms of processing other key commands or getting into the Key Queue. The operation performed by the key command is not guar[...]

  • Página 285

    Chapter 4 Command Reference Introduction Programming Guide 4 - 119 :TRACe Subsystem This subsystem provides access to the scale and offset values. The :TRACe subsystem used in conjunction with the :CALCulate[1] subsystem, scales and offsets measurement results. :TRACe:CATalog? Queries list of intrinsic constants. The Counter has two constants, scal[...]

  • Página 286

    Chapter 4 Command Reference :TRACe Subsystem 4 - 120 Programming Guide Scale & Offset :TRACe[:DATA] SCALE , <numeric_value> or :TRACe[:DATA] SCALE, <arbitrary block> :TRACe[:DATA]? SCALE Sets or queries the scale value. -9.999999E+12 to -1.000000E-13, 0.000000, +1.000000E-13 to +9.999999E+12. 7 digits • Response will be formatted [...]

  • Página 287

    Chapter 4 Command Reference Introduction Programming Guide 4 - 121 :TRIGger Subsystem This subsystem enables synchronization of instrument actions with specified internal or external events. :TRIGger:COUNt:AUTO <Boolean> Sets or queries the control over the number of measurements made when :INITiate[:IMMediate] is performed. When :TRIG:COUN:A[...]

  • Página 288

    Chapter 4 Command Reference *CAL? (Calibration Query) 4 - 122 Programming Guide *CAL? (Calibration Query) *CAL? This query causes an internal interpolator self-calibration. • Numeric data transferred as ASCII bytes in <NR1> format. • A value of zero indicates the calibration completed without error. A value of one indicates the calibratio[...]

  • Página 289

    Chapter 4 Command Reference Introduction Programming Guide 4 - 123 *CLS (Clear Status Command) *CLS Clears all event registers summarized in the status byte (Standard Event Status Register, Operation Event Status Register, and Questionable Data Event Status Register) and clears the Error Queue. The *CLS command will not clear data memories or any o[...]

  • Página 290

    Chapter 4 Command Reference *DDT <arbitrary block> (Define Device Trigger Command) 4 - 124 Programming Guide *DDT <arbitrary block> (Define Device Trigger Command) *DDT <arbitrary block> Sets or queries the command that the device will execute when it receives the IEEE 488.1 Group Execute Trigger (GET) interface message (page 4- 4[...]

  • Página 291

    Chapter 4 Command Reference Introduction Programming Guide 4 - 125 *DMC <string>, <arbitrary block> (Define Macro Command) *DMC <string>, <arbitrary block> This command assigns a sequence of zero or more commands/queries to a macro label. The sequence is executed when the label is received as a command or query. The <stri[...]

  • Página 292

    Chapter 4 Command Reference *EMC <NRf> (Enable Macro Command) 4 - 126 Programming Guide *EMC <NRf> (Enable Macro Command) *EMC? (Enable Macro Query) *EMC <NRf> *EMC? Sets or queries the Enable for defined macros. Macro definitions are not affected by this command. One use of this command is to turn off macro expansion in order to [...]

  • Página 293

    Chapter 4 Command Reference Introduction Programming Guide 4 - 127 *ESE <NRf> (Standard Event Status Enable Command) *ESE? (Standard Event Status Enable Query) *ESE <NRf> *ESE? Sets or queries the Standard Event Status Enable Register, shown in Figure 4-4. The parameter and query response value, when rounded to an integer value and expr[...]

  • Página 294

    Chapter 4 Command Reference *ESR? (Event Status Register Query) 4 - 128 Programming Guide *ESR? (Event Status Register Query) *ESR? Queries the Standard Event Status Register, shown in Figure 4-5. This event register captures changes in conditions, by having each event bit correspond to a specific condition in the instrument. An event becomes TRUE [...]

  • Página 295

    Chapter 4 Command Reference Introduction Programming Guide 4 - 129 *GMC? <string> (Get Macro Contents Query) *GMC? <string> Queries the current definition of a macro. The <string> parameter must be a currently defined macro label. • Definite length block. • The query response is a <definite length block> containing the c[...]

  • Página 296

    Chapter 4 Command Reference *IDN? (Identification Query) 4 - 130 Programming Guide *IDN? (Identification Query) *IDN? Queries the Counter identification. A sequence of ASCII-encoded bytes: HEWLETT-PACKARD, 53131A,0,XXXX or HEWLETT-PACKARD, 53132A,0,XXXX terminated with a new line and EOI. XXXX represents the firmware date code . This query should b[...]

  • Página 297

    Chapter 4 Command Reference Introduction Programming Guide 4 - 131 *LMC? (Learn Macro Query) *LMC? Queries the currently defined macro labels. • A sequence of one or more strings separated by commas. • If no macros are defined, the response is a null string (two consecutive double quote marks). Query Response[...]

  • Página 298

    Chapter 4 Command Reference *OPC (Operation Complete Command) 4 - 132 Programming Guide *OPC (Operation Complete Command) *OPC This event command enables the OPC bit (bit 0) in the Standard Event Status Register to be set upon the transition of the measurement cycle from measuring to idle. ( Note — For HP 53 131A/ 132A with serial number prefix 3[...]

  • Página 299

    Chapter 4 Command Reference Introduction Programming Guide 4 - 133 *OPC? (Operation Complete Query) *OPC? This query produces a response upon the transition of the measurement cycle from measuring to idle. This allows synchronization between a controller and the instrument using the MAV bit in the Status Byte Register or a read of the Output Queue.[...]

  • Página 300

    Chapter 4 Command Reference *OPT? (Option Identification Query) 4 - 134 Programming Guide *OPT? (Option Identification Query) *OPT? Queries the instrument to identify any installed options. The following options can be installed in the instrument: • Option 001, Medium Stability Oven Timebase • Option 010, High Stability Oven Timebase • Option[...]

  • Página 301

    Chapter 4 Command Reference Introduction Programming Guide 4 - 135 *PMC (Purge Macro Command) *PMC The Purge MaCros command deletes all macros previously defined using the *DMC command.[...]

  • Página 302

    Chapter 4 Command Reference *RCL <NRf> (Recall Command) 4 - 136 Programming Guide *RCL <NRf> (Recall Command) *RCL <NRf> This command restores the state of the instrument from a copy stored in local non- volatile memory. Before the recall occurs, the current state of the instrument is automatically saved to register 0. 0 to 20 1 T[...]

  • Página 303

    Chapter 4 Command Reference Introduction Programming Guide 4 - 137 *RST (Reset Command) *RST This event command performs an instrument reset . The reset performs the following: • sets instrument settings to their *RST states, • disables macros, • places instrument in “Operation Complete Idle State ” and “Operation Complete Query Idle St[...]

  • Página 304

    Chapter 4 Command Reference *SAV <NRf> (Save Command) 4 - 138 Programming Guide *SAV <NRf> (Save Command) *SAV <NRf> This command stores the current state of the instrument in local non-volatile memory . The current instrument state is saved in register 0 when *RCL or front-panel recall is executed. 1 to 20 1 The following states [...]

  • Página 305

    Chapter 4 Command Reference Introduction Programming Guide 4 - 139 *SRE <NRf> (Service Request Enable Command) *SRE? (Service Request Enable Query) *SRE <NRf> *SRE? Sets or queries the Service Request Enable Register , shown in Figure 4-6. The parameter and query response value, when rounded to an integer value and expressed in base 2 ([...]

  • Página 306

    Chapter 4 Command Reference *STB? (Status Byte Query) 4 - 140 Programming Guide *STB? (Status Byte Query) *STB? Queries the Status Byte Register , shown in Figure 4-7. This register is cleared at power-on. This query does not directly alter the Status Byte Register (including the MSS/RQS bit) or anything related to the generation of SRQ. Figure 4 -[...]

  • Página 307

    Chapter 4 Command Reference Introduction Programming Guide 4 - 141 *TRG (Trigger Command) *TRG This command is the device-specific analog of the IEEE 488.1 Group Execute Trigger (GET) interface message (page 4- 42 ), and has exactly the same effect. The *TRG command will perform the action defined by the *DDT command (page 4- 124 ).[...]

  • Página 308

    Chapter 4 Command Reference *TST? (Self-Test Query) 4 - 142 Programming Guide *TST? (Self-Test Query) *TST? This query causes an internal self-test and the response indicates whether any errors were detected. Error -330 is generated when the self-test fails. • Numeric data transferred as ACSII bytes in <NR1> format. • A response value of [...]

  • Página 309

    Chapter 4 Command Reference Introduction Programming Guide 4 - 143 *WAI (Wait-to-Continue Command) *WAI This command prevents the instrument from executing any further commands or queries until the measurement cycle transitions from measuring to idle. The only way to cance l this “holdoff ” is by device clear or power-on. (*RST and *CLS have no[...]

  • Página 310

    Chapter 4 Command Reference *WAI (Wait-to-Continue Command) 4 - 144 Programming Guide[...]

  • Página 311

    5 5 Errors[...]

  • Página 312

    Chapter 5 Errors Introduction 5 - 2 Programming Guide Introduction This chapter explains how to read any errors from the Counter, discusses the types of errors, and provides a table of all of the Counter ’ s errors and their probable causes. Displaying Errors When an HP-IB error is detected, the HP-IB XXX message will appear on the front-panel di[...]

  • Página 313

    Chapter 5 Errors Error Queue Programming Guide 5 - 3 10 ASSIGN @Cntr TO 703 20 !Assign path name 30 DIM Err_string$[255] 40 !Creates array for error string 50 REPEAT 60 !Repeats until error queue is empty 70 OUTPUT @Cntr; “ SYST:ERR? ” 80 !Read error number and string 90 ENTER @Cntr;Err_num,Err_string$ 100 !Enter error number and string 110 PRI[...]

  • Página 314

    Chapter 5 Errors Error Types 5 - 4 Programming Guide Error Types Error numbers are categorized by type as shown in Table 5-1. Each and every error is listed in Table 5-2. Table 5 - 1 . Error Types Error Number Error Type +0 No Error − 100 to − 199 Command Errors − 200 to − 299 Execution Errors − 300 to − 350 Device-Specific Errors − 4[...]

  • Página 315

    Chapter 5 Errors Error Queue Programming Guide 5 - 5 Events that generate command errors do not generate execution errors, device- specific errors, or query errors. Execution Error An <error number> in the range [ − 200 to − 299] indicates that an error has been detected by the Counter ’ s execution control block. The occurrence of any [...]

  • Página 316

    Chapter 5 Errors Error Types 5 - 6 Programming Guide Query Error An <error number> in the range [ − 400 to − 499] indicates that the output queue control of the Counter has detected a problem with the message exchange protocol. The occurrence of any error in this class should cause the query error bit (bit 2) in the Event Status Register [...]

  • Página 317

    Chapter 5 Errors Error Queue Programming Guide 5 - 7 Table 5 - 2 . Errors Number Error String Cause +0 -100 -101 -102 -103 -104 -105 -108 -109 -112 -113 -120 -121 -123 -124 -128 -131 -134 -138 -141 -148 -150 No error Command error Invalid character Syntax error Invalid separator Data type error GET not allowed Parameter not allowed Missing paramete[...]

  • Página 318

    Chapter 5 Errors Error Types 5 - 8 Programming Guide Table 5-2. Errors (Continued) Number Error String Cause -151 -158 -160 -161 -168 -170 -171 -178 -181 -183 -200 -210 -211 -213 -220 -221 -222 -223 Invalid string data String data not allowed Block data error Invalid block data Block data not allowed Expression error Invalid expression Expression d[...]

  • Página 319

    Chapter 5 Errors Error Queue Programming Guide 5 - 9 Table 5-2. Errors (Continued) Number Error String Cause -224 -230 -240 -241 -272 -273 -276 -277 -278 -300 -310 -321 -330 -350 Illegal parameter value Data corrupt or stale Hardware error Hardware missing Macro execution error Illegal macro label Macro recursion error Macro redefinition not allowe[...]

  • Página 320

    Chapter 5 Errors Error Types 5 - 10 Programming Guide Table 5-2. Errors (Continued) Number Error String Cause -400 -410 -420 -430 -440 +2000 +2001 +2002 +2003 +2004 +2005 +2006 +2007 +2008 +2009 +2010 +2011 +2012 +2013 Query error Query INTERRUPTED Query UNTERMINATED Query DEADLOCKED Query UNTERMINATED after indefinite response Offset calibration o[...]

  • Página 321

    Programming Guide Index- 1 9.91E37, 3-17 A abort, 4-4 abbreviated commands, 3-9 address, HP-IB, 3-4 Applications, 1-8 arbitrary block, 3-11 ASCII, 4-41 ASCII format, 3-59 Assumptions, 1-9 auto-trigger, 4-44, 4-45, 4-83 B Boolean, 3-11 C calibrating status bit, 3-30 calibration, 4-26 reference oscillator, 4-34 remote, 4-32 security code, 4-28 securi[...]

  • Página 322

    Index Index- 2 Programming Guide conformance IEEE488.1, 3-7 IEEE488.2, 2-20, 2-21, 3-7 SCPI, 2-20, 3-7 connecting the Counter to a computer, 3-6 connector RS-232, 4-114 D data, measurement, 4-80 date code, firmware, 4-130 DCL, 4-31 DDE, 3-24 DDT, 4-124 decimal point, 3-11, 3-17 DEG, 3-12 Device Clear, 4-31 device trigger, 4-124 device-dependent err[...]

  • Página 323

    Index Programming Guide Index- 3 low-pass filter, 4-48 interpolator automatic calibration, 4-32 calibration, 4-26, 4-33 K key queue, 4-117 keyword, 3-9 optional, 3-9 separator, 3-9 L Learning to Program the Counter, 1-7 level, 4-83 limit fail, 4-14 fail count, 4-15 graph, 4-14 lower, 4-16 pass count, 4-17 test, 4-11 enable, 4-17 upper, 4-18 limit t[...]

  • Página 324

    Index Index- 4 Programming Guide power on status bit, 3-24, 3-26 power-on, 3-23, 3-26, 3-30 preset, 4-110 print, 4-43 prior firmware revisions 3317, 3335, and 3402, 2-32 3317, 3335,and 3402, 4-81 program messages definition, 3-14 syntax, 3-14 program the Counter for math/limit operations, 3-49 program the Counter for status reporting, 3- 38 program[...]

  • Página 325

    Index Programming Guide Index- 5 separator keyword, 3-9 parameter, 3-12 serial control, 4-114 serial port, 4-43 service request enable register, 3-23, 4-139 short form, 3-53 single-quoted string sending a single-quoted string, 3-58 slope, 4-84 standard deviation, 4-19 standard event status enable register, 3-26, 4-127 standard event status register[...]

  • Página 326

    Index Index- 6 Programming Guide :INPut3:IMPedance?, 4-50 : MEASure, 4-51 : MEMory, 4-79 : MEMory:DELete:MACRo, 4-79 : MEMory:FREE:MACRo?, 4-79 : MEMory:NSTates?, 4-79 : STATus, 4-107 : STATus:OPERation, 4-107 : STATus:PRESet, 4-110 : STATus:QUEStionable, 4-110 : SYSTem, 4-114 : SYSTem:COMMunicate, 4-114 : SYSTem:ERRor?, 4-116 : SYSTem:KEY, 4-117 :[...]

  • Página 327

    H Technical Support: If you need technical assistance with a Hewlett-Packard test and measurement product or application, please contact the Hewlett-Packard office or distributor in your country. Asia Pacific: Hewlett-Packard Asia Pacific Ltd. 17-21/F Shell Tower, Times Square, 1 Matheson Street, Causeway Bay, Hong Kong (852) 2599 7070 Australia/Ne[...]

  • Página 328

    Warranty ( contd) For warranty service or repair, this product must be returned to a service facility designated by HP. Buyer shall prepay shipping charges to HP and HP shall pay shipping charges to return the product to Buyer. However, Buyer shall pay all shipping charges, duties, and taxes for products returned to HP from another country. HP warr[...]

  • Página 329

    [...]

  • Página 330

    H Manual Part Number 53131-90044 Printed in U.S.A., NOVEMBER 1996[...]