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, writepublic 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 MagnetPowerSupplyprotected void setCycleEnable(boolean enable)
throws ConnectionException,
PutException
enable - True to enable cycling; false to disable cycling.ConnectionExceptionPutExceptionpublic double getField()
throws ConnectionException,
GetException
ConnectionExceptionGetExceptionpublic 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.ConnectionExceptionPutExceptionpublic double getFieldSetting()
throws ConnectionException,
GetException
ConnectionExceptionGetExceptionpublic double upperDisplayFieldLimit()
throws ConnectionException,
GetException
ConnectionExceptionGetExceptionpublic double lowerDisplayFieldLimit()
throws ConnectionException,
GetException
ConnectionExceptionGetExceptionpublic double upperFieldLimit()
throws ConnectionException,
GetException
ConnectionExceptionGetExceptionpublic double lowerFieldLimit()
throws ConnectionException,
GetException
ConnectionExceptionGetExceptionpublic double upperAlarmFieldLimit()
throws ConnectionException,
GetException
ConnectionExceptionGetExceptionpublic double lowerAlarmFieldLimit()
throws ConnectionException,
GetException
ConnectionExceptionGetExceptionpublic double upperWarningFieldLimit()
throws ConnectionException,
GetException
ConnectionExceptionGetExceptionpublic double lowerWarningFieldLimit()
throws ConnectionException,
GetException
ConnectionExceptionGetExceptionpublic boolean suppliesNode(AcceleratorNode node)
suppliesNode in class MagnetPowerSupplynode - The electromagnet to check