
Remote Operation
11-9
Then initialize the interface card as address 21:
CALL INITIALIZE (21, 0)
Initialize also sends out an interface clear (IFC) to the entire GPIB system to initialize the
other devices (see “
”).
A typical program fragment includes a CALL SEND command and a CALL ENTER
command. The CALL SEND command sends a program message (command string) to the
Model 2182. If the program message includes a query command, then the CALL ENTER
command is required to get the response message from the Model 2182. The CALL ENTER
command addresses the Model 2182 to talk. The following example program fragment
demonstrates how CALL SEND and CALL ENTER commands are used. Note that the
commands assume address 07, which is the factory-set address of the Model 2182.
CALL SEND (7, “*rst”, status%)
CALL SEND (7, “:read?”, status%)
To display the response message on the CRT, the computer has to read the message and then
“print” it to the computer display as follows:
reading$ = SPACE$(80)
CALL ENTER (reading?, length%, 7, status%)
PRINT reading$
The following programming example shows how all the above statements are used together:
$INCLUDE: ‘c:\qb45\ieeeqb.bi
‘ Include QuickBASIC libraries.
CALL INITIALIZE (21, 0)
‘ Initialize card as address 21.
CALL SEND (7, “*rst”, status%)
‘ Restore 2182 to *RST defaults.
CALL SEND (7, “:read?”, status%)
‘ Trigger and request a reading.
reading$ = SPACE$(80)
‘ Allocate room for data.
CALL ENTER (reading?, length%, 7, status%)
‘ Address 2182 to talk.
PRINT reading$
‘ Display reading on CRT.
General bus commands
Commands and associated statements
General commands are those commands, such as DCL, that have the same general meaning
lists the general bus commands along with the
programming statement for each command.
Table 11-1
General bus commands and associated statements
Command
Programming Statement
Effect On Model 2182
REN
IFC
LLO
GTL
DCL
SDC
GET
SPE, SPD
REN
CALL INITIALIZE
LLO
GTL
DCL
SDC
GET
SPOLL
Goes into remote when next addressed to listen.
Reset interface; all devices go into talker and listener idle states.
LOCAL key locked out.
Cancel remote; restore front panel operation for the 2182.
Return all devices to known conditions.
Returns Model 2182 to known conditions.
Initiates a trigger.
Serial Polls the Model 2182.
Summary of Contents for 2182
Page 1: ...www tek com keithley Model 2182 2182A Nanovoltmeter User s Manual 2182A 900 01 Rev B May 2017...
Page 18: ......
Page 22: ......
Page 23: ...1 Getting Started Getting Started...
Page 41: ...2 VoltageandTemperature Measurements Voltageand Temperature Measurements...
Page 68: ...2 28 Voltage and Temperature Measurements...
Page 69: ...3 Range Digits Rate andFilter Range Digits Rate andFilter...
Page 82: ...3 14 Range Digits Rate and Filter...
Page 83: ...4 Relative mX b and Percent Relative mX b andPercent...
Page 91: ...5 RatioandDelta Ratioand Delta...
Page 117: ...6 Buffer Buffer...
Page 123: ...7 Triggering Triggering...
Page 140: ...7 18 Triggering...
Page 141: ...8 Limits Limits...
Page 149: ...9 SteppingandScanning Steppingand Scanning...
Page 168: ...9 20 Stepping and Scanning...
Page 169: ...10 AnalogOutput Analog Output...
Page 175: ...11 RemoteOperation Remote Operation...
Page 205: ...12 CommonCommands Common Commands...
Page 221: ...13 SCPISignalOriented Measurement Commands SCPISignalOri entedMeasure ment Commands...
Page 225: ...14 SCPIReferenceTables SCPIRefer enceTables...
Page 239: ...15 AdditionalSCPI Commands Additional SCPICom mands...
Page 260: ...15 22 Additional SCPI Commands...
Page 261: ...A Specifications Specifications...
Page 263: ...B Statusand ErrorMessages StatusandError Messages...
Page 268: ...B 6 Status and Error Messages...
Page 269: ...C Measurement Considerations Measurement Consider ations...
Page 278: ...C 10 Measurement Considerations...
Page 279: ...D Model182Emulation Commands Model182 EmulationCom mands...
Page 284: ...D 6 Model 182 Emulation Commands...
Page 285: ...E Example Programs ExamplePro grams...
Page 293: ...F IEEE 488 BusOverview IEEE 488Bus Overview...
Page 307: ...G IEEE 488andSCPI ConformanceInformation IEEE 488and SCPIConform anceInforma tion...
Page 310: ...G 4 IEEE 488 and SCPI Conformance Information...
Page 311: ...H Measurement Queries Measurement Queries...
Page 316: ...H 6 Measurement Queries...
Page 317: ...I Delta PulseDelta and DifferentialConductance Delta Pulse Deltaand Dif ferentialCon ductance...