User manual

Prologix GPIB-USB Controller User Manual
9/15/2009 13
8.14. savecfg
This command enables, or disables, automatic saving of configuration parameters in
EPROM. If enabled, the following configuration parameters are saved whenever they are
updated – mode, addr, auto, eoi, eos, eot_enable, eot_char and read_tmo_ms.
However, frequent updates may eventually wear out the EPROM. This command may
be used to temporarily disable automatic saving of configuration parameters to reduce
EEPROM wear.
The savecfg setting itself is not saved in EPROM. It is always enabled on startup (after
power up, or reset).
SYNTAX: ++savecfg [0|1]
MODES AVAILABLE: CONTROLLER, DEVICE
EXAMPLE:
++savecfg 1 Enable saving of configuration parameters in EPROM
++savecfg 0 Disable saving of configuration parameters in EPROM
++savecfg Query current setting
NOTE:
“++savecfg 1” command will immediately save the current values of all configuration
parameters, in addition to enabling the automatic saving of parameters.
8.15. spoll
This command performs a serial poll of the instrument at the specified address. If no
address is specified then this command serial polls the currently addressed instrument (as
set by a previous ++addr command). This command uses the time-out value specified
by the read_tmo_ms command.
SYNTAX: ++spoll [<PAD> [<SAD>]]
PAD (Primary Address) is a decimal value between 0 and 30.
SAD (Secondary Address) is a decimal value between 96 and 126. SAD is optional.
MODES AVAILABLE: CONTROLLER
EXAMPLE:
++spoll 5 Serial poll instrument at primary address 5
++spoll 9 96 Serial poll instrument at primary address 9, seconday address 0
++spoll Serial poll currently addressed instrument