RnR Manager User Guide Open Splice Rn RManager

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 51

DownloadRnR Manager User Guide Open Splice Rn RManager
Open PDF In BrowserView PDF
RnR Manager User
Guide
Release 6.7.0

Contents
1

.
.
.
.

1
1
1
1
1

2

Introduction
2.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2 Key Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3
3
5

3

Installation
3.1 Pre-requisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2 Supported Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3 General Installation Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

9
9
9
9

4

Using the Record and Replay Manager
4.1 RnR Manager Overview . . . . . .
4.2 Domain Browser . . . . . . . . . .
4.3 Service Status . . . . . . . . . . .
4.4 Storage Status . . . . . . . . . . .
4.5 Scenario Status . . . . . . . . . . .
4.6 Topics – One Click Record . . . . .
4.7 Scenario Editors . . . . . . . . . .
4.8 Storage Data . . . . . . . . . . . .
4.9 Storage Editor . . . . . . . . . . .

5

Preface
1.1 About The RnR Manager User Guide
1.2 Intended Audience . . . . . . . . . .
1.3 Organisation . . . . . . . . . . . . .
1.4 Conventions . . . . . . . . . . . . .

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.
.
.
.
.
.

11
11
14
16
16
18
20
22
39
43

Contacts & Notices
5.1 Contacts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.2 Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

49
49
49

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

i

1
Preface
1.1 About The RnR Manager User Guide
The Vortex OpenSplice Record and Replay Manager (RnR Manager) User Guide is intended to provide a complete
reference on how to use this tool to manage the Vortex OpenSplice Record and Replay Service (RnR Service).
This User Guide is intended to be used after the Vortex OpenSplice software including the RnR Service has been
installed on the network and configured according to the instructions in the Vortex OpenSplice Getting Started
Guide.

1.2 Intended Audience
The User Guide is intended to be used by all Vortex OpenSplice users, including programmers, testers, system
designers and system integrators.

1.3 Organisation
The User Guide is organised as follows:
The Introduction gives an overview of the purpose and design of RnR Manager, together with general descriptions
of its features.
Installation describes how to install RnR Manager and its license file.
Using the Record and Replay Manager gives detailed descriptions of all of the functions and features of RnR
Manager.

1.4 Conventions
The icons shown below are used in PrismTech product documentation to help readers to quickly identify information relevant to their specific use of Vortex OpenSplice.

1

RnR Manager User Guide, Release 6.7.0

Icon

Meaning
Item of special significance or where caution needs to be taken.
Item contains helpful hint or special information.
Information applies to Windows (e.g. XP, 2003, Windows 7) only.
Information applies to Unix-based systems (e.g. Solaris) only.
Information applies to Linux-based systems (e.g. Ubuntu) only.
C language specific.
C++ language specific.
C# language specific.
Java language specific.

1.4. Conventions

2

2
Introduction
The Vortex OpenSplice Record and Replay Manager, or RnR Manager, is a tool to control Vortex OpenSplice
Record and Replay Services (RnR Services) and to inspect and change recorded data.

2.1 Overview
This section provides a brief introduction to the OpenSplice DDS RnR Service and the RnR Manager tool.
Version 6.4 of RnR Manager is compatible with Vortex OpenSplice version 6.4. It is not compatible with
earlier versions of OpenSplice.

2.1.1 Vortex OpenSplice Record and Replay Service
RnR Services are the Vortex OpenSplice software modules responsible for implementing record and replay.
Vortex OpenSplice RnR Service Features
Features provided by the RnR Service include the ability to:
• Control and monitor the service using regular DDS topics.
• Use expressions with wildcards to select partitions and topics of interest, for record and/or replay.
• Store data in XML records for easy post-analysis and data-mining.
• Store data in CDR records for efficient recording and replaying of high-volume data
• Create scenarios, grouping multiple commands into a logical set.
• Use replay filters to replay only the data recorded in a specific time-range.
• Query and edit storage data.
Non-Intrusiveness of Vortex OpenSplice RnR
Vortex OpenSplice Record and Replay is a pluggable service of the Vortex OpenSplice Middleware and is capable
of recording and/or replaying DDS datasets (i.e. topic samples) in a DDS system. As a ‘DDS service’, Record and
Replay benefits from the inherent ‘decoupling in time and space’ that the DDS architecture offers, with respect to
automatic discovery of the service’s dynamic interest in subscribing or publishing data as well as the transparent
routing of information to and from the service.
Relevant characteristics of this service with respect to ‘intrusiveness’ for an existing system are:
1. The RnR service can be optionally configured on any DDS node in the system.
(a) When run as part of an existing federation of applications, it utilizes the federation’s shared memory
segment to obtain the data. (So locally-published data is not required to travel over the network to be
recorded by the service and vice versa for replaying towards co-located subscribers.)
3

RnR Manager User Guide, Release 6.7.0

(b) When run on a dedicated RnR node, to be recorded data is transparently forwarded to that RnR node
typically using multicast network features (so as not to induce extra network traffic).
2. RnR services are controlled in ‘the DDS way’, i.e. a data-centric way where command and status topics
enable DDS based ‘remote control’ of the service from anywhere in the system.
(a) A dedicated record and replay partition is utilized by RnR to bound the control/status flows.
(b) In the case of a dedicated RnR node, this partition can be configured to be a so-called ‘local partition’, thus bounding all control/status traffic to the RnR node (see Section 2.5.2.6 in the OpenSplice
Deployment Guide).
3. Replaying (subsets) of recorded data ‘by definition’ has an impact on an existing system:
(a) As it can induce unanticipated traffic flows towards subscribing applications.
(b) As it typically triggers application processing of such replayed data.
(c) Which can be considered intentional and inherent to the purpose of replaying recorded data.
Summarizing, it can be stated that when dedicating a specific computing node for Recording and Replaying and
confining the control and status traffic to control the service to stay inside that node, recording the data in a
multicast-enabled network is non-intrusive.
Note: The few shared topic-definitions (definitions ONLY, not actual samples of these topics when these are
‘confined’ to the RnR node) that would be visible system-wide when inspecting the built-in topics of the
system (for instance with a tool like the OpenSplice Tuner) are considered not instrusive as they only imply
a small amount of static data space occupied by the related built-in topic samples.)
Vortex OpenSplice Deployment Documentation
Please refer to the Vortex OpenSplice Deployment Guide (OpenSplice_Deployment.pdf) for more detailed
information on how to configure Vortex OpenSplice.
The OpenSplice configuration editor (osplconf) provides facilities to create, modify and save configuration
files. This tool is described in Section 3.2 in the Vortex OpenSplice Deployment Guide.
Vortex OpenSplice RnR Service Configuration Example - ospl.xml
In order to use the RnR service, a new service needs to be defined in the xml configuration files. In the example
below, the RnR-related entries are highlighted in red.
RnR Service Configuration in ospl.xml

2.1. Overview

4

RnR Manager User Guide, Release 6.7.0

The service name in the example is rnrService1. A system can have many rnr services. The service name
can be any string value.

2.1.2 RnR Manager Product Overview
The Vortex OpenSplice Record and Replay Manager, or RnR Manager, is a tool to control Vortex OpenSplice
Record and Replay Services (RnR Services) and to inspect and change recorded data.
RnR Manager uses the internal Control and Monitoring API for access to the Vortex OpenSplice Middleware.
Connections to local nodes via JNI and remote nodes (via SOAP) are supported. The manager tool does not need
to have OpenSplice DDS installed locally. A connection can be made remotely to a node that is running Vortex
OpenSplice.
RnR Manager Features
Features provided by the RnR Manager product include:
• Control and Monitor all Recorder and Player instances in the system.
• Connect to local and remote nodes.
• Monitor RnR Service status (scenarios, storages and services).
• Record and Replay scenarios.
• Import and export recorded data.
• Query and edit recorded data.

2.2 Key Concepts
2.2.1 Services
The Vortex OpenSplice middleware RnRService is responsible for implementing record and replay functionality.
A system may be configured to have multiple RnR Service instances.
An RnR Service is identified by a name. This name (also known as rnrId) is used to address the commands to a
specific RnR Service. It is defined by the ‘name’ attribute of the service tag in the Vortex OpenSplice configuration.
For example:
2.2. Key Concepts

5

RnR Manager User Guide, Release 6.7.0



domain_name
0

10485670


durability


cmsoap


rnr


’.
A Scenario may be in one of the following states:
SCENARIO_RUNNING Scenario is active and able to receive and process commands
SCENARIO_STOPPED Scenario is stopped and unable to receive commands
SCENARIO_SUSPENDED Scenario is suspended and will resume processing commands when scenario is
(re)started or continued
Note that the BuiltinScenario can not be stopped.
Scenario Commands
RnR commands are sent to the Scenario’s Command topic. Supported scenario commands are: Add Record, Add
Replay, Remove Record, Remove Replay, Set Replay Speed, Truncate, Start, Stop and Suspend.
Add Record Specify interest to record data to a storage.
Add Replay Specify interest to replay data from a storage.
Remove Record Remove record interest from a storage.
Remove Replay Remove replay interest from a storage.
Set Replay Speed Change the replay speed of a storage.
Truncate Remove data from a storage.

2.2. Key Concepts

6

RnR Manager User Guide, Release 6.7.0

Start Start a scenario, or continue a suspended scenario.
Stop Stop a running scenario.
Suspend Suspend processing of new commands in a running scenario.
Config Add a storage to the service or modify properties of an existing storage.
It is important to understand that a scenario, once stopped, cannot be started again. However, it is possible to
start a new scenario with the same name as the stopped scenario. If any commands of the original scenario
were published as transient data they will be delivered to and processed by the new scenario, giving the
impression that the scenario has been re-started.
Different versions of the scenario topic
Starting with Vortex OpenSplice RnR Manager V6.6.0, the tool interacts with two versions of the RnR service
provided scenario command topic: rr_scenario and rr_scenario_v2. The new version of the topic
contains support for Transformations (partition, QoS) of data during replay.
The tool will only publish comands to the v2 command topic. If there exist scenarios from the previous version of
the topic, e.g. from a persistent DDS store, then the tool will be able to read in the scenario commands for display
in the Scenario Editor but if the scenario is stopped and started again from the editor, the scenario commands will
be republished in the the v2 command topic, and the old topic scenario will be disposed.
Vortex OpenSplice RnR Manager expects the rr_scenario_v2 topic to be registered by the time it needs
to publish commands, e.g. when starting/stopping a scenario or creating a storage. If the v2 topic is not registered, command publication will not take place. The tool does not attempt to publish commands on the old
rr_scenario topic.

2.2.3 Storages
The RnR Service operates in conjunction with storages, which can be configured statically in a configuration file
or dynamically through interaction with the service.
RnR Manager determines the available storages by subscribing to the storage status topic. It can be used to add
new storages to a service.
Storages may have the following states:
STORAGE_READY Defined, but not opened yet.
STORAGE_OPEN Storage successfully opened and can be written to.
STORAGE_ERROR An unrecoverable error has occurred in the storage.
STORAGE_OUTOFRESOURCES The storage is out of resources.
STORAGE_CLOSED The storage has been closed and can no longer be written to.

2.2.4 Samples
The RnR Service records and replays DDS data, or Samples. A recorded Sample is stored in XML form in the file
associated with the Storage. In addition to recording the topic data (for future replay), the RnR Service records
additional Sample Information such as the Partition, Topic name, and recording time (timestamp).
When a Storage is imported into RnR Manager, the Sample data and recording information can be viewed using
the Storage Editor.

2.2. Key Concepts

7

RnR Manager User Guide, Release 6.7.0

2.2.5 Time Ranges
Time Ranges can be used to limit the selection of data in a replay session. Users can select sample data based on
the recorded timestamps. A range is defined with a start and an end timestamp.

2.2. Key Concepts

8

3
Installation
3.1 Pre-requisites
Vortex OpenSplice RnR Manager requires Oracle Java of at least version 1.6. OpenJDK Java is not supported.
RnR Manager does not need Vortex OpenSplice to be installed on the same system in order to control the RnR
service. However, certain features of RnR Manager require a local installation of Vortex OpenSplice in order to
operate. This includes connecting to a locally running Vortex OpenSplice domain using Domain URI, or Domain
ID, and the storage Import/Export functions.
(Please refer to the Vortex OpenSplice Getting Started Guide for full details of how to install Vortex OpenSplice.)
Other information regarding recent changes to RnR Manager, or known issues are given in the Release Notes
included with the distribution.

3.2 Supported Platforms
The RnR Manager will run on the Windows and Linux operating systems.

3.3 General Installation Instructions
To install the Vortex OpenSplice RnR Manager, start the installer and follow the on-screen instructions.

3.3.1 Installation on Unix and Linux

On Unix-based platforms (including Linux), first ensure that execute permission is enabled, then run the installer
from the command line:
%

VortexOpenSpliceRNRManager---installer.bin

where  is the release version number and  is the build for your platform.

3.3.2 Installation on Windows

On Windows-based platforms, start the installer by double-clicking on its filename in Windows Explorer:
VortexOpenSpliceRNRManager--windows-installer.exe

where  is the release version number.
9

RnR Manager User Guide, Release 6.7.0

3.3.3 Installing the license file
Please refer to the Vortex OpenSplice Getting Started Guide for full details of how Vortex OpenSplice is
licensed.
PrismTech supplies a license file for the RnR Manager product. This file is not included in the software distribution.
During the installation, you have the option of specifying the license file.
Installing a License file

If you did not specify a license file during the installation, you will see a licensing error on startup.
License file error

Click the Manage Licenses button and then Import License File. Click the button Restart Workbench after importing the license file.

3.3. General Installation Instructions

10

4
Using the Record and Replay Manager
RnR Manager does not need to be installed on a system with Vortex OpenSplice; it just needs to connect to a
computer running Vortex OpenSplice with RnR Services configured.

4.1 RnR Manager Overview
4.1.1 Starting RnR Manager
RnR Manager is started by executing the startRnRManager script, located in the eclipse directory of the
RnR Manager install directory. The script’s purpose is to ensure the proper setting of the Vortex OpenSplice
environment variables prior to application launch.
The script allows for command line options to be passed to the application. Any command line options accepted by an Eclipse application are also accepted by RnR Manager. A particularly useful option is -data
, which allows a user to specify a custom directory use as the RnR Manager workspace, in case
the default directory is shared or write protected.
Example of starting RnR Manager with a non default workspace location:
/startRnRManager.sh -data /home/user/rnrworkspace
\startRnRManager.bat -data C:\Users\user\rnrworkspace

Path arguments to the start script must be absolute paths.

4.1.2 Views
The RnR Manager supports various views to monitor the state of a connected domain. It also provides two editors.
These views and editors provide users with the ability to manage OSPL record and replay functionality. Additionally, record and replay data can be queried, and edited.
The views are:
• Domain Browser
• Service Status
• Storage Status
• Scenario Status
• Imported Storages
The editors are:
• Scenario Editor
• Storage Editor
Each view and editor has a detailed section to describe its features and intended usage.
11

RnR Manager User Guide, Release 6.7.0

RnR Manager Overview

4.1.3 Preferences
RnR Manager preferences can be set using the main Window/Preferences menu.
OpenSplice
This preference page enables you to set the OSPL_HOME path for the RnR Manager if one is not set for the
environment.
RnR Manager must be restarted for this preference to come into effect.
OpenSplice Preferences page

4.1. RnR Manager Overview

12

RnR Manager User Guide, Release 6.7.0

Partition/Topic Filters
The Partition/Topic Filters page enables you to specify which partitions and topics you would like to filter out in
the general UI display. For example, any topics that are filtered out would not be seen in the in dropdowns used to
list topics or in the Topics view.
Partition/Topic Filters Preferences page

Partition/Topic Strings
The Partition/Topic Strings page enables you to specify partition and topic strings that are displayed in the general
UI. For example, any topic strings that are added here are displayed in drop-down topic lists.
Partition/Topic Strings

4.1. RnR Manager Overview

13

RnR Manager User Guide, Release 6.7.0

4.1.4 Help
Various help actions are available from the main Help menu. These include actions for managing licenses, checking for updates, and product About... information.
Help menu

4.2 Domain Browser
The Domain Browser is used to define and connect to a domain. It also provides information about domain nodes,
and the services the nodes support.
Domain Browser

4.2. Domain Browser

14

RnR Manager User Guide, Release 6.7.0

4.2.1 Defining a domain
To define an OSPL domain, click on the button in the top right corner of the Domain Browser.
Add Domain button

The RnR Wizard dialog will open. Multiple domain connection options are provided:
• A local domain can be connected to using an xml file or by specifying a domain id.
• A remote domain can be connected to using the node URL.
RnR Domain Wizard

4.2.2 Domain Connect
Once a domain has been defined, an entry will appear in the Domain Browser.
To connect, double-click on the entry, or right-click to display the domain menu and choose Connect.
Connect to Domain
4.2. Domain Browser

15

RnR Manager User Guide, Release 6.7.0

When Connect is clicked, an attempt is made to connect to the RnR Services of the selected domain. If successful,
the domain icon will change to
and you will be able to expand the domain to browse the nodes.
RnR Manager needs to be connected to the RnR Services of a domain in order to manage the recording and/or
replaying of sample data.
RnR Manager can only connect to one domain at a time.

4.2.3 Domain Disconnect and Delete
To disconnect or delete a domain, right-click on the domain to display the Domain menu.

4.3 Service Status
The service status view lists the current state of the OSPL RnR services available to the currently connected
domain.
The list can be sorted by Key or State by clicking on the column header.
Service Status view

4.4 Storage Status
The storage status view lists the current state of the OSPL RnR storages available to the currently-connected
domain.
The list can be sorted by Key or State by clicking on the column header.
Storage Status view

4.3. Service Status

16

RnR Manager User Guide, Release 6.7.0

4.4.1 Creating a new storage
To create a new storage, click on the Add new storage button in the top right corner of the view to open the Create
Storage dialog.
Add new storage button

Create Storage dialog

A wizard runs, with the input fields required for creating and configuring a new RnR storage.
The RnR Service ID field specifies for which service the storage will be created.
The Storage name field specifies what name the RnR service will recognize the storage by.
(See also Storage Attributes below.)
Clicking on Finish will create the storage. The Storage status view should be updated with a new entry for the
newly-created storage.
Storage Attributes
When creating new storages or reconfiguring existing storages, such as when using the Create Storage wizard, the
following attributes can be set:
File name - The file name and path on the RnR service’s local filesystem in which it will keep the storage data.
Relative paths are relative to the RnR service’s process working directory. File names have no rules or
restrictions for file extensions; file names can have any extension, or no extension if required.
Storage type - The encoding format for the storage. The file formats available are CDR (binary) and XML. The
CDR format is more efficient (compact) than XML.
Max file size - The maximum size per storage file. When approaching the maximum size while recording, a new
storage file is automatically created with a sequence number appended to the filename. The active file is
also switched transparently while replaying from a storage that contains multiple data files (eg. if file name
is "file", the name sequence is file, file0, file1, etc.).

4.4. Storage Status

17

RnR Manager User Guide, Release 6.7.0

Valid max size is any positive integer in denominations of bytes, kilobytes, megabytes, or gigabytes, up to a
maximum value of 2^64 - 1 total bytes. Leaving the field empty, or inputting the value 0, is considered
to be unlimited file size.

4.5 Scenario Status
Record and Replay is based on Scenarios. Scenarios are used to logically discriminate between different recording
and replaying command sequences. A scenario is an instance of the scenario topic, a group of commands sharing
the same scenarioName.
The Scenario status view lists the current state of the OSPL RnR scenarios available to the currently-connected
domain.
The list can be sorted by Key or State by clicking on the column header.
Scenario Status view

4.5.1 Open Scenario Editor
To open an empty scenario editor, click on the Create scenario button in top right corner of the scenario status
view.
Please refer to Scenario Editors for more information on the Scenario Editor.
Create scenario button

4.5.2 Starting Scenario(s)
To start a scenario or set of scenarios, click on the Start scenario(s) button to open the Start Scenario(s) dialog.
Start scenario button

The wildcard character ‘*’ (asterisk) is supported.
Start Scenario(s) dialog

4.5. Scenario Status

18

RnR Manager User Guide, Release 6.7.0

A start scenario command is executed using the parameters specified in the dialog.

4.5.3 Stopping Scenario(s)
To stop a scenario or set of scenarios, click on the Stop scenario(s) button to open the Stop Scenario(s) dialog.
Stop scenario button

The wildcard character ‘*’ (asterisk) is supported.
Stop Scenario(s) dialog

A stop scenario command is executed using the parameters specified in the dialog.

4.5.4 Scenario Menu
Actions are available for a scenario with a specific scenario name and rnrID.
To access the scenario menu, right-click on a scenario name in the scenario status table.
Scenario Menu

4.5. Scenario Status

19

RnR Manager User Guide, Release 6.7.0

The scenario menu has the following options:
Open – Opens a scenario editor on the selected scenario and RnR service. Please refer to Scenario Editors for
more information on the Scenario Editor.
Start – Start the selected scenario. This menu item is disabled if the scenario is already in the RUNNING state.
Stop – Stop the selected scenario. This menu item is disabled if the scenario is not in the RUNNING state.

4.6 Topics – One Click Record
The Topics view displays all of the DDS system topics that are available for recording. This view enables the user
to start recording quickly using the Record Topic(s) dialog. Default parameters for the recording are provided for
the selected topics.
To verify the status of the recording, the storage and scenario views can be viewed. The scenario editor can also
be opened for the scenario.
The Topics list

4.6.1 To Record a Topic
Step 1
Select one or more topics to record in the topic list.
Step 2
Right-click and choose Record... to open the Record Topic(s) dialog.

4.6. Topics – One Click Record

20

RnR Manager User Guide, Release 6.7.0

Topics selected for recording

Step 3
Modify the default parameters if required and click on OK.
Record Topic(s) dialog parameters

4.6.2 The Record Topic(s) Dialog
Default parameters are provided in the dialog in order to provide ‘one click’ functionality. These default parameters can be edited if required.

4.6. Topics – One Click Record

21

RnR Manager User Guide, Release 6.7.0

Partition/Topic pairs
The partition/topic pairs listed in the dialog reflect the selection in the Topics view when the dialog is opened.
The partitions can be modified by selecting from a drop-down list. The topics are not editable.
Record Topic(s) dialog Partition parameter

The fields are:
RNR Service ID – Specify the RNR Service ID parameter.
Scenario Name – Specify the scenario name. By default if one topic is chosen, a name that reflects the topic is
used. Otherwise a generic record name is provided.
The currently-known scenarios in the DDS system are checked, and a scenario name is provided where no
current scenarios of that name are known.
Storage Name – A default storage name is provided that matches the scenario name. If that storage is already
known to the DDS system, a warning message is provided at the top of the dialog.
The storage name can be modified to be any string; a drop-down list is provided to allow for the selection
of existing storages.
Truncate existing storage – If this option is checked, a truncate command will be added for the specified
storage. Otherwise, no truncate command is submitted.
Create new storage – If this option is checked, the storage specified by the Storage name field will be created/configured with the specified storage attributes. See Storage Attributes for more information.

4.7 Scenario Editors
The actions of a Record and Replay service are organized in scenarios.
4.7. Scenario Editors

22

RnR Manager User Guide, Release 6.7.0

A scenario is an instance of the scenario topic, a group of commands sharing the same scenarioName. Each
service subscribes to the command topic and uses a content filter to only process commands with an rnrId
matching the service name (or ‘*’).
It is possible to create an intricate nesting of scenarios by defining a scenario that includes control commands
targeting other scenarios.
RnR Manager has two editors related to scenarios. These editors are used to view and edit the commands of a
scenario.
Scenario Editor – Enables viewing, adding, and editing scenarios in the DDS system.
Scenario File Editor – Enables viewing and editing of scenario data that is persisted using an xml file. The
scenarios are saved as xml, and can be loaded into the DDS system as required.

4.7.1 Overview of the Scenario Editor
The scenario editor is used to view and edit the commands of a scenario within the DDS system.
The scenario editor can be opened from the Scenario Status view by any of the following actions:
• double-clicking on a selected scenario in the table
• right-clicking on a selected scenario in the table and then choosing Open
• clicking on the Create Scenario button
The Scenario Editor

Scenario Editor elements:
Start and Stop buttons
The Start and Stop buttons, when clicked, submit the Start and Stop commands for the specified
scenario and RnR service ID. These commands are published with a durability setting of VOLATILE.
Scenario name and RnR service ID
A new scenario name can be entered, or an existing scenario can be selected from the drop-down list.
Scenarios with the same scenario name can exist on multiple rnr services. The RnR service ID is
also specified to identify the appropriate scenario. The wildcard character ‘*’ (asterisk) can be used
to denote all rnr services.
Scenario Commands
The scenario commands table displays all commands for a scenario with the specified RnR service
ID.

4.7. Scenario Editors

23

RnR Manager User Guide, Release 6.7.0

Command Parameters
The command parameters section displays the values associated with the selected command in the
scenario commands table.

4.7.2 Overview of the Scenario File Editor
The scenario file editor can be used to edit the commands of a scenario and save them to an xml file. This xml file
can later be loaded and submitted to a DDS scenario.
The scenario file editor can be opened from the Workspaces view by any of the following actions:
• double-clicking on a scenario file (under the Saved Scenarios folder)
• right-clicking on a selected scenario file and then choosing Open
Workspace Saved Scenarios

The Scenario File Editor

Scenario File Editor elements:
Save and Save As... buttons
The Save button saves the current xml file.
The Save As... button saves the scenario to a new file and opens a new scenario file editor.
Scenario name and RnR service ID

4.7. Scenario Editors

24

RnR Manager User Guide, Release 6.7.0

A new scenario name can be entered, or an existing scenario can be selected from the drop-down list.
Scenarios with the same scenario name can exist on multiple rnr services. The RnR service ID is
also specified to identify the appropriate scenario. The wildcard character ‘*’ (asterisk) can be used
to denote all rnr services.
Scenario Commands
The scenario commands table displays all commands for a scenario with the specified RnR service
ID.
Command Parameters
The command parameters section displays the values associated with the selected command in the
scenario commands table.

4.7.3 Re-sizing the Editors
Full View
In order to maximize the view of an editor, double-click on the editor tab.
Scenario Editor tab

To restore the regular view, click on the ‘restore’ button, or double-click again on the editor tab.
Resizing an Editor

Resize Editor groups
The widths of the Scenario Commands and Command Parameters groups can be changed by dragging the border
with the mouse.
Resizing Editor groups

4.7. Scenario Editors

25

RnR Manager User Guide, Release 6.7.0

4.7.4 Scenario Editor Features
A Scenario Editor

The scenario editor displays the current state and the existing commands of a scenario in the DDS system.
• Existing commands for a specific scenario are displayed and are not editable.
• New commands can be added and submitted.
The functionality provided by the editor changes depending on the state of the scenario.
The state of a scenario can also be determined by viewing the scenario in the Scenario Status view.
Running vs. Stopped Scenarios
For RUNNING scenarios:

The Start button is disabled, the Stop button is enabled.
The Submit button is enabled.
4.7. Scenario Editors

26

RnR Manager User Guide, Release 6.7.0

Previously-submitted commands are displayed in the scenario commands table, but are ‘view only’. A visual
indicator of this is that the font color is light gray. These commands can not be removed or edited.
Editable and non-editable commands

For STOPPED scenarios:

The Start button is enabled, the Stop button is disabled.
The Submit button is disabled, as it is not necessary. All commands are submitted if the Start button is clicked.
Previously-submitted commands displayed in the scenario commands table that were uneditable while the scenario
was in the RUNNING state become editable again when in the STOPPED state.
Adding new commands
To add a new command, click on the Add button in the Scenario Commands section.
Specify the appropriate parameters for this new command in the Command Parameters section.
• If a scenario is already in the RUNNING state, click on the Submit button to submit the command or commands.
• If a scenario is in the STOPPED state, click on the Start button at the top of the editor to submit all the new
commands and start the scenario.
A Running Scenario

Existing commands

Once a command has been submitted for a scenario, it cannot be deleted or edited.

4.7. Scenario Editors

27

RnR Manager User Guide, Release 6.7.0

Removing commands
The Remove button is only enabled if a command is editable.
Only newly-added commands are editable.
Ordering commands
The Up and Down buttons allow for the commands to be re-ordered, if the selected command is editable.
Alternatively, the editable selected command can be moved by dragging and dropping it in the commands table.
Only newly-added commands are editable in running Scenarios. If a scenario is stopped, then all commands can
be re-ordered.
Duplicating commands
Scenario commands can be duplicated using Copy and Paste buttons available by right-clicking them to bring up
the context menu.
Users can copy any command, which will copy all of the settings included in that command and place it on
RnRManager’s clipboard.
Users can only paste a copied command where the “Paste” context menu entry is enabled. Pasting a command
will insert it after a selected command, however users cannot insert commands after already submitted commands
in a running scenario; they will have to stop the scenario to do that similar to the re-ordering of the commands in
the previous section.
To paste a command:
1. Select the command after which you want to insert it
2. Right click on that command
3. Press the “Paste” button
All scenario commands can be duplicated, whether they have been submitted or not in both Live and Offline mode
in the Scenario Editor.
Validation
Commands that have invalid parameters are highlighted with red text in the scenario commands table. Individual
invalid command parameters also have their labels highlighted with red text.
If the command is edited to correct the parameters, the entry in the scenario commands table will no longer be
highlighted with red.
The Submit and Start buttons will do nothing if there are validation errors.
Invalid command parameters

4.7. Scenario Editors

28

RnR Manager User Guide, Release 6.7.0

Save As...
The scenario editor has a Save As... button in the top-right corner.
Scenario Editor Save As... button

The Save As... functionality enables the saving of a scenario’s commands and command parameters as an xml file
that is not known to the DDS system.
Please refer to the next section, Scenario File Editor Features, for more information on saving scenarios to files.

4.7.5 Scenario File Editor Features
The Scenario File Editor

4.7. Scenario Editors

29

RnR Manager User Guide, Release 6.7.0

Creating New Files
Scenario Editor Save As
A new scenario file can be created by clicking on the Save As... button in the top right corner of the scenario editor.
This will save the commands specified in the scenario editor to an xml file.
This allows for the saving of a specific DDS system scenario to be loaded at a later date.
New Scenario File
A new file can be created by right-clicking on a folder under the Saved Scenarios directory structure in the
Workspace view and choosing New Scenario File....
New Scenario File

Editing Commands
• To add a new command, click on the Add button in the Scenario Commands section.
Specify the appropriate parameters for this new command in the Command Parameters section.
• To remove a command, click on the Remove button in the Scenario Commands section.
Load Scenario
A scenario file can be quickly loaded and submitted into the DDS system.
Step 1
Select the xml file, right-click and choose Load Scenario.
Load Scenario
4.7. Scenario Editors

30

RnR Manager User Guide, Release 6.7.0

Step 2
Specify merge options in the Load Scenario wizard.
Load Scenario wizard

If a senario with the same name already exists, the wizard offers these merge options:
Overwrite existing scenario – The existing scenario with the same name will be stopped (if not already stopped) and disposed.
Rename scenario in file – The scenario name in the file will be changed, and that scenario name will
be loaded.
Automatically create referenced storages – Create any storages referenced in the file if they do not
already exist in the DDS system.
A new scenario editor opens and the commands from the file are displayed.
Step 3
Click on Play to submit the scenario commands to the DDS system.
Validation
Commands that have invalid parameters are highlighted with red text in the scenario commands table. Individual
invalid command parameters also have their labels highlighted with red text.
4.7. Scenario Editors

31

RnR Manager User Guide, Release 6.7.0

If the command is edited to correct the parameters, the entry in the scenario commands table will no longer be
highlighted with red.
A scenario file can be saved with invalid parameters.

4.7.6 Command Parameters
To view or edit the command parameters of a scenario command, choose the command in the Scenario Commands
table. The values associated with that command will populate the scenario editor’s Command Parameters section.
If the command is editable, the parameters can be modified.
Common Parameters
Various command types are supported. To specify the command type, use the dropdown box entitled Kind.
The RnR service ID is also a common parameter for all command kinds.
Kind Parameters
The Kind Parameters section is where all the command kind-specific parameters are edited or viewed.
The command kinds supported are:
Add Record
Add Replay
Remove Record
Remove Replay
Set Replay Speed
Truncate
Start
Stop
Suspend
Config
Add Record
The add record command is used to specify an interest to record data to a storage.
Add Record parameters

The parameters are:
Storage name – The name of the storage in which the data is to be stored. If the storage cannot be resolved, the
command is ignored. To assist you, a dropdown list of recognized storages is provided.
Partition/Topic Sets – One or more partition/topic sets can be added to define the record interest.
4.7. Scenario Editors

32

RnR Manager User Guide, Release 6.7.0

Wildcards are supported: ‘?’ will match a single character and ‘*’ will match any number of characters. If
expressions (partially) overlap, data will only be recorded once.
Add Replay
The add replay command is used to specify an interest to replay data from a storage.
Add Replay parameters

Add Replay time ranges

Add Replay QoS transformations

The parameters are:
Storage name – The name of the storage from which the data will be replayed. If the storage cannot be resolved
the command is ignored.
Use original timestamps – With the default value of true, when a sample is recorded, its original write and
allocation timestamps are preserved. When this sample is replayed, it will be delivered to readers with these
original timestamps. Depending on resource limits and QoS settings, readers may discard the replayed data
if data with more recent timestamps is available. By setting useOriginalTimestamps to false, the
timestamps will be updated with the current time upon replay.
Skip to first sample – By default this value is false and when a sample matches interest expressions but doesn’t
match any of the supplied time-ranges, the Record and Replay service tries to mimic original timing behaviour by sleeping until the next sample is evaluated based on record timestamps. Sometimes this is not
the required behavior and the service should simply skip all non-matching samples and start replaying im-

4.7. Scenario Editors

33

RnR Manager User Guide, Release 6.7.0

mediately the first sample that matches an interest expression and time-range. This behaviour can be enabled
by setting skipToFirstSample to true.
Partition/Topic Sets – One or more partition/topic sets can be added to define the replay interest.
Wildcards are supported: ‘?’ will match a single character and ‘*’ will match any number of characters.
If expressions (partially) overlap, data will only be published into DDS once.
Time Ranges – Specifying time ranges is optional.
Time ranges are used in combination with partition/topic sets to select a subset of data available in a storage
for replay. Each time range is applied to each partition/topic set. A sample read from a storage is only
replayed if its partition/topic can be matched against the partition/topic sets and its record-time can be
matched against the time-ranges. The time ranges are optional; when omitted, a sample is replayed when a
partition/topic set matches.
QoS Transformations - Specifying QoS transformations is optional.
A series of transformations to apply to each sample’s QoS upon replay. Transformations are only applied for
replay samples that have matched the partition/topic set AND the time ranges (if specified). The supported
transformations types and their valid values are described in the tables below.
QoS Type
Partition
Deadline
Latency
Ownership strength
Transport priority
Lifespan
QoS Type
Partition
Ownership strength
Transport priority
Deadline
Latency
Lifespan

Description
Partition in which the sample is replayed
Deadline QoS policy
Latency budget QoS policy
Ownership strength QoS policy (applies only to samples written with exclusive ownership-kind QoS policy)
Transport priority QoS policy
Lifespan QoS policy
Valid Values
Partition transformations are supported for non-empty partition names consisting of alphanumeric and special characters ‘-’, ‘/’ and ‘_’.
Any positive 32 bit integer.
A floating point value for seconds and nanoseconds. eg. inputting
10.5 is 10 seconds and 500000000 nanoseconds. Additionally, the string
"Infinite" is also valid input, signifying the ‘infinite’ time period
(2147483647.2147483647)

The string value written to the Replacement Value column will be the new value of the QoS policy. Optionally, values in the Original Value column are taken as the filter to conditionally apply the transformation;
e.g. for a Partition transformation with Replacement Value "p2" and Original Value "p1", all samples
with partition "p1" will be transformed to partition "p2".
Note that the original value needs to be an exact match; wildcards and expressions are not supported.
Time Range Copy and Paste
The time range record values can be copied from the storage editor and pasted into the scenario editor. Please
refer to Selected Row(s) Menu for details of how to copy a time range.
To paste the record time range, Add a new time range. Select the time range in the Time Ranges table, and
right-click and then choose Paste Record Time Range.
Paste Record Time Range

4.7. Scenario Editors

34

RnR Manager User Guide, Release 6.7.0

Remove Record
The remove record command is used to remove a record interest from a storage.
Remove Record parameters

The parameters are:
Storage name – The name of the storage of which record-interest is removed.
Partition/Topic Sets – One or more partition/topic sets can be added to define the record interest(s) to be removed.
Note that the partition/topic sets need to match those used previously in an add record command.
Remove Replay
The remove replay command is used to remove a replay interest from a storage.
Remove Replay parameters

The parameters are:
Storage name – The name of the storage of which replay-interest is removed.
4.7. Scenario Editors

35

RnR Manager User Guide, Release 6.7.0

Partition/Topic Sets – One or more partition/topic sets can be added to define the replay interest(s) to be removed.
Note that the partition/topic sets need to match those used previously in an add replay command.
QoS Transformations - Specifying QoS transformations is optional.
The QoS transformations to remove from the replay interest. If specified, a replay interest will no longer
apply the transformation.
If any replay interest is to be removed completely, the set of transformations should match exactly the
set included in add_replay command(s) responsible for adding the interest.
Time Ranges – Specifying time ranges is optional.
The time ranges to remove. Similar to the add replay command, this parameter is optional. If this parameter
is specified, only the interest that exactly matches the time ranges is removed. As a shortcut, if no time
ranges are specified, any interest that matches the interest expressions in the remove replay command is
removed regardless of the time ranges attached to that interest.
Set Replay Speed
The set replay speed command is used to change the replay speed of a storage.
Replay Speed parameters

The parameters are:
Storage name – The name of the storage of which to change the replay speed. If the storage cannot be resolved
the command is ignored.
Replay speed – Floating-point value containing the new replay-speed. The following values have a special meaning:
-1 : Maximum speed
Delays between samples are skipped and the samples from the storage are inserted into DDS as
fast as possible.
1 : Same speed
Replays samples with the same timing characteristics as when originally recorded.
0 : Pause the storage
No samples are replayed until the speed is increased.
The default replay speed is 1 (samples are replayed with the same timing characteristics as when originally
recorded).
Truncate
This command can be used to clear a storage.

4.7. Scenario Editors

36

RnR Manager User Guide, Release 6.7.0

When recording samples to an existing storage, the data is appended. If instead the required behaviour is to
overwrite the storage, the truncate command can be used to remove the data recorded to the storage during previous
sessions.
Note that the truncate command can only be executed if the storage isn’t busy recording and/or replaying
data. Thus is may be neccessary to first publish remove record/replay commands, in order to remove all
interest from a storage so that it gets closed by the RnR service, before the truncate command can be
successfully processed. The Storage Status view can be used to verify the state of the storage.
Truncate parameter

The parameter is:
Storage name – The name of the storage to clear.
Start
The start command instructs the service to start processing "scenario name". The service will publish a
status update that changes the state of the scenario to RUNNING. If the target scenario is already known to the
service, and is in the suspended state, a start command causes the scenario to resume processing commands,
changing the scenario status from SUSPENDED to RUNNING.
Start parameter

The parameter is:
Scenario name – The name of the scenario to start.
Stop
The stop command stops the execution of a scenario, including any recording and/or replaying that was defined as
part of that scenario.
Stop parameter

4.7. Scenario Editors

37

RnR Manager User Guide, Release 6.7.0

The parameter is:
Scenario name – The name of the scenario to stop.
It is important to understand that a scenario, once stopped, cannot be started again.
However, it is possible to start a new scenario with the same name as the stopped scenario. If any commands
of the original scenario were published as transient data they will be delivered to and processed by the new
scenario, giving the impression that the scenario has been re-started.
Suspend
The suspend command suspends the processing of commands by the scenario. This enables applications to submit
a number of commands to a scenario, without any immediate effects. When the scenario is resumed all new
commands are processed as if they were published in a batch although in reality they may have been published
with varying intervals.
Suspend parameter

The parameter is:
Scenario name – The name of the scenario to suspend.
CONFIG
The config command is used to modify the runtime configuration of an RnR service.
config : Sequence of KeyValue objects.
A config command can be used to add a storage to the service or modify properties of an existing storage. Storages
can also be configured in the OpenSplice configuration file, but config commands provide the opportunity to create
and configure storages dynamically.
A single config command can apply to multiple storages, if the config sequence consists of multiple elements. The
key of the KeyValue object should always be ‘Storage’.
CONFIG command

One or more storage configurations can be specified in the CONFIG command.
Name – The name used to identify the storage in Record and Replay commands.
Filename – The file used to store XML data. The filename may include a relative or absolute path. If a path is
omitted, the storage file is created in the current working directory.
Kind – This attribute sets the format of the storage file. The data can either be stored in XML or CDR format.
4.7. Scenario Editors

38

RnR Manager User Guide, Release 6.7.0

Note that when changing the Kind of an existing storage it is recommended that a TRUNCATE command be issued first so that the storage file does not contain data of both formats.
Max file size - This optional attribute specifies a maximum storage size for individual files. Exceeding a single
file size rolls the storage over to a new numbered index file. No value or 0 indicates unlimited file size.
Valid input is any positive integer not greater than 2^64 -1 (in bytes). The value can have a suffix to indicate magnitude: K‘‘(ilobyte), ‘‘M‘‘(egabyte) or ‘‘G‘‘(igabtye); for example,
‘‘10M results in 10485760 bytes. The suffix is not case sensitive.
Statistics – This optional attribute specifies whether statistics should be maintained for this storage.
Interval – This attribute specifies the publication interval of the statistics belonging to this storage, in a Record
and Replay storage statistics topic. The publish interval is a value in seconds but may also be set to -1,
which means that the statistics are published when the storage is closed. Note that a value of 0 means that
statistics are never published for this storage.
Reset – This attribute enables you to reset the current values of statistics belonging to the storage. Note that this
only makes sense in a configuration command for an existing storage, since new storages created from the
OpenSplice configuration file always start out with empty statistics.

4.7.7 BuiltinScenario
OpenSplice BuiltInScenario
Since commands are targeted at a service and a scenario, the service must start an initial scenario. If it did not,
there wouldn’t be anything to address commands to.
During startup, the service starts this initial scenario, called the BuiltinScenario. This is a special scenario
that is always running while the service is operational. It serves as the starting hook for any new scenarios. To
run a new scenario, a start command must be published for the BuiltinScenario. Like any scenario, the
BuiltinScenario can also process other commands like record and/or replay commands.
Note that the BuiltinScenario cannot be stopped.
Since one can assume that the BuiltinScenario is always available and running, it is a safe choice to address
config and control commands to the BuiltinScenario. Especially in a dynamic and distributed environment, in
which DDS is regularly used, this can be helpful when interacting with the service through scripts or perhaps
when injecting commands stored in a persistent store.
BuiltinScenario in RnR Manager
The scenario editor disables the start and stop functionality for the BuiltinScenario.
Start and Stop actions are also disabled in the Scenario Status view.

4.8 Storage Data
The OpenSplice Record and Replay service enables the recording and replaying of data. The service records the
data to storage xml files. These xml files can get quite large, and can be difficult to query and read.
RnR Manager provides a Storage Editor that makes it easier to query, view and update this storage data.
On import, the xml storage files are converted to a database file. The database can then be queried and updated.
Updated data can be exported back into the OpenSplice Record and Replay service storage xml format if required.

4.8. Storage Data

39

RnR Manager User Guide, Release 6.7.0

4.8.1 Workspace - Imported Storages
The starting point for viewing storage data is the Workspace view.
To import storage data, navigate to the Workspace view and select the Imported Storages folder. Right-click to
display a menu with options for manipulating storage database files.
Imported Storages view

4.8.2 Database File Management
The Imported Storages folder displays the database files that have been imported. The files can be managed by
using the menu options provided in the view. These menu options are accessible by right-clicking on the items in
the view.
Imported Storages menu

These database files are created in a workspace project maintained by the RnR Manager, which provides facilities
to open, copy, paste, delete, and create new folders within this workspace.

4.8.3 Import Storage
To import OpenSplice record and replay storage data, open the Import Storage dialog by choosing the Import
Storage... option from the right-click menu. (A folder must be selected in the view.)
Import Storage

4.8. Storage Data

40

RnR Manager User Guide, Release 6.7.0

To import:
Step 1
Browse to and select your local storage file.
If storage file names were configured with a relative path, the RnR service creates the storage files
relative to its process working directory.
Using the file chooser, select the .meta file associated with the storage. The storage data file is
automatically resolved.
Step 2
Specify the database file name. The file will be created in the selected folder.
Step 3
If necessary, decrease the batch size. The default batch size is 5000.
A batch counter is used to limit the number of samples loaded into memory. If the import is unsuccessful, and/or ‘out of memory’ exceptions are occurring, reduce the batch size number.

4.8.4 Export
To export OpenSplice record and replay storage data, open the Export Storage dialog by choosing the Export
Storage... option from the right-click menu. (A database file must be selected in the view.)
On export a new OpenSplice storage is created and the sample data contained in the imported database file will be
written to this storage.
Storage Parameters
The storage parameters are specified on the first page of the Export Storage wizard.
Export Storage - Create Storage

4.8. Storage Data

41

RnR Manager User Guide, Release 6.7.0

If RnR Manager is currently connected to a DDS domain, the storage attributes are editable, and clicking on the
Finish button configures a new storage with the specified storage attributes. If RnR Manager is not connected,
only the file name attribute is editable, and clicking Finish only does the data export to file. See Storage Attributes
for further information.
If necessary, decrease the batch size. The default batch size is 10000.
A batch counter is used to limit the number of samples loaded into memory. If the export is unsuccessful, and/or
‘out of memory’ exceptions are occurring, reduce the batch size number.
Sample Set Parameters
The second page of the wizard enables you to export a subset of the sample data contained in the database. You
can also edit the actual database file to contain the appropriate subset using the storage editor. The ability to
specify subset parameters is an additional feature of export.
All unique partition/topic sets of the database file are displayed. You can choose to exclude any of these sets by
unchecking it the list.
Additionally you can define a time range for the export. Any data samples that do not fall within the time range
are excluded.
Export Storage Samples

4.8. Storage Data

42

RnR Manager User Guide, Release 6.7.0

4.9 Storage Editor
Once a storage has been imported, the database file can be queried and updated using the Storage Editor.
The storage editor is opened by double-clicking on the database file in the Imported Storages folder in the
Workspace view. It can also be opened automatically on import.
The editor is comprised of two pages. The first page is used to define the query parameters. You can specify query
parameters to view subsets of the sample data. The second page displays the sample data that meet the query
parameter criteria.
Storage Editor

4.9. Storage Editor

43

RnR Manager User Guide, Release 6.7.0

4.9.1 Query Parameters
Field Selection
This section is used to select the data fields (columns) that you would like to see displayed in the data page table.
The Record and Replay node lists the fields that are written to each record and replay sample.
The Message node lists the fields that are written with each sample.
The other nodes contain the fields that are specific to each MetaType or topic.
Where Clause
The where section can be used to defined SQL-like where conditions.
This section is optional. If no entries are added, no additional conditions are added when running the query and
populating the data page.
Operator
To define a where condition an operator must be added. The operator can be an AND or an OR.
To add an operator, click on the Add Operator button. By default, AND is selected. To add OR, select the cell, then
choose the OR item in the dropdown menu.
Add Operator

Each operator must have at least one child clause for the query to be valid. If this condition is not met, a red icon
is displayed to indicate a problem. The Run Query button will not be enabled unless all validation problems on
the query page are resolved.

4.9. Storage Editor

44

RnR Manager User Guide, Release 6.7.0

Invalid AND

Clause
To add where selection criteria, add one or more clauses to your operator. Each clause contains a field, an operator
and a value.
Field – A database field or metaType field. Available fields are provided in a dropdown list.
Clause field

Clause Operator – Various comparison operators are available for selection in a dropdown list.
Clause Operator

Value – The expected value of the database field.
Each clause must have a defined field and value. If this condition is not met, a red icon is displayed to indicate a
problem. The Run Query button will not be enabled unless all validation problems on the query page are resolved.
Invalid Clause

Valid Condition

4.9. Storage Editor

45

RnR Manager User Guide, Release 6.7.0

Time Range (message.writeTime)
By default the time range is set to all times. A start and/or end time can be defined to query samples within a
specific time range.
Load
Many of the storage files have a large amount of data. For larger files, it is not always possible to load all of the
data into memory. For these cases, samples can be incrementally loaded into memory.
The number of samples to load at a time is specified in the Load # field.
You can then use the Next and Previous buttons on the data page to view the samples incrementally.
Note: Any edits made to loaded data will not be retained when the Next and Previous buttons are clicked.
Such edits must be saved explicitly prior to loading next or previous samples.
Order By
The data display can be ordered by data fields. By default, the order is done using the message.writeTime
fields. You can add any data field to the order by criteria.
Data
The data page contains one table that displays the samples that meet the query criteria. Each row is one sample.
The columns are resizable. The columns can also be re-ordered by dragging them in the table.
To get the full name of the column, hover on the column header with the mouse.
Values can be edited in the table on a per cell basis.
To change the data that is displayed, specify different query parameters on the query page, and click on the Run
Query button.
Data page

4.9. Storage Editor

46

RnR Manager User Guide, Release 6.7.0

Selected Row(s) Menu
Actions are available for the table’s selected row(s). These actions are accessed by using right-click.
Data table actions

Multi Edit...
The table supports editing a selected row’s field value.
However, if a batch change is required, it is not possible to do it in the table itself. The Multi Edit dialog provides
support for batch changes.
Step 1
Select the rows you would like to edit in the table.
Step 2
Right-click and choose the Multi Edit... action.
Step 3
Check the field(s) you would like to batch update.
Step 4
Specify the value(s) to be applied to all the selected rows.
Multi Edit dialog

4.9. Storage Editor

47

RnR Manager User Guide, Release 6.7.0

Copy Record Time Range
This action is enabled when more than one row is selected. It is used in conjunction with the scenario editor.
The record time of the first and last selected row are saved. These values can be pasted into the scenario editor for
a replay command. Please refer to Add Replay for details of how to paste the values into the scenario editor.
Delete
The delete action deletes all selected rows.
Next and Previous
The Next and Previous buttons are enabled when the samples are being loaded incrementally.
Please see Load for details of load functionality.
Next and Previous buttons

Undo, Save and Save As...
Undo, Save, and Save As... buttons

The buttons are:
Undo — Undo all changes to the database file since the last save.
Save — Save all changes to the database file.
Save As... — Save the currently loaded samples into a new database file.

4.9. Storage Editor

48

5
Contacts & Notices
5.1 Contacts
PrismTech Corporation
400 TradeCenter
Suite 5900
Woburn, MA
01801
USA
Tel: +1 781 569 5819

PrismTech Limited
PrismTech House
5th Avenue Business Park
Gateshead
NE11 0NG
UK
Tel: +44 (0)191 497 9900

PrismTech France
28 rue Jean Rostand
91400 Orsay
France
Tel: +33 (1) 69 015354

Web: http://www.prismtech.com
E-mail: info@prismtech.com

5.2 Notices
Copyright © 2016 PrismTech Limited. All rights reserved.
This document may be reproduced in whole but not in part. The information contained in this document is subject
to change without notice and is made available in good faith without liability on the part of PrismTech Limited or
PrismTech Corporation. All trademarks acknowledged.

49



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : No
Page Count                      : 51
Page Mode                       : UseOutlines
Warning                         : Duplicate 'Author' entry in dictionary (ignored)
Author                          : 
Title                           : RnR Manager User Guide
Subject                         : 
Creator                         : LaTeX with hyperref package
Producer                        : pdfTeX-1.40.14
Create Date                     : 2016:10:11 16:00:42+01:00
Modify Date                     : 2016:10:11 16:00:42+01:00
Trapped                         : False
PTEX Fullbanner                 : This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) kpathsea version 6.1.1
EXIF Metadata provided by EXIF.tools

Navigation menu