Judy's EPICS PV query application: https://seal.slac.stanford.edu/apex/mccqa/f?p=259:8

USER'S ONLINE GUIDE (version 1.2)

Table of Contents

1. Starting the Application

WEB START users, please read the information on the page where you got the program. Other users, please continue.

To start ArchiveViewer, make sure JAVA_HOME is defined. Change to the directory that contains archiveviewer.jar.
Type java -jar archiveviewer.jar [-options], where [-options] can be one (or sometimes more) of these:
-u "url"

Connects to the archive data server at the specified URL
-f "config file"

Loads a configuration file
-a "name"

Selects the specified archive
-d "absolute path"

Sets your home directory (e.g. for config files)
-v(ersion)

Prints version info
-h(elp)

Prints this info

2. Basics

3. Axes Configuration

You can configure time and range axes on the right side of the control panel

    1. Time Axis
      Enter either absolute or relative time strings (see #Entering Times) into the fields under the time axes box. Alternatively, you can use time selectors that appear when you press the "..." button next to the proper text field. Tip: There are syntax tooltips available if you hold the mouse over a text field for about 2 seconds. Under the time fields, a box lets you select a location for your time axis.
    2. Range axis
      Enter numeric values into the min/max text fields under the range axes box. Java understands a huge variety of number formats (e.g. 1e-1 is allowed), so just try some out, and please do tell us if you think some currently unsupported formats should be added. Note: If you enter nothing, the value is considered to be "whatever it actually is". You can specify the scale type and the location of the range axis by selecting the values in corresponding combo boxes. Currently supported range axes types are NORMAL and LOG(arithmic).
    3. Advanced settings
      You can access advanced axes features by clicking the "..." to the right of the axis name. The options here are:
      • "add new axis" pops up a dialog and asks you to enter a unique label of the new axis.
      • "remove selected axis" (note: you can not remove the last axis)
      • "rename selected axis"
      • "update selected axis from active chart" updates the range of the corresponding axis to what is shown by the currently active chart
      • "update all axes from active chart" updates all ranges of the axes to what is shown by the currently active chart
      • "reset selected axis" resets the corresponding axis range
      • "reset all axes" resets all axes ranges

4. Entering Times

Times can be entered either manually or through time selectors, which appear when you press one of the "..."- buttons to the right of the proper textfield in the time axes panel. Even if you decide to never enter times manually, you should read this reference.

5. Formulas

One of the more complex features of the ArchiveViewer is the ability to use PVs from common archive directories in a formula that is treated like a genuine PV by the application. You can create a new formula by loading the formula configurator when you press the "NEW FORMULA"- button on the main controls panel.

Following steps are recommended for creating a formula:

Variables have two major advantages: resulting formulas will be short and thus, well readable; and complex formulas could be re-used for other PVs without much hassle.

Supported functions

Besides basic arithmetics and binary operations, all functions specified by methods of the java.lang.Math class as well as min, max, and arithmetic mean functions (with indefinite number of arguments) are supported by the internal formula parser.

6. Graphs Configuration

The ArchiveViewer assigns default colors, plot types, and time/range axes to each graph (i.e. a genuine PV or a formula). By pressing the "..."-button next to each graph name, you can change these settings.

    1. Axes selection
      The labels in the selection box correspond to the labels of the axes in the main control panel. Note: If you want to plot a graph normalized, select the empty entry in the box
    2. Color
    3. Draw types
      • scatter
      • lines: connects graph data points directly
      • steps: connects data points of a graph by drawing a horizontal line and then a vertical line (like a step). This draw type is default/li>
    4. Width
      You can adjust the width of graph lines with this slider
    5. Visibility
      Uncheck the visibility box, if you don't want to display the graph in the next plot. This might be useful if, for example, you 'd like to see the underlying graphs.

7. Export

8. Menubar

    1. FILE menu
      • New Connection
        pops up a dialog where you can enter the connection parameters for the data server
      • Reconnect
        Sometimes there are (network) errors that may corrupt current connection to the data server. Simply press this menu button to re-establish the connection
      • Open, Open Recent..., Save, Save As
        These menu buttons are used for loading and saving the PVs/axes configuration from the main controls panel. Note: For preferences stuff, please go to the EDIT menu.
      • Export
        See #Export.
      • Print... and Page Setup...
        Displays widgets for printing the application window
      • Clear All
        Clears all information in the main window.
      • Quit
        Exits the application
    2. EDIT menu
      • Copy, cut, paste
        standard menu items, have the same effects as corresponding keyboard short cuts (e.g. Ctrl+x etc. on Windows)
      • Preferences
        Includes a plot title setter, a legend configurator, and a plot plugin loader
    3. VIEW menu
      • Search Dialog
        Displays the search dialog
      • Full Screen
        Resizes the main window to occupy the entire screen
      • Show Console, Show Event Log, Show Memory Console
        Some of XAL widgets
    4. TOOLS menu
      • Assign Selected Archive
        Assigns the selected archive to selected graphs (useful for formulas, or if archive names changed etc.)
      • Clear Cache
        Clears all cached data
    5. WINDOW menu
      • Capture As PNG...
        Does the same as the PRINT SCREEN key, but is more specific
    6. HELP menu
      • Contents
        Opens this guide
      • Server Info
        Shows information that the current archive server might have on itself
      • About
        Some basic information on the application

9. General Plot Plugin Features

Note: some plot plugins may support only subsets of these features, others may have more functionality. Please, check proper user manuals.

    1. Plot legend
      Consists at least of colorful shapes. To configure the legend, please go to EDIT => Preferences...
    2. Zoom in
      You can zoom into the plot with your left mouse. There is a minimum dragging distance required to activate the zoom capability. This prevents accidental mouse "hang ups".
    3. Plot manipulation buttons
      From left to right:
      • goes back in time the time range(s) you currently see on screen
      • goes forth in time the time range(s) you currently see on screen
      • goes "up" the value range(s) you currently see on screen
      • goes "down" the value range(s) you currently see on screen
      • doubles the time range(s) you currently see on screen
      • doubles the value range(s) you currently see on screen
      • zooms out if you previously zoomed in (note: will be moved to the right mouse button - menu in nearest future)
      • displays a menu for advanced configuration:
        • uses anti-alias drawing method if checked
        • leaves ignored items if checked and no new data is retrieved
    4. Some typical "right mouse click" menu - features
      • Properties: some chart specific properties
      • Save as... : saves the plot as a PNG image
      • Print... : prints the plot
      • Ignore Item... : ignores the current plot item (may be inactive)
    5. Dock/undock
      In the top right corner of a plot plugin panel, there is the dock/undock button. Please, note that once a plot plugin is undocked, it can not be controlled from the main controls panel. However, zoom-in and plot manipulation buttons should continue to function.

Written by Sergei Chevtsov (chevtsovs@ornl.gov) April 11th, 2005