Project

General

Profile

Instructions

Collection of instructions, manuals, references for DAQ and Monitoring hardware and software.

Code Development

Code is managed via a Git repository. See the git page in this wiki for details.

Code development at FNAL is performed on the uboonedaq-evb machine, physically located at the DAQ Test Stand in the DAB Hurricane Annex. See these Set up Development instructions for creating your own development area on this node.

Adding a User

Find a ksu-privileged person. Have them do the following

#on uboonedaq-evb
system-config-users # this is a GUI. Add the username, First, Last names, leave passwd blank despite admonition against doing so. In Properties of this same GUI add them to the uboone group. Then change their primary group to uboone.
vi /etc/shadow # strike out all the characters in the pwd field in the new user's line. Basically make this user's entry look like any other.
#Check that /etc/password, /etc/shadow, /etc/group and /etc/gshadow all conform
cd /home/
chown -R newuser.uboone newuser/
ln -s /home/uboonedaq/.bash_profile . in a new user's home directory.
chmod -R 755 newuser
ypcat passwd # confirm they're not yet here.
/usr/lib64/yp/ypinit -m # you only want uboonedaq-evb as the server, so Ctl-D out w.o. making any entries, per ypinit's instructions.
service ypserv restart; service ypbind restart
ypcat passwd# hopefully your new user is here now.
#Now on both uboonedaq-seb-10 and uboonedaq-seb-01, have your ksu (not to be confused with KSU) friend do
service ypbind restart
ypcat passwd # Verify that NIS is now publishing newuser: i.e., the new user's now part of the local DAQ network. Be sure she can ls -lat /home/newuser from all 3 machines.

Hardware Specific Code Development

PCIe Cards

In the final system, each SEB will have three of these cards installed inside the box on the PC bus. A photo of a card is shown. We talk to the cards via drivers created from licensed software. See the PCIe Software development page for information and instructions.

Glomation GESBC 9G20

Each rack will have a 1U chassis containing a Linux single-board computer (SBC) for slow monitoring and control (slowmoncon) for I2C-based rack thermometers, fan packs, talking to RS232 and NetSNMP-based power supplies, and various other status. The chosen SBC is the Glomation GESBC-9G20, based on the Atmel SAM9G20. See our SBC 9G20 code development page for information.

Hardware Locations

Hardware is located on various workbenches and test-stands, both on-site at FNAL and off-site at various collaborator institutions. There are a variety of configurations the hardware and software can be placed in, depending on the development task at hand. A Vertical Slice is generally used to describe a configuration which exercises multiple levels of the final system (vertical-ness referring to levels) but only for a limited number of channels (slice referring to subset of channels). Some Vertical Slice configurations involve more levels than others.

PAB Test Stand

details here

DAB Test Stand

details here

EPICS

Adding new device support

See the adding a new device to EPICS page for some information and links to more.