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  Fri Jul 30 12:22:15 2021, Radhika, DailyProgress, CDS, Connecting CTC100 to EPICS/rtcds system 
    Reply  Fri Jul 30 17:28:14 2021, Radhika, DailyProgress, CDS, Connecting CTC100 to EPICS/rtcds system 
       Reply  Fri Jul 30 18:18:21 2021, Koji, DailyProgress, CDS, Connecting CTC100 to EPICS/rtcds system 
          Reply  Mon Aug 2 17:24:20 2021, Radhika, DailyProgress, CDS, Connecting CTC100 to EPICS/rtcds system 
             Reply  Mon Aug 2 21:51:37 2021, Koji, DailyProgress, CDS, Connecting CTC100 to EPICS/rtcds system 
Message ID: 2627     Entry time: Fri Jul 30 17:28:14 2021     In reply to: 2624     Reply to this: 2628
Author: Radhika 
Type: DailyProgress 
Category: CDS 
Subject: Connecting CTC100 to EPICS/rtcds system 

[Koji, Radhika]

We were able to successfully integrate the Megastat CTC100 temp data into EPICS and Frame builder. Picking up from my last entry, we completed the following steps:

1. Restarted the EPICS st.cmd service - this "connected the wires" from the CTC100 to EPICS and allowed us to be able to read out live-time channel values. Koji created a script file to restart st.cmd:

cd /opt/rtcds/caltech/c4/target/qil-nfs/CTC100/iocBoot/iocCTC100
./IOC_start_cmd.sh

Note that if these channels need to be edited, this is the script one should call to restart EPICS. At this point, we could get the values by caget commands like

caget C4:CTC-MS_WORKPIECE_TEMP_VAL

P.S. Chris sent us a permanent solution for the service. The process was killed and the service was started by the following command

systemctl restart CTC100

2. Appended new channel names to an existing .ini file (/opt/rtcds/caltech/c4/chans/daq/C0EDCU.ini). This allowed us to record these channels in Frame builder. I was originally going to create a new .ini file with these channels and add the name of the file to master, but we could not find the master file. Plus, instructions of fb4 told us to append to C0EDCU.ini specifically.

3. Restarted daqd@standiop.service on fb4:

sudo systemctl restart daqd@standiop.service

We used DataViewer to verify that the channels were being recorded. Success!

ELOG V3.1.3-