Difference between revisions of "HV MainFrame 1458"

From New IAC Wiki
Jump to navigation Jump to search
Line 45: Line 45:
 
run a program called 'socat' to provide the TCP interface that the GUI
 
run a program called 'socat' to provide the TCP interface that the GUI
 
needs.  The syntax will be something like this:
 
needs.  The syntax will be something like this:
  % socat TCP4:localhost:5555 /dev/ttyS0,raw,echo=0,crnl
+
  % socat TCP4:localhost:5555 /dev/ttyS1,raw,echo=0,crnl
 
The GUI would then talk to the HVFrame at localhost:5555
 
The GUI would then talk to the HVFrame at localhost:5555
 
(The socat line is off the top of my head -- let me know if it doesn't
 
(The socat line is off the top of my head -- let me know if it doesn't
Line 51: Line 51:
  
 
-- Brad
 
-- Brad
 
  
 
==socat==
 
==socat==

Revision as of 19:06, 23 February 2016

Lecroy 1458 HV Main frame

Manual

File:1458 HVmainFrameManual.pdf

Both of the crates (1454 and 1458) provide an RS-232 interface, allowing the use of a standard terminal for control and display. This interface provides the same capabilities as the front panel display in a text command format or full screen format (VT100 compatible). The front panel and RS-232 interfaces are always available for reviewing information in the crate, but changes can be locked out remotely or via a front panel key switch.

Finally, VISyN crates can be controlled (optional) over local area networks (LAN) via ARCNET or Ethernet (TCPIP). Ethernet is the most widely used LAN, available for all types of host systems. It allows for control over laboratory intranets as well as common internets. ARCNET is a proven industrial standard. It is a high speed (2.5 Mbaud) token-passing network protocol. The standard implementation of ARCNET is readily available and inexpensive for many types of host systems, including VME. Long distances (4 miles) can be covered; the token-passing system is deterministic; in heavy traffic; throughput does not decrease.


The Model 1458 Crate addresses high channel count applications. This crate supplies sixteen (16) slots for HV cards, but no keypad or LCD display. All control is via RS-232 or a local area network. The 1458 supports 192 channels of the 1461 HV card in 14 inches of vertical rack space.


Model 1461 3 kV Independent HV Supply

The Model 1461 HV card supplies 12 independent channels, in a single slot, suitable for photomultiplier tubes. The high voltage output is programmable from 0 to 3 kV. The output current supports a 1.2 Mohm load to 3 kV. Other features include voltage measurement, current measurement, programmable current trip, hardware voltage limit (once per card), and separate programmable ramp up and ramp down rates.

Control Software

Brad's software

The GUI and the command line scripts are in the same package.

You require the GUI to be working first. The CLI scripts talk to the server associated with the GUI.

I put a tarball of a 2010 version of the code here:

https://userweb.jlab.org/~brads/tmp/slowc.tar.bz2

There is a lot of garbage in that tarball (sorry). You'll want to do something like this:

% tar xvjf slowc.tar.bz2
% cd slowc
% mkdir TEST
% ./hvs TEST

If you're lucky the GUI will start and you can follow the (limited) instructions here to add your crate ('HVFrame'):

http://hallaweb.jlab.org/equipment/daq/HVhelp.html
https://hallaweb.jlab.org/wiki/index.php/HV_CALO

The GUI needs to talk to the crate via a TCP ("telnet") connection. This is trivial if you have a portserver. If you have the crate connected to the computer via a serial port, then you will need to run a program called 'socat' to provide the TCP interface that the GUI needs. The syntax will be something like this:

% socat TCP4:localhost:5555 /dev/ttyS1,raw,echo=0,crnl

The GUI would then talk to the HVFrame at localhost:5555 (The socat line is off the top of my head -- let me know if it doesn't work.)

-- Brad

socat

http://www.dest-unreach.org/socat/download/

http://www.onaxer.com/2010/06/18/how-to-use-socat-with-haproxy/


./configure –disable-fips

su root

make install

socat is put in the the subdirectory

/usr/local/bin/

References

http://teacher.pas.rochester.edu/Research/PHOBOS/TOFElectronics/HVMainFrame/HVSlowControlManual/PmtHVManual.html

http://teledynelecroy.com/lrs/dsheets/1450.htm

Electronics#Stand_Alone