Class DrpPanel


  • public class DrpPanel
    extends java.lang.Object

    This class encapsulates the interactions with the muDaq K7 dynamic reconfiguration port.

    • 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 DRP
      void drpRead()
      Read word from DRP and update panel
      void drpWrite()
      Write word from panel to DRP
      void 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 initialisation
      GuiJPanel makePanel()
      Convenience method to build a GUI panel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • staticThis

        static DrpPanel staticThis
      • 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
      • colorMap

        java.awt.Color[] colorMap
    • Constructor Detail

      • DrpPanel

        public DrpPanel()

        No-argument constructor called during unmarshalling

    • 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 address
        val - 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()