Check if the real time models are sending data to DAQ

1. Open sitemap on an workstation

$sc
$medm sitemap.adl

text describing image

2. Open CDS screen

text describing image

3. Open GDS_TP screen of each model (blue buttons)

4. Check that "DC Status" is 0x0

text describing image

DC status

What to do

0x0

Good status!

x4000

It is OK. Data is being sent and you can leave it. A master IOP gets this error when the timing synchronization is fucked up.

x2000

It is OK. When the master IOP's timing is not synchronized properly, their slave models show this code.

0x2bad

Bad. The real time model is not sending data to the data concentrator machine, k1dc0. Go to (1)

blank

Bad. Channels are not registered to send to k1dc0. Go to (2)

(1) When DC status is 0x2

ssh <FE macehine name such as k1pr0>
sudo /etc/init.d/mx_stream restart

mx_stream process will automatically start up again, and the DAC status will be cleared.

(2) When DC status is blank

1. First check

make sure the model's channel list is registered in master.

t
cd fb
emacs master

Check if

  1. tpchn_modelname.par
  2. MODELNAME.ini

are written in the file.

2. If master is ok, but still blank or if you changed master file

ssh k1dc0
ps -ef | grep daqd 

Check the process number of daqd. There may be two or three and pick the first and left number (###).

kill ###

daqd process will automatically start up again, and the DAC status will be cleared.

3. If neither above did not work

Reboot the data concentrator:

ssh k1dc0
sudo reboot

Wait patiently until k1dc0 restarts.