Difference between revisions of "Controlling HV on Left HRS"

From Hall A Wiki
Jump to: navigation, search
(Created page with "Login to adaqsc as aslow <pre> ssh -X adaqsc -l aslow </pre> password same as "adaq" (similar to "adev" but replace 12gev by 12daq) <pre> Then "cd slowc" and pwd...")
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
Login to adaqsc as aslow
+
Login to adaqsc as aslow and <font color="red">start the HV GUI</font>
  
 
<pre>
 
<pre>
Line 11: Line 11:
 
pwd
 
pwd
 
/adaqfs/home/aslow/slowc
 
/adaqfs/home/aslow/slowc
 +
 
[aslow@adaqsc slowc]$ ./hvs LEFT
 
[aslow@adaqsc slowc]$ ./hvs LEFT
 
</pre>
 
</pre>
  
 
You might need to turn on the crate if it's not already on.
 
You might need to turn on the crate if it's not already on.
 +
 +
For reasons not entirely clear, sometimes the server does not work.
 +
One symptom is that the "hvs" GUI will not initialize.  Another symptom
 +
is that the GUI may be already running but you cannot change any HV values.
 +
This server runs on rpi8.  The awkward but certain way to <font color="red">recover the server</font>:
 +
 +
<pre>
 +
login to rpi8
 +
 +
      ssh -X rpi8 -l pi
 +
 +
I can't say the pw here, but its the same as on other rpi's.
 +
(call Bob M. if you need this pw)
 +
 +
      sudo reboot
 +
 +
After a few minutes, log in again and
 +
 +
      ./scripts/start_hv_cron
 +
 +
It will print a lot of stuff.  Leave that window alone.
 +
Then on adaq1 as aslow, do the start procedure mentioned above.
 +
 +
      cd slowc
 +
      ./hvs LEFT
 +
 +
</pre>

Revision as of 15:56, 10 June 2021

Login to adaqsc as aslow and start the HV GUI

          ssh -X adaqsc -l aslow

password same as "adaq" (similar to "adev" but replace 12gev by 12daq)

Then "cd slowc" and
pwd
/adaqfs/home/aslow/slowc

[aslow@adaqsc slowc]$ ./hvs LEFT

You might need to turn on the crate if it's not already on.

For reasons not entirely clear, sometimes the server does not work. One symptom is that the "hvs" GUI will not initialize. Another symptom is that the GUI may be already running but you cannot change any HV values. This server runs on rpi8. The awkward but certain way to recover the server:

login to rpi8

       ssh -X rpi8 -l pi 

I can't say the pw here, but its the same as on other rpi's.
(call Bob M. if you need this pw)

       sudo reboot

After a few minutes, log in again and

      ./scripts/start_hv_cron

It will print a lot of stuff.  Leave that window alone.
Then on adaq1 as aslow, do the start procedure mentioned above.

      cd slowc
      ./hvs LEFT