ScopeThis document is a users manual of how to install, configure and use VisualDCT JCA debug plugin. AudienceThe audience of this document are all users of VisualDCT JCA debug plugin. Table of Contents1. Introduction2. Requirements and Installation3. Configuration4. Running5. AcknowledgementsReferencesDocument 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. Introduction
JCA Debug Plugin is a Visual Database Configuration Tool (VisualDCT) plugin allowing
to display actual values in the control system inside the control boxes for records displayed
within VisualDCT. Macro substitution is also supported. 2. Requirements and InstallationPlugin requirements are:
After installing VisualDCT and JCA native libraries successfully you
are ready to install VisualDCT JCA debug plugin. CAJ (pure java CA implementation) can be used also. VisuaDCT has to be started with JCA debug plugin classes in the classpath. This can be easily achieved using the following command:
See VisualDCT User's Manual for detailed information about VisualDCT startup.
To install JCA debug plugin start VisualDCT and go to - , click Install and
select vdctJCADebugPlugin.jar file. The file contains .vdctplugins.xml file which will autoconfigure plugin.
Figure 1: Screenshot of Plugin Manager after successful installation. An alternative way is to manually add plugin configuration to plugins configuration file (see Configuration). 3. ConfigurationAll plugin configuration is stored in plugins configuration file, located at $HOME/.vdctplugins.xml.
Plugin has context param XML entry which value points to the JCA2 context (implementation) to be used by plugin.
4. Running
Once you have opened a database you want to debug, go to - - .
This will switch to debug mode. The plug will scan all record names in opened database for macros. If any is found,
a file chooser will popup allowing you to select a macro substitution file. If you do not want to use any, click
Cancel , otherwise select appropriate macro substitution file (see Macro Substitution and Include Tool pages
for more information about the macro substitution file syntax).
Figure 2: Macro set selector.
In debug mode all record are given an extra area where value of the VAL field is shown. Value is updated on every value change and
the same color conventions are used as are used in MEDM.
The timestamp is displayed as well to enable the developer to see when was the last time the record was processed.
Figure 3: Debug session. If during the monitoring timeout occurs (IOC goes down or JCA beacon is not received), this visually indicated by a clock sign over the record:
Figure 4: Timeout notification. 5. AcknowledgementsI would like to thank Swiss Light Source (SLS), especially Steve Hunt, for the ideas and for founding development of this plugin. Thanks to Diamond Light Source (DLS) for founding port to JCA2. Document History
References
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||