Jump to content

Minicom alternative, new CAEN HV interface (Freeman)

From Luter 345 Experiments
Revision as of 17:59, 24 December 2024 by Brash99 (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Quick Reference[edit | edit source]

  • Login as root on host jlabdaq
    • type su in a terminal window
    • Then type the root password
      • Note: This program uses lock files to lock a serial port. There may be a way to set permissions on the /var/lock directory so that you do not have to login as root. As of this writing though....you will need the root password
  • Type SW1470 on the command line, logged in as root .
  • Top left of screen you will see, File => Add new N147x Board

  • This pops up a new window:

  • Window Settings:
    • Connection type: USB
    • Comm port: ttyUSB0 and 9600 (for USB port 0 and baud rate of 9600)
    • Module address: 0 (For non daisy chained module)
  • This should pop up a window with the 4 HV channel settings. (if not, see troubleshooting below)

Introduction[edit | edit source]

I was assigned to implement an alternative interface to the CAEN N1470 HV card. The original plan was to see if something existed already, then use this as a model to program something. I found that CAEN provides a java interface to their board. It requires the RXTXComm java library as the Serial interface. Getting this library to work was challenging. I just happened to find an updated .rpm package, which had updated libraries, which I was ultimately able to get working on the current installation of CentOS, on host jlabdaq. Originally, I used an older version of the RXTXComm library which was giving segmentation faults when triing to connect to the ttyUSBx port. Do to time constraints I was not able to program something, so the following sections highlight the installation and troubleshooting of CAEN's interface.

Installation[edit | edit source]

The following are links to the download pages used for this installation.

External Download Pages:
CAEN java interface
rxtx_java-2.2pre2-16.1.x86_64.rpm
Local Copies:
CAEN java interface
rxtx_java-2.2pre2-16.1.x86_64.rpm

CAEN Software[edit | edit source]

RXTXComm library Installation[edit | edit source]

Troubleshooting[edit | edit source]