Agilent E1406A User Manual

Contents
HP E1406A Command Module User’s Manu al
Warranty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
WARNINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Safety Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Declarati on of Conformity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Reader Comment Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Chapter 1. HP E1406A Command Module Overview . . . . . . . . . . . . . . . . . . . . . 15
About This Ch ap te r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Warnings and Cautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Using HP VIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Command Module Functional Descri ption . . . . . . . . . . . . . . . . . . . . . . . . 16
Faceplate Annunciators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Faceplate CL K10 and Trigger Conn ec tors . . . . . . . . . . . . . . . . . . . . . . 18
The HP-IB and RS-2 32 Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
The Run/Load Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
The Reset Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Extraction Levers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Installing the Comman d Module in a Mainframe . . . . . . . . . . . . . . . . . . . . . 19
Command Module Mem ory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Battery Backe d Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Chapter 2. Configuring the HP E1406A Comm and Module . . . . . . . . . . . . . . . . . 21
About This Ch ap te r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
System Configura ti on Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Modules Configu re d Sta tic al ly and Dy na mic al ly . . . . . . . . . . . . . . . . . . . . . 22
Identifying Stati cally Confi gured Modul es . . . . . . . . . . . . . . . . . . . . . . 22
Identifying Dynamic a ll y Configured Modules . . . . . . . . . . . . . . . . . . . . 22
User-Defined Dynamic Conf iguration . . . . . . . . . . . . . . . . . . . . . . . . 23
Setting VXI -MXI Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Logical Ad dress Configu ra ti on . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
A16/A24/A32 A ddress Window Configurat ion . . . . . . . . . . . . . . . . . . . 29
Interrup t Re gister Config uration . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
TTL Trig ger Register Configurati on . . . . . . . . . . . . . . . . . . . . . . . . . 30
ECL Trigger Regi ster Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 30
Utility Register Configuratio n . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
User-Define d Logic a l Add re ss and Memory Windows . . . . . . . . . . . . . . . 31
Setting Commander/Servant Hierarchies . . . . . . . . . . . . . . . . . . . . . . . . . 38
User-Defined Comm an der/Servan t Hierarchie s . . . . . . . . . . . . . . . . . . . 39
A24/A32 Addre ss Ma pping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Reserving A24/A32 Address Sp ace . . . . . . . . . . . . . . . . . . . . . . . . . 48
HP E1406A Command Module User’s Manual Contents 1
Interrup t L ine Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
User-Defined Inter rupt Line Alloc at ion Table . . . . . . . . . . . . . . . . . . . . 54
Starting System Operati on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
VXI SYSFAIL* Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Chapter 3. Using the Display Terminal Inter face . . . . . . . . . . . . . . . . . . . . . . . 61
About This Ch ap te r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Terminal Interface Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Using Display Term i na l Me nus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
How Instrume nts Appear in the Menu . . . . . . . . . . . . . . . . . . . . . . . . 63
Display Terminal Me nu T ut ori al . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Using the System Inst rum e nt Menu . . . . . . . . . . . . . . . . . . . . . . . . . 65
Using the Loade r Instrument . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Using the Switchbox Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Monitor Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Executing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Editing the Ter minal Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
General Ke y Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Menu and Menu Control Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Instrume nt C ontrol Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Editing Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Other Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Using Supported Te rm inal s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
The Suppor te d T erminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Using the HP 700/ 22 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Using the WYSE W Y-30 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Using Other Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
What “Not Supported” Means . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Testing Terminals for Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . 82
Using a Terminal Wi tho ut Menus . . . . . . . . . . . . . . . . . . . . . . . . . . 83
In Case of Difficulty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
System Instrument/Switchbox Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
System Instrument Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Switchbox Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Scanning Voltmeter Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
HP E1326B/E1411B 5
1
⁄2-Digit Multi me t er (Stand-Alon e) Me nu . . . . . . . . . . . . 94
HP E1328A 4-C ha nnel D/A Convert er Menu . . . . . . . . . . . . . . . . . . . . . . 95
HP E1332A 4- Channel Counter/Totalizer Menu . . . . . . . . . . . . . . . . . . . . . 97
HP E1333A 3- Channel Universal Counter Menu . . . . . . . . . . . . . . . . . . . . . 99
Chapter 4. Triggering and System Status . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
About This Ch ap te r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Using VXI Backpla ne T rig ge r Line s an d Ports . . . . . . . . . . . . . . . . . . . . . . 101
Programming th e Tri gge r L ine s a nd th e T ri gge r Ports . . . . . . . . . . . . . . . . 102
Programming th e St atus System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
General Sta tus Registe r Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Required Status Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
2 HP E1406A Command Module User’s Manual Contents
Status Syste m Programming Ex am pl es . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Handling SRQs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Using Message Available (MAV) Bits . . . . . . . . . . . . . . . . . . . . . . . . 112
Using a Service Request (SRQ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Chapter 5. HP E1406A Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . 119
About This Ch ap te r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Command Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Common Command Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
SCPI Command For ma t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Linking Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
SCPI Command Re fe re nc e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
DIAGnostic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
:BOOT:COLD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
:BOOT[:WARM] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
:COMMunicate : SERial[0][:OW Ner] . . . . . . . . . . . . . . . . . . . . . . . . 125
:COMMunicate : SERial[0][:OW Ner]? . . . . . . . . . . . . . . . . . . . . . . . . 126
:COMMunicate :SERia l[n]: STORe . . . . . . . . . . . . . . . . . . . . . . . . . 126
:DOWNload:C HECked[:MADDress] . . . . . . . . . . . . . . . . . . . . . . . . 127
:DOWNload:CHECked:SADDress . . . . . . . . . . . . . . . . . . . . . . . . . . 129
:DOWNload [:MADDr ess] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
:DOWNload :SADDress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
:DRAM:AVAilable? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
:DRAM:CREat e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
:DRAM:CREat e? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
:DRIVer:I NSTall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
:DRIVer:LIST[:type]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
:DRIVer:LOAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
:DRIVer:LOAD :C HECked . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
:FROM:AVAilable? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
:FROM:CREat e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
:FROM:CREat e? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
:FROM:SIZE? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
:INTerrupt:ACTi vate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
:INTerr upt:PRIority[n] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
:INTerrupt:PRIority[n]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
:INTerrupt:RESPonse? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
:INTerrupt:SETup[n] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
:INTerrupt:SETup[n]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
:NRAM:ADDRess? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
:NRAM:CREat e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
:NRAM:CREat e? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
:PEEK? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
:POKE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
:RDISk:ADDress? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
:RDISk:CREate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
HP E1406A Command Module User’s Manual Contents 3
:RDISk:CREate ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
:UPLoad[:MADDress]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
:UPLoad:SADDress? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
OUTPut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
:ECLTrg<n> :IMMed ia te . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
:ECLTrg<n>:LEVel [:IMMediate] . . . . . . . . . . . . . . . . . . . . . . . . . . 149
:ECLTrg<n>:LEVel [:IMMediate]? . . . . . . . . . . . . . . . . . . . . . . . . . 150
:ECLTrg<n>:SOURc e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
:ECLTrg<n> :SOURce? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
:ECLTrg<n>[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
:ECLTrg<n>[:STATe]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
:EXTernal:IMMediate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
:EXTernal:LEVel [:IMMediate] . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
:EXTernal:LEVel [:IMMediate]? . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
:EXTernal:SOURc e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
:EXTernal:SOURc e ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
:EXTernal[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
:EXTernal[:STATe]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
:TTLTrg<n> :IMMediate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
:TTLTrg<n>:LEVel [:IMMediate] . . . . . . . . . . . . . . . . . . . . . . . . . . 154
:TTLTrg<n>:LEVel [:IMMediate]? . . . . . . . . . . . . . . . . . . . . . . . . . 155
:TTLTrg<n>:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
:TTLTrg<n>:SOURce? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
:TTLTrg<n>[:STAT e] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
:TTLTrg<n>[:STAT e]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
PROGram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
[:SELe c ted]:DEFine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
[:SELe c ted]:DEFine :CHECked . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
[:SELe cted]:DE Fine :CHECked? . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
[:SELe c ted]:DEFine ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
[:SELected]:DELete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
STATus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
:OPERation :CONDi tion? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
:OPERation:E NABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
:OPERation:E NABle? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
:OPERation[:EVENt]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
:OPERation :NTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
:OPERation :PTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
:PRESet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
:QUEStion ab le :CONDition? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
:QUEStionab le :E NABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
:QUEStionab le :E NABle? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
:QUEStion able [:EVENt] ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
:QUEStion able :NTRansi ti on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
:QUEStion able :PTRansi ti on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
4 HP E1406A Command Module User’s Manual Contents
SYSTem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
:COMMunicate:GPIB: ADDRe ss? . . . . . . . . . . . . . . . . . . . . . . . . . . 168
:COMMunicate :SERia l[n]: . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
:COMMunicate :SERia l[n]: CONTrol :DTR . . . . . . . . . . . . . . . . . . . . . 169
:COMMunicate :SERia l[n]: CONTrol :DTR? . . . . . . . . . . . . . . . . . . . . 169
:COMMunicate :SERia l[n]: CONTrol :RTS . . . . . . . . . . . . . . . . . . . . . 170
:COMMunicate :SERia l[n]: CONTrol :RTS? . . . . . . . . . . . . . . . . . . . . . 170
:COMMunicate :SERia l[n][:RECeive] :BAUD . . . . . . . . . . . . . . . . . . . 171
:COMMunicate :SERia l[n][:RE Ce iv e] :BAUD? . . . . . . . . . . . . . . . . . . . 171
:COMMunicate :SERia l[n][:RECeive] :BITS . . . . . . . . . . . . . . . . . . . . 172
:COMMunicate :SERia l[n][:RECeive] :BITS? . . . . . . . . . . . . . . . . . . . 172
:COMMunicate :SERia l[n][: RE Ce iv e] :PACE [: PROTocol] . . . . . . . . . . . . . 173
:COMMunicate :SERia l[n][: RE Ce iv e] :PACE[:PROTocol ]? . . . . . . . . . . . . 173
:COMMunicate :SERia l[n][:RECeive] :PACE:THResh old :STARt . . . . . . . . . 174
:COMMunicate :SERia l[n][: RE Ce iv e] :PACE :T HReshold :STARt? . . . . . . . . 174
:COMMunicate :SERia l[n][:RE Ce iv e] :PACE :THReshold :STOP . . . . . . . . . 175
:COMMunicate :SERia l[n][: RE Ce iv e] :PACE :T HReshold :STOP? . . . . . . . . 175
:COMMunicate :SERia l[n][: RE Ce iv e] :PARi ty . . . . . . . . . . . . . . . . . . . 176
:COMMunicate :SERia l[n][: RE Ce iv e] :PARi ty? . . . . . . . . . . . . . . . . . . 177
:COMMunicate :SERia l[n][: RE Ce iv e] :PARity:CHECk . . . . . . . . . . . . . . 177
:COMMunicate :SERia l[n][: RE Ce iv e] :PARity:CHECk? . . . . . . . . . . . . . . 178
:COMMunicate :SERia l[n][:RECeive] :SBIT s . . . . . . . . . . . . . . . . . . . . 178
:COMMunicate :SERia l[n][:RECeive] :SBIT s? . . . . . . . . . . . . . . . . . . . 179
:COMMunicate :SERia l[n]: TRANsmit :AUTO . . . . . . . . . . . . . . . . . . . 179
:COMMunicate :SERia l[n]: TR ANsmit :AUTO? . . . . . . . . . . . . . . . . . . 179
:COMMunicate :SERia l[n]: TR ANsmit :PACE[:PROTo co l] . . . . . . . . . . . . 180
:COMMunicate :SERia l[n]: TR ANsmit:PACE[:PROToc ol] ? . . . . . . . . . . . . 180
:DATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
:DATE? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
:ERRor? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
:TIME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
:TIME? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
:VERSion? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
VXI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
:CONFigure:CTABl e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
:CONFigure:CTABl e ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
:CONFigure:DCTable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
:CONFigure:DCTable? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
:CONFigure :DLADdre ss? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
:CONFigure:DLISt ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
:CONFigure :DNUMber? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
:CONFigure:ETABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
:CONFigure:ETABle? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
:CONFigure :HIERa rc hy? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
:CONFigure :HIERarchy:ALL? . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
:CONFigure :INFormation ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
HP E1406A Command Module User’s Manual Contents 5
:CONFigure :INFormation :AL L ? . . . . . . . . . . . . . . . . . . . . . . . . . . 195
:CONFigure:ITABl e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
:CONFigure:ITABl e ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
:CONFigure :LADDress? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
:CONFigure :LADDre ss : ME XTe nder? . . . . . . . . . . . . . . . . . . . . . . . 196
:CONFigure :MEXTender :ECLTrg<n> . . . . . . . . . . . . . . . . . . . . . . . 197
:CONFigure :MEXTender :INTerrupt<n> . . . . . . . . . . . . . . . . . . . . . . 198
:CONFigure :MEXTender :TTLTrg<n> . . . . . . . . . . . . . . . . . . . . . . . 199
:CONFigure:MTABl e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
:CONFigure:MTABl e? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
:CONFigure:NUMBe r? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
:CONFigure:NUMBe r : MEXT ender? . . . . . . . . . . . . . . . . . . . . . . . . 201
:QUERy? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
:READ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
:RECeive[:MESSage]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
:REGister:READ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
:REGister:WRITe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
:RESet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
:RESet? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
:ROUTe:ECLTrg<n> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
:ROUTe:INTerrupt<n> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
:ROUTe:TTLTrg<n> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
:SELect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
:SELect? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
:SEND:COMMand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
:SEND:COMMand? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
:SEND[:MESSag e] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
:WRITe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
:WSProtocol :COMMand :comman d . . . . . . . . . . . . . . . . . . . . . . . . . 213
:WSProtocol :MESSage :RECe i ve? . . . . . . . . . . . . . . . . . . . . . . . . . . 214
:WSProtocol :MESSage :SEN D . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
:WSProtocol:QUERy:command? . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
:WSProtocol :RESPonse? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
Common Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
*CLS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
*DMC <name_ string>, <command_block> . . . . . . . . . . . . . . . . . . . . 217
*EMC <sta te> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
*EMC? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
*ESE <mask> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
*ESE? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
*ESR? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
*GMC? <name_string> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
*IDN? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
*LMC? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
*LRN? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
*OPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
6 HP E1406A Command Module User’s Manual Contents
*OPC? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
*PMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
*PSC <fla g> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
*PSC? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
*RMC <name_string> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
*RST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
*SRE <mask> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
*SRE? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
*STB? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
*TST? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
*WAI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
HP-IB Message Refere nc e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
Device Clear (DCL) or Selected Devi c e Clear (SDC) . . . . . . . . . . . . . . . . 223
Go To Local (GTL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
Group Execute Trigge r (GET) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Interface Clear (IFC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Local Lockout (LLO) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Remote . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Serial Poll (SPOLL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
SCPI Commands Quick Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
Common Commands Qui c k Reference . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Appendix A. HP E1406A Speci ficat ions and G ener al Infor ma tion . . . . . . . . . . . . . 237
Device Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
Real Time Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
CLK10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
Trigger Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
Power Requirem en ts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
Cooling Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
SCPI Conforma nc e Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
Switchbox C onfiguration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
Multimeter Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
Counter Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
D/A Converter Command s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
Digital I/O Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
System Instrument Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
Appendix B. HP E14 06A Er r or Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Using This Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Reading an I nstrument’s Error Queue . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Error Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
Command E rrors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
Execution E rrors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
Device-Spe c if ic Er rors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
Query Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
Start-up Error Me ssages and Warnings . . . . . . . . . . . . . . . . . . . . . . . . . . 255
HP E1406A Command Module User’s Manual Contents 7
Appendix C. HP E1406A Command Module A16 Addr ess Space . . . . . . . . . . . . . . 259
About This App en dix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
Register Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
The Base Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
Register Offset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
Appendix D. Sending Binary Data Over RS-232 . . . . . . . . . . . . . . . . . . . . . . . 261
About This App en dix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Formatting Bin ar y Dat a for RS-2 32 T ra nsmission . . . . . . . . . . . . . . . . . . . . 261
Sending Binary Data Over RS-232 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
Setting Up the Mainframe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
8 HP E1406A Command Module User’s Manual Contents
Certification
Hewlett- Packard Comp any certifies that this prod uct m et its published specifi cations at the time of shipm ent from the fa ct ory. Hewlett­Packard further certifies that its calibration measurements are traceable to the United States National Institute of Standards and Te ch nol ­ogy (formerly National Bureau of Standards), to the extent allowed by that organization’s calibration facility, and to the calibration facilities of other International Standards Organization members.
Warranty
This Hewlett-Packard product is warranted against defects in materials and workmanship for a period of three years from date of ship­ment. Duratio n and conditi ons of warr ant y for thi s produ ct m ay be sup erse ded when t he product is int egrat e d into (becom e s a part of) other HP produc ts. During the warran ty perio d, Hewl ett -Pa ck ar d Com pa ny will , at its optio n, either repai r or repl ac e produc t s whi ch prove to be defective.
For warrant y servic e or repai r, thi s produc t must be retur ned to a service faci lity de sign at ed by Hewlet t-P ac kard (HP ). Buyer sha l l pre­pay shipping cha rges to HP and HP shall pay shipping c harge s to retu rn the product to Buyer. However, Buye r shall pay all shi ppi n g charges , dut ies, and ta xe s for produc t s ret urn ed to HP fr om an ot her count ry.
HP warrants that its software and firmware designated by HP for use with a product will execute its programming instructions when properly insta lle d on that produc t. HP does not wa rrant that the oper ati on of the pro duc t, or softwa re , or firm war e will be uninterrupted or er ror free .
Limitation Of Warranty
The foregoing war ra nty sh all not apply to de fect s resul ting from imprope r or inadequate maint e nan ce by Buyer, Buye r-sup pl ied pr od­ucts or int`erfacing, unauthorized modification or misuse, operation outside of the environmental specifications for the product, or im­proper site pr ep ar at ion or ma int ena nce.
The design and imple men ta tio n of any circui t on this produc t is the sole respon sibi l ity of the Buyer. HP does not war rant the Buye r’s circuitry or malf unc tion s of HP products that result from the Buyer’ s circui try . In addition, HP does not warra nt any dama ge tha t oc­curs as a result of the Buyer’s circ ui t or any defects that re sul t fr om Buyer-supplied pr oducts.
NO OTHER WARRANTY IS EXPRESSED OR IMPLIE D. HP SPECIFICALLY DI SCLAI MS THE IMPLI ED W ARRANTIE S OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Exclusive Remedie s
THE REMEDIES PROVIDED HEREIN ARE BUYER’S SOLE AND EXCLUSIVE REM EDI ES. HP SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER BASED ON CON­TRACT, TORT, OR ANY OTHER LEGAL THEORY.
Notice
The inform at i on c ont ained in this docum en t is s ubj ec t to chan ge wi t hout noti ce . HEWL E TT- PA CKARD (HP) MAKE S NO WAR­RANTY OF ANY KIND WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIM ITE D TO, THE IMPLI ED WAR­RANTIES OF MERCHANTABILITY AND FITNES S FOR A PARTICULAR PURPOSE. HP shall not be liable for errors contained herein or for inci de nt al or consequentia l damages in connecti on wi t h the furni s hi ng, perfo rma nce or use of this mater i al. This docu­ment contains proprietary information which is protected by copyright. All rights are reserved. No part of this document may be photo­copied, repr oduc ed , or transl ate d to anothe r lan gua ge wi thout t he prior wr itten cons en t of Hewlet t-P ac kar d Compa ny. HP assume s no respons ibilit y for th e us e or reli ab il i t y of it s so ft wa r e on equi pment th at is not fur nished by HP .
U.S. Government Restricted Rights
The Software and Documentation have been developed entirely at private expense. They are delivered and licensed as "commercial computer softwar e" as defined in DFARS 252. 227- 701 3 (Octo ber 1988 ), DFARS 252.2 11.701 5 (May 1991) or DFARS 252.227-7014 (June 1995), as a "comme rc ial item" as defi ned in FAR 2.101(a ), or as "Rest ricte d comp ut er softwa re " as define d in FAR 52.227 -19 (June 1987) (or any equ iv alen t agen cy r egu lat io n or contra ct cla use ), whi ch eve r is appl ica bl e. You have only thos e rig ht s provided for such Software and D ocum ent at ion by the applicable FAR or D F A RS cl ause or the HP standard software agreement for the product involved.
HP E1406A User’s Man ual
Copyrigh t © 1996 He wlett-Packa rd Company. All Rig ht s Reser ve d.
Edition 4
HP E1406A User’s Manual 9
Documentatio n History
All Editions and Updates of this manual and their creation date are listed below. The first Edition of the manual is Edition 1. The Edi­tion number increm ents by 1 whenever the manua l is revised . Updates, whic h are issued betwee n Edit ions , contain repl a cem ent pa ges to correct or add additional information to the current Edition of the manual. Whenever a new Edition is created, it will contain all of the Update inf orma t io n for the previ ou s Edi ti on. Each new Ed iti on or Upda te also incl ude s a revis ed c opy of this doc um en tat io n hi s­tory page.
Edition 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . June 1992
Edition 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . February 1993
Edition 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . October 1994
Edition 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . May 1996
Trademark Information
Mircosoft® and MS-DOS® are U.S. registered trade marks of Microsof t Corp.
Safety Symbols
Instruction manual symbol affixed to prod­uct. Indicates that the user must refer to the manual for specific WARNING or CAU­TION information to avoid personal injury or damage to the product.
Indicates the field wiring terminal that must be connected to earth ground before operat­ing the equipment—protects against electri­cal shock in case of fault.
Frame or cha ssi s ground terminal—typically
or
connects to the equipment’s metal frame.
WARNING
CAUTION
Alternating curre nt (AC) .
Direct curr en t (DC).
Indicates hazardous voltages.
Calls attention to a procedure, practice, or con­dition that could cause bodily injury or death.
Calls attention to a procedure, practice, or con­dition that could possibly cause damage to equipment or permanent loss of data.
WARNINGS
The following ge ner al safet y prec aut io ns mus t be obse rv ed du ring al l phas es of operati on , servi ce , and repai r of this prod uct . Failure to compl y with thes e pr ecaut i ons or with spec i fic warni ngs elsewhe re in this manua l violat es safety stand ard s of desig n, manufactur e, and inten ded use of the produc t. Hewl ett- Pac kar d Com pan y assum es no lia bi lit y for the custo mer’ s fai lure to comply with these requirements.
Ground the e qui pm en t: For Saf ety Clas s 1 eq uipmen t ( equipm ent ha vi ng a protec t iv e ea rt h t er m i nal), an uni nterru pt ible safety ear t h
ground must be provide d from the ma in s power sour ce to the prod uct input wi ring ter m inal s or suppli ed power cable .
DO NOT operat e the pr oduc t in an expl os ive atmo sph er e or in the pres en ce of flammabl e gase s or fume s.
For continued protection against fire, replace the line fuse(s) only with fuse(s) of the same voltage and current rating and type. DO NOT use repaired fuses or short-circuited fuse holders.
Keep away from live circuits: Operati ng pers onne l must not re move equi pm e nt cover s or shiel ds . Proc ed ure s invo lv in g the rem ova l of covers or shi el ds are for use by se rv ic e- t ra ined personnel onl y. Under certain cond iti ons, dangerous vol ta ges may exist ev en wi t h the equipment switc hed off. To avoid dange rous e lectr ical shock , DO NOT perform proc edu res involvi ng cover or shield removal unless you are qualified to do so.
DO NOT operate damaged equipment: Whenever it is possi bl e that the sa fe ty prote ct ion fe at ur es buil t int o thi s pr oduc t have bee n im ­paired, eithe r through phys ical da m age , exces sive mois ture , or any other reas on, REMOVE POW E R and do not use the produc t unt il safe operation can be verifie d by serv ice-t ra ined pers onn el. If necessary, return the produ ct to a Hewlett -Pac kar d Sales a nd Se rvice Of­fice for service and repair to ensure that safety features are maintained.
DO NOT service or adjust alone: Do not attempt internal service or adjustment unless another person, capable of rendering first aid and resus ci t at i on, is pr esent.
DO NOT substitute parts or modify equipment: Because of the da nge r of introduc i ng ad di tion al haz ar ds , do not inst al l subs tit ute parts or perform any unaut hor ized modi ficat io n to the produc t. Retur n the produ ct to a Hewlet t-P ac kard Sa les and Se rvic e Offi ce for service and repair to ensure that safety features are maintained.
10 HP E1406A User’s Manual
Declaration of Conformity
according to ISO/IEC Guide 22 and EN 45014
Manufacture r ’s Name : Hewlett-Pa ck ard Com pa ny
Lovela nd M a nufacturi ng Center
Manufacture r’s Addre s s: 815 14th Stre et S.W .
Loveland, Colorado 80537
declares, that the produc t:
Product Name: HP-IB Command Module
Model Number: E1406A
Product Options: All
conforms to the followi ng Produc t Spe cific ati ons:
Safety: IEC 1010-1 (1990) Incl . Amend 1 (1992) /E N610 10-1 (1993)
CSA C22.2 #1010.1 (1 992) UL 3111
EMC: CISPR 11:1990/ EN5 5011 (1991): Group 1 Class A
IEC1000-4- 2:1 995/ prE N50082-1 (1995): 4 kV CD, 8 kV AD ENV50140:1993/ prEN500 82-1 (1995 ): 3 V/m IEC1000-4-4:1995/prEN50082-1 (1995): 1 kV Power Line
0.5 kV Signal Lin es ENV50141:1993/ prEN500 82-1 (1995 ): 3 Vrms ENV50142:1994/ prE N500 82-1 (1995): 1 kV CM, 0.5 kV DM IEC1000-4- 8:1 993/ prE N50082-1 (1995): 3 A/m EN61000-4-1 1:1 994/ prE N5 0 082- 1 (199 5): 30%, 10 m s 60% , 100 ms
Supplementar y Informa tio n: The pr oduc t her ewi th compl ie s wit h th e requ ire m e nts of the Low Volt ag e Di re ctive 73/23/E EC and the EMC Dire c tive 89/3 36/ EE C (inc lu sive 93/ 68/ E EC ) and carr ie s the "CE" ma rk ing acc ordingly.
Tested in a typic al HP C-Size VXI Mainf ra me confi gur atio n.
December 30, 1995 Jim White, QA Manager
European c ont act : You r loca l He wle tt-Packard Sa les a nd Se rvi ce Offi ce or Hewl ett- Pac ka rd GmbH, Departme nt HQ- TRE, Herrenberger Straße 130, D-71034 Bö bli ngen, German y (FAX +49-7031-14-31 43).
HP E1406A User’s Manual 11
Notes
12 HP E1406A User’s Manual
Please fold and tape for mailing
Reader Comment Shee t
HP E1406A User’s Manual
Edition 4
You can help us improve our manuals by sha rin g your comm ents a nd su g ge sti ons. In appreciat ion of your tim e, we will enter you in a quarterly drawing for a Hewlett -Pac kar d Palmtop Per sonal Computer (U.S. government employees
cann ot part icipate in the drawing).
Your Name
Company Name
Job Title
Address
Please list the system controller, ope ra ti ng syst em, programming l an gua ge , and plug -in mod ule s you are using.
City, State/Province
Country
Zip/Postal Code
Telephone Number with Area Code
fold here
BUSIN ES S REPLY MAIL
FIRST CLASS PERMIT NO. 37 LOVELAND, CO
HEWLETT-PACKARD COMPANY
cut along this line
Measurement Systems Di vision
Learning Products Department P.O. Box 301 Loveland, C O 80539-9984
NO POSTAGE
NECESSARY
IF MAILED
IN THE
UNITED STATES
fold here
Please pen cil- in on e cir cl e for eac h st ate me nt below: Disagree Agree
The documentation is well organized. OOOOO
Instructions are easy to understand. OOOOO
The documentation is clearly written. OOOOO
Examples are clear and useful. OOOOO
Illustrati ons are cle ar and helpfu l. OOOOO
The documentation meets my overall expectations. OOOOO
Please write any com m ents or sugge sti ons be lo w--be spec ific .
14 HP E1406A User’s Manual
HP E1406A Command Module Overview
About This Chapter
This chapter contains WARNINGS and CAUTIONS, a functional and physical overview of the HP E1406A Command Module, and instructions on installing the command module in a mainframe. Chapter contents are as follows:
Warnings and Cautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 15
Using HP VIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 15
Command Module Fun ctional Descripti on. . . . . . . . . . . . . . Page 16
Command Module Phy sical D escription. . . . . . . . . . . . . . . . Page 17
Installing the Command Mo dule in a Mainframe. . . . . . . . . Page 19
Command Module Memo ry. . . . . . . . . . . . . . . . . . . . . . . . . . Page 20
Warnings and Cautions
Chapter 1
WARNING SHOCK HAZARD. Only qualified, service-trained personnel
CAUTION STATIC ELECTRICI TY. Static electricity is a major cause of component
Using HP VIC
who are aware of the hazards involved should install, configure, or remove the multiplexer module. Disconnect all power sources from the mainframe, the terminal modules, and installed modules before installing or removing a module.
failure. To prevent damage to the electrical components in the multiplexer, observe anti-static techniques whenever removing, configuring, and installing a module. The multi plexer is susceptible to stati c discharges. Do not install the multi plexer modu le withou t its met al shield attached.
Our goal is to make installation of your C-size VXI system as easy as possible. To o so, HP VIC (HP VXI Installation Consultant) is provided with the HP E1406A Command Module. HP VIC is a Microsoft® Windows program that helps you configure and install the HP E1406A Command Module - based on VXI systems. If your syste m contains an HP E1406A Command Module to be controlled by a com puter ex ternal to the VXI mainframe, it is recommended you configure your syste m using HP VIC.
Chapter 1 HP E1406A Command Module Overview 15
Command Module Functional Description
The HP E1406A Command Module is the foundation of a VXIbus system (see Figure 1-1). Though its role in a VXIbus system is largely transparent (for example, the user need not program its functions) it provides the following key functions:
Translates SCPI (Standard Commands for Programmable
Instruments) commands for HP register-based inst ruments .
Provides the VXIbus slot 0 and resource manager capabilities.
Can drive the VXIbus TTLTRG0-7 and ECLTRG0-1 trigger lines.
The module contains SMB connectors for placing an external trigger onto the selected line(s), and for routing an internal trigger to a device external to the mainframe.
Contains an internal clock that allows you to set and read the time
and date.
Is the Hewlett-Packard Interface Bus (HP-IB) to VXIbus interface.
Figure 1-1. VXIbus System
16 HP E1406A Command Module Overview Chapter 1
Command Module Physical Description
The HP E1406A Command Modu le occup ies one C-size mainframe slot . The faceplate has annunciators, clock and trigger connectors, interface ports, and extraction levers that are described below.
Faceplate
Annunciators
There are four annunciators on the HP E1406A faceplate which show the following:
Failed Shows that the command module has failed its power-on
self-test or has stopped working at some point in time.
SYSFAIL Shows that the SYSFAIL line on the VXIbus backplane is
being asserted by the command module when it fails.
Access Shows that the command module is accessing, or being
accessed by the VXIbus backplane.
Ready Shows that the command module is in the VXIbus normal
operation state.
Figure 1-2. HP E1406A Command Module Faceplate
Chapter 1 HP E1406A Command Module Overview 17
Faceplate CLK10
and Trigger
Connectors
There are four signal connectors on the HP E1406A faceplate which function as follows:
Clk In This SMB connector allows an external 1 0 MH z clo ck to functio n
as the system’s slot 0 CLK10 resource. T his is a high impedance input with an input range from ± 40 mV to ± 42.5 V.
Clk Out This SMB connector allows the internal slot 0 CLK10 resource
to be routed to other VXIbus mainframes. This output is a TTL level output and drives 50 .
Trig In This SMB connector allows an external trigger signal (TTL
levels) to be applied to the system on the trigger line selected (TTLTRG0-7/ECLTRG0-1). The input impedance is 5 k.
Trig Out This SMB connector allows an internal trigger on the trigger line
specified (TTLTRG0-7/ECLTRG0-1) to be applied to an external device. This output is a TTL level output and drives 50 .
The HP-IB and
RS-232 Ports
The Run/Load
Switch
The HP-IB port allows an HP-IB cable to be connected from the HP E1406A to a computer, or to an external disk drive. The RS-232 port can be used as a user interface, or used for peripheral control if the HP E1406A contains Instrumen t BASIC (IBASIC). The RS-232 port is a 9-pin DTE connector. Supported terminals includ e: HP 700/92, HP 700/94, HP 700/22, HP 700/43, Wyse WY-30, DEC VT 100, and DEC VT 220.
The run/load switch is located beneath the HP-IB port. This switch lets you activate the loader instrument so that you c an reprogram the Flash ROM or download device drivers to the Flash ROM.
The Reset Button The reset button is located beneath the run/load switch. This button is used
to reconfigure your VXIbus system and return it to the power-on state.
Extraction Levers The extraction levers provide easy insertion into and extraction from the
C-size mainframe.
18 HP E1406A Command Module Overview Chapter 1
Installing the Command Module in a Mainframe
Refer to Figure 1-3 to install the HP E1406A Command Module in a C-size mainframe.
Set the extraction levers out.
Slide the HP E1406A into any slot until the backplane connectors touch.
Tighten the top and bottom screws to secure the command module to the mainframe.
NOTE: The extraction levers will not seat the backplane connectors on older VXIbus mainframes. You must manually seat the connectors by pushing in the module until the module’s front panel is flush with the front of the mainframe. The extraction levers may be used to guide or remove the command module.
Seat the command module into the mainframe by pushing in the extraction levers.
To remove the command module from the mainframe, reverse the procedure.
Figure 1-3. Installing the Command Module in a VXIbus Mainframe
Chapter 1 HP E1406A Command Module Overview 19
Command Module Memory
The HP E1406A comes from the factory equipped wit h 512 KB of RAM and 1.25 MB of Flash ROM. HP E1406A Optio n 010 provides 1. 75 M B of Flash ROM and 1 MB of RAM.
For applicat io ns which d o n ot requ ire s hared RAM , the no n-v ol ati le RAM can be configured to a full 2 MB if the ext ra 51 2 KB of RAM an d 512 KB of Flash ROM has been in stall ed.
Battery Backed
Functi ons
The HP E1406A clock and calendar functions, the user non-volatile RAM (NRAM), and the device driver RAM (DRAM) are backed up by a NiCad battery. For systems with 512 KB of memory this batte ry has a ten month lifetime and is fully recharged when the command m odul e is in the mainframe and the power has been on for fifteen continuous hours. This battery has a five month lifetime for systems with 1 MB of RAM and
2.5 month lifeti me fo r systems with 2 MB of RAM.
20 HP E1406A Command Module Overview Chapter 1
Configuring the HP E1406A Command
About This Chapter
One purpose of the HP E1406A is to provide the resource manager function required by VXIbus systems. This chapter describes the resource manager’s function and shows you how to modify the configuration process with user tables you download into non-volatile user RAM . All of these functions require the Flash ROMS Run/Load switch be set to "Run".
The main sections of this chapter include:
Chapter 2
Module
System Configuration Sequ en ce . . . . . . . . . . . . . . . . . . . . . . Page 21
Modules Configured Statically and Dyn amically. . . . . . . . . Page 22
Setting VXI-MXI Configuration. . . . . . . . . . . . . . . . . . . . . . Page 27
Setting Commander/Servant Hierarchies . . . . . . . . . . . . . . . Page 38
A24/A32 Address Mapping. . . . . . . . . . . . . . . . . . . . . . . . . . Page 44
Interrupt Line Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 53
Starting System Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . Page 60
VXI SYSFAIL* Line. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 60
System Configuration Sequence
As mentioned in the C-Size VXIbus Syst ems Configur atio n Guide, the resource manager within the HP E1406A Command Module p erforms the following system config uration sequ en ce when power is applied:
Identify all statically and dynami cally configured pl ug-in m odul es
installed in the C-size main fram e.
Set commander/servant hierarchies whereby one or more plug-in
modules control other plug-in m odules.
Perform A24/A32 address mapping so modules requiring additional
addressing can receive it.
Allocate interrupt lines to manage communication between interrupt
handler modules and int errupte r modules.
Start system operation.
Once the power-on sequence is completed and the system is started, the resource manager is no longer used.
Chapter 2 Configuring the HP E1406A Command Module 21
The following sections describe each step of the configuration sequence. Included are examples on how to change the sequence using configu ration tables stored in non-volatile user RAM.
Note Refer to the C-Size VXIbus Systems Confi gura tion Guide fo r in form ation on
configuring the HP E1406A Command Module as the resource manager.
Modules Configured Statically and Dynamically
Statically configured modules are plug-in modu les whose log ical addresses are set with logical address switches. Dynamically configured modul es are plug-in modules who se logical addresses are programmed (s et) by the resource manager.
Identifying
Statically
Configured Modules
Identifying
Dynamically
Configured Modules
Once all power-on self tests have completed, the resource manager identifies all statically configured modules. The resource manager retains information such as the modul e’s logical ad dr ess, slot nu mber, model number, manu facturer’s code, and so forth.
Once all statically configured modules have been located in a mainframe and none have a logical address of 255, the resource manager identifies all dynamically configu red modules an d assign s them logical ad dr esses as follows.
The resource manager locates dynamically configured modules by
scanning each mainframe slot. Refer to the plug-in module manual for additional information on sett ing up the modu le prior to its dynamic configuration.
Beginning with the lowest mainframe slot (excluding slot 0), the
resource manager scans each slot via the module identification (MODID) bus until a dynamically configured module is located. The module is assigned a logical address that is the low est available multiple of 8.
The resource manag er con tinu es s cannin g unt il the nex t dyn amicall y
configured mod ul e is located . The mo dule i s assign ed a l ogical address that is the next avai lable mu ltip le of 8. The process continu es until all dynamically config ured devices have been ass ig ned logical addresses. If all mult iples of 8 are used, the d yn ami cally co nfi gured module is ass igned the firs t avail abl e add ress .
Logical addresses used by statically configured devices will not be
assigned to dynamically configu red devices.
Dynamically configured devices will not be assigned logical address 255.
A set of address blocked dynamically configured devices will be
assigned successive logical addresses beginning with the lowest available multiple of 8.
22 Configuring the HP E1406A Command Module Chapter 2
User-Defined
Dynamic
Configuration
If your system contains instrum en ts comp rised of mult iple mo dules th at must have successive logical addresses, then the modules mus t be statically configured using thei r logical addr ess switches, or be dynamicall y configured with the user-defined dynamic configur ation table. The dynamic configuration table covered in this section allows you to override the default configuration process by assignin g logi cal addresses as you choose.
The Dynami c
Configuration Table
User-defined dynamic configurations are specified with a dynamic configuration table created in the command module. The table is created as follows:
1. Table space in the command module’s non-volatile user RAM is made available by allocating a segment of RAM with the command:
DIAGnostic:NRAM:CREate <size>
2. Reset the command module. NRAM is created during th e bo ot-up process:
DIAGnostic: BOOT:WARM
3. The location (starting address) of the table in RAM is determined with the command:
DIAGnostic:NRAM:ADDRess?
4. Data is downloaded into the table with the command:
DIAGnostic:DOW Nload <address >,<data>
5. The table is linked to the appropriate algorithm in the command module processor with the command:
VXI:CONFigure:DCTable <address>
Table Fo rm at The format of the dynamic configu ration tabl e is shown in Table 2-1.
Table 2-1. Dynamic Configuratio n Table Format
Valid Flag Number of
Slot Number Slot 0 Laddr Laddr Block Size Slot Number Slot 0 Laddr Laddr Block Size
••••
••••
Slot Number Slot 0 Laddr Laddr Block Size
Entries
The table parameters are:
Valid Flag (1/0) 1 (one) indicates the table is valid and the modules
can be configured accordingly. 0 (zero) will cause an error message (Error 39). Valid Flag is part of the table header and is one byte.
Number of Entries (1 - 254) is the number of entries in the table.
Number of Entries is part of the table header and is one byte.
Chapter 2 Configuring the HP E1406A Command Module 23
Slot Number (1 - 12) is the mainframe slot the module to be
assigned an address is installed in. Field is one byte.
Slot 0 Laddr is the logical address of the slot 0 device. This is 0
(zero) in mainframe #1 but will be different in any additional mainframes. Field is one byte.
Laddr (1 - 254 ) is the logical address to which the module in Slo t
Number is set. Field is one byte.
Block Size (1 - 128) is the number of d ev i ces in an add ress block.
When there is more than one device, Laddr specifies the logical address of the first device in the set. The remaining devices are assigned sequential logical addresses beginning with the next highest address. When there are multiple dev ic es in a slot that are not address blocked, there must be an entry in the table for each device. Field is one byte.
Determinin g the
Table Size
The dynamic configuration table has a two byte header and each of the four fields are one byte. The amount of RAM to allo cate with
DIAGnostic:NRAM :CREat e is computed as:
2 + 4(N)
where N is the number of modules to be configured. For example, to dynamically configur e three modules based on logical addr esses you have selected, the table size would be: 2 + 4(3) = 14 bytes.
DIAGnostic:NRAM :CREat e would be executed as:
OUTPUT @E1406;"DIAG:NRAM:CRE 14"
Data Format Data can be sent to the dynamic configuration table in any convenient
format, as long as the binary data is preserved. This can be accomplished
DIAGnostic: PEE K? and DIAGnostic:POKE, by r eading the data into a
using variable in the computer and then downloading the data to the table using the Arbitrary Block Program Data format, and so forth. In the following example, this is accomplished by r eading th e data into 16-bit integer variables in the computer and then downloading the data to the table using the ANSI/IEEE 488.2-1987 Arbit rary Block Program Data format. More information on the Arbitrary Block Prog ram format can be found on page 121 of this manual and in the ANSI/IEEE 488.2-19 87 document.
CAUTION When downloading data into the dynamic configuration table,
DIAGnostic:DOWNload does not determine if the table is large
enough to store the data. If the amount of data sent by
DIAGnostic:DOWNload is greater than the (tabl e) space allocated
by DIAGnostic:NRAM:CREate, system errors will occur. You can recover from these errors by executing DIAGnostic:BOOT:COLD, or by pressing the "Ctrl-R" keys on an RS-232 terminal while cycling mainframe power.
24 Configuring the HP E1406A Command Module Chapter 2
Example: Dynami call y
Co nfiguring a Module
The following program dynamically sets the logical address of the
1
HP E1412A 6
⁄2-Digit Multi meter in slot 6 to 32. The program notes e ach
of the steps used to create and load the table.
To dynamically configu re the multi meter, it s logical address m ust be set to 255 using the logical address switches.
10 !Assign an I/O path and allocate a variable to store dynamic configuration 20 !data to be downloaded to the command module.
30 ASSIGN @E1406 TO 70900;EOL CHR$(10) END 40 INTEGER Dy_config(1:6) 50 !
60 !Allocate a segment of non-volatile user RAM on the command 70 !module to store the dynamic configuration table (1 module).
80 OUTPUT @E1406;"DIAG:NRAM:CRE 6" 90 !
100 !Restart the system instrum ent to allocat e the user RAM. Wait for the 110 !restart to complete before continuing.
120 OUTPUT @E1406;"DIAG:BOOT:WARM" 130 ON TIMEOUT 7,.1 GOTO Complete 140 Complete: B=SPOLL(70900) 150 OFF TIME OUT 7 160 !
170 !Return the starting address of the table in non-volatile user RAM. 180 OUTPUT @E1406;"DIAG:NRAM:ADDR?" 190 ENTER @E1406;A 200 !
210 !Download the following bytes: the table is valid, one module is dynamically 220 !configured, it’s installed in slot 6, the logical address of the slot 0 module 230 !is 0, the logical address to be set is 32, and the block size is 1.
240 DATA 257,1,6,0,32,1 250 READ Dy_config(*) 260 OUTPUT @E1406 USING "#,3(K)";"DIAG:DO W N ";A;" ,#0" 270 OUTPUT @E1406 USING "B";Dy_config(*) 280 !
290 !Link the dynamic configuration table to the appropriate algorithm. 300 OUTPUT @E1406;"VXI:CONF:DCT ";A 310 !
320 !Restart the system instrum ent to set the user-defined configuration. 330 OUTPUT @E1406;"DIAG:BOOT:WARM" 340 END
Chapter 2 Configuring the HP E1406A Command Module 25
Comments Errors associated with dynamic configurations are:
ERROR 1: FAILED DEVICE
This error occurs when a dynamically configured device at logical address 255 failed during its power-on sequence.
ERROR 4: DC DEVICE ADDRESS BLOCK TOO BIG
This error occurs when the block size specified in the table is greater than 127.
ERROR 7: DC DEVICE MOVE FAILED
This error occurs when a dynamically configured device was not set to the logical address specified, possibly due to a hardware failure on the module. The error also oc curs when all devices in an address block did not move.
ERROR 9: UNABLE TO MOVE DC DEVICE
This error occurs when there are not enough successive logic al addresses available for the specified block size, or if the logical address specified is already occupied by another static or dyna mic module.
ERROR 39: INVALID UDEF DC TABLE
This error occurs when the user-defined dynamic configuration table is not true (valid flag does not equal 1).
ERROR 40: INVALID UDEF DC TABLE DATA
This error occurs when there are 0, or greater than 254 entries in the user-defined dynamic configuration table.
The logical addresses assigned by the dynamic configuratio n
table are used by the system until
VXI:CONFigure:DCTable 0 is executed.
DIAGnostic:B OO T:CO LD or
26 Configuring the HP E1406A Command Module Chapter 2
Setting VXI-MXI Configuration
During configuration, if an MXI extender device is present the resource manager will attempt to assign logical address es and memory ac cording to the rules listed below. You can override these rules by creating a user-defined extender table. This table will be ignored if there are no MXI extender devices present.
Logical Address
Configuration
The followin g rules and recomm end ati on s apply to as sign ing log ical addresses. For a more det ail ed d iscus sion of how to ass ign log ical address es please refer to the HP E1482B VXI-MXI B us Extender Us er’s Man ua l.
The window of a local extender must incl ude the logi cal addresses of
all remote extenders on its interconnect bus.
The downward window of a local extender cannot include any
devices which are not its descendants, except its own address. It must include all devices on all of its own descendant busses.
A local extender should hav e a higher logi cal address than any
statically or dynamically configured devices on it s VMEbus (excluding other local extenders).
A local extender should have a lower logical address than any of its
corresponding remote extenders and stand alone devices on its interconnect bus.
A remote extender should have the lowest logical address on its own
VMEbus.
The logical address of a remote extender can be lower than the
address of its corresponding local extender on its interconnect bus.
Chapter 2 Configuring the HP E1406A Command Module 27
Default Lo gical
Address Assignments
Note The window for a local extender may or may not in clude the logi cal address
Note The window for a remote extender may or may not include the logical
The resource manager will attempt to assign logical addresses to dynamically configur ed devices according to the following rules:
The window for a local extender will be set outward to the minimum
possible size to include all of the logical addresses found on all of its descendant busses. This includes all stand alone devices and all remote extenders that are descendants of the local extender.
of the local extender itself.
The window for a remote extender will be set inward to the
minimum possib le si ze to include all of the devices on its VMEbus and all of its descendants.
address of the remote extender itself.
A dynamically configured device will be assigned a logical addr ess
as follows:
Dynamically configured devices on a given VMEbus will be
assigned logical addr esses after all descendant busses of that VMEbus have been configured.
Dynamically configured devices on a give n V MEbus will be
assigned addresses in the range defined by the sta tically c onfigured device with the lowest logical address on tha t VMEbus and the maximum allowable logical address for that VMEbus.
Each dynamically configured device will be assigned an addr ess
that is a multiple of 8 within the allowable ran ge for that VMEbus until all of these addresses have been used.
Any additional dynamically configured devices will be assigned
the lowest available addresses within the allowable range for that VMEbus.
28 Configuring the HP E1406A Command Module Chapter 2
A16/A24/A32
Address Window
Configuration
The following rules and recommend ations apply to assignin g A16/A2 4/A32 logical addresses. Refer to the HP E1482B VXI-MXI Bus Extender User’s Manual for a more detailed discussion of how to assign log ical address es.
Systems with multipl e VMEbus devi ces should be configur ed so that
the VMEbus devices in mainframes whose remote extenders have the highest logic al addresses shoul d also have the highest logi cal addresses.
VMEbus devices should be configured to have the lowest addresses
on their particular VMEbus.
Default A16/A24/A32
Address Window
Assignments
The resource manager will not attempt to perform any A16 address window configuration as a default. It will attempt to configure A24 and A32 memory according to the following rules:
A memory page is
size of an A24 or A32 memory window is 2 pages and the maximum size of the window is 256 pages as defined in VXI-6 Specifications. For A24 memory a single page is 65,536 by tes an d the minimu m window size is 131,07 2 bytes. For A32 memory a single page is 16,777, 216 by tes an d the minimu m wind ow is 33,554,432 by tes.
1
of the total memory space. The m inimum
256
The base address of a memory window must be zero or an even
multiple of the size of the windo w.
The window for a local extender will be set to the minimum poss ible
size to include all of the memory addresses found on all of its descendants.
The window for a remote extender will be set to the minimum
possible size to include al l of the memory on its VMEbus and all of its desc endants.
A VXIbus device will be assigned a memory location in the
following mann er:
VXIbus devic es on a given VMEbus will be assigned memo ry
locations after all descendant busses of the VMEbus have been configured.
VXIbus devic es on a given VMEbus will be assigned memo ry
locations in the range defined by the lowest and hig hest mem ory pages available for that bus.
The first available page for a VMEbus will be the first page that
is higher than any reserved page on any of its ancestors.
VXIbus devices will be assigned the lowest memory location s
available on the current bus.
VXIbus devices will be assigned locations according to memory
size and logical address in that order. The device with the largest memory size on a given bus will be assigned an address first. For devices with the same size, the device with the lowest logical address will be assigned a memory locati on first.
If possible, no devices will be assigned to memory locations in the
1
bottom or top addresses 000000
⁄8 of the total memory (for example, in A24 memory
- 20000016 or E0000016 - FFFFFF16).
16
Chapter 2 Configuring the HP E1406A Command Module 29
VMEbus reserved memory must be placed in locations that will not
interfere with windows previously configured. The only way the resource manager can know the location(s) of VMEbus memory is for you to provide this information in the user-defined memory table (see “A24/A32 Address Mapping” on page 44 for more details).
Interrupt Register
Configuration
TTL Trigger
Register
Configuration
The rules listed below will be used to assign the configuration of the INTX Interrupt Register during system start-up unless yo u override them with entries in the user-defined extender table.
The interrupt enable bits in the INTX Interrupt Register on every
extender will be enabled for each VMEbus interrupt line that has a VXIbus handler assigned.
The interrupt enable bits in the INTX Interrupt Register on every
extender will be disabled for each VMEbus interrupt line that has no VXIbus handler assigned.
For every VMEbus interrupt line that has a VXIbus interrupt handler
assigned, the direction will be set on each extender such that an interrupt on that line will be routed towards the VMEbus backplane that contains the handler.
The TTL Trig ger R egi ster wi ll be set t o C0C 016 (TTL Triggers di sabled) for all remote and local ex ten ders that sup po rt TTL Trigg ers. You may enable TTL Triggers and set the TTL Trigger directions with the ext end er table.
ECL Tr igger
Regi ster
Configuration
The ECL Trigger Register will be set to C0C016 (ECL Triggers disabled) for all remote and local extenders that support ECL Triggers. You c an enable ECL Triggers and set the ECL Trigger directions with the extender table.
30 Configuring the HP E1406A Command Module Chapter 2
Utility Register
Configuration
The default Utility Register configuration is shown in Table 2-2. Since the resource manager may have to reboot during the system configuration process (for example, to download a driver) the Utility Registe r is not a part of the extender table. This will help ensure that the SYSR ESET sig nal will propagate throughout the system during a reboot so that all of the cards will receive a hard reset.
If you wish to alter the contents of the Utility Regis ter you can use
DIAGnostic: POKE commands directly to the registers. Keep in mind that
this may alter the default system reboot process.
Table 2-2. Utility Register Defau lt Config uratio n
Extender Type ACFIN ACFOUT SFIN SFOUT SRIN SROUT
Local Extender enabled enabled enabled enabled enabled enabled
(1) (1) (1) (1) (1) (1)
Remote Extender enabled enabled enabled enabled e nabled enabled
(1) (1) (1) (1) (1) (1)
User -Defined
Logical Address
and Memory
Windows
The User-Defined
Extender Table
In many systems that use extenders, the standard boot-u p algorithms wil l not be suitable for your configuration. In such systems it will be necessary to unambiguously define your logi cal address and memory map ping for the boot-up configuration routi ne.
You can define your own logical address and memory m apping in a system with extenders by using the user-defined extend er table. This table is created as follows:
1. Table space in the command module’s non-volatile user RAM is made available by allocating a segment of RAM with the command:
DIAGnostic:NRAM:CREate <size>
2. Reset the command module. NRAM is created during th e bo ot-up process:
DIAGnostic: BOOT:WARM
3. The location (starting address) of the table in RAM is determined with the command:
DIAGnostic:NRAM:ADDRess?
4. Data is downloaded into the table with the command:
DIAGnostic:DOW Nload <address >, <data>
5. The table is linked to the appropriate algorithm in the command module processor with the command:
VXI:CONFigure:ETABle <address>
Chapter 2 Configuring the HP E1406A Command Module 31
Table Fo rm at The user-defined exten d er table cons ists of a two byte header followed by
the required number of extender records. The first byte of the header is a table Valid Flag (1 = valid) and the second byte specifies th e number of records in the table.
Table 2-3. Extender Table Format
valid flag (0 | 1)
# of records (N) extender r ecor d 1 extender r ecor d 2
extender record N
Any single item in an extender record can be disabled so that the resource manager will perform the default configuration for the item. For example, to use the resource manager default algorithm for interrupt enable, set the appropriate field in the extender record (see Table 2-4) to 255.
Table 2-4. User-Defined Extender Tab le Record
Field
Disable
Field Description Format* Range
1 Logical Address (remote or local extender) int16 1-255 n/a 2 Logical Address Window Base int16 0-254 3 Logical Address Window Size int16 2-256 n/a 4 A16 Memory Base Page int16 0-25 4 5 A16 Memory Window Size (number of pages) int16 2-256 n/a 6 A24 Memory Base Page int16 0-25 4 7 A24 Memory Window Size (number of pages) int16 2-256 n/a 8 A32 Memory Base Page int16 0-25 4
9 A32 Memory Window Size (number of pages) int16 2-256 n/a 10 Interrupt Enable int16 n/a 11 TTL Trigger Enable int16 n/a 12 ECL Trigger Enable int16 n/a
Value
1
255
1
255
1
255
1
255
2
255
3
255
4
255
1 The upper byte of this field (bits 15-8) is reserved . 2
This is Mainframe Extend er Regis ter 12
. See the VX I-6 Sp ec i fica ti on or your
16
mainframe extender man ual for a definit ion of this regist er. Inter rup ts may not be supported by all mainframe extender cards.
3
This is Mainframe Extend er Regis ter 14
. See the VXI-6 Specification or your
16
mainframe extender manual for a definit ion of this regist er. TTL Triggers may not be supported by all mainfr am e extend er cards .
4
This is Mainframe Extend er Regis ter 16
. See the VXI-6 Specification or your
16
mainframe extender man ual for a definit ion of this regist er . ECL Triggers may not be supported by all mainfr am e extend er cards .
* int16 is a 16-bit integ e r, or two byt es .
32 Configuring the HP E1406A Command Module Chapter 2
Determinin g the
Table Size
The user-defined extender table has a one word header and each of the 12 fields is also one word. The amount of RAM allocated with
DIAGnostic:NRAM :CREat e is specified in bytes. Since one word is
two bytes, the amount of RAM to allocate is computed as:
2 + 24(N)
where N is the number of modules to be configured. For example, to provide information for three extender devices, the table size would be:
2 + 24(3) = 74 bytes
DIAGnostic:NRAM:CREate
OUTPUT @E1406;"DIAG:NRAM:CRE 74"
would be executed as:
Data Format Data can be sent to the extender table in any convenient format, as long as the
binary data is preserved. This can be a ccomplished using and DIAGnostic:POKE, by reading the data into a variable in the computer and then downloading the data to the table using the Arbitrary Block Program Data format, and so forth. In the following exam ple, this is accomplished by reading the data into 16 bit integer variables in the computer and then downloading the data to the table using the ANSI/IEEE 488.2-1987 Arbitrary Block Program Data format. More information on the Arbitrary Block Program format c an be found on page 121 of this manual and in the ANSI/IEEE 488.2-1987 document.
The table header is sent as a single 16-bit word which must contain the Valid Flag and the numbe r of modules involved. For a valid table, the header is 256 plus the number of modules. For example, to indicate a valid table with seven entries, the header is 263 (256 + 7 = 263).
DIAGnostic:PEEK?
CAUTION When downloading data into the user-defined extender table,
DIAGnostic:DOWNload does not determine if the table is large
enough to store the data. If the amount of data sent by
DIAGnostic:DOWNload is greater than the table space allocated
by DIAGnostic:NRAM:CREate, system errors will occur. You can recover from these errors by executing DIAG:BOOT:COLD, or by pressing the "Ctrl-R" keys on an RS-232 terminal while cycling mainframe power.
Chapter 2 Configuring the HP E1406A Command Module 33
Example: User-Defined
Extender Table
This example shows a single interconnect bus with a local extende r at logical address 63 in the root mainframe and a remote extender at logical address 64 in the secondary mainframe.
258 valid (upper byte) + 2 records (lower byte)
63 local extender logical address
128 logical address window base
64 logical address window size (128 to 191 )
255 specify no A16 mem ory
0 A16 memory size (ignored) 64 A24 memory base page 64 A24 memory size (pages 64 to 127)
0 A32 memory base page
128 A32 memory size (pages 0 to 127) 257 interrupt line 1 enable d (IN) 769 TTL Triggers (TTL1 OUT, TTL0 IN)
-15936 ECL Triggers (C1C0 64 remote extender logical address
128 logical address window base
64 logical address window size (128 to 191 )
255 specify no A16 mem ory
0 A16 memory size (ignored) 64 A24 memory base page 64 A24 memory size (pages 64 to 127)
255 specify no A32 mem ory
0 A32 memory size (ignored)
256 interrupt line 1 enabled (OUT) 770 TTL Triggers (TTL1 IN, TTL0 OUT)
-15935 ECL Triggers (ECL0 IN)
= ECL0 enabled OUT)
16
The program on the next page downloads the table shown above into user non-volatile memory. The program notes each of the steps used to create and load the table.
34 Configuring the HP E1406A Command Module Chapter 2
10 !Assign an I/O path and allocate a variable to store MXI configuration 20 !data to be downloaded to the command module.
30 ASSIGN @E1406 TO 70900;EOL CHR$(10) END 40 INTEGER MXI_config(1:25) 50 !
60 !Allocate a segment of non-volatile user RAM on the command 70 !module to store the user-defined MXI table (1 module).
80 OUTPUT @E1406;"DIAG:NRAM:CRE 50" 90 !
100 !Restart the system instrum ent to allocat e the user RAM. Wait for the 110 !restart to complete before continuing.
120 OUTPUT @E1406;"DIAG:BOOT:WARM" 130 ON TIMEOUT 7,.1 GOTO Complete 140 Complete: B=SPOLL(70900) 150 OFF TIME OUT 7 160 !
170 !Return the starting address of the table in non-volatile user RAM. 180 OUTPUT @E1406;"DIAG:NRAM:ADDR?" 190 ENTER @E1406;A 200 !
210 !Download the required bytes. 220 !See the user-defined extender table for the meaning of these bytes.
230 DATA 258, 63, 128, 64, 255, 0, 64, 64, 0, 128, 257, 769, -15936, 64,
128, 64, 255, 0, 64, 64, 255, 0, 256, 770, -15935 240 READ MXI_config(*) 250 OUTPUT @E1406 USING "#,3(K)";"DIAG:DOWN ";A;" ,#0" 260 OUTPUT @E1406 USING "W";MXI_config(*) 270 !
280 !Link the user-defined MXI table to the appropriate algorithm. 290 OUTPUT @E1406;"VXI:CONF:ETAB ";A 300 !
310 !Restart the system instrum ent to set the user-defined configuration. 320 OUTPUT @E1406;"DIAG:BOOT:WARM" 330 END
Chapter 2 Configuring the HP E1406A Command Module 35
Comments The following errors are associated with the extender table or
indicate that you may need to create an extender table:
ERROR 50: EXTENDE R NOT SLO T 0 DEVICE
This error occurs when a remote VXIbus extender in a remote mainframe is not in slot 0 of its mainframe. The resource manager expects all remote VXIbus extenders to be installed in slot 0 of their mainframe.
ERROR 51: INVALID EXTENDER L ADD WINDOW
This error occurs when the configuration routine finds an inv al id start address or size for an extender logical address window. You should reconfigure the logic al addresses of the VXIbus devices or create a user-defined extender table for the system to override the default algorithm.
ERROR 52: DEVICE OUTSIDE OF LADD WINDOW
This error occurs when a device or devices were found outside the default maximum or outside the user-defined range for the extender. You should reconfigure the logical addresses of the VXIbus devices or create a new extender table for the system to override the default algorithm.
ERROR 53: INVALID EXTENDER A24 WINDOW
This error occurs when the configuration routine finds an inv al id start address or size for an extender A24 address window. You should reconfigure the VMEbu s memory devices or create a user-defined extender table to override the default algorithm.
ERROR 54: DEVICE OUT SIDE OF A24 WINDOW
This error occurs when an A24 memory device is located outside of the allowable logical address range of an MXIbus extender. You should reconfigure the VMEbus memory devices or create a user-defined extender table to override the default algorithm.
ERROR 55: INVALID EXTENDER A32 WINDOW
This error occurs when the resource manager finds an invalid start address or size for an extender A32 address window. You should reconfigure the VMEbu s memory devices or create a user-defined extender table to override the default algorithm.
ERROR 56: DEVICE OUT SIDE OF A32 WINDOW
This error occurs when an A32 memory device is located outside of the allowable logical address range of an MXIbus extender. You should reconfigure the VMEbus memory devices or create a user-defined extender table to override the default algorithm.
36 Configuring the HP E1406A Command Module Chapter 2
ERROR 57: INVALID UDEF LADD WINDOW
This error occurs when a user-defined logical address window violates the VXI-6 Specificatio n (has an invalid base or size). You should redefine your extender table with correct values.
ERROR 58: INVALID UDEF A16 WINDOW
This error occurs when a user-defined A16 window violates the VXI-6 Specification (has an invalid base or size). You should redefine your extend er table wit h co rrect values.
ERROR 59: INVALID UDEF A24 WINDOW
This error occurs when a user-defined A24 window violates the VXI-6 Specification (has an invalid base or size). You should redefine your extend er table wit h co rrect values.
ERROR 60: INVALID UDEF A32 WINDOW
This error occurs when a user-defined A32 window violates the VXI-6 Specification (has an invalid base or size). You should redefine your extend er table wit h co rrect values.
ERROR 61 INVALID UDEF EXT TAB LE
This error occurs when the valid flag is not set to 1 in the extender table. You should redefine your extender table with correct values.
ERROR 62: INVALID UDEF EXT TABL E DATA
This error occurs when there is an incorrect number of records for a user-defined extender table. You should make sure that the number of records shown in the header matches the number of records actually in the table.
ERROR 63: UNSUPPORTE D UDEF TTL TRIGG ER
This error occurs when there is a user-defined extender table TTL Trigger entry for a MXIbus extender that does not support TTL Triggers.
ERROR 64: UNSUPPORTE D UDEF ECL TRIG GER
This error occurs when there is a user-defined extender table ECL Trigger entry for a MXIbus extender that does not support ECL Triggers.
ERROR 66: INTX CARD NOT INST ALL ED
This error occurs when the INTX card is not installed on the VXI-MXI extender. You should make sure the INTX card is correctly installed and that it is functioning.
The system configuration assigned by the extended device table
is used by the system unti l
VXI:CONFigure:ETABle 0 is executed.
DIAGnostic:BO OT: COLD or
Chapter 2 Configuring the HP E1406A Command Module 37
Setting Commander/Servant Hierarchies
In a VXIbus system, a commander is a plug-in module which cont rols other plug-in modules. “Control” can be a commander such as the HP E1406A Command Mod ule tran slatin g SCPI comm ands, and/or serving as the HP-IB interface for (servant) modules within its servan t area.
During the configuration sequence, the resource manager assigns servant modules to a commander modu le based on the servan ts’ logi cal addresses and the commander’s servant area. The concept of the servant area is shown in Figure 2-1. The C-Size VXIbus Systems Configuration Guide shows how to set the command modul e’s servant a rea.
Figure 2-1. Example of Commander/Servant Hierarchy
Note the following regarding commander/servant relationships:
A commander’s servant area is its logical address + 1, through
its logical address + its servant area switch setting.
If within a given commander’s servant area (Figure 2-1) there is
another lower-level commander(s) (logical address 1), the given commander will control the lower-level commander. However, all modules within th e servant area of the lower-level command er (logical addresses 2 - 41) will be controlled by the lower-level commander.
If there is a commander outside the servan t area of the command
module/resource manager, that command er becomes a top level commander. The resource manager will assign all mo dules wit hin the commander’s servant area to that commander, or to that commander’s lower-level commanders.
The command module will always be the commander for IBASIC
even if IBASIC’s logical address (240) is outside the mo dule’s servant area. There can be multiple IBASICs in the same system since each is a servant to its respective command module. Note that there are no VXIbus registers for IBASIC.
38 Configuring the HP E1406A Command Module Chapter 2
User-Defined
Commander/Servant
Hierarchies
Note Registe r-based instrum ent drivers that sup port mu ltip le card sets normally
In some systems you may need to assign a servant to a commander that is outside the commander’s servant area. In other systems, it may be necessary to change a module’s secondary HP-IB address, or assign secondary addresses to modules whose logical addresses ar e not instrument identifiers. These tasks can be accomplished with the user-defined commander/servant hierarchy table described in this section.
require that the cards in the set have sequential logical addresses. When instrument drivers su pport no n-sequenti al logical addresses, instruments that consist of non-sequential card sets must be created using th e user-defined commander/servant hierarchy table. There must be an entry in the table for every card in the instrument card set.
The User-Defined
Commander/Servant
Hierarchy Table
User-defined commander/servant hierarchies and secondary HP-IB addresses are specified with a commander/servant hierarchy table created in the command module. The table is created as follows:
1. Table space in the command module’s non-volatile user RAM is made available by allocating a segment of RAM with the command:
DIAGnostic:NRAM:CREate <size>
2. Reset the command module. NRAM is created during th e bo ot-up process:
DIAGnostic: BOOT:WARM
3. The location (starting address) of the table in RAM is determined with the command:
DIAGnostic:NRAM:ADDRess?
4. Data is downloaded into the table with the command:
DIAGnostic:DOW Nload <address >, <data>
5. The table is linked to the appropriate algorithm in the command module processor with the command:
VXI:CONFigure:CTABle <address>
Chapter 2 Configuring the HP E1406A Command Module 39
Table Fo rm at The format of the commander/servant hierarchy table is shown in Table 2-5.
Table 2-5. Commander/Servant Hierarchy Table Format
Valid Flag/
Number of Modules
Laddr Cmdr Laddr Sec Addr Laddr Cmdr Laddr Sec Addr
•••
Laddr Cmdr Laddr Sec Addr
The table parameters are:
Valid Flag (1/0) 1 indicates the table is valid and th e modul es
should be configured ac cordingl y. 0 (zero) will cause an error message (Error 38). Valid Flag is part of the table header and is represented by the upper eight bits of the header word.
Number of Modules (1 - 254) is the number of entries in the table.
Number of Modules is part of the table header and is represented by the lower eight bits of the header word.
Laddr is the log i c al add ress of th e m odule which is assign ed a ne w
commander or new secondary HP-IB address. Field is one word.
Cmdr Laddr is the logical address of the commander to which the
module specified by Laddr is assigned. If -1 is specified, the module is not assigned to a commander. Field is one word.
Sec Addr (1 - 30) is the secondary HP-IB address assigned to the
module specified by Laddr. If -1 is specified, the secondary address is assigned by default. Field is one word.
Determinin g the
Table Size
The commander/servant hierarchy table has a one word header and three one word fields. The amount of RAM allocated with
DIAGnostic:NRAM:CREate is
specified in bytes. Since one word is two bytes, the amount of RAM to allocate is computed as:
2 + 6(N)
where N is the number of modules to be configured. For example, to assign three modules to a particular commander, the table size would be:
2 + 6(3) = 20 bytes
DIAGnostic:NRAM:CREate
OUTPUT @E1406;"DIAG:NRAM:CRE 20"
would be executed as:
40 Configuring the HP E1406A Command Module Chapter 2
Data Format Data can be sent to the commander/servant hierarchy table in any convenient
format, as long as the binary data is preserved. This can be accomplished using
DIAGnostic:PEEK? and DIAG nost ic: PO KE, by reading the data into a variable
in the computer and then downloading the da ta to the ta ble using the Arbitrary Block Program Data format, and so f orth. In the following example, this is accomplished by reading the data into 16 bit integer variables in the computer and then downloading the data to the table using the ANSI/IEEE 488.2-1987 Arbitrary Block Program Data format. More information on the Arbitrary Block Program format can be found on page 121 of this manual and in the ANSI/IEEE 488.2-1987 document.
The table header is sent as a single 16-bit word which must contain the Valid Flag and the numbe r of modules involved. For a valid table, the header is 256 plus the number of modules. For example, to indicate a valid table with seven entries, the header is 263 (256 + 7 = 263).
CAUTION When downloading data into the commander/servant hierarchy
table, DIAGnostic:DO WNload does not determ ine if the table is large enough to store the data. If the amount of data sent by
DIAGnostic:DOWNload is greater than the (tabl e) space allocated
by DIAGnostic:NRAM:CREate, system errors will occur. You can recover from these errors by executing DIAGnostic:BOOT:COLD, or by pressing the "Ctrl-R" keys on an RS-232 terminal while cycling mainframe power.
Chapter 2 Configuring the HP E1406A Command Module 41
Example: Assigning a
Secondary HP-IB
Address
The following program assigns second ary HP -IB address 01 to the
1
HP E1411B 5
⁄2-Digit Multimeter at logical address 25. The program
notes each of the steps used to create and load the table.
10 !Assign an I/O path and allocate a variable to store commander/ serv ant 20 !hierarchy data to be downloaded to the command module.
30 ASSIGN @E1406 TO 70900;EOL CHR$(10) END 40 INTEGER Cs_hier(1:4) 50 !
60 !Allocate a segment of non-volatile user RAM on the command module 70 !to store the commander/servant hierarchy table.
80 OUTPUT @E1406;"DIAG:NRAM:CRE 8" 90 !
100 !Restart the system instrum ent to allocat e the user RAM. Wait for the 110 !restart to complete before continuing.
120 OUTPUT @E1406;"DIAG:BOOT" 130 ON TIMEOUT 7,.1 GOTO Complete 140 Complete: B=SPOLL(70900) 150 OFF TIME OUT 7 160 !
170 !Return the starting address of the table in non-volatile user RAM. 180 OUTPUT @E1406;"DIAG:NRAM:ADDR?" 190 ENTER @E1406;A 200 !
210 !Download the following: the table is valid and one module is being 220 !assigned a secondary address, the logical address of the module is 25, 230 !its commander’s logical address is 0, the secondary address is 01.
240 DATA 257,25,0,1 250 READ Cs_hier(*) 260 OUTPUT @E1406 USING "#,3(K)";"DIAG:DO W N ";A;" ,#0" 270 OUTPUT @E1406 USING "W";Cs_hier(*) 280 !
290 !Link the commander/servant hierarchy table to the appropriate algorithm. 300 OUTPUT @E1406;"VXI:CONF:CTAB ";A 310 !
320 !Restart the system instrum ent to set the user-defined configuration. 330 OUTPUT @E1406;"DIAG:BOOT" 340 END
42 Configuring the HP E1406A Command Module Chapter 2
Comments The following errors are associated with the commander/servant
hierarchy table:
ERROR 12: INVALID UDEF COMMANDER LADD
This error occurs when the user-defined commander logical address specified in the table (Cmdr Laddr) is not a valid commander. Either the commander does not exis t, or it is not a message-based device.
ERROR 14: INVALID UDEF SECONDARY ADDRESS
This error occurs when the user-defined secondary address (Sec Addr) is invalid in the commander/servant hierarchy table. Valid secondary addresses are -1, 1 - 30. The error also occurs if the device to which the secondary address is assigned is outside the servant area of the command module.
ERROR 15: DUPLICATE SECONDARY ADDRESS
This error occurs when the same se condary address is spe cified for more than one module in the commander/servant hierarchy table.
ERROR 18: INVALID COMMANDER LAD D
This error occurs when the commander specified in the user-defined commander/servant hierarchy table is not a valid message-based commander, or the device does not exist.
ERROR 37: INVALID UDEF CNFG TABLE
This error occurs when the user-defined commander/servant hierarchy table is not true (valid flag does not equal 1).
ERROR 38: INVALID UDEF CNFG TABLE DATA
This error occurs when there are 0 or greater than 254 entries in the user-defined commander/servant hierarchy table.
The secondary HP-IB addresses (and /or comm and ers) assigned by
the commander/servant hierarchy table are used by the system until
DIAGnostic: BO OT: CO L D or VXI:CONFigure:CTABle 0 is executed.
Chapter 2 Configuring the HP E1406A Command Module 43
A24/A32 Address Mapping
During the configuration sequence, the resource manager reads each VXIbus device’s ID Register to determine if the device requires a block of A24 or A32 addresses. Figure 2-2 shows the address mapping concept.
A24/A32 Address
Allocation
Figure 2-2. A24/A32 Address Map ping Co ncept
The resource manager allocates A24 and A32 addresses as follows:
The top and bottom 2 MB of A24 addresses are used by the
command module for its own RAM and ROM .
VXIbus modules are allocated addresses from the bottom of the
address space up.
The order of address allocation is based on the number of addresses
required (memory size) and the logical address. Modules with the largest amount of memory are allocated addresses first. Modules with the same amount of memory are allocated addresses beginning with the lowest logical address.
The top 2 MB of A24 addresses (used internally by the command
module RAM) can be allocated. However, the command module cannot access those addresses on th e other device.
An address allocation table can be used to reserve blocks of
A24/A32 addresses for VMEbus devices. This table is also used to assign addresses other than the default addresses assigned by the resource manager.
44 Configuring the HP E1406A Command Module Chapter 2
A24 address space is 16 MB and A32 address space is 4 GB. The
command module does no t have A32 address lines and cannot access A32 address space. However, it will allocate A32 address space for devices which can access it. A32 memory allocation is similar to A24 memory allocation.
Allocating Address
Space for VMEbu s
Devices
A32 address space is 00000000
through FFFFFFFF16.
16
The resource manager (command module) has no way to determine when VMEbus devices have been installed in the system. As a result, the resource manager allocates addresses to VXIbus A24/A32 devices rather than to VMEbus devic es.
There are two ways to prevent addresses intend ed for a VMEbus device from being assigned to VXIbus devices. The first method is described below. The second method uses an address allocation table to "reserve" a block of addresses. The table u sed fo r this is described in the s ection “Reserving A24/A32 Address Space” beginning on page 48.
Allocating Address Space for VMEbus Devices: Method 1
1. Configure and install all modules (except VMEbus devic es) in the HP 75000 Series C Mainframe. This process is described in the C-Size VXIbus Systems Configurat ion Guide.
2. Turn on the mainframe and note section 6 of the resource manager’s configuration sequence (Figure 2-3).
Given the starting (offset) A24 addresses assigned to the devices and the size of each device’s memory (converted to hexadecimal), the A24 addresses not allocated can be det erm ined. For example, in Figure 2-3, the highest offset is 240000
with a size of 20000
16
16
(131,072 bytes converted to hexadecim al). Thus , for this system, A24 addresses from 260000
to DFFFFF16 are available to VMEbus
16
devices.
Note In systems that include VXI-MXI extenders you shoul d use a table to tell
the resource manager where your A24/A32 VMEbus memory is located. The resource manager cannot find VMEbus memory without this table.
Chapter 2 Configuring the HP E1406A Command Module 45
Sequenc e
Display Explanation
1 Testing ROM
Testing 512 KB RAM
Passed Testing CPU
CPU Self Test Passed
Non-volat ile Ram Cont en ts Lost HP-IB a ddress: 09
Talk/List en command modu le ladd = 0 command modu le servant are a = 255
2 Command Module VMEbus timeout -- ENABLED The resource manager identifies the status
3 Searching for static devices in mainf rame 0
SC device at ladd 0 in slot 0 SC device at ladd 8 in slot ? SC device in ladd 16 in slot 8
Searching for dynamic dev ic es in main fram e 0
DC device in slot 3 moved to ladd 24, block size = 1
4 Searching for pseudo devices Pseudo devices are instruments su ch as
5 Configuring Commander/ Serv ant hierarch y
ladd = 0, cmdr ladd = -1 ladd = 8, cmdr ladd = 0 ladd = 16, cmdr ladd = 0 ladd = 24, cmdr ladd = 0 ladd = 32, cmdr ladd = 24 ladd = 64, cmdr ladd = 24
Validating Commander/Servant hierarch y
Commander ladd 24 grant ed de vice ladd 32 Commander ladd 24 grant ed de vice ladd 64
6 Mapping A24 Memory
ladd 0, offset = 00200000H, size = 131,072 (bytes) ladd 24, offset = 00220000H, size = 131,0 72 (byt es) ladd 64, offset = 00240000H, size = 131,0 72 (byt es)
Mapping A32 memory in mainframe 0
7 Configuring VME interrupts
VME interrupt line 1 assigned to ladd 0, handler ID 1 VME interrupt l ine 2 assigned t o ladd 24, han dler ID 1 VME interrupt l ine 3 assigned t o ladd 64, han dler ID 1 VME interrupt line 4 - no handler assigned VME interrupt line 5 - no handler assigned VME interrupt line 6 - no handler assigned VME interrupt line 7 - no handler assigned
8 SYSTEM INSTALLED AT SECONDARY ADDR 0
VOLTMTR INSTALLED AT SECONDARY ADDR 1 SWITCH INSTALLED AT SECONDARY ADDR 2 MBinstr INSTALLED AT SECONDARY ADDR 3 SYSTEM instrument started BNO issued to ladd 24, BNO respon se = FFF E Opening HP-IB access for messa ge-base d device at sec addr 03
The HP E1406A operating sys te m performs a series of self-t est s and cle ars its volati le RAM. The command module’s HP-I B address, logical address, and servant area (based on the sw itch set ting s) are repor te d.
of the command module VM Ebus timeout. This must be ENABLED for systems without VXIbus extenders (HP E1406A Com ma nd Module HP-IB switch #5 = 0).
The resource man ager ident ifies all statically configured modules, and then locates and configur es all dynamica lly configurable modu les.
IBASIC. The resource manager establishes the
VXIbus syste m’s co mman der /s erv ant hierarchies based on the com mand er’s servant area and the servant ’s logical address.
The resource man ager allo cates A2 4 addresses to acce ss the m em ory locat ed on the modules at logical addresses 0, 24, and
64. The offset is specified in hexa decim a l and the size is specified in bytes. In this system, there are no A32 device s.
The resource man ager allo cates int er rup t lines to itself and to t he other in terr upt handlers in the system.
The resource man ager ident ifies the secondary HP-IB ad d res ses us ed in the system, start s t he sy st em instr um ent (i. e. , command modu le), issues the Begin Norm al Operatio n (BNO ) com ma nd to its dir ect message based ser vant , and op ens HP - IB access to the module at secondar y HP-I B address 03.
Figure 2-3. Resource Manag er Configu rati on Witho ut Extend ers
46 Configuring the HP E1406A Command Module Chapter 2
Sequenc e
Display Explanatio n
1 Testing ROM
Testing 512 KB RAM
Passed
Testing CPU CPU Self Test Passed
Non-volatile Ram Contents Lost HP-IB address: 09
Talk/Listen command module ladd = 0 command module servant area = 255
2 Command Module VMEbus timeout -- DISABLED The re s o ur c e m an a ge r i d en t if ies t h e s t a tu s o f t h e
3 Searching for static devices in mainframe 0
SC device at ladd 0 in slot 0 SC device at ladd 8 in slot ? SC device in ladd 16 in slot 8 SC device at ladd 127 in slot 5 -- VXI bus extender
Searching for static devices on interconnect bus 127
SC device at ladd 128 in slot 0 -- VXI bus extender
Searching for static devices in mainframe 128
SC device at ladd 144 in slot 7
Searching for dynamic devices in mainframe 128
DC device in slot 3 moved to ladd 136, block size = 1 VXIbus extender 128 Ladd window range: 128 to 159, INWARD VXIbus extender 127 Ladd window range: 128 to 159, OUTWARD Searching for dynamic devices in mainframe 0
DC device in slot 3 moved to ladd 24, block size = 1
4 Searching for pseudo devices Pseudo devices are instruments such as IBASIC. 5 Configuring Commander/Servant hierarchy
ladd = 0, cmdr ladd = -1
ladd = 8, cmdr ladd = 0
ladd = 16, cmdr ladd = 0
ladd = 24, cmdr ladd = 0
ladd = 136, cmdr ladd = 0
ladd = 144, cmdr ladd = 0 Validating Commander/Servant hierarchy
Commander ladd 24 granted device ladd 32
Commander ladd 24 granted device ladd 64
6 Mapping A24 Memory
Searching for A24 memory in mainframe 128 VXIbus extender 128 A24 windo w range: 00000000 to 00FFFFFF, OUTWARD VXIbus extende r 127 A24 window range : 000000 00 to 00FFF FFF, INWARD Searching for A24 memory in mainframe 0
ladd 0, offset = 00200000H, size = 131,072 (bytes) Mapping A32 memory Searching for A32 memory in mainframe 128 VXIbus extende r 128 A32 window range : 000000 00 to FFFFFFF F, OUTWA RD VXIbus extender 127 A32 window range: 00000000 to FFFFFFFF, INWARD Searching for A32 memory in mainframe 0
7 Configuring VME interrupts
VME interrupt l ine 1 assigned to ladd 0, handler ID 1
VME interrupt l ine 2 assigned to ladd 24, handler ID 1
VME interrupt l ine 3 assigned to ladd 64, handler ID 1
VME interrupt line 4 - no handler assigned
VME interrupt line 5 - no handler assigned
VME interrupt line 6 - no handler assigned
VME interrupt line 7 - no handler assigned VXIbus extender 128 interrupts: 1-OUT 2-DIS 3-DIS 4-DIS 5- DIS 6-DIS 7-DIS VXIbus extender 128 interrupts: 1-IN 2-DIS 3-DIS 4-DIS 5- DIS 6-DIS 7-D IS
8 SYSTEM INSTALLED AT SECONDARY ADDR 0
VOLTMTR INSTALLED AT SECONDARY ADDR 1 SWITCH INSTALLED AT SECONDARY ADDR 2 MBinstr INSTALLED AT SECONDARY ADDR 3 SYSTEM instrume nt started BNO issued to ladd 24, BNO response = FFFE Opening HP-IB access for message based device at sec addr 03
The HP E1406A operating system performs a series of self-tests and clears its volatile RAM. The command m od ule’s HP-IB address, logical address, and servant area (based on the switch settings) are reported.
command module VMEbus timeout. This must be DISABLED for systems without VXIbus extenders (HP E1406A Command Module HP-IB switch #5 = 0).
The resource manager identifies all statically configure d modu le s, and then locate s an d configures all dynami cally configura ble mod ules.
The resource manager establishes the VXIbus system’s commander/servant hierarchies based on the commander’s servant area and the servant’s logical address.
The resource manager allocates A24 addresses to access the memory l ocate d on the modu les at logical addresses 0, 24, and 64. The offset is specified in hexadecimal and the size is specified in bytes. In this system, there are no A32 devices.
The resource manag er all ocate s interru pt lin es to itself and to the other interrupt handlers in the system.
The resource manager identifies the secondary HP-IB addresses used in the system, starts the system instrume nt (i.e., comm a nd mod ule), issue s the Begin Normal Operation (BNO) command to its direct message based servant, and opens HP-IB access to the module at secondary HP-IB address
03.
Figure 2-4. Resource Manager Con figurati on With Exten ders
Chapter 2 Configuring the HP E1406A Command Module 47
Reservin g A24/A3 2
Address Space
As previously mention ed , the resource manager cannot determine when VME devices have been installed in the system. To prevent the resource manager from allocating A24/A32 addresses intended for VME devices to VXIbus devices, the address allocation table is used. The A24/A32 address allocation table is also used to assign different addresses to VXIbus devices other than those (default) addresses assigned by the resource manager during power-on.
The A24/A32 Address
Allocation Table
The A24/A32 address allocation table is created and stored in the command module as follows:
1. Table space in the command module’s non-volatile user RAM is made available by allocating a segment of RAM with the command:
DIAGnostic:NRAM:CREate <size>
2. Reset the command module. NRAM is created during th e bo ot-up process:
DIAGnostic: BOOT:WARM
3. The location (starting address) of the table in RAM is determined with the command:
DIAGnostic:NRAM:ADDRess?
4. Data is downloaded into the table with the command:
DIAGnostic:DOW Nload <address >, <data>
5. The table is linked to the appropriate algorithm in the command module processor with the command:
VXI:CONFigure:MT ABle <address >
Table Fo rm at The format of the A24/A32 address allo cation tabl e is shown in Table 2-6.
Table 2-6. A24/A32 Address Allocation Table Format
Memory Record
Table Format
Valid Flag/
Number of Records Address Record #1 Frame ID Addr space Address Recor d #2 Base addr
Memory size
Address Record N
Format
Laddr
48 Configuring the HP E1406A Command Module Chapter 2
The table parameters are:
Valid Flag (0/1) 1 (one) indicates the table is valid and the
addresses reserved accordingly. 0 (zero) will cause an error message (Error 43). Valid Flag is part of the table header and is represented by the upper eight bits of the header word.
Number of Records is the number of address records in the table.
You must have one record for each VMEbus or VXIbus device for which memory is reserved. Number of Records is part of the table header and is represented by the lower eight bits of the header word.
Laddr is the logi cal address of the VXIbus dev ic e for which
A24/A32 addresses are reserved. -1 specifies a VMEbus device. Field is one word.
Addr space (24|32) is the address space being reserved.
24 specifies A24 addresses are being reserved. 32 specifies A32 addresses are being reserved. Field is one word.
Frame ID (0-255) is the logical address of the slot 0 device for the
mainframe containing the VMEbus m emory blo ck (8-bit byte). This field must be included.
Base addr (0 to 2
of the A24 or A32 addresses to be reserved. Field is two words (4 bytes) and is specified in decimal.
Memory size (1 to 2
which addresses must be reserved. This field must be specified but is ignored if a VXIbus A24/A32 device is specified (Laddr). Field is two words (4 bytes) and is specified in decimal.
24
-1/ 0 to 232-1) is the starting address (offset)
24
-1/ 1 to 232-1) is the amount of memory for
Determinin g the
Table Size
The A24/A32 address allocation table has a one word header, the first two entries in the address record are one word each, and the second two entries are two words each. The amount of RAM allocated with
DIAGnostic:NRAM :CREat e is specified in bytes. Since one word is two
bytes, the amount of RAM to allocate is computed as:
2 + 12(N)
where 2 is the two byte header, 12 is the number of bytes per address record (2+2+4+4), and A24 addresses for two VMEbus devices, the table size would be: 2 + 12(2) = 26 bytes.
OUTPUT @E1406;"DIAG:NRAM:CRE 26"
N is the number of address records. For example, to reserve
DIAGnostic:NRAM :CRE ate would be executed as:
Chapter 2 Configuring the HP E1406A Command Module 49
Data Format Data can be sent to the A24/A32 address allocation table in any convenient
format, as long as the binary data is preserved. This can be accomplished
DIAGnostic: PEE K? and DIAGnostic:POKE, by r eading the data into a
using variable in the computer and then downloading the data to the table using the Arbitrary Block Program Data format, and so forth. In the next example, this is accomplished by r eading th e data into 16-bit integer variables in the computer and then downloading the data to the table using the ANSI/IEEE 488.2-1987 Arbit rary Block Program Data format. More information on the Arbitrary Block Prog ram format can be found on page 121 of this manual and in the ANSI/IEEE 488.2-19 87 document.
The Table Header The table header is sent as a single 16-bit word which must contain the
Valid Flag and the number of address records. For a valid table, the header is 256 plus the number of records. For example, to indicate a
valid table with two records, the header is 258 (256 + 2).
CAUTION When downloading data into the A24/A32 address allocation
table, DIAGnostic:DOWNload does not determine if the table is large enough to store the data. If the amount of data sent by
DIAGnostic:DOWNload is greater than the (tabl e) space allocated
by DIAGnostic:NRAM:CREate, system errors will occur. You can recover from these errors by executing DIAGnostic:BOOT:COLD or by pressing the "Ctrl-R" keys on an RS-232 terminal while cycling mainframe power.
50 Configuring the HP E1406A Command Module Chapter 2
Example: Reserving
A24 Addresses for
a VMEbus Device
The following program reserves a block of A24 addresses for a VMEbus device. The program assumes the device has been configured with a starting A24 address of 300000
and a size of 8000016.
16
Again, this procedure is used when you want to reserve a specific block of A24/A32 addresses for a VMEbus device, or when you want to assig n addresses to a VXIbus device that are different from those assigned by the resource manager.
10 !Assign I/O path and allocate variable to store A24/A32 memory 20 !allocation data to be downloaded to the command module.
30 ASSIGN @E1406 TO 70900;EOL CHR$(10) END 40 INTEGER Mem_alloc(1:7) 50 !
60 !Allocate a segment of non-volatile user RAM on the command 70 !module to store the A24/A32 memory allocation table.
80 OUTPUT @E1406;"DIAG:NRAM:CRE 14" 90 !
100 !Restart the system instrum ent to allocat e the user RAM. Wait for the 110 !restart to complete before continuing.
120 OUTPUT @E1406;"DIAG:BOOT:WARM" 130 ON TIMEOUT 7,.1 GOTO Complete 140 Complete: B=SPOLL(70900) 150 OFF TIME OUT 7 160 !
170 !Return the starting address of the table in non-volatile user RAM. 180 OUTPUT @E1406;"DIAG:NRAM:ADDR?" 190 ENTER @E1406;A 200 !
210 !Download the following: the table is valid, there is one memory 220 !record: logical address is -1 (VME card), A24 address space (24) 230 !base address is 300000h (48,0), and memory size is 80000h (8,0). 240 !See Comments.
250 DATA 257,-1,24,48,0,8,0 260 READ Mem_alloc(*) 270 OUTPUT @E1406 USING "#,3(K)";"DIAG:DO W N ";A;" ,#0" 280 OUTPUT @E1406 USING "W";Mem_alloc(*) 290 !
300 !Link the A24/A32 memory allocation table to the appropriate algorithm. 310 OUTPUT @E1406;"VXI:CONF:MTAB ";A 320 !
330 !Restart the system instrum ent to set the user-defined configuration. 340 OUTPUT @E1406;"DIAG:BOOT:WARM" 350 END
Chapter 2 Configuring the HP E1406A Command Module 51
Comments To download the base address and memory size (line 270) they must
each be specified as two 16-bit words (line 250). This can be accomplished as follows:
Memory Size: 30000016 = 0030 0000
1st word 2nd word
48
10
Memory Size: 8000016 = 0008 0000
1st word 2nd word
8
10
0
10
0
10
The following errors are associated with the A24/A32 address
allocation table:
ERROR 8: INACCESSIBLE A24 MEMOR Y
This error occurs when all or part of an A24 device overlaps the top 2 MB or bottom 2 MB of the A24 address space. This space becomes inaccessible to the command module.
ERROR 32: INACCESSIBLE A32 MEMORY
This error occurs when all or part of an A32 device overlaps the top 500 MB or bottom 500 MB of the A32 address space.
ERROR 33: INVALID UDEF MEMORY BLO CK
This error occurs when an invalid base address is specified, or when the size of the memory exceeds the A24 or A32 address space (given the base address specified).
ERROR 34: UDEF MEMORY BLOCK UNAVAILAB LE
This error occurs when the memory block specified in the A24/A32 address allocation table has already been assigned. Also, in a system with VXI-MXI extenders, A24/A32 window restrictions may force some addresses to be unavailable on a given VMEbus.
ERROR 35: INVALID UDEF ADDRESS SPACE
This error occurs when the address space (Addr space) specified in the table is A24 and an A32 device is installed, or vice versa.
ERROR 36: DUPLICATE UDEF MEMORY LA DD
This error occurs when a logical address is specified more than once in the same A24/A32 address allocation table. This does not apply to VMEbus devices (address = -1).
ERROR 43: INVALID UDEF MEM TABLE
This error occurs when the user-defined A24/A32 address allocation table is not true (valid flag does not equal 1).
52 Configuring the HP E1406A Command Module Chapter 2
ERROR 44: INVALID UDEF MEM TABLE DATA
The A24/A32 addresses reserved by the A24/A32 address allocation
table are reserved within the system un til or VXI:CONFigure:MTABle 0 is executed.
Interrupt Line Allocation
In a VXIbus system, communication and coordination betw een a commander module and its servant module(s) is often achieved using the VXIbus backplane inte rrupt lines. During the configuration sequen ce, the resource manager assigns interrupt lines to programmable interrupt handler modules and inte rrupte r modules .
Both commanders and servants can be interrupt handlers and/or interrupters. The command module which is a programmable interrupt handler, is not an interrupter. Thus, in systems where the command module is a servant to another commander, it communicates with th e commander throug h its Response and Data Low Registers (see the VXIbus System Specification).
This error occurs when an invalid logical address is specified in the A24/A32 address allocation table.
DIAGnostic:BOO T:CO LD
The assignment and use of the interrupt lines is described in Figure 2-5 and with the information which follows.
Figure 2-5. Example of Interrupt Lin e Allocati on
Chapter 2 Configuring the HP E1406A Command Module 53
Note the following regarding interrupt line allocation:
There are seven VXIbus backplane interrupt lines. As the resource
manager, the HP E1406A Command Module assigns itself interrupt line 1 (default). Additional interrupt lines (up to all seven) can be assigned to the command module using the interrupt line allocation table. Interrupt lines no t as sign ed to p rog ram mab le h and ler s r ema in un a ssig ned .
Many Hewlett-Packard modules have interrupt line 1 as their factory
setting. Thus, they are available for immediate use with the HP E1406A Comman d Module.
Commander modules which are programmable int errupt handlers are
assigned interrupt lines 2, 3, 4,...7 ; beginning wit h the comm an der with the lowest logical address. Only one interrupt line is assigned per interrupt handler.
Servant modules which are programmable interrupt handlers are also
assigned interrupt lines, beginning with the se rvant with the lowe st logical address. Only one interrupt line is a ssigned per inte rrupt handler.
Servant modules which are programmable interrupters are assigned
the same interrupt line assigned to their command er.
For modules which are not programmable, the interrupt line is
selected using jumpers on the modules. The interrupt line allocatio n table is used to tell the command module which line was selected.
User -Defined
Interrupt Line
Allocat ion Ta ble
The Interrupt Line
Allocation Table
The interrupt line allocation table allows you to assign addi tion al interrupt lines to a specific handler, reserve interrupt lines for non-programmable interrupt handlers and interrupters, and assign lines to VMEbus devices.
User-defined interrupt line allocations are specified with an interrupt line table created in the command module. The table is created as follows:
1. Table space in the command module’s non-volatile user RAM is made available by allocating a segment of RAM with the command:
DIAGnostic:NRAM:CREate <size>
2. Reset the com m and mo du le. NRAM is created during the boot-up process:
DIAGnostic:BOOT:WARM
3. The location (starting address) of the table in RAM is determined with the command:
DIAGnostic:NRAM:ADDRess?
4. Data is downloaded into the table with the command:
DIAGnostic:DOW Nload <address >, <data>
5. The table is linked to the appropriate algorithm in the command module processor with the command:
VXI:CONFigure:IT ABle <a ddress >
54 Configuring the HP E1406A Command Module Chapter 2
Table Fo rm at The format of the interrupt line table is shown in Table 2-7.
Table 2-7. Interrupt Line Allocation Table Format
Table Format Data Record Format
Valid Flag/
Number of Records
Data Record #1 Handler Laddr Data Record #2 Number of Interrupters
Intr #1 Laddr
I ntr #2 Laddr
Data Record #7 Intr M Laddr
The table parameters are:
Valid Flag (1/0) 1 (one) indicates the table is valid and the modules
should be configured ac cordingl y. 0 (zero) will cause an error message (Error 41). Valid Flag is part of the table header and is represented by the upper eight bits of the header word.
Number of Records (1 - 7) is the number of data records in the
table. A data record is required for each interrupt line assign ed. Number of Records is part of the table header and is represented by the lower eight bits of the header word.
Intr Line
Intr Line (1 - 7) is the interrupt line to be assigned to the
programmable interrupt handler or interrupter, or the line reserved for a non-programmable interrupter/handler or VMEbus devic e. Field is one word.
Handler La dd r is the logical ad dr ess of the p rog rammable handler
which will handle interrupts on the line specified by Intr Line. If -1 is specified, the line is reserved and no handler is assigned. The field is one word.
Number of Interrupters is the number of programmable
interrupters on the interrupt line specified by Intr Line. If 0 is specified, there are no programmable interrupters. This reserves the line for a non-programmable interrupter. The field is one word.
Intr Laddr is the logical address o f the prog rammable interrupter
on the interrupt line specified. The logical address of each programmable interrupter on the line must be specified. Programmable interrupters can be assigned to interrupt lines with no handler. This allows a programmable interrupter to have a non-programmable interrupt handler handle its interrupts. If Number of Interrupters is 0, Intr Laddr is not specified.
Chapter 2 Configuring the HP E1406A Command Module 55
Determinin g the
Table Size
The interrupt line allocation table has a one word header and each data record contains three words, plus one word for each programmable interrupter logical address specified. The amount of RAM allocated with
DIAGnostic:NRAM :CREat e is specified in bytes. Since one word is two
bytes, the amount of RAM to allocate is computed as:
N
2 + 6(N) + 2
M
0
where 2 is the two byte h e ader, 6 is the numbe r of bytes/data record, N is the number of data records (for example, interrupt lines) and
M is the
number of programmable interrupters per data record. For example, to create a table for the following:
one interrupt handlertwo interrupt linesone interrupter on one line, three interrupters on second line
the table size would be:
2 + 6(2) + 2(4) = 22 bytes | | (2 records) (4 interrupters)
DIAGnostic:NRAM :CREat e
OUTPUT @E1406;"DIAG:NRAM:CRE 22"
would be executed as:
Note When assigning an addit ional in t errupt line to an interrupt handler, yo u
must specify each line. Otherwise, the table will overwrite the line currently assigned, giving the handler only on e line. For example, if the resource manager assigns interrupt line 2 to a handler and you want to also assign line 3 to the handler, lines 2 and 3 must be specified in the table. See “Example: Assigning an Interrupt Line” on page 57.
Data Format Data can be sent to the interrupt line allocation table in any convenient
format, as long as the binary data is preserved. This can be accomplished
DIAGnostic: PEE K? and DIAGnostic:POKE, by r eading the data into a
using variable in the computer and then downloading the data to the table using the Arbitrary Block Program Data format, and so forth. In the following example, this is accompli shed by re ading th e data into 16 bit integer variables in the computer and then downloading the data to the table using the ANSI/IEEE 488.2-1987 Arbit rary Block Program Data format. More information on the Arbitrary Block Prog ram format can be found on page 121 of this manual and in the ANSI/IEEE 488.2-19 87 document.
56 Configuring the HP E1406A Command Module Chapter 2
The table header is sent as a single 16-bit word which must contain the Valid Flag and the number of data records. For a valid table, the h eader is 256 plus the number of data records. For example, to indicate a valid table with one data record, the header is 257 (256 + 1 = 257).
CAUTION When downloading data into the interrupt line allocati on table,
DIAGnostic:DOWNload does not determine if the table is large
enough to store the data. If the amount of data sent by
DIAGnostic:DOWNload is greater than the (tabl e) space allocated
by DIAGnostic:NRAM:CREate, system errors will occur. You can recover from these errors by executing DIAGnostic:BOOT:COLD, or by pressing the "Ctrl-R" keys on an RS-232 terminal while cycling mainframe power.
Example: Assigning
an Interrupt Line
The following example shows how an addit ional in t errupt line is assigned to a programmable interrupt handler and reserved for a non-programmable interrupter (Figure 2-6).
Figure 2-6. Assigning an Additional Interrup t Line
The program assumes that a VXIbus system contains an HP E1411B 51⁄2-Digit Multimeter that is a servant to a se cond HP E1406A Command Module at logical address 64. Since the command module is the only other commander and is a programmable interrupt handler, it is assigned interrupt line 2 by the resource manager. The HP E1411B, however, ha s its interrupt jumper set for line 3. For the multimeter to com municate w ith the c omma nd module, the command module must also be assigned to handle interrupt line 3.
Chapter 2 Configuring the HP E1406A Command Module 57
10 !Assign an I/O path and allocate a variable to store interrupt line 20 !data to be downloaded to the command module.
30 ASSIGN @E1406 TO 70900;EOL CHR$(10) END 40 INTEGER Intr_line(1:7) 50 !
60 !Allocate a segment of non-volatile user RAM on the command module 70 !to store the interrupt line table (2 data records, no interrupters).
80 OUTPUT @E1406;"DIAG:NRAM:CRE 14" 90 !
100 !Restart the system instrum ent to define the user RAM . Wait for the 110 !restart to complete before continuing.
120 OUTPUT @E1406;"DIAG:BOOT" 130 ON TIMEOUT 7,.1 GOTO Complete 140 Complete: B=SPOLL(70900) 150 OFF TIME OUT 7 160 !
170 !Return the starting address of the non-volatile user RAM. 180 OUTPUT @E1406;"DIAG:NRAM:ADDR?" 190 ENTER @E1406;A 200 !
210 !Download the following: the table is valid - there are two data records. 220 !Interrupt line 3 (and line 2) is assigned to the handler at logical address 64. 230 !There are no programmable interrupters on either line.
240 DATA 258,2,64,0 250 DATA 3,64,0 260 READ Intr_line(*) 270 OUTPUT @E1406 USING "#,3(K)";"DIAG:DO W N ";A;" ,#0" 280 OUTPUT @E1406 USING "W";Intr_line(*) 290 !
300 !Link the interrupt line table to the appropriate algorithm. 310 OUTPUT @E1406;"VXI:CONF:ITAB ";A 320 !
330 !Restart the system instrum ent to set the user-defined configuration. 340 OUTPUT @E1406;"DIAG:BOOT" 350 END
Comments Although interrupt line 2 was assigned to the comman d mod ule at
logical address 64 by the resource manager, the line must be "re-assigned" when line 3 is assigned. Otherwise, line 3 will be assigned in place of line 2.
The interrupt lines assigned by the interrupt line table are used by the
system until
DIAGnostic: BOO T:CO L D is ex ec u t ed.
When using multipl e command m odul es, HP -IB cables must be
connected from the slot 0 command module, to each command module in the system.
58 Configuring the HP E1406A Command Module Chapter 2
In this program, the command modul e at logic al address 64 has a
primary HP-IB address of 08. It has a servant pointer setting of 32, thus its servant area is from logical addr ess 65 to logical ad d ress 96. If the HP E1411B multimet er has a logical address of 80, its secondary HP-IB address is 10. Thus, when programming thi s multimeter, its HP-IB address is:
OUTPUT 70810;"....
When programming this command m odul e, its HP-IB address is:
OUTPUT 70800;"...
The following errors are associated with the Interrupt Line
Allocation table:
ERROR 24: INTERRUPT L INE UNAVAIL ABL E
This error occurs when an interrupt line assigned by the user-defined interrupt line allocation table is not available. Either the line has already been assigned or has been reserved. This error also occurs if the line being assigned to an interrupter is not handled by the interrupter’s commander.
ERROR 25: INVALID UDEF HANDLER
This error occurs when the logical address specified in the user-defined interrupt line allocation table for the interrupt handler (Handler Laddr) is a device that is not a valid interrupt handler.
ERROR 26: INVALID UDEF INTE RRUPTE R
This error occurs when the logical address specified in the user-defined interrupt line allocation table for the interrupter (Intr # Laddr) is a device that is not a valid interrupter.
ERROR 41: INVALID UDEF INTR TABLE
This error occurs when the user-defined interrupt line allocation table is not true (valid flag does not equal 1).
ERROR 42: INVALID UDEF INTR TABL E DATA
This error occurs when the user-defined interrupt line allocation table has invalid data; the number of records and/or the int errupt line specified is less than 1 or greater than 7, or there is an invalid interrupt handler and/or interrupter logi cal address (valid addresses are 0 to 255).
The interrupts assigned by the interrupt line allocation ta ble are used by
the system until is executed.
DIAGnostic:BOOT:COLD or VXI:CONFigure:ITABle 0
Chapter 2 Configuring the HP E1406A Command Module 59
Starting System Operation
The resource manager completes the configuration sequence by issuing the "Begin Normal Operation" (BNO) comma nd to all top level comm and ers and to each of its direct message based servants. BNO is not sent to register based modules. The module receiving BNO responds by writing its status to the Data Low Register which is read by the resource manager. More information on BNO and on the Data Low Register can be found in the VXIbus System Specification.
If the command module is in a system where it is not the resource manager, it sends BNO to each of its message based servants once it receives BNO from its commander.
VXI SYSFAIL* Line
One of the signals on the VXI backplane is SYSFAIL*. This signal is intended to indicate that some VXI module in the system ha s f ailed. During power-on or rebooting the HP E1406A, VXI modules may briefly generate the SYSFAIL* signal. VXI modules that fail to operate may c ontinue to ge nerate SYSFAIL* after the power-on period as an indication of the f ailure. Similarly, modules that fail during operation of the system ma y a lso generate SYSFAIL* when the failure occurs.
If the HP E1406A Command Module detects the SYSFAIL* after the power-on period, it will automatically reboot. When this occurs, the command module will not enable communicatio n with any of the VXI modules in the system. This is because the HP E1406A cannot determine which VXI module has failed. Also, if IBASIC is installed, it will be disabled. Only the System instrument will be enabled. This behavior is intended to guarantee that you will recognize that a failure has occurred. If this situation occurs, the Error +2129, "Warning, Sysfail detected".
To restore normal operation of the HP E1406A Comm and Mo dule, you must determine which VXI module has failed an d remove it from the system. After removing the failed module and cycling power on you r VXI mainframe, your HP E1406A Comm and Mod ule will work no rmally.
SYSTem:ERRor? query will return the
60 Configuring the HP E1406A Command Module Chapter 2
Using the Display Terminal Interface
About This Chapter
This chapter shows you how to use the HP E1406A Command Mod ule’s disp lay te rminal in terface to operate instruments in a C-Size mainframe when the Flash ROMS Run/Load swi tch is set to its "Run" position . The instruments (incl udin g the System instrum ent) are disabled when the Flash ROMS Run/Load switch is in the "Load" posit ion.
In this position, a special Loader ins trument is presen t, and will let you download drivers or a new operating system to Flash ROM. The terminal interface uses the built-in RS-23 2 port and/or the optional HP E1324 A RS-232C/422 Terminal Interface for Command Modules to provide a front panel for C-size VXIbus systems.
Chapter 3
The main sections of this chapter include:
Terminal Interface Features. . . . . . . . . . . . . . . . . . . . . . . . . . Page 62
Using Display Terminal Menus. . . . . . . . . . . . . . . . . . . . . . . Page 62
Executing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 76
General Key Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 77
Using Supported Terminals. . . . . . . . . . . . . . . . . . . . . . . . . . Page 79
Using Other Terminals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 82
In Case of Difficulty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 86
System Instrument/ Swit chbox M en us. . . . . . . . . . . . . . . . . . Page 87
Note This chapter discusses usi ng the display termi nal interface. It assumes you
have already connected your terminal and configured it to communicate with the command modul e. For information on conne cting and config uring your terminal, see the C-Size VXIbus Systems Configu rati on Guid e.
Chapter 3 Using the Display Terminal Interface 61
Terminal Interface Features
Figure 3-1 shows a typical terminal interface display with its function label s across the bottom of the screen. The first five function keys ( f1 through f5) select instrument men u choices. Function keys f6 through f8 provide menu control and access to utility functions. The tutorials in this chap te r show how to use most of the menu control and ut ility function keys. See “General Key Descriptions” on page 77 for a complete description of each of these key functions.
Instrument Label
Text Out put Area
Command Entry Line Prompt Line
Input Line
Notes: 1. Example screens are from HP AdvanceLink terminal emula tor.
2. Later screen examples are shown com presse d (only 4 lines high) and may show only part of the screen width.
Figure 3-1. Typical Terminal Interface Disp lay
Using Display Terminal Menus
A System instrument menu and a variety of othe r instrumen t menus (depending on the instruments in the command module servant area) are available from the terminal interface. These menus incorporate the most used functions but do not provide a ccess to the complete functio nality of an instrument. If a particular function is not available from a menu, you can type the corresponding common command or SCPI command string and execute it fr om the terminal interface. See “Executing Commands” on page 76 for more information.
62 Using the Display Terminal Interface Chapter 3
When you select an instrument, you are assigning th e terminal interface to that instrument. This means that any menu operations, commands executed or recalled, errors displayed, and so forth pertain only to that instrument. Terminal int erface operation of an instrument is indepen dent from oth er instruments and independent from the remote operation of the instrument . To operate another instrument from the terminal interface, you must select that instrumen t.
How In struments
Appear in the Men u
Note Message-based instrument s, which do not appear in instrument menus, can
Multiple Command
Module s
Instruments in the terminal int erface menu are register-based devices which are in the servant area of the command module. Message-based devices,
or register-based devices outsid e the command module’s servan t area, do not appear in the menu.
be programmed using the SYSTEM instrument menu. See “Using the System Instrument Menu ” on page 65.
In systems with multiple comm and modules, the instruments in the menu depend on the command module whose RS-232 port is connected to the terminal. To change menus (command modules):
1. Move the RS-232 cable to the desired command module.
2. Press the "Ctrl-D" keys on an RS-232 terminal to guarantee that the display terminal interface is in control of the terminal.
3. Type:
ST (followed by Return) for auto-identi fi cation of the te rminal.
or
ST HP ( fo llowed by Return) for HP terminals - 700/94, 700/92, 26xx, 23xx
or
ST HP70043 (follow ed by Return) for the HP 700/43 terminal
or
ST VT100 (followed by Return) for VT100 emulat ors
or
ST VT220 (followed by Return) for VT220 emulat ors
or
ST WYSE30 (follow ed by Return) for WY-30 emulators
or
ST WYSE50 (follow ed by Return) for WY-50 emulators
This changes the menu to correspond to the instruments in the servant area of the new command module.
Chapter 3 Using the Display Terminal Interface 63
Display Terminal
Menu Tutorial
Note: Typical instruments are shown. Actual choices depen d on installed inst ru ment s.
Following the power-on sequence or a system reset, th e screen shows t he Select an instrument menu (see Figure 3-2). This menu allows you to select one of the instruments listed.
Figure 3-2. "Select an Instrumen t" Menu
Figure 3-2 shows the Select an Instrument menu when the Flash ROMS Run/Load switch on th e front of the HP E1406A Comm and Mod ule is set to "Run". If this switch is in the "Load" position , the SYSTEM instrument entry will be replaced by LOADER and the rest of the instruments will disappear from the menu.
The menu select and menu control function keys (usually labeled f1 - f8 on their key caps) are defined by eight function labels located ac ross the bottom of the terminal screen. Once you learn how these keys operate, using the menus is easy (key labels are shown in bold text in this chapte r):
To select a displayed menu choice, press the function key ( f1 - f5) which corresponds to the function key label.
When there are more than five menu choices, function key f6
becomes labeled MORE. Press MORE to display the next group of choices. By repeatedly pressing MORE you can display all groups of choices. After you have displayed all groups of choices, pressing MORE again returns to the first group of choices.
Whenever the screen is requesting information (input prompt) such as
Enter the d evice’s logi cal addr ess, just type the information and press Return (m ay be Ent er on a terminal emulator).
If you pressed the wrong menu key and do not want to enter the requested information, you can escape the input prompt and stay at the same menu level by pressing ESC or PRV_MENU.
If you make an incorrect entry in response to an input prompt, the bottom line of the Text Output Area will show an error message. When this happens, just select that menu choice again (f1 - f5 keys), re-type the correct information, and press Return.
Press PRV_MENU or ESC to return to the previous menu within an
instrument menu or escape from an input prompt. Press SEL_INST to return to the Select an Instrument menu (see next item). Note that when you leave an instrument and return later, you return to the same menu location you were at when you left. Any information below the Text Output Area will also be redisplay ed when you return.
64 Using the Display Terminal Interface Chapter 3
In addition to the instrument menu keys, CLR_ INST , RST_INST
and SEL_INST are helpful when operatin g instru ments . These and other utility keys are accessed by pressing the UTI LS key (see Figure 3-3). Refer to “General Key Descriptions” on page 77 for
information on the RCL_.... keys in this men u.
CLR_INST clears the instrument’s terminal interface input and
output buffers (remote buffers are not cleared) and returns to the top level of the instrument m en u. Press CLR_INST whenever an instrumen t is busy, is not responding to terminal in te rface control, or to abort a command bein g ente red from the terminal interface.
RST_INST clears all terminal interface and remote input and
output buffers and resets the instrument.
SEL_INST returns you to the Select an Instrument
menu. SEL_INST is the key under the UTILS key. You can easily return to the Select an Instrument menu by pressing f8 twice.
Figure 3-3. Accessing the Utility
Using the System
Ins trumen t Me n u
The System instrument menu allows you to:
Read the command module HP-IB addressDisplay logical address and instrument informationConfigure the RS-232 portProgram message-based devicesSet the system clock and calendarReset the system
The menus on the following pages demonstrate how to do each of the above.
Chapter 3 Using the Display Terminal Interface 65
Typical HP-IB add res s: +9 SCPI command used: SYST:COMM:GPIB:ADDR?
Figure 3-4. Reading the Comman d Mod ule HP-I B Add ress
66 Using the Display Terminal Interface Chapter 3
For information on a single instrument, enter its logical address and press RETURN. For info rmation on a ll instrument s, enter a single space and pr ess RETURN.
(in this case, 8 was enter ed)
Instrument nameLogical address of select ed dev ice
HP-IB secondary address
Note: See page 189 for a descriptio n of each field of instrum ent inform ation.
Figure 3-5. Displaying Logical Ad dresses an d System Instrumen t Informati on
Chapter 3 Using the Display Terminal Interface 67
Note: Configura tion of the HP E1406A RS-23 2 port is covere d in the C-Si ze VX Ibus Sy st ems Co nfigura ti on Guide .
Figure 3-6. Configuring the Comman d Modu le RS-232 Port
68 Using the Display Terminal Interface Chapter 3
SCPI command used: VXI:REC <logical_addre ss>
SCPI command used: VXI:SEND <
Figure 3-7. Programming Message-Based Devices
logical_address>, "<msg_string>"[ ,< en d_flag>]
Chapter 3 Using the Display Terminal Interface 69
SCPI command us ed: SYST:TIME <
hour>, <minute>,<second>
SCPI command used: SYST:DATE <
year>, <month>, < day>
Figure 3-8. Setting the System Clock and Calendar
70 Using the Display Terminal Interface Chapter 3
Note: The RESET selection in this menu is equiva lent to executing DI AG : BOO T, which has the sa me effect as cycling the mainframe power. Pressing RST_INST from the Syst em instru ment menu is equivalen t to sending the *RST comm and to t he Syst em inst ru ment .
Figure 3-9. Resetting the System
Chapter 3 Using the Display Terminal Interface 71
Using the Loader
Instrument
The Loader instrument appears on the Select an instrument menu when the Flash ROMS Run/Load switch on the f ront of the HP E1406A Command Mod ule is set to "Load". This instrument allows you to:
Read the command module HP-IB addressConfigure the RS-232 port(s)Set the system clock and calendarReset the system
Using the
Swi tchbo x Menu
Selecting the
Switchbox
Note After you press the function key for SWI TCH, the screen may show:
The instrument men us allow you to access the most-us ed instrum ent functions or to monitor an instrument (monit or mode) while it is being controlled from remote. The Switchbox menu is used as an example to show you how to use the instrument menu s. Menus are available for many, but not all, instruments . See your instrument user’s man ual fo r more information on a particular instrument’s m en u. The Switchbox menu allows you to:
Open and close channelsScan channelsDisplay module (card) type and descriptionReset a selected switch moduleMonitor a switchbox
To select the Switchbox, press the functio n key (f1 - f5) which corresponds to the label SWITCH in th e Select an instrument menu. (If the
Select an instrument menu is not being displayed press UTILS then SEL_INST.)
Select SWITCH at logical address:_ while the function key labels show two or more logical addresses. This means more than one switchbox is installed in the mainframe. To select one of the switchboxes, press the function key for the logical address key label .
Figures 3-10 through 3-13 show how to us e the switchbox menu. Keep the following points in mind when usin g the menu:
The card number identifies a module within the switchbo x. The
module with the lowest logi cal address is always card number 01. The module with the next successive logi cal address is card number 02, and so on.
The @ character is required preceding a channel list when executing
a switchbox command from the terminal in te rface or remote. When entering a channel list in response to a menu prompt, however, do not precede it with the @ character. Doing so causes a syntax error.
72 Using the Display Terminal Interface Chapter 3
Switchbox instrume nt at logical address 32 (seconda ry ad dre ss is 04)
SCPI command us ed: OPEN <
chan nel_list >
Enter channel number and press RETURN (for example, 102 for channe l #2 on card #1)
Figure 3-10. Opening and Closing Chann el s
SCPI command used: CLOSE <
channel_list>
Press f2 to advance to the next channel in the scan list (that is, to trig ger the instrum ent )
Enter channel list and press RETURN (for example, 100: 115 t o scan chan nels 00 to 15 on card #1)
Figure 3-11. Scanning Chan n els
Chapter 3 Using the Display Terminal Interface 73
Enter card number and press RETURN
SCPI command used: SYST:CTYP <
card_number>
Enter card number and press RET U R N SCPI command us ed:
SYST:CPON <
Enter card number and press RETURN
card_number >
SCPI command used: SYST:CDES <
card_number >
Figure 3-12. Displaying Card Type and Description or Resetting Card
74 Using the Display Terminal Interface Chapter 3
Monitor Mode Monito r mode disp lays the statu s of an instrum ent while it is being
controlled from remote. Monitor mode is us eful for debugging progr ams. You can place an instrument in monitor mode using terminal interface menus, or by executing the terminal interface or by remote. Pressing mo st termin al interface keys will automatically exit monitor mod e and return to the instrum ent menu. However, you can use the left and right arrow keys in monitor mode to view long displays.
Note Enabling mon itor mod e slows instrum en t operations. If the timing or speed
of instrument operations is critical (such as making multimeter readings at a precise time interval), you should no t use mon itor mo de.
DISP:MON:STAT ON comm and from the
Enter car d num ber or type AUT O and pr ess RETURN
SCPI commands used: DISP:MON:CARD < DISP:MON:STAT O N
Figure 3-13. Selecting Monitor Mode
card_number >
Chapter 3 Using the Display Terminal Interface 75
Table 3-1 shows the status annunciators that may appear in the bottom line of the screen in monitor mode. Some instruments also have device-specific annunciators (see your specific module user’s manual for more informati on).
Table 3-1. Monitor Mo d e Disp lay Ann u nciato r s
Annunciator Description
mon The instrument is in monitor mode.
busy The inst rumen t is executing a com mand .
err An error has occurred (see “Reading Error Messages” below).
srq A service request has occurred.
Reading Error
Messages
Whenever the screen is showing the err annunciator, an error has occurred for the instrument being monitored. You can read the error message, although doing so cancels monito r mode. To read an error message, ty p e
SYST:ERR? (followed by pressing the Return key):
The error message will be displayed in the bottom line of the Text Output Area. To see if another error was logged, repeat the by pressing UTILS, RCL _PREV, then Return.
After you have read all the error messages, executing the command causes the screen to show: +0,"No error". After reading the error message(s), press the f1 key to return to monitor mo de.
Executing Commands
From the terminal int erface, you can type and execute IEEE 488.2 common commands and SCPI commands for the instrument presently selected by the Select an instrument menu. (However, you cannot execute a command when the screen is requesting that you inp ut informat ion. ) This is particularly useful for accessing functions not availab le in an instrument’s menu. For example, assume you want to progr am the HP E1411B 5 Multimeter for 10 DC voltage measurements. To specify 10 measurements you must type in the necessary command since the command is not on the multimeter menu. After selecti ng the VOLTMR menu, type the following commands and press the Return key after each command .
SYST:ERR? command
SYST:ERR?
1
⁄2-Digit
CONF:VOLT:DC SAMP:COUN 10 READ?
These commands configure the mu ltim eter, specify 10 measurements, and display the readings on the terminal.
76 Using the Display Terminal Interf ace Chapter 3
Edit ing the
Terminal Display
The screen editing keys (shown on page 78) allow you to edit user-entered data or commands. When editing, the screen is in insert mode. That is, typed characters will be inserted into the string at the present cursor position.
Note The key labels shown are found on all HP terminals (except HP terminals
supporting ANSI terminal proto co l). See “Using Supported Terminals ” on page 79 for equivalent key functions on your terminal.
General Key Descriptions
This section explains the function of each of the terminal interface’s menu, menu control, and editin g keys. If a key is not functional in a particular situation, pressing that key do es nothing except to cause a beep.
Menu and Menu
Contro l Key s
f1 through f5
SEL_INST
PRV_MENU
MORE
RCL_PREV
Label menu choices for corresponding function keys.
Returns to the Select an instrument menu.
Returns to the previous menu level within an ins trument menu or escapes from an input prompt. When you reach the top of an instrument’s menu, the PRV_MENU label disappears.
The screen can show a maximum of five menu choices at a time. When there are more than five menu choices, function key f6 becom es labeled MORE. Press MORE to display the next group of choices. By repeatedly pressing MORE you can display all groups of choices. After you have displayed all groups of choices, pressing MORE again returns to the first group of choices.
Recalls the last command entered from the terminal interface. After recalling a command, it can be edited or re-executed. You can recall from a stack of previously executed comman ds by repeatedly pressing RCL_PREV. When you reach the bottom of the stack (the last line in the buffer), pressing RCL_PREV does nothing except to cause a beep.
RCL_NEXT
Recalls commands in the opposite order to tha t of RCL_PREV. Pressing RCL_NEXT does nothing until you have pressed RCL_PREV at least twice.
Chapter 3 Using the Display Terminal Interface 77
RCL_MENU
Instru ment
Contro l Key s
Recalls the last SCPI command generated by a menu operation. For example, reading the time using the menus (SYSTEM, TIME, READ) generates and executes the command can be executed by pressing the Return key. You can edit a recalled command before you execute it.
SYST:TIME? SCPI command. A recalled
RST_INST
CLR_INS T
Edit ing Keys
Resets only the selected instrument (equivalent of ex ecuting *RST ). RST_INST also clears the instrument’s termi nal interface and remote input and output buffers. RST_I NST is the only terminal int erface key that can affect an instrument being operated from remote.
Clears the terminal interface input and output buffers (remote buffers are not cleared) of the selected instrument and returns to the top level of the instrument menu. Press CLR_INST whenever an instrument is busy, is not responding to terminal int erface control, or to abort a command being entered from the terminal interface.
Moves the cursor one character space to the right while leaving characters intact.
Moves the cursor one character space to the left while leaving characters intact.
Erases the character at the present cursor position (for user-entered data only).
Erases all characters from the present cursor position to the end of the input line (for user-entered data only).
Other Key s Selects alternate key definitions. These CTRL key sequences provide short-
cuts to some of the menu sequences and also provide some functions not directly available from dedicated terminal keys. Some alternate key definitions are:
CTRL-R = Instrument Reset CTRL-C = Clear Instrument CTRL-D = Select an instrument menu.
See Table 3-3 on page 85 for a complete list of all control sequence functions. Users of the optional IBASIC int erpreter should refer to their IBASIC manual set for additional editi ng functio ns.
78 Using the Display Terminal Interf ace Chapter 3
Using Supported Terminals
The display terminal in terface supports several popular terminal brands and models. This chapter will show you how to access all of the terminal interface functions described previously using your supported terminal.
The Supported
Terminals
The following list names the sup ported termin als and shows where to go for more information. If your terminal is not named in this list, see “Using Other Terminals” on page 82.
HP 700/92 Menu tutorial
HP 700/94 Menu tutorial
HP 700/22 See this page
HP 700/43 and WYSE WY-30 See page 81
The keyboard guides provided for the listed terminals may be removed or copied, and placed near your keyboard while you go through the menu tutorial sections .
Using the HP 700/22 The HP 700/22 terminal emulates the DEC VT100 or VT220 termi nals.
Some functions of the displ ay terminal int erface have been mapped into keys with other labels. A keyboard map is provided for each of the emulation models. Use these keyboard maps to help locate the terminal interface functions.
VT100 Key Map The symbols shown in the upper left corner of key each are now mapped
with the function labeled in the center of each key.
Chapter 3 Using the Display Terminal Interface 79
Selecting VT100 Mode To use the HP 700/22 in VT100 mode, press the Set-Up key an d set the
following configur ation:
Fields Value
Terminal Mode EM100, 7 bit Ctrls
Columns 80
EM100 ID EM100
Inhibit Auto Wrap YES
VT220 Key Map The function keys that are normally labeled f6 through f14 are now labeled:
Note Because the HP 700/22 keyboard has nine function keys in the center of the
keyboard, f4 is mapped twice.
The symbols shown in the upper left corner of key each are now mapped with the function labeled in the center of each key.
80 Using the Display Terminal Interface Chapter 3
Selecting VT220 Mode To use the HP 700/22 in VT220 mode, press the Set-Up key an d set the
following configur ation:
Fields Value
Terminal Mode EM200, 7 bit Ctrls
Columns 80
EM100 ID EM220
Inhibit Auto Wrap YES
Using the WYSE
WY-30
With the WYSE WY-30 te rminal, some functions of th e di splay terminal interface have been assigned to keys with other labels. Use this keyboard map to help locate these functions.
The symbols shown in the upper left corner of key each are now mapped with the function labeled in the center of each key.
Where two function key labels are shown, the one following th e "/" character is accessed by pressing and holding the CTRL key while pressing the desired function key (for example, to access the f6 function, press CTRL-f2/f6).
Chapter 3 Using the Display Terminal Interface 81
Using Other Terminals
This section discu sses usi ng termin als which are not on the Supported Terminals list. Primaril y this section is to help you us e terminals which do not provide programmable soft keys (functio n keys). Without this capability, a terminal cannot access the display termin al interface’s menus. Instead, the terminal interface provides a set of terminal interface commands which allow you to select instrum en ts by name or logi cal address. Once selected, you can type common commands or SCPI commands to the instrument. In addition , keyboa rd accessibl e control codes provide display control for term inals whi ch may not have keys dedi cated to those functions.
What “Not
Supported” Means
Testing Terminals
for Compatibility
Strictly speaking, a terminal is not supported if it has not been rigorousl y tested with the display terminal in t erface. There are several HP terminals which may be compatible with the terminal in terface. Terminals such as the DEC VT100, DEC VT220, and WYSE WY-50, or emulati ons of these may also work properly with the terminal interface. If you have one of these terminals, try it. Here is a list of terminals you should try.
HP 2392AH P 2394ADEC VT100 DEC VT220WYSE WY-50HP AdvanceLink terminal emulation software (configure as
HP 2392A )
Here is how you test an unsuppo rted terminal for com patib ilit y with the display terminal interface:
1. Connect your terminal and configure its communication parameters to match the mainframe’s serial interface (see Appendix C).
2. With your terminal turned on and set to "remote mode" , turn on the mainframe. After the mainframe power-on self-test, the display interface sends sequences of characters to your terminal which should cause it to return its identification. If the terminal ID matches one in a list kept by the terminal interface, it will send character sequences to program the function keys and their labels.
3. If you now see the Select an instrument prompt and the Select an instrument menu labels, your terminal is ready to try. Go to the beginning of this chap ter and try the men us.
82 Using the Display Terminal Interface Chapter 3
4. If you see only the Select an instrument prompt without the Select an instrument menu labels, your terminal did not
return a recognized ID. To set the terminal type manually, type the terminal interface command:
ST HP ( fo llowed by Return) for HP terminals - 700/94, 700/92, 26xx,23xx
or
ST HP70043 (follow ed by Return) for the HP 700/43 terminal
or
ST VT100 (followed by Return) for VT100 emulat ors
or
ST VT220 (followed by Return) for VT220 emulat ors
or
ST WYSE30 (follow ed by Return) for WY-30 emulators
or
ST WYSE50 (follow ed by Return) for WY-50 emulators
If you now see the Select an instrument menu labels, go to the beginning of this chapter and try the menus.
or
Turn the mainframe off and then on again.
Continue with this chap te r to learn how to use your terminal without men us.
Using a Terminal
Witho ut Menus
You can still control instrum en ts installed in yo ur mainframe without using the terminal interface menus. In this case you will send comm on comm ands and SCPI commands to your inst ru ments by typing them on your terminal keyboard, or through a computer interface.
Selecting Instruments To send commands to, and receive responses from an instrument, you must
first select that instrument. Two commands are provided to select instruments. They are These commands only work from the Select an instrument prompt. The commands can be typed in upper case or lower case.
SI (Select Instrument), and SA (Select Address).
SI Command SI selects an instrument by its name, exactly as it would appear in the
Select an instrument menu (see Table 3-2). If your mainframe has more than one instrum ent with th e same name, follow the nam e with a comma (,) and the desired instrument’s log ical address . Here are some examples of
SI co mmands:
si voltmtr (selects a voltmeter instrument)
si switch (selects a switch box in strum en t)
SI SWITC H (same as abo v e)
si switch,16 (selects swit chbox at logical address 16)
Chapter 3 Using the Display Terminal Interface 83
Table 3-2. Instrument Names for the SI Command
Menu Name Instrument
SYSTEM The System Instrument (built-in to the command module)
VOLTMTR HP E1326B Stand-Alone, or HP E1326B Scanning Voltmeter Modules
SWITCH Switc hbox composed of one or more HP Multiplexer Modules
DIG_I/O HP E1330B Quad 8-Bit Digital Input/Output Module
IBASIC Optional IBASIC interpreter
COUNTER HP E1332A 4-Channel Counter/Totalizer, or HP E1333A 3-Channel
D/A HP E1328A 4-Channel Digital-to-An alog Conv erter Module
Universal Counter Modules
SA Command SA selects an instrument by its logical address. For multiple mo dule
instruments, use the logical address of the first mod ule in the instrument . For example; have selected an instrument, the terminal interface will respond with an instrument prompt which is the instrument ’s menu name follo wed by its logical address (e.g., VOLTMTR_8:).
To get a list of the logical address es used in your mai nf rame, send th e SCPI command determine what instrument is at each logical address, send the command
VXI:CONF :DLI S? <l ogical _address> for each logical addr ess in the list.
Refer to page 189 for information about this command.
SA 8 selects the instrument at logical address 8. When you
VXI:CONF:DLAD ? to the System ins trument . Then, to
Returning to the
“Select an Instrument”
Prompt
To return to the Select an instrument prompt, press and hold the CTRL key then press the D key.
84 Using the Display Terminal Interface Chapter 3
Control Sequences for
Terminal Interface
Functions
The terminal interface provides the keyboard control sequences list ed in Table 3-3. These can be thought of as keyboard short-cuts for compatible terminals (those which provide menu capabili ty). Only those functions in the table marked with * (asterisk) operate for “UNKNOWN” terminal types (those which do not support menus ). An “UNKNOWN” terminal type has very limited editing capabili ty. It will not support th e EDIT mode for the optional IBASIC interpreter. In the following table, † = IBASIC only.
Table 3-3. Contro l Seq uence F uncti o ns
Control
Terminal Key Fu n ctio n
Backspace* Deletes the character to the left of the cursor
and moves cursor left .
Del char Delete character at the cursor position. CTRL-X Clr end Clears line from cursor position to end of line. CTRL-L Clear line Clears line regardless of cursor position. CTRL-U
Insert line Inserts a blank line at the cursor position. CTRL-O
Delete line Deletes the line at the current cursor position. CTRL-DEL
End of line Move cursor to the end of current line. CTRL-Z
Start of line Move cursor to the beginning of current line. CTRL-A
Return* Terminates user entry. CTRL-M
RCL_MENU Recalls the last command ex ecut ed via the
menu keys.
RCL_PREV* Recalls the last seve ral comm and s execut ed
via user input.
RCL_NEXT* After RCL_PREV, RCL_NEXT may be used to
move forward through the recalled com mands.
SEL_INST* Return to “Select an instrument” menu. CTRL-D CLR_INST* C lear instrum ent’s input and outp ut buffers. CTRL-C RST_INST* Like CLR_I NST plus clears. CTRL-R
Sequenc e
CTRL-H
CTRL-W
CTRL-F
CTRL-B
Chapter 3 Using the Display Terminal Interface 85
In Case of Difficulty
Problem: Problem Cau se/Solution:
Error -113 undefined header error occurs after entering data in response to a menu prompt.
Following the power-on sequence or system reset the display shows:
Configuration errors. Select SYSTEM Press any key to continue_
The display shows: instrument in local lockout. Menus seem to work but nothing happens
when I reach the bottom level or try to execute a command.
Display cannot be removed from monitor mode. Monitor mode was entered (DISP:M ON:ST AT ON
Display shows:
Cannot connect to instrument Press any key to continue_
For some commands used by the menus, the data entered is appended to a command header. For example, if you enter "1" as the port number for a digital I/O module, the command used is DIG:HAND1:MODE NONE where HAND1 indicates the port number. If your entry was invalid or incorrect, error -113 occurs.
An unassigned device (incorrect logical address) was detected., If you cycle power or perform system reset, the display will show the logical address of the unassigned device. You can also check the logical addresses using the CONFIG? -- LADDS branch of the System instrument menu. You can also use SYST:ERR? in the system instrum ent.
The terminal interface has been locked-out (HP-IB local lockout). You can re-enable menu operation by cancelling local lockout (from remote) or by cycling mainframe power.
command) and the terminal interface has also been locked out (HP-IB local lockout). Either cancel the local lockout or execute DISP:MON:ST AT OFF (from remote).
A hardware or software problem has occurred in the instrument preventing it from responding to terminal interface control.
After selecting an instrument the display shows:
busy
Display shows:
Instrument in use by another display Press any key to continue_
The instrument is busy performing an operation. Press Clear In str to abort the instrument operations and allow the terminal interface to access the instrument.
The instrument has already been selected from another terminal interface. An instrument can only be “attached” to one display at a time. At the other terminal interface, press Select Instr. The instrument can now be selected from the desired terminal interface.
86 Using the Display Terminal Interface Chapter 3
System Instrument/Switchbox Menus
This section contains charts showing the structure and content for the HP E1406A Command Mod ule’s Sys tem ins trument and switchbox terminal interface instrument menus. The SCPI commands used and descriptions of menu-controlled in strum ent operations are also included in the charts. You may want to refer to these charts as examples for other instrument menus. See the appropriate instrument user’s manual for menus specific to that instrument.
Chapter 3 Using the Display Terminal Interface 87
System Instrument Menu
Menu Levels and Content
Level 1 Level 2 Level 3 Level 4 Level 5 Level 6 User Entry Command(s) Used Description
SYSTEM CONFIG? LADDS VXI:CONF:DLAD? Displays logical addresses of mainframe
DEVICE logical address VXI:CONF:DLIS? <logical_addr> Displays information about the device at the
HP-IB? SYST:COMM:GPIB:ADDR? Displays HP-IB address.
RS232 BAUD READ card number
SET 300 card number
1200 card number 2400 card number 9600 card number 19200 card number
PARITY READ card number
SET EVEN card number
ODD card number ONE card number ZERO card number NONE card number
BITS READ card number
SET 7 card number
8 card number
PACE READ card number
SET XON/OFF card number
NONE card number
SYST:COMM:SER[ SYST:COMM:SER[ SYST:COMM:SER[ SYST:COMM:SER[n]:BAUD 2400 SYST:COMM:SER[ SYST:COMM:SER[ SYST:COMM:SER[ SYST:COMM:SER[n]:PAR EVEN SYST:COMM:SER[ SYST:COMM:SER[ SYST:COMM:SER[ SYST:COMM:SER[n]:PAR NONE SYST:COMM:SER[ SYST:COMM:SER[ SYST:COMM:SER[ SYST:COMM:SER[n]:PACE? SYST:COMM:SER[ SYST:COMM:SER[
n]:BAUD? n]:BAUD 300 n]:BAUD 1200
n]:BAUD 9600 n]:BAUD 19200 n]:PAR?
n]:PAR ODD n]:PAR ONE n]:PAR ZERO
n]:BITS? n]:BITS 7 n]:BITS 8
n]:PACE XON n]:PACE NONE
instruments.
specified logical address . (Refer to the Command Refere nce for de tail s).
Read current baud rate. Sets the serial interface baud rate to 300. Sets the serial interface baud rate to 1200. Sets the serial interface baud rate to 2400. Sets the serial interface baud rate to 9600. Sets the serial interface baud rate to 19200. Read current parity type. Sets the serial interface parity to even. Sets the serial interface parity to odd. Sets the serial interface parity to one. Sets the serial interface parity to zero. Sets the serial interface parity to none. Read current data bit width. Sets the data width to 7 bits. Sets the data width to 8 bits. Read current pacing type. Enables XON/XOFF software handshaking. Disables XON/XOF F software handsh akin g.
(Continued on next page)
System Instrument Menu
Menu Levels and Content
Level 1 Level 2 Level 3 Level 4 Level 5 Level 6 User Entry Command(s) Used Description
Continued from prev io us page )
(
CONTROL DTR READ card number
SET ON card number
OFF card number IBFULL card number STANDRD card number
RTS READ card number
SET ON card number
OFF card number IBFULL card number STANDRD card number
STORE card number
DEBUG READ laddr, reg_num VXI:READ? <laddr>,<register_num> Read register in A16 address space.
WRITE laddr, reg_num,
SEND MESSAGE laddr, string VXI:SEND <laddr>,<string> Send SCPI command to message-based
COMMAND laddr, command VXI:SEND:COMM <laddr>,<comman d> Send word serial command to laddr. QUERY laddr, query VXI:SEND:COMM? <laddr>,<query> Se nd word serial comm a nd and wait for
RECEIVE laddr VXI:REC? <laddr> Receive message from message-based
RESET laddr VXI:RES <laddr> So ft reset of device at laddr. QUERY laddr VXI:QUER? <laddr> Read Data Low register.
data
SYST:COMM:SER[ SYST:COMM:SER[n]:CONT:DTR ON SYST:COMM:SER[ SYST:COMM:SER[ SYST:COMM:SER[ SYST:COMM:SER[n]:CONT:RTS? SYST:COMM:SER[ SYST:COMM:SER[ SYST:COMM:SER[ SYST:COMM:SER[n]:CONT:RTS STAN DIAG:COMM:SER[
VXI:WRIT <laddr>,<register_num>,<data> Write data to register in A16 addre ss space .
n]:CONT:DTR?
n]:CONT:DTR OFF n]:CONT:DTR IBF n]:CONT:DTR STAN
n]:CONT:RTS ON n]:CONT:RTS OFF n]:CONT:RTS IBF
n]:STORE
Read current settin g for DTR line . Set DTR line to static +V. Set DTR line to static -V. Set DTR for hardware handshaking. DTR operates to RS-232 standard. Read current settin g for RTS line . Set RTS line to static +V. Set RTS line to static -V. Set RTS for hardware handshaking. RTS operates to RS-232 standard. Store current serial commu nications
settings into non-volatile storage.
instrume nt at laddr.
response.
device.
(Continued on next page)
System Instrument Menu
Menu Levels and Content
Level 1 Level 2 Level 3 Level 4 Level 5 Level 6 User Entry Command(s) Used Description
Continued from prev io us page )
(
TIME READ SYST:TIME? Read the current system clock.
SET time SYST:TIME <time> Set the system clock.
DATE READ SYST:DATE? Read the current system calendar.
SET date SYST:DATE <date> Set the system calendar.
RESET DIAG:BOOT Resets mainframe using the configuration
stored in non-volatile memory.
Switchbox Menu
Menu Lev els and Content
Level 1 Level 2 Level 3 User Entry Command(s) Used Description
SWITCH MONITOR card number or AUTO DISP:MON:CARD <card_number> ;STAT ON Monitor instrument operations.
OPEN channel list OPEN (@channel_list) Open channel(s). CLOSE chann el list CLOS (@channel_list) Close channel(s). SCAN SET_UP channel list TRIG:SOUR HOLD;:SCAN <channel_list>;:INIT Set up channels to scan.
STEP channel list TR I G Step to ne x t ch annel in sca n li st .
CARD TYPE? card number SYST:CTYP? <card_number> Display module ID information.
DESCR? card number SYST:CDES? <card_number> Display module description. RESET card number SYST:CPON <card_number> Return module to power-on state.
TEST *TST? Runs self-test, displays results
(+0 = pass; any other number = fail).
Channel lists are of the form “ccnn” (single channel), “ccnn,ccnn” (two or more channels) or “ccnn:ccnn” (range of channels); where “cc” is the card number and “nn” is the channel number. For example, to access channel 2 on ca rd number 1 specify 102.
The card number identifies a module within the switch box. The switch module with the lowe st logical addre ss is always card number 01. The switch module with the next successiv e l og ical ad dress is card number 02, and so on.
Scanning Voltmeter Menu
Menu Levels and Content
Level 1 Level 2 Level 3 Level 4 User Entry Command(s) Used Description
VOLTMTR MONITOR channel list
VDC channel list MEAS:VOLT:DC? <channel_list> Measure DC voltage on each channel. VAC channel list MEAS:VOLT:AC? <c hannel_list> Measure AC voltage on each channel. OHM channel list MEAS:RES? <channel_list> Measure 2-wire resistance on each channel. TEMP TCOUPLE B channel list MEAS:TEMP? TC,B, <channel_list> Measure °C of B thermocou pl e on each channe l.
E channel list MEAS:TEMP? TC,E, <channel_list> Measure °C of E thermocouple on each channe l. J channel list MEAS:TEMP? TC,J, <channel_list> Measure °C of J thermocouple on each channel. K channel list MEAS:TEMP? TC,K, <channel_list> Measure °C of K thermocouple on each channe l. N14 channel list MEAS:TEMP? TC,N14, <channel_list> Measure °C of N14 therm ocou ple on each channe l. N28 channel list MEAS:TEMP? TC,N28, <channel_list> Measure °C of N28 thermocou pl e on each channe l. R channel list MEAS:TEMP? TC,R, <channel_list> Measure °C of R thermocouple on each channel. S channel list MEAS:TEMP? TC,S, <channel_list> Measure °C of S thermocouple on each channel. T channel list MEAS:TEMP? TC,T, <channel_list> Measure °C of T thermocouple on each channel.
THERMIS 2252 channel list MEAS:TEMP? THER,2252, <channel_list> Measure °C of 22 52 thermistor on each channel.
5K channel list MEAS:TEMP? THER,5000, <channel_list> Measure °C of 5k thermistor on each channel. 10K channel list MEAS:TEMP? THER,10000, <channel_list> Measure °C of 10k thermistor on each channel.
RTD 385 channel list MEAS:TEMP? RTD,85, <channel_list> Measure °C of 385 RTD on each channel (4-wire).
392 channel list MEAS:TEMP? RTD,92, <channel_list> Measure °C of 392 RTD on each channel (4-wire).
STRAIN QUARTER channel list MEAS:STR:QUAR? <channel_list> Measure strain with quarter bridge.
HALF BENDING channel list MEAS:STR:HBEN? <channel_list> Measure strain with bending half bridge.
POISSON channel list MEAS:STR:HPO? <channel_list> Measure strain with Poisson half bridge.
FULL BENDING channel list MEAS:STR:FBEN? <c hannel_list> Measure strai n with bend ing full brid ge.
BENPOIS channel list MEAS:STR:FBP? <channel_list> Me asure strain with be nd ing Poi sson full brid ge . POISSON channel list MEAS:STR:FPO? <channel_list> Measure strain with Poisson full bridge.
or 0 for auto
DISP:MON:CHAN <channel_list>;STAT ON Mo nitor instrument operations.
(Continued on next page )
Scanning Voltmeter Menu
Menu Levels and Content
Level 1 Level 2 Level 3 Level 4 User Entry Command(s) Used Description
Continued from prev io us page )
(
UNSTRN channel list MEAS:STR:UNST? <c hannel_list> Measure bridge unstrained. DIAG COMPRES channel list MEAS:STR:QCOM? <c hannel_list> Compression shunt diagnostic.
TENSION channel list MEAS:STR:QTEN? <channel_list> Tension shunt diagnostic.
CARD TYPE? card number SYST:CTYP? <card_number> Displa ys m od ule ID inf ormation .
DESCR? card number SYST:CDES? <card_ number> D isplays modu le descri ption.
TEST *TST? Runs self-test, displays results
(+0 = pass; any other numb er = fail).
Channel lists are of the form “ccnn” (single channel), “ccnn,ccnn” (two or more channels) or “ccnn:ccnn” (range of channels); where “cc” is the card number and “nn” is the channel number. For example, to access channel 2 on ca rd number 1 specify 102.
The card number identifies a module within the switch box. The switch module with the lowe st logical addre ss is always card number 01. The switch module with the next successiv e l og ical ad dress is card number 02, and so on.
HP E1326B/E1411B 51⁄2-Digit Multimeter (Stand-Alone) Menu
Menu Lev els and Content
Level 1 Level 2 Level 3 Level 4 User Entry Command(s) Used Description
VOLTMTR MONITOR DISP:MON:STAT ON Display instrument operations.
VDC MEAS:VOLT:DC? Measure DC volts. VAC MEAS:VOLT:AC? Measure AC volts. OHM MEAS:FRES? Measure 4-wire ohms. TEMP THERMIS 2252 MEAS:TEMP? FTH,2252 Measure °C of 2252Ω thermistor (4-wire measurement).
5K MEAS:TEMP? FTH,5000 Measure °C of 5kΩ thermistor (4-wire measurement). 10K MEAS:TEMP? FTH,10000 Measure °C of 10kΩ thermistor (4-wire measurement).
RTD 385 MEAS:TEMP FRTD,85? Measure °C of 100 RTD with alpha = 385 (4-wire measurement).
392 MEAS:TEMP FRTD,92? Measure °C of 100 RTD with alpha = 392 (4-wire measurement).
TEST *TST? Run self-test, display results (0 = pass; any other number = fail).
HP E1328A 4-Channel D/A Converter Menu
Menu Lev els and Content
Level 1 Level 2 Level 3 Level 4 User Entry Command(s) Used Description
D/A MONITOR CHAN1 DISP:MON:CHAN 1;STAT ON Monitor instrument operations on channel 1.
CHAN2 DISP:MON:CHAN 2;STAT ON Monitor instrument operations on channel 2. CHAN3 DISP:MON:CHAN 3;STAT ON Monitor instrument operations on channel 3. CHAN4 DISP:MON:CHAN 4;STAT ON Monitor instrument operations on channel 4. AUTO DISP:MON:CHAN AUTO;STAT ON Monitor instrument operations on active channel.
OUTPUT VOLTAGE CHAN1 voltage VOLT1 <voltage> Output voltage on channel 1.
CHAN2 voltage VOLT2 <voltage> Output voltage on channel 2. CHAN3 voltage VOLT3 <voltage> Output voltage on channel 3. CHAN4 voltage VOLT4 <voltage> Output voltage on channel 4.
CURRENT CHAN1 current CURR1 <current> Output current on ch annel 1.
CHAN2 current CURR2 <current> Output current on ch annel 2. CHAN3 current CURR3 <current> Output cu rrent on channel 3. CHAN4 current CURR4 <current> Output cu rrent on channel 4.
TEST *TST? Run self-test, display results
(+0 = pass; any other number = fail).
Enter voltage values in volts. Typical examples are: +3.5 , -2, +50 0E-3 . Enter current values in amps. Typical examples are: .05, +200E-3.
HP E1330A/B Quad 8-Bit Digital Input/Output Menu
Menu Lev els and Content
Level 1 Level 2 Level 3 Level 4 User Entry Command(s) Used Description
DIG_I/O MONITOR PORT0 DISP:MON:CHAN 0;STAT ON Monitor instrument operations on port 0.
PORT1 DISP:MON:CHAN 1;STAT ON Monitor instrum ent operat ion s on port 1. PORT2 DISP:MON:CHAN 2;STAT ON Monitor instrum ent operat ion s on port 2. PORT3 DISP:MON:CHAN 3;STAT ON Monitor instrum ent operat ion s on port 3. AUTO DISP:MON:CHAN AUTO;STAT ON Monitor instrument operations on any
READ R_BYTE PORT0 DIG:HAND0:MODE NONE;:MEAS:DIG:DATA0? Reads port 0 after handshake.
PORT1 DIG:HAND1:MODE NONE;:MEAS:DIG:DATA1? Reads port 1 after handshake. PORT2 DIG:HAND2:MODE NONE;:MEAS:DIG:DATA2? Reads port 2 after handshake. PORT3 DIG:HAND3:MODE NONE;:MEAS:DIG:DATA3? Reads port 3 after handshake.
R_BIT PORT0 bit (0-7) DIG:HAND0:MODE NONE;:MEAS:DIG:DATA0:BITm? Reads bit m on port 0 after handshake.
PORT1 bit (0-7) DIG:HAND1:MODE NONE;:MEAS:DIG:DATA1:BITm? Reads bit m on port 1 after handshake. PORT2 bit (0-7) DIG:HAND2:MODE NONE;:MEAS:DIG:DATA2:BITm? Reads bit m on port 2 after handshake. PORT3 bit (0-7) DIG:HAND3:MODE NONE;:MEAS:DIG:DATA3:BITm? Reads bit m on port 3 after handshake.
WRITE W_BYTE PORT0 data (0-255) DIG:HAND0:MODE NONE;:DIG:DATA0 <data> Writes data to port 0.
PORT1 data (0-255) DIG:HAND1:MODE NONE;:DIG:DATA1 <data> Writes data to port 1. PORT2 data (0-255) DIG:HAND2:MODE NONE;:DIG:DATA2 <data> Writes data to port 2. PORT3 data (0-255) DIG:HAND3:MODE NONE;:DIG:DATA3 <data> Writes data to port 3.
W_BIT PORT0 bit (0-7), value (0,1) DIG:HAND0:MODE NONE;:DIG:DATA0:BITm <value> Writes data to bit m on port 0.
PORT1 bit (0-7), value (0,1) DIG:HAND1:MODE NONE;:DIG:DATA1:BITm <value> Writes data to bit m on port 1. PORT2 bit (0-7), value (0,1) DIG:HAND2:MODE NONE;:DIG:DATA2:BITm <value> Writes data to bit m on port 2. PORT3 bit (0-7), value (0,1) DIG:HAND3:MODE NONE;:DIG:DATA3:BITm <value> Writes data to bit m on port 3.
active port.
HP E1332A 4-Channel Counter/Totalizer Menu
Menu Levels and Content
Level 1 Level 2 Level 3 Level 4 Level 5 User Entry Command(s) Used Description
COUNTER MONITO R CHAN1 DISP:MON: CHAN 1;STAT ON Monitor instrument operations on channel 1.
CHAN2 DISP:MON:CHAN 2;STAT ON Monitor instrument operations on chann el 2. CHAN3 DISP:MON:CHAN 3;STAT ON Monitor instrument operations on chann el 3. CHAN4 DISP:MON:CHAN 4;STAT ON Monitor instrument operations on chann el 4. AUTO DISP:MON:CHAN AUTO;STAT ON Monitor instrument operations on active channel.
INPUT LEVEL CHAN1&2 voltage SENS1:EVEN:LEV <value> Set level trigger voltage for channels 1 & 2.
CHAN3&4 voltage SENS3:EVEN:LEV <value> Set level trigger voltage for channels 3 & 4.
SLOPE CHAN1 POS SENS1:EVEN:SLOP POS Positive level trigger slope for channel 1.
NEG SENS1:EVEN:SLOP NEG Negative level trigge r slope for channe l 1.
CHAN2 POS SENS2:EVEN:SLOP POS Positive level trigger slope for channel 2.
NEG SENS2:EVEN:SLOP NEG Negative level trigge r slope for channe l 2.
CHAN3 POS SENS3:EVEN:SLOP POS Positive level trigger slope for channel 3.
NEG SENS3:EVEN:SLOP NEG Negative level trigge r slope for channe l 3.
CHAN4 POS SENS4:EVEN:SLOP POS Positive level trigger slope for channel 4.
NEG SENS4:EVEN:SLOP NEG Negative level trigge r slope for channe l 4.
ISOLATE ON INP:ISOL ON Input isolation on.
OFF INP:ISOL OFF Input isolation off.
FILTER ON INP:FILT ON Input filter on.
OFF INP:FILT OFF Input filter off. FREQ frequency INP:FILT:FREQ <value> Set input filter frequency.
FREQ CHAN1 TRIG:SOUR IMM;:MEAS1:FREQ? Frequency measurement on channel 1.
CHAN3 TRIG:SOUR IMM;:MEAS3:FREQ? Frequency measurement on channel 3.
PERIOD CHAN1 TRIG:SOUR IMM;:MEAS1:PER? Period measurement on channel 1.
CHAN3 TRIG:SOUR IMM;:MEAS3:PER? Period measurement on channel 3.
(Continued on next page)
HP E1332A 4-Channel Counter/Totalizer Menu
Menu Levels and Content
Level 1 Level 2 Level 3 Level 4 Level 5 User Entry Command(s) Used Description
Continued from previous page)
(
TIMEINT CHAN1 TRIG:SOUR IMM;:MEAS1:TINT? Time interval measurement on channel 1.
CHAN3 TRIG:SOUR IMM;:MEAS3:TINT? Time interval measurement on channel 3.
POS_PW CHAN2 TRIG:SOUR IMM;:MEAS2:PWID? Positive pulse width measurement on channel 2.
CHAN4 TRIG:SOUR IMM;:MEAS4:PWID? Positive pulse width measurement on channel 4.
NEG_PW CHAN2 T RIG:SOUR IMM ;:MEAS2: NWID? Negative pulse width measurement on channel 2.
CHAN4 TRIG:SOUR IMM;:MEAS4:NWID? Negative pulse width measurement on channel 4.
UDCOUNT CHAN1 START TRIG:SOUR IMM;:CONF1:UDC;:INIT1 Up/down count, subtract ch. 2 count from ch. 1 count.
READ FETC1? Get up/down count from channels 1 & 2.
CHAN3 START TRIG:SOUR IMM;:CONF3:UDC;:INIT3 Up/down count, subtract ch. 4 count from ch. 3 count.
READ FETC3? Get up/down count from channels 3 and 4.
TOTALIZ CHAN1 START TRIG:SOUR IMM;:CONF1:TOT;:INIT1 Totalize on channel 1.
READ FETC1? Get totalize count on channel 1.
CHAN2 START TRIG:SOUR IMM;:CONF2:TOT;:INIT2 Totalize on channel 2.
READ FETC2? Get totalize count on channel 2.
CHAN3 START TRIG:SOUR IMM;:CONF3:TOT;:INIT3 Totalize on channel 3.
READ FETC3? Get totalize count on channel 3.
CHAN4 START TRIG:SOUR IMM;:CONF4:TOT;:INIT4 Totalize on channel 4.
READ FETC4? Get totalize count on channel 4.
TEST *TST? Run self-te st , displa y results
(+0 = pass; any other number = fail).
Enter volta ge valu es in volts. Typical examples are : +3.5, -2, +50 0E-3 . Enter frequency value in hertz. Typical examples are : 60, 120, 1E3.
HP E1333A 3-Channel Universal Counter Menu
Menu Lev els and Content
Level 1 Level 2 Level 3 Level 4 Level 5 User Entry Command(s) Used Description
COUNTER MONITOR CHAN1 DISP:MON:CHAN 1;STAT ON M o nitor instrum e nt opera tions on chann el 1.
CHAN2 DISP:M ON:CHAN 2;STAT ON Monitor instrument operations on channel 2. CHAN3 DISP:MON: CHAN 3;STAT ON Monitor instrument operation on channel 3. AUTO DISP:MON:CHAN AUTO;STAT ON Monitor instrument operations on active channel.
INPUT LEVEL CHAN1 voltage SENS1:EVEN:LEV <value> Set trigger level voltage for chann el 1.
CHAN2 voltage SENS2:EVEN:L EV <value> Se t trigger level voltage for chann el 2.
SLOPE CHAN1 POS SENS1:EVEN:SLOP POS Positive trigger slope for chann el 1.
NEG SENS1:EVEN:SLOP NEG Negative trigger slope for channel 1.
CHAN2 POS SENS2:EVEN:SLOP POS Positive trigg er slo pe for cha nn el 2.
NEG SENS2:EVEN:SLOP NEG Negative trigger slope for channel 2.
COUPLE AC INP:COUP AC AC-coupled input (channels 1 and 2 only).
DC INP:COUP DC DC-coupled input (channels 1and 2).
IMPED 50_OHM INP:IMP 50 50 input resistance (channels 1 and 2 only).
1_MOHM INP:IMP 1e6 1M input resistance (channels 1 and 2 only).
ATTEN 0dB INP:ATT 0 No input attenuation (channels 1 and 2 only).
20dB INP:ATT 20 20dB inpu t attenuat ion (channels 1 and 2 only).
FILTER ON INP:FILT ON Input low-p a ss filt er on (chan ne ls 1 and 2 only).
OFF INP:FILT OFF Input low-pass filt er off (chan ne ls 1 and 2 only).
FREQ CHAN1 TRIG:SOUR IMM;:MEAS1:FREQ? Frequency measurement on channel 1.
CHAN2 TRIG:SOUR IMM;:MEAS2:FREQ? Frequency measurement on channel 2. CHAN3 TRIG:SOUR IMM;:MEAS3:FREQ? Frequency measurement on channel 3.
PERIOD CHAN1 TRIG:SOUR IMM;:MEAS1:PER? Period measurement on channel 1.
CHAN2 TRIG:SOUR IMM;:MEAS2:PER? Period measurement on channel 2.
(Continue d on next pag e)
HP E1333A 3-Channel Universal Counter Menu
Menu Lev els and Content
Level 1 Level 2 Level 3 Level 4 Level 5 User Entry Command(s) Used Description
Continue d from previ ous pag e)
(
TIMEINT CHAN1 TRIG:SOUR IMM;:MEAS1:TINT? Time interval measurement on channel 1.
CHAN2 TRIG:SOUR IMM;:MEAS2:TINT? Time interval measurement on channel 2.
POS_PW CHAN1 TRIG:SOUR IMM;:MEAS1:PWID? Positive pulse width measurement on channel 1.
CHAN2 TRIG:SOUR IMM;:MEAS2:PWID? Positive pulse width measurement on channel 2.
NEG_PW CHAN1 TRIG:SOUR IMM;:MEAS1:NWID? Ne gative pu lse width measuremen t on channel 1.
CHAN2 TRIG:SOUR IMM;:MEAS2: NWID? Negative pulse width measurem ent on channel 2.
RATIO CHAN1 TRIG:SOUR IMM;:MEAS1:RAT? Ratio of channel 1/channel 2.
CHAN2 TRIG:SOUR IMM;:MEAS2:RAT? Ratio of channel 2/channel 1.
TOTALIZ CHAN1 START TRIG:SOUR IMM;:CONF1:TOT;:INIT1 Totalize on channel 1.
READ FETC1? Display totalize count.
CHAN2 START TRIG:SOUR IMM;:CONF2:TOT;:INIT2 Totalize on channel 2.
READ FETC2? Display totalize count.
TEST *TST? Run self-test, display results
(+0 = pass; any other number = fail).
Enter volta ge valu es in volts. Typical examples are : +3.5, -2, +50 0E-3 .
Loading...