Difference between revisions of "Controlling HV on Left HRS"

From Hall A Wiki
Jump to: navigation, search
 
(9 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. And remember there is a software switch "on"
 +
(Java GUI) as well as hardware switches.  We generally don't turn off the hardware switches, but it's possible
 +
someone did.  There are TWO hardware items: The main chassis and the 24V supply.  The 24V supply is that silver
 +
box below the main chassis which feeds power via a heavy cable on the front of the chassis. 
  
For reasons not entirely clear, sometimes the server does not work.  This server
+
For reasons not entirely clear, sometimes the server does not work.
runs on rpi8.  The awkward but sure way to recover is
+
One symptom is that the "hvs" GUI will not initializeAnother 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>
 
<pre>
 +
First, note that although the server may stop working, the HV itself generally
 +
remains on, except for trips (which tend to be rare).  "Server not working" means
 +
you cannot communicate with the HV crate, i.e. send commands or see refreshed
 +
values of HV and current.
 +
 +
---------- to recover ----------
 +
 
login to rpi8
 
login to rpi8
 +
 
       ssh -X rpi8 -l pi  
 
       ssh -X rpi8 -l pi  
 +
 
I can't say the pw here, but its the same as on other rpi's.
 
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
 
       sudo reboot
After a few minutes, log in again and
+
 
 +
At this point you can wait a few minutes for the server to restart
 +
itself (it starts with a cron job), or if you're impatient login again
 +
and execute this script:
 +
 
 
       ./scripts/start_hv_cron
 
       ./scripts/start_hv_cron
It will print a lot of stuff.  Leave it.
+
 
Then on adaq1 as aslow, do the start procedure mentioned above.
+
It will print a lot of stuff, and you should leave the window alone.
 +
But again, if you decide to wait for the server to start on its own
 +
you don't need to login and start that scriptJust wait.
 +
 
 +
Finally, on adaq1 as aslow, do the start procedure mentioned above.
 +
 
 
       cd slowc
 
       cd slowc
 
       ./hvs LEFT
 
       ./hvs LEFT
 +
 
</pre>
 
</pre>
 +
 +
back to main page:  https://hallaweb.jlab.org/wiki/index.php/L-HRS_for_SBS

Latest revision as of 14:37, 1 July 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. And remember there is a software switch "on" (Java GUI) as well as hardware switches. We generally don't turn off the hardware switches, but it's possible someone did. There are TWO hardware items: The main chassis and the 24V supply. The 24V supply is that silver box below the main chassis which feeds power via a heavy cable on the front of the chassis.

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:

First, note that although the server may stop working, the HV itself generally
remains on, except for trips (which tend to be rare).  "Server not working" means
you cannot communicate with the HV crate, i.e. send commands or see refreshed 
values of HV and current.

---------- to recover ----------

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

At this point you can wait a few minutes for the server to restart
itself (it starts with a cron job), or if you're impatient login again
and execute this script:

      ./scripts/start_hv_cron

It will print a lot of stuff, and you should leave the window alone.
But again, if you decide to wait for the server to start on its own
you don't need to login and start that script.  Just wait.

Finally, on adaq1 as aslow, do the start procedure mentioned above.

      cd slowc
      ./hvs LEFT

back to main page: https://hallaweb.jlab.org/wiki/index.php/L-HRS_for_SBS