######################################################################## ### FILE: tbccontrol.mod ### PURPOSE: Commands for controlling the TBC ### SCOPE: "FlowChip<n>:" branches ### ### Copyrights (C) 2005 Life Technologies. All rights reserved. ######################################################################## VAR NumZones $(:SYSTem:ENVironment? -default=1 ZONESPERFLOWCHIP) VAR FirstZone $[ (${FC} - 1) * ${NumZones} + 1 ] DEFINT _ARGSTRING $value$ <quote> RETurn $[ " ".join([ "-Zone%d=$value$"%(z + ${FirstZone}) for z in range(${NumZones}) ]) ] </quote> #PREPend START "\n\t:TBC:CONTrol $(_ARGSTRING On)" #PREPend STOP "\n\t:TBC:CONTrol $(_ARGSTRING Off)" #PREPend STOP "\n\t:TBC:SETTing -concurrent $(_ARGSTRING 25)" DEFine RAMP $asynchronous$=False $target$ <quote> FLAG Ramping ":TBC:SETTing </quote>$(_ARGSTRING $target$)<quote>" IF $asynchronous$ NEXT SYNC Ramping </quote>