2-12 Stored Setup Commands
Programming with GPIB Commands
2-34
PN: 10370-10374 Rev. F
MG369xC GPIB PM
2-12 Stored Setup Commands
lists the stored setup command mnemonic codes. These commands provide for saving instrument
setups and recalling them for use.
A current instrument setup can be saved to internal setup memory using the
SSN(m)
command, where
m = memory locations 1 to 9. Up to nine instrument setups can be stored in this manner. The command
RSN(m)
recalls a stored instrument setup from internal setup memory locations 1 to 9.
If more than nine instrument setups are needed, or if it is desirable to store the setups in the controller
instead of the CW generator memory, the MG369xC can be commanded to output and accept stored setups
over the bus.
The
SAF
command outputs the current instrument setup to the controller in a 4100-byte (approximately)
binary data string. The controller stores the instrument setup. The
RCF
command readies the CW generator to
receive a new instrument setup recalled from the controller.
shows an example of
SAF
and
RCF
command programming.
The
SAM
and
RCM
commands perform the same functions as described for the
SAF
and
RCF
commands, except
that all of the stored instrument setups are included in the binary data string along with the current
instrument setup. For these commands, the binary data string is approximately 41000 bytes long.
Programming Note:
The
SAF
and
SAM
commands output binary data. The data string is terminated with “
EOI
” on the last byte sent
(no
CR
or
LF
is sent).
Table 2-13.
Stored Setup Commands
Mnemonic
Code
Function
SAF
Outputs the current instrument setup to the controller.
SAM
Outputs both the current instrument setup and all stored instrument setups to the controller.
SM
Recalls the next stored instrument setup in sequence.
SSN(m)
Saves the current instrument setup to internal setup memory location m, where m = 1 to 9.
RCF
Readies the MG369xC to receive a new instrument setup recalled from the controller.
RCM
Readies the MG369xC to receive a new instrument setup and new stored setups recalled from the
controller.
RSN(m)
Recalls the instrument setup stored in internal setup memory location m, where m = 1 to 9.
10 DIM A$ [300]
20 OUTPUT 705; “SAF”
30 ENTER 705 USING “#%, #%K”; A$ (Requires EOI to be the terminator of the read.
)
40 OUTPUT 705; “RCF”; A$ (A$ must follow the SAF. )
Figure 2-9.
SAF and RCF Commands Programming Example
Содержание MG369 C Series
Страница 2: ......
Страница 6: ...Contents 4 PN 10370 10374 Rev F MG369xC GPIB PM ...
Страница 262: ...A 34 PN 10370 10374 Rev F MG369xC GPIB PM ...
Страница 264: ...Index 2 PN 10370 10374 Rev F MG369xC GPIB PM ...
Страница 265: ......