Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
run_pulnix.csh --instrument HUTCH --pvlist CONFIG --camera NUM --cfgdir CFGDIR

HUTCH is one of the standard hutch names (fully capitalized), CONFIG is a viewer configuration file, and NUM is an optional parameter telling which camera number to view initially (defaulting to zero)

CFGDIR is another optional parameter giving a directory in which the viewer state will be saved.  If it is not specified, the state will be saved in $HOME/.yagviewer.  The global state that is saved there includes:

  • The orientation, portrait or landscape.
  • Whether or not the projections are hidden.
  • Whether or not the configuration panel is hidden.

Additional information is saved on a per camera basis.  This information includes:

  • The size of the viewing area and projections.
  • Which projections are enabled.
  • Whether or not the projections automatically set their ranges.
  • The current zoom.
  • The current colormap.
  • The current region of interest.
  • The on-screen and on-projection markers.

The Configuration File

The configuration file contains a list of cameras that the viewer can display.  Any line that begins with '#' is a comment, and any other line contains either 4 or 5 comma-separated fields with the following information:

...