Instruction on schools daq

From MariachiWiki

Starting after a computer reboot

  • login to a computer as root
  • open a terminal window (click on a small monitor in the top panel)
  • check that a coincidence box is on
  • program the coincidence box:
    • at "#" prompt in the terminal window type: alterald.sh <Enter> (<Enter> means hitting the "Enter" key)
    • the following window should pop up
      Image:Alterald_linux.png
    • use "Browse" button to find mariachi.RBF file in /usr/lib/mariachi/altera directory
    • use "Device Name" list box to choose "Morph-IC A". If nothing shows up see troubleshooting below.
    • Push "Program" button. The note "Programed OK" should show up after "Status:"
    • you are done with that - close the widown by pressing the cross on the window frame
  • start the main DAQ program:
    • at "#" prompt in the terminal window type: mariachi-labview-interactive.sh <Enter>
    • two windows should pop up and the DAQ program starts collecting data right away
      • use the smaller window two stop/start the DAQ program
      • the bigger window shows data collection in progress


Start/Stop any time

  • to stopt/start the DAQ program any time later always use the small window: "Stop" button to stop, white arrow on LabView panel to start.
    The reason there are two windows is that the small one controls and syncronizes the bigger one which collects detector counts and another subprogram which runs invisibly and collects timestapms. It is important to start/stop via the small window so that both above parts of the DAQ system do it simultaniously.


Troubleshooting

Some hints on the coincidence box:

  • The coincidence box has a power switch under the lid on an internal power supply
  • When the coincidence box is ready to communicate with a computer the red LED located on the FPGA chip board near the USB connector is ON. If it's OFF recycle the power.
  • If the box is successully programmed the greed LED near the red one above is ON. If it's OFF for any reason the box should be reprogrammed (see the beginning of the instruction).