Class DrpPanel
java.lang.Object
cbsw.lhcb.pdmdb.DrpPanel
This class encapsulates the interactions with the muDaq K7 dynamic reconfiguration port.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) JTextField(package private) ColorArray(package private) Color[](package private) JTextField(package private) JniAdeptDepp(package private) int(package private) int(package private) JTextField(package private) JTextField(package private) static DrpPanel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeppPutShort(int address, short val) Write word to DRPvoiddrpRead()Read word from DRP and update panelvoiddrpWrite()Write word from panel to DRPvoideyeScan()eyeScanDo(int x, int y, int prescale) voideyeScanPrepare(int mgt) voidinit(JniAdeptDepp depp) Call after unmarshalling to complete initialisationConvenience method to build a GUI panel
-
Field Details
-
staticThis
-
depp
JniAdeptDepp depp -
deppBase
int deppBase -
deppConfigBase
int deppConfigBase -
addrTF
JTextField addrTF -
dataTF
JTextField dataTF -
drpSelectTF
JTextField drpSelectTF -
drpPrescaleTF
JTextField drpPrescaleTF -
ca
ColorArray ca -
colorMap
Color[] colorMap
-
-
Constructor Details
-
DrpPanel
public DrpPanel()No-argument constructor called during unmarshalling
-
-
Method Details
-
makePanel
-
init
Call after unmarshalling to complete initialisation
- Parameters:
depp- The IO interface
-
drpRead
public void drpRead()Read word from DRP and update panel
-
drpWrite
public void drpWrite()Write word from panel to DRP
-
deppPutShort
public void deppPutShort(int address, short val) Write word to DRP
- Parameters:
address- DRP register addressval- Value to write
-
eyeScanPrepare
public void eyeScanPrepare(int mgt) -
eyeScanDo
-
eyeScan
public void eyeScan()
-