Differences between revisions 2 and 3
Revision 2 as of 2009-03-13 18:17:12
Size: 1699
Comment:
Revision 3 as of 2009-03-13 18:18:01
Size: 1752
Comment:
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
This script will start matlab in no gui mode and display the results. This script will start matlab in no gui mode, display the results, and save the plot image as a png.  Type exit once done.

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: /cvs/cds/caltech/scripts/RGA/

The log files with data and settings can be found under: /cvs/cds/caltech/scripts/RGA/logs/

The png files generated with the plotrgascan can be found under: /cvs/cds/caltech/scripts/RGA/png/

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

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, 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 approriate commands. Commands can be looked up in the RGA manual which is in pdf form in the RGA directory.

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.

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