40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  ATF eLog  Not logged in ELOG logo
Entry  Wed Mar 23 10:48:20 2011, josephb, Computing, CDS, CDS stuff yesterday 
    Reply  Wed Mar 23 18:02:54 2011, alastair, Computing, CDS, CDS stuff yesterday 
Message ID: 1361     Entry time: Wed Mar 23 18:02:54 2011     In reply to: 1360
Author: alastair 
Type: Computing 
Category: CDS 
Subject: CDS stuff yesterday 

Thanks for adding that Joe.

I've changed the description in the ATF wiki to include restarting the front-end in the MEDM screen, and I've added a description about how to get the channel status from daqd using telnet, since that's a handy thing to be able to double check.

At Rana's suggestion, the GYRO_MAIN medm screen background is now linked to the C2:DAQ-FB0_ATF_STATUS epics channel, so that the whole screen turns a horrible pink/red colour if this channel goes to anything other zero.

 

Quote:

[Joe, Alastair, Zach]

Since I haven't seen an elog about it, I'm putting it in now.

What happened:

Yesterday, I visited at the request of Alastair.  During the LVC meeting it was noted there was a DAQ configuration mismatch between the frame builder process (daqd) and the front end (c2atf).  There was an error message, 0x2000, on the C2ATF_GDS_TP.adl screen indicating this.

In this case I simply hit the reload DAQ button on that screen and it made the front end and frame builders happy.  The channel label in dataviewer went from being RED to being the usual black.

In addition, Alastair also pointed out the daqd often times crashed when starting up because it was restarting itself too quickly after crashing.  To remedy this, I went to the /cvs/cds/caltech/target/fb directory and modified the daqd.inittab file and added a line "sleep 5" near the beginning. 

We did a restart of the frame builder by using "telnet fb0 8087" and then typing "shutdown", and found it came up perfectly fine.

Lessons to be learned:

First, realize that for data to be recorded by the frame builder,  both the frame builder (the daqd process) and the front end (the c2atffe.ko, which can be seen to be running by typing "lsmod" on the front end computer) need to have loaded the same version of the daq configuration file. 

This file lives in /cvs/cds/caltech/chans/daq/ and is called C2ATF.ini.  So whenever you change this file, whether thats by rebuilding the front end, running daqconfig, modifying it by hand, or running a script to modify it for you, you need to:

1)Restart daqd ("telnet fb0 8087", then "shutdown")

2) Force the front end to reload the file by either pressing reload DAQ or by restarting the front end code (using /cvs/cds/caltech/scripts/startc2atf)

 

 

ELOG V3.1.3-