Package cbsw.lhcb.pdmdb
Class DrpPanel
- java.lang.Object
-
- cbsw.lhcb.pdmdb.DrpPanel
-
public class DrpPanel extends java.lang.Object
This class encapsulates the interactions with the muDaq K7 dynamic reconfiguration port.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.swing.JTextField
addrTF
(package private) ColorArray
ca
(package private) java.awt.Color[]
colorMap
(package private) javax.swing.JTextField
dataTF
(package private) JniAdeptDepp
depp
(package private) int
deppBase
(package private) int
deppConfigBase
(package private) javax.swing.JTextField
drpPrescaleTF
(package private) javax.swing.JTextField
drpSelectTF
(package private) static DrpPanel
staticThis
-
Constructor Summary
Constructors Constructor Description DrpPanel()
No-argument constructor called during unmarshalling
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deppPutShort(int address, short val)
Write word to DRPvoid
drpRead()
Read word from DRP and update panelvoid
drpWrite()
Write word from panel to DRPvoid
eyeScan()
java.util.ArrayList<java.lang.Integer>
eyeScanDo(int x, int y, int prescale)
void
eyeScanPrepare(int mgt)
void
init(JniAdeptDepp depp)
Call after unmarshalling to complete initialisationGuiJPanel
makePanel()
Convenience method to build a GUI panel
-
-
-
Field Detail
-
staticThis
static DrpPanel staticThis
-
depp
JniAdeptDepp depp
-
deppBase
int deppBase
-
deppConfigBase
int deppConfigBase
-
addrTF
javax.swing.JTextField addrTF
-
dataTF
javax.swing.JTextField dataTF
-
drpSelectTF
javax.swing.JTextField drpSelectTF
-
drpPrescaleTF
javax.swing.JTextField drpPrescaleTF
-
ca
ColorArray ca
-
colorMap
java.awt.Color[] colorMap
-
-
Method Detail
-
makePanel
public GuiJPanel makePanel()
Convenience method to build a GUI panel
- Returns:
- The panel
-
init
public void init(JniAdeptDepp depp)
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
public java.util.ArrayList<java.lang.Integer> eyeScanDo(int x, int y, int prescale)
-
eyeScan
public void eyeScan()
-
-