15-4
Common Commands
*OPC programming example
The command sequence in Table 15-2 will perform 10 measurements. After the measure-
ments are completed (in approximately 10 seconds), an ASCII
“
1
”
will be placed in the Output
Queue and displayed on the computer CRT. Note that additional codes must be added to query
the instrument for the presence of the ASCII
“
1
”
in the Output Queue.
*SAV <NRf>
—
save
Save present setup in memory
*RCL <NRf>
—
recall
Return to setup stored in memory
Parameters: 0 = Memory location 0
1 = Memory location 1
2 = Memory location 2
3 = Memory location 3
4 = Memory location 4
Use the *SAV command to save the present instrument setup con
fi
guration in memory for
later recall. Any control affected by *RST can be saved by the *SAV command. The *RCL
command is used to restore the instrument to the saved setup con
fi
guration. Five setup con
fi
gu-
rations can be saved and recalled.
The SourceMeter ships from the factory with SYSTem:PRESet defaults loaded into the
available setup memory. If a recall error occurs, the setup memory defaults to the SYSTem:
PRESet values.
Table 15-2
*OPC programming example
Command
Description
*RST
:TRIG:DEL 1
:ARM:COUN 10
:OUTP ON
:INIT
*OPC?
Return SourceMeter to GPIB defaults (idle).
Set trigger delay for 1 second.
Program for 5 measurements and stop.
Turn on output.
Start measurements.
Send *OPC? to query Output Queue.
*Additional code required to test for
“
1
”
in Output Queue.
Содержание 6430
Страница 26: ......
Страница 32: ......
Страница 78: ...2 14 Connections ...
Страница 98: ...3 20 Basic Source Measure Operation ...
Страница 138: ...5 30 Source Measure Concepts ...
Страница 156: ...6 18 Range Digits Speed and Filters ...
Страница 168: ...7 12 Relative and Math ...
Страница 176: ...8 8 Data Store ...
Страница 202: ...9 26 Sweep Operation ...
Страница 248: ...11 22 Limit Testing ...
Страница 310: ...16 6 SCPI Signal Oriented Measurement Commands ...
Страница 418: ...17 108 SCPI Command Reference ...
Страница 450: ...18 32 Performance Verification ...
Страница 477: ...A Specifications ...
Страница 489: ...B StatusandErrorMessages ...
Страница 498: ...B 10 Status and Error Messages ...
Страница 499: ...C DataFlow ...
Страница 503: ...D IEEE 488BusOverview ...
Страница 518: ...D 16 IEEE 488 Bus Overview ...
Страница 519: ...E IEEE 488andSCPI ConformanceInformation ...
Страница 523: ...F MeasurementConsiderations ...
Страница 539: ...G GPIB488 1Protocol ...
Страница 557: ......