All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CDF.CDFdaq

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----com.sun.java.swing.JFrame
                                           |
                                           +----CDF.CDFdaq

public class CDFdaq
extends JFrame
This class provides the main window for the program.


Variable Index

 o blockMI
Menu Item for the vmeM menu
 o calcMI
Menu Item for the fileM menu
 o clearMI
Menu Item for the fileM menu
 o daqM
Control Menu
 o editConfigMI
Menu Item for the fileM menu
 o fifoMI
Menu Item for the vmeM menu
 o fileM
Control Menu
 o initBoardM
Control Menu
 o initBoardMI
Array of Menu Items indexed on Board type for the initBoardM menu
 o initMI
Menu Item for the daqM menu
 o listMI
Menu Item for the vmeM menu
 o mbar
The MenuBar
 o pingMI
Menu Item for the vmeM menu
 o prefsMI
Menu Item for the fileM menu
 o printMI
Menu Item for the fileM menu
 o quitMI
Menu Item for the fileM menu
 o saveHistoryMI
Menu Item for the fileM menu
 o statusM
Control Menu
 o statusMI
Array of Menu Items indexed on Board type for the statusM menu
 o vmeLMI
Menu Item for the vmeM menu
 o vmeM
Control Menu
 o vmeMI
Menu Item for the vmeM menu
 o vmeSMI
Menu Item for the vmeM menu
 o whichBoard
Dialog for querying Init Commands
 o windowSize
Default Window Size

Constructor Index

 o CDFdaq()
Creates the program's main window.

Method Index

 o addHistory(String)
Adds a string to the history log (i.e.
 o addHistory(String, int)
Adds a string to the history log (no carriage return) and rings the System bell.
 o clearHistory()
Method to clear text from window - Bound to clearMI menuItem
 o editConfig()
Method to bring up an EditConfig instance to add/remove/edit Boards and Crates - Bound to editConfigMI menuItem
 o initBoard(int)
Method to initialize the requested board - Bound to initBoardMI[ibd] menuItem
 o initSystem()
Method to initialize the system - bound to initMI menuItem.
 o newBlock()
Method Start a Generic Block Read/Write object - Bound to blockMI menuItem
 o newFifo()
Method Start a Generic Block Read/Write object in FIFO mode - Bound to fifoMI menuItem
 o printHistory(String)
Prints a string to the history log.
 o printHistory(String, int)
Prints a string to the history log, and rings the System bell.
 o saveHistory()
 o setVisible(boolean)
Shows/Hides the Main Window.
 o show()
Shows the Main window. Deprecated.
 o showBoardStatus(int)
Method to show the Status page of the requested board - Bound to statusMI[ibd] menuItem
 o vmeLoopedReadWrite()
Method Start a Generic VME Single Word Read/Write object in Looping mode - Bound to vmeLMI menuItem
 o vmeReadWrite()
Method Start a Generic VME Single Word Read/Write object - Bound to vmeMI menuItem
 o vmeReadWriteScript()
Method Start a Generic VME Scripting Single Word Read/Write object - Bound to vmeSMI menuItem

Variables

 o windowSize
 public static Dimension windowSize
Default Window Size

 o whichBoard
 public WhichBoard whichBoard
Dialog for querying Init Commands

 o mbar
 public JMenuBar mbar
The MenuBar

 o fileM
 public JMenu fileM
Control Menu

 o vmeM
 public JMenu vmeM
Control Menu

 o daqM
 public JMenu daqM
Control Menu

 o statusM
 public JMenu statusM
Control Menu

 o initBoardM
 public JMenu initBoardM
Control Menu

 o quitMI
 public JMenuItem quitMI
Menu Item for the fileM menu

 o clearMI
 public JMenuItem clearMI
Menu Item for the fileM menu

 o saveHistoryMI
 public JMenuItem saveHistoryMI
Menu Item for the fileM menu

 o printMI
 public JMenuItem printMI
Menu Item for the fileM menu

 o prefsMI
 public JMenuItem prefsMI
Menu Item for the fileM menu

 o editConfigMI
 public JMenuItem editConfigMI
Menu Item for the fileM menu

 o calcMI
 public JMenuItem calcMI
Menu Item for the fileM menu

 o vmeMI
 public JMenuItem vmeMI
Menu Item for the vmeM menu

 o vmeLMI
 public JMenuItem vmeLMI
Menu Item for the vmeM menu

 o vmeSMI
 public JMenuItem vmeSMI
Menu Item for the vmeM menu

 o blockMI
 public JMenuItem blockMI
Menu Item for the vmeM menu

 o fifoMI
 public JMenuItem fifoMI
Menu Item for the vmeM menu

 o pingMI
 public JMenuItem pingMI
Menu Item for the vmeM menu

 o listMI
 public JMenuItem listMI
Menu Item for the vmeM menu

 o initMI
 public JMenuItem initMI
Menu Item for the daqM menu

 o statusMI
 public JMenuItem statusMI[]
Array of Menu Items indexed on Board type for the statusM menu

 o initBoardMI
 public JMenuItem initBoardMI[]
Array of Menu Items indexed on Board type for the initBoardM menu

Constructors

 o CDFdaq
 public CDFdaq()
Creates the program's main window.

Methods

 o show
 public void show()
Note: show() is deprecated.
Please use CDFdaq.setVisible(boolean) instead

Shows the Main window.

Overrides:
show in class Window
 o setVisible
 public void setVisible(boolean vis)
Shows/Hides the Main Window. Overridden to ensure that the Prefs fonts (at least for menus) are propogated

Parameters:
vis - == true -> show window
Overrides:
setVisible in class Component
 o printHistory
 public static void printHistory(String output)
Prints a string to the history log.

Parameters:
output - The string to write.
 o addHistory
 public static void addHistory(String output)
Adds a string to the history log (i.e. no carriage return).

Parameters:
output - The string to write.
 o printHistory
 public static void printHistory(String output,
                                 int beeps)
Prints a string to the history log, and rings the System bell.

Parameters:
output - The string to write.
nbeeps - # of beeps to do
 o addHistory
 public static void addHistory(String output,
                               int beeps)
Adds a string to the history log (no carriage return) and rings the System bell.

Parameters:
output - The string to write.
nbeeps - # of beeps to do
 o clearHistory
 public void clearHistory()
Method to clear text from window - Bound to clearMI menuItem

 o editConfig
 public void editConfig()
Method to bring up an EditConfig instance to add/remove/edit Boards and Crates - Bound to editConfigMI menuItem

 o initSystem
 public void initSystem()
Method to initialize the system - bound to initMI menuItem.
Procedure is:

See Also:
CDFcfg, Crate, CDFPrefs
 o vmeLoopedReadWrite
 public void vmeLoopedReadWrite()
Method Start a Generic VME Single Word Read/Write object in Looping mode - Bound to vmeLMI menuItem

 o vmeReadWriteScript
 public void vmeReadWriteScript()
Method Start a Generic VME Scripting Single Word Read/Write object - Bound to vmeSMI menuItem

 o vmeReadWrite
 public void vmeReadWrite()
Method Start a Generic VME Single Word Read/Write object - Bound to vmeMI menuItem

 o newFifo
 public void newFifo()
Method Start a Generic Block Read/Write object in FIFO mode - Bound to fifoMI menuItem

 o newBlock
 public void newBlock()
Method Start a Generic Block Read/Write object - Bound to blockMI menuItem

 o showBoardStatus
 public void showBoardStatus(int iBd)
Method to show the Status page of the requested board - Bound to statusMI[ibd] menuItem

Parameters:
iBd - Board type to display
 o initBoard
 public void initBoard(int iBd)
Method to initialize the requested board - Bound to initBoardMI[ibd] menuItem

Parameters:
iBd - Board type choose from for initialization
 o saveHistory
 public void saveHistory()

All Packages  Class Hierarchy  This Package  Previous  Next  Index