You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 38 Next »

Each sample chamber at CXI has two cameras – inline and off-axis – used for alignment and automation, experiment viewing, and analysis.  The image streams are served via an EPICS IOC viewable from the camViewer, and can be included in the CXI primary or secondary DAQ data streams via the IOC recorder.

Each camera has a host server that is running an EPICS IOC to handle low-level command, image acquisition, and to broadcast the data via channel access.  Recorded cameras need to run on IOC hosts with hard disk drives, so the CXI sample chamber cameras run on ioc-cxi-rec03 (Rack 59 : Red Hat 7) and ioc-cxi-rec04 (Rack 52A : Red Hat 7).  Access to the host and IOC process can be achieved using the IOC manager.  The cameras are also synced to LCLS timing, and thus require a TTL trigger signal from their host's EVR hardware – typically a SLAC EVR PCI card in the server chassis.  This is usually routed from the host to the camera via a user patch panel over coaxial cable. 

Troubleshooting Tip:

If the trigger signal is disconnected from the camera, the IOC will continue to report that the camera is connected but will stop acquiring images! If a camera is not triggering properly, verify that there are no trigger cable connection interruptions between the host and the camera and take a look at the camera's trigger settings on its expert screen.


The expert screens for each camera can be pulled up from the CXI Home Screen, on the left sidebar under the "IOC Cameras" dropdown menu or from the bottom embedded tabs: Detector → Control Cams Config

Curveball:

Adimec Opal cameras will always sync to an external trigger, and actually run reliably in Free Run mode.

The "Yag Viewer" button will open the camViewer from which you can select and view the camera feeds for the yags.  Example: dg1_yag.

Bottom embedded tabs: Detector → Viewer Cameras (Beamline/User Camera/Viewer SC Cameras) will open camViewer for the respective cameras.

As a result of changing setups, hutch reconfiguration and different experiment requirements, the cameras at the sample chambers may come and go or even change types.  Most often GigE type cameras such as the Allied Vision Manta 146C or "framegrabber" type cameras such as an Adimec Opal are used.  GigEs are usually powered over ethernet so they need only be connected to a trigger signal and a network switch port on the cds-cxi.pcdsn subnet with PoE capability to maintain function at the sample chamber.  Frame grabber cameras, on the other hand, communicate over optical fiber which is transceived on both sides by EDT RCX camera links.  RCX camera links require separate power (5V), and must be configured to the correct blink code in order to send and receive data between the camera and frame grabber PCI card.  If a camera link fails then the IOC host will lose connection to the camera.  Frame grabber cameras and their RCX links are usually powered using DC voltage supply available at the user patch panels.  Network and fiber connections to the sample chamber cameras are also accessed via the user patch panels.

How to be a Good Beamline Scientist:

 If you are setting up a GigE at the sample chamber and cannot find a CDS PoE ethernet port on the patch panel because none of the ports are labeled properly, senselessly harass the nearest PCDS engineer.

When changing cameras, be sure to enable or disable its corresponding IOC using iocmanager

Chamber
CameraHostBuildIOC Manager AliasIOC Name
SC1 on-axis 
Opal 1000-mioc-cxi-rec03rhel5CAM - SC1 Inline Questar Opal1000mioc-cxi-sc1-inline
SC1 off-axis
Opal 1000-mN/AN/AN/AN/A
SC1 Navitar
Gige Mako G319C



SC2 on-axis
Gige Manta 146Cioc-cxi-rec04rhel7
ioc-cxi-sc2-inline
SC2 off-axis
Gige Mako G319C N/AN/AN/AN/A
SC2 Navitar





SC3 on-axis
Gige Manta 146Cioc-cxi-rec04rhel7CAM - SC3 Inline ioc-cxi-sc3-inline
SC3 off-axis
Gige Manta 146Bioc-cxi-rec03rhel5CAM - SC3 GigE Offaxis
Timetool
Gige Mako G319C



DG1 Yag
Gige Manta 146C



DG2 Yag
Gige Manta 146C



DG3 Yag
Gige Manta 146C



When a new camera is added or changed and a new IOC is deployed, the camviewer configuration file needs to be changed to make the new camera viewable in the camViewer.  Comment out the line from the previous camera and uncomment or create a new entry for the camera.  The camviewer configuration file can be found be found at /reg/g/pcds/pyps/config/cxi/camviewer.cfg.



  • No labels