40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  40m Log  Not logged in ELOG logo
Entry  Wed Oct 20 11:16:21 2021, Anchal, Summary, PEM, Particle counter setup near BS Chamber PXL_20211020_183728734.jpg
    Reply  Thu Oct 21 11:41:31 2021, Anchal, Summary, PEM, Particle counter setup near BS Chamber ParticleCountData20211021.pdf
       Reply  Thu Oct 21 15:22:35 2021, rana, Summary, PEM, Particle counter setup near BS Chamber 
    Reply  Thu Oct 21 15:24:35 2021, rana, Summary, PEM, Particle counter setup near BS Chamber 
       Reply  Fri Oct 22 17:35:08 2021, Ian MacMillan, Summary, PEM, Particle counter setup near BS Chamber 
Message ID: 16416     Entry time: Wed Oct 20 11:16:21 2021     Reply to this: 16420   16422
Author: Anchal 
Type: Summary 
Category: PEM 
Subject: Particle counter setup near BS Chamber 

I have placed a GT321 particle counter on top of the MC1/MC3 chamber next to the BS chamber. The serial cable is connected to c1psl computer on 1X2 using 2 usb extenders (blue in color) over the PSL enclosure and over the 1X1 rack.

The main serial communication script for this counter by Radhika is present in 40m/labutils/serial_com/gt321.py.

A 40m specific application script is present in the new git repo for 40m scripts, in 40m/scripts/PEM/particleCounter.py. Our plan is to slowly migrate the legacy scripts directory to this repo overtime. I've cloned this repo in the nfs shared directory at /opt/rtcds/caltech/c1/Git/40m/scripts which makes the scripts available at all computers and keep them upto date in all computers.

The particle counter script is running on c1psl through a systemd service, using service file 40m/scripts/PEM/particleCounter.service. Locally in c1psl, /etc/systemd/system/particleCounter.service is symbollically linked to the file in the file.

Following channels for particle counter needed to be created as I could not find any existing particle counter channels.

[C1:PEM-BS_PAR_CTS_0p3_UM]
[C1:PEM-BS_PAR_CTS_0p5_UM]
[C1:PEM-BS_PAR_CTS_1_UM]
[C1:PEM-BS_PAR_CTS_2_UM]
[C1:PEM-BS_PAR_CTS_5_UM]

These are created from 40m/softChansModbus/particleCountChans.db database file. Computer optimus is running a docker container to serve as EPICS server for such soft channels. To add or edit channels, one just need to add new database file or edit database files in thsi repo and on optimus do:

controls@optimus|~> sudo docker container restart softchansmodbus_SoftChans_1
softchansmodbus_SoftChans_1

that's it.

I've added the above channels to /opt/rtcds/caltech/c1/chans/daq/C0EDCU.ini to record them in framebuilder. Starting from 11:20 am Oct 20, 2021 PDT, the data on these channels is from BS chamber area. Currently the script is running continuosly, which means 0.3u particles are sampled every minute, 0.5u twice in 5 minutes and 1u, 2u, and 5u particles are sampled once in 5 minutes. We can reduce the sampling rate if this seems unncessary to us.

Attachment 1: PXL_20211020_183728734.jpg  2.438 MB  Uploaded Wed Oct 20 12:39:00 2021  | Hide | Hide all
PXL_20211020_183728734.jpg
ELOG V3.1.3-