######################################################################## ### FILE: powerdown.mod ### PURPOSE: Command to bring instrument to safe state for power-down ### SCOPE: Top Level ### ### Copyrights (C) 2011 Life Technologies. All rights reserved. ######################################################################## DEFine -asynchronous POWERDOWN INFO "Powering down..." REPeat -counter=idx -start=1 ${NumFlowChips} TRY FlowChip${idx}:AbortProc INFO "Shutting down run in FlowChip${idex}..." PASS # shut off the TBC sub-system IF $(STATe? TBC) INFO "Stopping Temperature Control" TBC:STOP TRY INFO "Turning off light" # Turn off Aux light :ACB:SetXeLampOFF WARNing "Failed to park stage: [${error}] ${message}" TRY IF $(STATe? Fluidics) INFO "Parking robotics" # Park the fluidics system :FLUidics:Park # Set fluidic valves and pumps in a known state INFO "Shutting down fluidics" FLUidics:POWERDOWN WARNing "Failed to shutdown the fluidics sub-system: TRY INFO "Parking stage" # Park the stage :STAGe:PARK WARNing "Failed to park stage: [${error}] ${message}"