|
Size: 1699
Comment:
|
Size: 2435
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| 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 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. |
| Line 12: | Line 9: |
| The scans should be running once a day with a cron job. | The scans should be running once a day with a cron job. |
| Line 14: | Line 11: |
| 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 start a scan manually type: "./RGAlogger.py" in the RGA directory. This will perform a single scan and save it in the logs directory. |
| Line 17: | Line 13: |
| 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 and display the results. |
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. |
| Line 21: | Line 15: |
| 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. |
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. |
| Line 24: | Line 17: |
| 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. |
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. |
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.
