public class MagnetTrimSupply extends MagnetPowerSupply
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FIELD_RB_HANDLE |
static java.lang.String |
FIELD_SET_HANDLE |
static java.lang.String |
TRIM_CURRENT_RB_HANDLE |
static java.lang.String |
TRIM_CURRENT_SET_HANDLE |
accelerator, channelSuite, CURRENT_RB_HANDLE, CURRENT_SET_HANDLE, CYCLE_INVALID, CYCLE_STATE_HANDLE, CYCLE_VALID, CYCLING, strId| Constructor and Description |
|---|
MagnetTrimSupply(Accelerator anAccelerator)
Creates a new instance of TrimMagnetSupply
|
| Modifier and Type | Method and Description |
|---|---|
double |
getField()
Get the trim field contribution from this power supply.
|
double |
getFieldSetting()
Get the value to which the field is set.
|
double |
getTrimCurrent()
Get the magnet trim power supply current
|
java.lang.String |
getType()
Get the power supply type
|
double |
lowerFieldLimit()
get the field lower settable limit
in T/(m^(n-1)), where n = 1 for dipole, 2 for quad, etc.
|
void |
setField(double newField)
Set the trim field contribution from this power supply.
|
void |
setTrimCurrent(double current)
Set the magnet trim power supply current.
|
boolean |
suppliesNode(AcceleratorNode node)
Check if the electromagnet is supplied by this power supply.
|
double |
upperFieldLimit()
get the field upper settable 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 FIELD_SET_HANDLE
public static final java.lang.String FIELD_RB_HANDLE
public static final java.lang.String TRIM_CURRENT_SET_HANDLE
public static final java.lang.String TRIM_CURRENT_RB_HANDLE
public MagnetTrimSupply(Accelerator anAccelerator)
public java.lang.String getType()
getType in class MagnetPowerSupplypublic 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 getTrimCurrent()
throws ConnectionException,
GetException
ConnectionException - if the readback channel cannot be connectedGetException - if the readback channel get action failspublic void setTrimCurrent(double current)
throws ConnectionException,
PutException
current - The current in amperesConnectionException - if the put channel cannot be connectedPutException - if the put channel set action failspublic double upperFieldLimit()
throws ConnectionException,
GetException
ConnectionExceptionGetExceptionpublic double lowerFieldLimit()
throws ConnectionException,
GetException
ConnectionExceptionGetExceptionpublic boolean suppliesNode(AcceleratorNode node)
suppliesNode in class MagnetPowerSupplynode - The electromagnet to check