Set power-up configuration – Measurement Computing TempScan/1100 User Manual
Page 216

A-20 API Command Reference
889897
TempScan / MultiScan User’s Manual
*S
- Set Power-Up Configuration
TYPE
System
EXECUTION
Immediate
SYNTAX
*Smode
Specify power-up configuration mode. Valid options for
mode
are:
0
- Power
up under last known configuration (default).
1
- Power up under factory
default configuration.
DESCRIPTION
With the Set Power-Up Configuration (
*S
) command, specifying the mode to be
0
will cause the unit to load its
last known configuration when it is powered on or when the Reset Power-On (
*R
) command is issued. The last
known configuration will be exactly the same as the configuration it had when it was last powered down or a
*R
command was issued. Specifying this mode will insure that the unit will always come up with the configuration
which has most recently been defined. Using this mode is convenient if it is undesirable to reconfigure the unit
every time it is powered up or a
*R
command is issued.
Specifying the mode to be
1
will cause the unit to load the factory default configuration when it is powered on or
when a
*R
command is issued. Using this mode is the same as power-cycling the unit then issuing the Restore
Factory Settings (
*F
) command. For more information on the factory default configuration, see section Power-Up
Configuration in the chapter System Configuration.
Note: Issuing the Set Power-Up Configuration (
*S
) command
*S1
and then power-cycling the unit, or issuing
the Reset Power-On (
*R
) command will cause any previously defined configuration to be irrevocably lost.
However, the calibration factors for the unit and its slaves will remain intact.
EXAMPLE
PRINT#1,"OUTPUT07;Q?T?Y?X"
‘ Retrieve some current configuration settings
PRINT#1,"ENTER07"
‘ Get the settings
INPUT A$
Q1,7,7,7,0 T1,3,0,0 Y100,
1000,0
‘ Screen shows settings
PRINT#1,"OUTPUT07;*S1X"
‘ Configure to power up with factory defaults
PRINT#1, “OUTPUT07;*RX”
‘ Reset the unit
SLEEP 5
‘ Wait for the unit to reset
PRINT#1,"OUTPUT07;Q?T?Y?X"
‘ Retrieve some current configuration settings
PRINT#1,"ENTER07"
‘ Get the settings
INPUT A$
Q1,0,0,0,0 T0,0,0,0 Y0,0,0
‘ Screen shows settings