Instrument Programming Examples
Remote Programming Examples
4D
4D-5
Operation Status Register
Requirement:
To perform a single sweep from 1 MHz to 10 MHz in 1 MHz steps with
133 ms between each step at 1V rms. Monitor the Operational Status bit that indicates
that the sweep is in progress.
INST SWEEP
FREQ:START 1E6;:FREQ:STOP 10000000
UNIT:POWER VRMS
:POWER 1.0
:SWE:DWELL 0.133
SWEEP:STEP 1E6
:INIT:CONT OFF
OUTP ON
:INIT
STATUS:OPER:COND?
<- Instrument responds with a value that has bit 4 set, i.e., the value 8 wait
for 5 seconds
STATUS:OPER:COND?
<- Instrument responds with a value that has bit 0 clear, i.e., the value 0
SRQ Operation and Error Handling
Requirement:
To generate a service request from the Instrument when it detects a
problem.
*RST
*CLS
INST SINE
*SRE 255
*ESE 255
UNIT:POWer DBM
POW 1
<- this command would be executed by the Instrument
POW 1E6
<- The user meant to set up 1MHz, with FREQ 1E6
<- Instrument generates an SRQ
*STB?
<- Instrument responds with the value 32 (decimal). This indicates there is
Event flag
*ESR?
<- the Event Register returns 15 (decimal) meaning there is an execution
error.
SYST:ERR?
<- Instrument returns the message from the error queue
<- -222”Data out of range;Value too large”
<- indicating the problem with the last command
Содержание 9640A Series
Страница 8: ......
Страница 16: ...9640A Instruction Manual viii...
Страница 22: ...9640A Instruction Manual 1 2...
Страница 40: ...9640A Instruction Manual 2 2...
Страница 108: ...9640A Instruction Manual 4A 2...
Страница 138: ...9640A Instruction Manual 4C 2...
Страница 164: ...9640A Instruction Manual 4D 2...
Страница 168: ...9640A Instruction Manual 4D 6...
Страница 170: ...9640A Instruction Manual 4E 2...
Страница 174: ...9640A Instruction Manual 4E 6...
Страница 176: ...9640A Instruction Manual 4F 2...
Страница 184: ...9640A Instruction Manual 4F 10...
Страница 186: ...9640A Instruction Manual 4G 2...
Страница 190: ...9640A Instruction Manual 4G 6...
Страница 192: ...9640A Instruction Manual 5 2...
Страница 272: ...9640A Instruction Manual 5 82...
Страница 274: ...9640A Instruction Manual 6 2...
Страница 284: ...9640A Instruction Manual 7 2...
Страница 309: ...8 1 Chapter 8 Lists of Replaceable Parts Title Page Introduction 8 3 How to Obtain Parts 8 3 Parts Lists 8 4...
Страница 310: ...9640A Instruction Manual 8 2...
Страница 316: ...9640A Instruction Manual 8 8...
Страница 320: ...9640A Instruction Manual A 4...