########################################################################
### FILE: sdscontrol.mod
### PURPOSE: Commands that involve both temperature control and scanning
########################################################################
### MACRO: RampAndCollect
### PURPOSE: Ramp the TBC temperature while colleting data
DEFine RampAndCollect $Increment$=0.0 $IncrementCycle$=1 $Rate$=100.0 $Temperatures* \
_NONINTERACTIVE_
DESCribe RampAndCollect
Ramp the thermal block to the given temperature, while doing an
image scan using the specified scanner profile. See also the
"RAMP" and "COLLect" commands.
########################################################################
### MACRO: HoldAndCollect
### PURPOSE: Hold for a given duration while collecting data.
DEFine HoldAndCollect $Increment$=0.0 $IncrementCycle$=1 $Time$ \
_NONINTERACTIVE_
DESCribe HoldAndCollect
Hold at the current target temperature for a given duration, while
doing an image scan using the specified scanner profile. See also
the "HOLD" and "COLLect" commands.
########################################################################
### VARIABLE: POWERON, POWEROFF
### PURPOSE: Turn power on/off
#PREPend -create POWERON
# TBC:ProxyFAN 0 0
#
APPend -create POWEROFF
TBC:ProxyFAN 1 0
########################################################################
### MACRO: SHipPReparation
### PURPOSE: Put the instrument in a ship-ready state
DEFine SHipPReparation
### Park the block in the "UP" position
UP
POWer Off
DESCribe SHipPReparation
Put the instrument in a ship-ready state
########################################################################
### SubscribeImportantStuff
ALIas SubscribeImportantStuff SUBScribe -timestamp System Run Image Error Warning Info MTSSStatus MTSSresult MTZOresult