Save configuration sn – Measurement Computing Serial488/4 User Manual
Page 58

Section 3
Command Descriptions
3.19
Save Configuration
Sn
The Save Configuration command is used to save a non-volatile copy of the
present configuration for the Serial 488/4 to be used as the power-up configuration.
Note that this command is independent of port selection; it saves all Serial 488/4 port
and command settings. The S0 command is used to restore the factory default
configuration.
S0
Save the default configuration in non-volatile RAM.
S1
Save the current configuration in non-volatile RAM.
S?
Return the last Save configuration command.
Example 1: Configure each port; save settings using dual primary addressing mode.
PRINT#1,"OUTPUT08;k0m16u0y2X"
select EOI with last bus terminator, SRQ on
ready, command status, terminator CR LF
PRINT#1,"OUTPUT08;P1X"
select port 1 as the current port
PRINT#1,"OUTPUT08;a0b5c1d1X"
select 1 stop bit, 2400 baud, odd parity,
8 data bits
PRINT#1,"OUTPUT08;g1n0t13X"
select Xon/Xoff, automatic handshaking,
terminator CR
PRINT#1,"OUTPUT08;P2X"
select port 2 as the current port
PRINT#1,"OUTPUT08;a1b3c0d0X"
select 2 stop bits, 1200 baud, no parity,
7 data bits
PRINT#1,"OUTPUT08;g0n0t10X"
select RTS/CTS, automatic handshaking,
terminator LF
PRINT#1,"OUTPUT08;P3X"
select port 3 as the current port
PRINT#1,"OUTPUT08;a0b10c2d1X"
select 1 stop bit,19200 baud, even parity,
8 data bits
PRINT#1,"OUTPUT08;g1n0t13X"
select Xon/Xoff, automatic handshaking,
terminator CR
PRINT#1,"OUTPUT08;P4X"
select port 4 as the current port
PRINT#1,"OUTPUT08;a1b1c0d0X"
select 2 stop bit, 300 baud, no parity,
8 data bits
PRINT#1,"OUTPUT08;g1n3t13X"
select Xon/Xoff, automatic handshaking,
output baud clock , terminator CR
PRINT#1,"OUTPUT08;S1x"
save the configuration