The SRS 200 Residual Gas Analyzers is currently connected to the first serial port on the c0rga computer. The c0rga computer is a very old dual boot windows XP and ubuntu machine. When rebooting, it defaults to the ubuntu side. When working at the machine physically, logging in the Gnome Failsafe terminal is recommended, as the normal gnome terminal tends to freeze. It is recommended to simply remotely log in from one of the control machines rather than going out to the machine.

The scripts for the RGA can be found under: /opt/rtcds/caltech/c1/scripts/RGA/

The log files with data and settings can be found under: /opt/rtcds/caltech/c1/scripts/RGA/logs/

The png files generated with the plotrgascan can be found under: /opt/rtcds/caltech/c1/scripts/RGA/png/

The scans should be running once a day with a cron job on c0rga.

To login to c0rga, type: "ssh c0rga".

To start a scan manually type: "./RGAlogger.py" in the RGA directory. This will perform a single scan and save it in the logs directory.

To view the scan, on a control room computer, not c0rga, type: "./plotrgascan filename", where filename is the data file you want to look at. I.e. "./plotrgascan RGA-0903121520.dat". The filename is optional, and "./plotrgascan" will just plot the latest scan by default. This script will start matlab in no gui mode, display the results, and save the plot image as a png. Type exit once done.

To modify the settings of the RGA itself, open up RGAset.py in your editor of choice and modify the commands data structure with appropriate commands. Commands can be looked up in the RGA manual which is in pdf form in the RGA directory.

Make sure to run the script on the c0rga computer. I.e. "ssh c0rga" then "scripts" then "cd RGA". Then run the script.

I.e. commands = ['IN0',MI1',] would initialize the RGA and set the initial mass of the scan to 1 Once modified, in the RGA directory type "./RGAset.py" and it will set the values.

More explicit instructions - just type the following:

cd /cvs/cds/caltech/scripts/RGA/

emacs RGAset.py

In emacs, scroll to the middle of the file until you see something like

commands = [

You can add additional commands or modify the ones already present. For example, to change the maximum AMU to 130, change 'MF114', to 'MF130',. When attempting to reinitialize the RGA, the 'IN0' command will suffice.

Save the file with your changes. (In emacs type ctrl-x then ctrl-s to save. Then to quit, type ctrl-x then ctrl-c).

Type ./RGAset.py (this too has to be run on the c0rga machine). The RGA is now set.

For any further concerns, feel free to check the manual here: RGA SRS200.pdf

How_to_use_RGA (last edited 2024-06-07 02:11:17 by JancarlosanchezATligoDOTorg)