ScopeThis document is a user's manual for Archiver Visual DCT Plugin. It contains instructions how to use the plugin. AudienceThe audience of this document are the users of VisualDCT who wish to use Archiver plugin. Table of Contents1. Introduction2. Installing Archiver Plugin3. Using Archiver Plugin3.1. Basic principles of Archiver Plugin3.2. Using Archiver Plugin3.2.1. Adding and moving channels3.2.2. Adding/removing groups and properties3.2.3. Editing tree items3.2.4. File menu3.2.4.1. Opening XML filesReferencesDocument HistoryHow to Read This DocumentThis document's meta-information (authors, revision history, table of contents, ...) can be found above. What follows below is the body of the document. The body is composed of several sections, which may be further composed of subsections. Typographical styles are used to denote entities of different kinds. For a full list of entities and their respective typographic conventions, please refer to the Styles section of the XML Documentation document. When viewing the document in a non-printed form, it is possible to submit comments regarding a given section to the document's owner. This is achieved by clicking the mail icon next to the section title. For this to work, your mail must be configured to properly handle the mailto URLs. 1. IntroductionArchiver Visual DCT Plugin is an application plugin which enables creating and modifying EPICS Channel Archiver configuration files. Plugin allows user to organize files, while displaying the whole hierarchical structure of the file that is currently being edited. 2. Installing Archiver PluginArchiver Visual DCT Plugin is a standard Visual DCT plugin, which can be installed like any other plugin. Refer to VisualDCT Plugins on how to install a Visual DCT plugin.
3. Using Archiver Plugin3.1. Basic principles of Archiver PluginArchiver Plugin enables user to create and modify EPICS Channel Archiver configuration XML files. The plugin present a configuration file in a hierarchical view; this allows building a configuration file visually. Groups, channels and properties can be added to the tree structure according to the specifications of EPICS Channel Archiver (see EPICS Channel Archiver). The structure represented by the tree can be saved into an Archiver config file. The output data has a standard XML form specified by the EPICS Channel Archiver. The Archiver Plugin can be started by selecting the Archiver start from the Plugins menu of the VisualDCT. When the plugin is started it should look similar to the figure 1.
Figure 1: New config file. Archiver Plugin window at startup. There are 4 different types of items in the tree: channel, group, property and root. Each one of these items is represented by a different icon:
3.2. Using Archiver Plugin3.2.1. Adding and moving channelsIn the figure 2 we see an instance of the Archiver Plugin.
Figure 2: An instance of Archiver config file On the left side of the window there is a tree displaying the hierarchical structure of the Archiver config file. The ride side displays all available channels that are defined in currently opened database file in Visual DCT. These channels can be placed inside any group that is already defined in the tree. This can be done simply by dragging the channels to a desired location or by selecting a destination group in the tree and the channel in the list and pressing the add record to the tree button. To remove a channel from a certain group, select the channel and press remove record from the tree button, or drag the channel from the tree to the list on the right side. Moving a channel from one to another group can be done by dragging the channel and dropping it in the desired group.3.2.2. Adding/removing groups and propertiesAny element, specified in the EPICS Channel Archiver can be added to the hierarchical structure. To do this, select the element which will be the parent of the new element and press the right mouse button - a popup will appear (see figure 3). If you want to add a group select Add group. A new group will be added as a last child of the root element. By choosing Add property a drop down menu is shown which lists all properties that can be added to the selected parent. After selection was made, the popup menu dissappears and the new property is added to tree.
Figure 3: Adding elements to the tree 3.2.3. Editing tree itemsItems that are displayed in the tree can hold a specific value. Groups and Channels should all have names while properties should hold values as specified in the EPICS Channel Archiver. All these values can be edited directly in the tree. By double-clicking an item in the tree, a text editor will appear on that place and a new value can be written there (see figure 4). IMPORTANT! After a new value was typed in the editor you have to confirm it by pressing the enter key on your keyboard. This will store the value. If you click outside of the editor, the new value is not stored, but the old one is recalled.
Figure 4: Editing tree elements can be done by a double-click 3.2.4. File menuThe file menu provides five different commands:
3.2.4.1. Opening XML filesThe Archiver Plugin xml parser uses Document Type Definitions. The dtd file is engineconfig.dtd. This means that when you try to open the archiver config file the parser looks for dtd file in the same directory that the xml file is stored. If the file does not exist, parsing is aborted. Document History
References
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||