public class MagnetMainSupply extends MagnetPowerSupply
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CYCLE_ENABLE_HANDLE |
static java.lang.String |
FIELD_BOOK_HANDLE |
static java.lang.String |
FIELD_RB_HANDLE |
static java.lang.String |
FIELD_SET_HANDLE |
accelerator, channelSuite, CURRENT_RB_HANDLE, CURRENT_SET_HANDLE, CYCLE_INVALID, CYCLE_STATE_HANDLE, CYCLE_VALID, CYCLING, strId
Constructor and Description |
---|
MagnetMainSupply(Accelerator anAccelerator)
Creates a new instance of MainSupply
|
Modifier and Type | Method and Description |
---|---|
double |
getField()
Get the field contribution from this power supply.
|
double |
getFieldSetting()
Get the value to which the field is set.
|
java.lang.String |
getType()
Get the power supply type
|
double |
lowerAlarmFieldLimit()
Get the field lower alarm limit in T/(m^(n-1)), where n = 1 for dipole, 2 for quad, etc.
|
double |
lowerDisplayFieldLimit()
get the field lower display limit in T/(m^(n-1)), where n = 1 for dipole, 2 for quad, etc.
|
double |
lowerFieldLimit()
get the field lower settable limit
in T/(m^(n-1)), where n = 1 for dipole, 2 for quad, etc.
|
double |
lowerWarningFieldLimit()
Get the field lower warning limit in T/(m^(n-1)), where n = 1 for dipole, 2 for quad, etc.
|
protected void |
setCycleEnable(boolean enable)
Set the cycle enable state of the magnet power supply.
|
void |
setField(double newField)
Set the field contribution from this power supply.
|
boolean |
suppliesNode(AcceleratorNode node)
Check if the electromagnet is supplied by this power supply.
|
double |
upperAlarmFieldLimit()
Get the field upper alarm limit in T/(m^(n-1)), where n = 1 for dipole, 2 for quad, etc.
|
double |
upperDisplayFieldLimit()
get the field upper display limit in T/(m^(n-1)), where n = 1 for dipole, 2 for quad, etc.
|
double |
upperFieldLimit()
get the field upper settable limit
in T/(m^(n-1)), where n = 1 for dipole, 2 for quad, etc.
|
double |
upperWarningFieldLimit()
Get the field upper warning limit in T/(m^(n-1)), where n = 1 for dipole, 2 for quad, etc.
|
dataLabel, findChannel, getAndConnectChannel, getChannel, getChannelSuite, getCurrent, getCycleState, getId, getNodes, getNodes, lowerCurrentLimit, setCurrent, update, upperCurrentLimit, write
public static final java.lang.String CYCLE_ENABLE_HANDLE
public static final java.lang.String FIELD_SET_HANDLE
public static final java.lang.String FIELD_RB_HANDLE
public static final java.lang.String FIELD_BOOK_HANDLE
public MagnetMainSupply(Accelerator anAccelerator)
public java.lang.String getType()
getType
in class MagnetPowerSupply
protected void setCycleEnable(boolean enable) throws ConnectionException, PutException
enable
- True to enable cycling; false to disable cycling.ConnectionException
PutException
public double getField() throws ConnectionException, GetException
ConnectionException
GetException
public void setField(double newField) throws ConnectionException, PutException
newField
- is the new field level in T/(m^(n-1)), where n = 1 for dipole, 2 for quad, etc.ConnectionException
PutException
public double getFieldSetting() throws ConnectionException, GetException
ConnectionException
GetException
public double upperDisplayFieldLimit() throws ConnectionException, GetException
ConnectionException
GetException
public double lowerDisplayFieldLimit() throws ConnectionException, GetException
ConnectionException
GetException
public double upperFieldLimit() throws ConnectionException, GetException
ConnectionException
GetException
public double lowerFieldLimit() throws ConnectionException, GetException
ConnectionException
GetException
public double upperAlarmFieldLimit() throws ConnectionException, GetException
ConnectionException
GetException
public double lowerAlarmFieldLimit() throws ConnectionException, GetException
ConnectionException
GetException
public double upperWarningFieldLimit() throws ConnectionException, GetException
ConnectionException
GetException
public double lowerWarningFieldLimit() throws ConnectionException, GetException
ConnectionException
GetException
public boolean suppliesNode(AcceleratorNode node)
suppliesNode
in class MagnetPowerSupply
node
- The electromagnet to check