SET
should be used. We will differentiate the use of the SET
for three categories of devices:
SET <alias>|<equipment name> <control-loop 1 parameters>|<control-loop 2 parameters>
<control-loop N parameters> = <setpoint><tolerance><stability-time>
Examples:
SET Temperature 100.0 1.0 60 100.0 1.5 30
SET Temperature_2nd_Port 100.0 1.0 60 100.0 1.5 30
Temperature
or Temperature_2nd_Port
represent the aliases for the respective temperature controller frontends,100.0
represents the new setpoint in Kelvin for the first heating loop,1.0
represents the tolerance in Kelvin for the first heating loop,60
represents the time that the first temperature needs to stay within the tolerance to be considered "in range",100.0
represents the new setpoint in Kelvin for the second heating loop,1.5
represents the tolerance in Kelvin for the second heating loop,30
represents the time that the second temperature needs to stay within the tolerance to be considered "in range". SET Temperature 100.0 1.0 60
Temperature
represents the alias for the temperature controller frontend,100.0
represents the new setpoint in Kelvin,1.0
represents the tolerance in Kelvin,60
represents the time that the temperature needs to stay within the tolerance to be considered "in range".SET
does solely set the parameters, but does not actually wait for the temperature to be in the defined tolerance for the defined time. To be sure to have a temperature within the tolerance, the user should also specify the command WAIT
(see section Wait for reaching Device Specific Condition) after the SET
command.SET <alias>|<equipment name> <setpoint><tolerance 1><stability-time 1>[<tolerance 2><stability-time 2>]
<tolerance 1>
and <stability-time 1>
represent the tolerance in Kelvin and waiting time in seconds for the first control step (without I parameter), and <tolerance 2>
and <stability-time 2 >
represent the tolerance in Kelvin and waiting time in seconds for the second control step (with I parameter)Example:
SET Temperature 0.1 0.02 180 0.01 240
Temperature
represents the alias for the temperature controller frontend,0.1
represents the new setpoint in Kelvin,0.02
represents the tolerance in Kelvin for the first control step (without I parameter),180
represents the time that the temperature needs to stay within the tolerance prior to go to the second step of the control process (in this example, the temperature has to stay 180 sec. between 0.08 and 0.12 K).0.01
represents the tolerance in Kelvin for the second control step (i.e. with I parameter),240
represents the time that the temperature needs to stay within the tolerance to be considered "in range" (in this example, the temperature has to stay 240 sec. between 0.09 and 0.11 K). deltat
and the MIDAS data acquisition system allow the users to control the LabView application controlling the Oxford Instrument Variox Cryostats. As explained in section Variox/Heliox Cryostat the setup has to be performed on the LabView application prior to control it from the deltat
application. SET <alias>|<equipment name> <Variox-par.><Heliox-par.>[<NV>|A]|<Variox-par.>[<NV>|A]|<Heliox-par.>
<Variox-par.> = <setpoint><tolerance><stability-time>
are the parameters for the Variox Cryostat,<Heliox-par.> = <setpoint><tolerance><stability-time>
are the parameters for the Heliox Insert,<NV>
is the Variox needle valve value in %. If the Variox Cryostat is in auto-needle-valve mode it will be set to manual-needle-valve mode. The option "A" will set the Variox Cryostat to auto-needle-valve mode.
SET
does solely set the parameters, but does not actually wait for the temperature to be in the defined tolerance for the defined time. To be sure to have a temperature within the tolerance, the user should also specify the command WAIT
(see section Wait for reaching Device Specific Condition) after the SET
command.SET <alias>|<equipment name> <magnet name> <value of field in Gauss><waiting time>
Example:
SET Magnet WED 1000 60
Magnet
represents the alias for the magnet controller frontend,WED
represents the name of a specific magnet,1000
represents the new field in Gauss,60
represents the waiting time for the field stabilization. Note that this time is waited immediately after changing the field setpoint value. Therefore the user should choose a long enough waiting time to allow the field to stabilize.SET <alias>|<equipment name> <value of field in Tesla>[<mode>]
<mode>
represents the mode ('P'=persistent or 'N'=non-persistent) in which the magnet will be placed.Example:
SET Superconducting_Magnet 1.0 P
Superconducting_Magnet
represents the alias for the magnet controller frontend,1.0
represents the new field in Tesla,P
specifies that the magnet has to work on persistent mode.
Note that the autorun sequence will NOT WAIT that the magnet is at field prior to process the next autorun sequence command.
To ensure that the magnet is at field prior to start a run, the command WAIT
has to be invoked:
WAIT <alias>|<equipment name> ATFIELD [<max-interval>]
<max-interval>
is the maximum waiting time in seconds.Example:
SET Superconducting_Magnet 1.0 P SET Temperature 0.5 0.02 60 0.1 240 WAIT Temperature INRANGE 3600 WAIT Superconducting_Magnet ATFIELD 3600
See also section WAIT command.
SET <alias>|<equipment name> [<device specific arguments>]
Modify Device
list (except pTA and Experimental Magnets) may not be set in the autorun sequence. Use Show
or Modify
in the Modify Device
tab to find out about currently valid Aliases, Names and Parameter Names.SET Flow FLOW 2.5
Flow
represents the alias for the flow controller frontend,FLOW
represents the parameter to be changed,2.5
represents the flow in l/min.SET Position ANGLE 130.0 30
Position
represents the alias for the rotation controller frontend,ANGLE
represents the parameter to be changed,130.0
represents the new angle.SET Tube_Heater I 0.230
Tube_Heater
represents the alias for the Tube Heater frontend,I
represents the parameter to be changed (here the current),0.230
represents the new current in Ampere.SET Beamline_PiM3 FS302 400
Beamline_PiM3
represents the alias for the Beamline Controller frontend,FS302
represents the element to be changed (here the slits in front of GPS),400
represents the new DAC value for this element.