Difference between revisions of "HV technical"
Line 1: | Line 1: | ||
+ | R. Michaels, Nov 2013 | ||
+ | |||
Here is some boring technical info about HV control. | Here is some boring technical info about HV control. | ||
Revision as of 16:35, 12 November 2013
R. Michaels, Nov 2013
Here is some boring technical info about HV control.
First, note these somewhat old URLs as a starting point
http://hallaweb.jlab.org/equipment/daq/HVhelp.html
http://hallaweb.jlab.org/equipment/daq/gen_slow_control.html
The above URLs will need to be modified and updated to provide User guidance. But they are a nice start.
A note about the HV software architecture:
1. "hvs" (aka "hvg") = Java GUI that provides User interface (author: Roman Pomatsalyuk)
2. LecroyHV_Shim = Perl server, listens on a telnet port, talks to hvs. This code emulates the obsolete (no-longer-existing) motherboards on the LeCroy 1458 HV crate (author: Brad Sawatzky). This server must run on the PC that is connected by RS232 to the HV crate.
3. i2lchv_linux_bob = Bob's version of Brad's version of Javier's code that does the low-level communication with the HV crate. (original author: Javier Gomez, but don't blame him for my hacks). i2lchv_linux_bob talks via R232 to the HV cards using a primitive "language". The LecroyHV_Shim Perl script connects to i2lchv_linux_bob via the "Expect" module of Perl.
Nov 12, 2013. Attempts to use Intel PC as the PC that is nearby the LeCroy HV crate.
from root on adaql1, see /root/diskless/i386/Centos5.8
./snapshot = directories local to the cpus. e.g. see /snapshot/intelha3 for intelha3.
./root = directory shared by all the cpus. However, not (yet) writeable by the cpus.
On the intel cpu, if you want to create or touch files, you must use the local filesystem.
/root/diskless/i386/Centos5.8/snapshot/intelha3/root (from adaql1)
appears as
/root (local filesystem on intelha3)
However, if you want to compile code that every intel PC uses, you must use
/root/diskless/i386/Centos5.8/root on adaql1
Nov 12, 2013. Attempting to run HV control on L-HRS.
Login to intelha3 as root.
To check that HV cards are seen via RS232, go to /root/shim/shim/LecroyHV_shim/LecroyHV_FE
and run ./i2lchv_linux_bob
A note: if this code needs to be recompiled, you must (unfortunately) do the compilation on the shared disk area (see notes above) and then copy the exec to this local area.
If you see a list of HV cards, then it's a good sign.
Next, run the Perl Server: go to /root/shim/shim/LecroyHV_shim and type ./LecroyHV_Shim
On adaql1, as adev account, do this: "cd ./slowc ; ./hvs LEFT"