Differences between revisions 2 and 8 (spanning 6 versions)
Revision 2 as of 2009-03-13 18:17:12
Size: 1699
Comment:
Revision 8 as of 2009-05-22 23:00:55
Size: 2512
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.
Line 21: Line 21:
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. 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.
Line 26: Line 26:

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 = [

    'IN0',

    'MI1',

    'MF114',

    'SA25',

    'NF0',

    'EE70',

    'IE1',

    'VF90',

    'FL1.0',

    'HV938',

    'MG0.1010',

    'MV940',

    'SP0.2182',

    'ST0.0063',

    'CA',

    ]

You can add additional commands or modify the ones already present. For example, to change the maximum AMU to 130, change 'MF114', to 'MF130',.

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. The RGA is now set.

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 appropriate 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.

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 = [

  • 'IN0', 'MI1', 'MF114', 'SA25', 'NF0', 'EE70', 'IE1', 'VF90', 'FL1.0', 'HV938', 'MG0.1010', 'MV940', 'SP0.2182', 'ST0.0063', 'CA', ]

You can add additional commands or modify the ones already present. For example, to change the maximum AMU to 130, change 'MF114', to 'MF130',.

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. The RGA is now set.

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