In order to record the Visar cameras in the DAQ, the Visar IOC needs to be properly set up.  This guide is a step-by-step description of how to setup the Visar PC and initialize the Visar IOC for correct operation.

Please note that this assumes that the Visar cameras have actually been turned on.  This is usually done by a beamline scientist.  Please see VISAR Turn On Procedure for details on how to turn on the Visar.

As of 2/3/2022, MEC has two visar cameras:

These PCs are on the ICS network, which is only reachable from a few console machines, such as mec-daq.  The current version of the IOC can be found in /reg/g/pcds/epics/ioc/mec/visar/R1.0.4.

This information may change, so please double-check before running the commands below.

Step-by-step guide

  ## DETECTOR - VISAR
  {host:'daq-mec-misc01',      id:'visar1',  flags:'psu', env:'PATH='+epics_base_path, cmd:pdsapp_path+'/pvdaq -i MecTargetChamber/0/StreakC7700/1 -b MEC:STREAK:01 -B IMAGE1 -n 64 -z 2818048 -f 1 -r'},
  {host:'daq-mec-misc01',      id:'visar2',  flags:'spu', env:'PATH='+epics_base_path, cmd:pdsapp_path+'/pvdaq -i MecTargetChamber/0/StreakC7700/2 -b MEC:STREAK:02 -B IMAGE1 -n 64 -z 2818048 -f 1 -r'},

If these are commented out with an initial "#", delete the "#" and restart the DAQ.  The visar cameras should then appear in the partition and be recordable.

Troubleshooting guide

There are several settings that may make the Visar IOC malfunction.  If you are not getting frames in the IOC, but the PC application seems to be running, here are a few things to check.  Stop acquisition before trying to change any of these settings!

Scan Mode

From the "Orca R2 acquisition control" window, make sure that the scan mode is "User defined".  The "Details..." button should give the following settings:

Acquisition Options

From the "File" menu, pull up the "Options" window, and look at the "Acquisition" settings.   The important one is the first... do not create 32-bit images when the camera has 16-bit.

Synchronization Options

From the same "Options" window, look at the "Synchronization (Trigger)".  The screen should look like the following:

Image Options

Generally speaking, the visar display should show a half-size image.  While this won't fix anything if the IOC is malfunctioning, the same "Options" window has an "Images" setting that should be:

Physical Setup

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.

Related issues