areaDetector / ADPICam

areaDetector driver for Princeton Instruments cameras using the PICam library
https://areadetector.github.io/areaDetector/ADPICam/PICamDoc.html
3 stars 4 forks source link
areadetector epics princeton-instruments

ADPICam

An EPICS areaDetector driver for Cameras from Princeton Instruments that support the PICAM library.

PICam Programmer's Manual

This driver is based on the PICAM Virtual Camera Library. It runs on 64 bit Windows (7, 8, 10) and 64 bit linux. Detectors supported by the vendor PICAM driver library include:

This detector has been tested with Pixis, ProEM-HS, Blaze, SOPHIA, PI-MET3, and Quad-RO cameras. Virutal demo models have also been tested. Most notably missing from the library so far are the Pulse and Modulation Parameters used mostly in the PI-MAX3 & 4 cameras.

Building on Linux

ADPICam has been built on RHEL 8 and CentOS 7, and tested with a PI-MTE3 detector on RHEL 8.

It has also been built on Ubuntu 22.04LTS (kernel 5.19.0-46-generic), with PICam SDK version 5.13.3.2211 and tested with Pixis, ProEM-HS, Blaze, and SOPHIA cameras. ** /Ubuntu 22.04 LTS specific notes For proper operation of USB and USB3 detectors with Ubuntu 22.04LTS, libusb needs to be downgraded to 1.0.23 To downgrade:

apt-cache policy libusb-1.0* should now show 2:1.0.23-2build1 is now installed

to keep libusb downgraded, mark libusb-1.0-0 for hold on apt -- that will allow you to upgrade everything else while freezing libusb:

  sudo apt-mark hold libusb-1.0-0

\Ubuntu 22.04 LTS specific notes **

Before building ADPICam on linux, you must first install the PICam SDK from Princeton Instruments (https://cdn.princetoninstruments.com/picam/picam_sdk.run):

sudo bash picam_sdk.run

This should install libraries into /opt/pleora and /opt/PrincetonInstrumnets, along with some links in /usr/local/lib. To build ADPICam you will need to add read permissions to these locations to the specified user, or build and run as root. Additionally, make sure that /usr/local/lib is in your system library search path:

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

From there, you can build with

make

Additional information: