![]() |
RTView®
Core User Guide |
Quick Start Tutorial This Quick Start Tutorial provides you with the fundamentals on how to use RTView. Once completed, you can swiftly apply this knowledge to building your own real-time dashboard displays that give you comprehensive business information at a glance. Learn to:
In order to illustrate RTView features, this tutorial uses an XML source - the XML data simulator. Even if you will not be using XML data, we suggest you complete these exercises in order to learn basic RTView concepts. In the Data Sources section, there are links to additional exercises that address topics specific to other data sources. Get
Started
Register for a
License Key
Start
the XML Data Simulator
On Windows 2. In the command window, go to
demos: The
XML data simulator is ready when dots appear across the screen.
On
UNIX
2.
In the terminal window, go to your RTView installation directory.
3.
Initialize the terminal window. NOTE: You must initialize each new terminal window you open. See
the Setup section for more details about
setting up your environment.
4. In the
initialized terminal window, go from your installation directory to the
demos
directory.
5. Start
the
XML data
simulator:
The
XML data simulator runs as a background process and is ready when dots
appear across the screen.
On
Windows
2. Login to the Display Builder. By default, the Display
Builder
does not require a login. Login can be
enabled at setup to support role
based security. The default user name and password are: NOTE: It is possible that your system administrator
may have configured another user name and password. In
this case, you may also need to
select a role.
You are now ready to create
a display.
On
UNIX
2. Login to the Display Builder. By default, the Display
Builder
does not require a login. Login can be
enabled at setup to support role
based security. The default user name and password are: NOTE: It is possible that your system administrator
may have configured another user name and password. In
this case, you may also need to
select a role.
You are now ready to create
a display. Create A Display
In
addition to illustrating the fundamentals of RTView, we also want to
provide you with a conceptual understanding of its many uses. Therefore, in the
following exercises, you will use the XML simulator as a data source to create a dashboard display for a fictitious company with plants in
multiple
cities. The display will track live production numbers, such as Units Completed and
Units in Production.
The dashboard will have several animated objects showing real-time updates,
including:
Set Display Background Properties
1. In the
Display Builder, select File>Background Properties.
2. In
the Background Properties
dialog:
Model
Height - Increase to 600.
Model
Properties - Click the button to open the Model Properties
window:
Close the Color Chooser. 4. Click
Yes
to add space to the top of the display.
Your display size and background
color are now set. You now need to setup access to an XML source.
Add
an XML Source to XML Source List
1. Select
Tools>Options
to open the Application
Options dialog.
2. Select
the XML tab and click Add to open the Add XML Source dialog.
3. In the
Add XML Source dialog:
NOTE: The update.xml source is
generated by the XML data simulator. See
Creating XML Sources for technical details on creating and formatting your own
XML source.
4. Click
OK
to close the Add XML Source dialog. The XML source appears in the list of available XML Data Sources.
5. Click
OK
to apply and close the Application Options dialog.
The XML source is now available for animating objects.
Animate a Graphic Object
1. Select the Meters tab
in the Object Palette.
2. Click on the first meter in the palette.
3. Move
the cursor to the Working Area. A + symbol appears next to the cursor which
means that the Display Builder is in Add mode. Click in the Working Area to place the meter. The meter is ready to be
edited.
4.
In the Object Properties dialog:
value
(category:
Data)- Right-click in the Property Name field and select Attach to Data>XML. 5.
In the
Attach to XML Data
dialog:
Data
Key - Select element1_load from the drop down menu. 6.
Click
OK
to apply these values and close the Attach to XML Data
dialog.
Create an Alert
1.
In the Object Palette, select the General tab and add the Range
Dynamic object shown here (class name: obj_rect_ilvx_ra4) to your
display.
2. Select the meter you
previously added (class name: obj_meter20) and click on the Copy button 3. Select the Range Dynamic
object and click the Paste Data Attachments 4. In
the Object Properties dialog:
valueHighAlarmEnabledFlag
(category: Alert)
-
Select the checkbox to enable.
valueHighAlarm
(category: Alert)
- Decrease
to 75. Press <Enter>. This will activate the alert when the value
of element1_load is 75 or greater.
valueHighAlarmCommand
(category: Alert)
- Right-click in the Property Name field and select Define Command>SYSTEM. 5.
In the Define System Command
dialog:
6.
Click
OK
to apply these values and close the Define System Command
dialog.
The alert now automatically
beeps when the Plant Load is
75
or
greater. You will also notice that the color of the meter
changes to the default valueHighAlarmColor
setting, red, when the
alert is activated.
Display Data in a Table
1. In
the Object Palette, click on the Tables tab and add the first table
in the palette (class name: obj_table02) to your display.
2. In the
Object Properties dialog:
3. In
the Object Properties dialog:
4.
In the Attach to XML Data
dialog:
Data
Key - Select production_table from the drop down menu.
Column(s)
- Select * to display all columns available in the Data Key. RTView automatically generates the correct number of columns and rows for
the table. 5.
Click OK to apply these values and close the Attach to XML Data
dialog.
The table now displays
real-time data updates provided by the value of production_table.
6. In the
Object Properties dialog:
7.
In the Filter Properties dialog, click the Add button to
open the Edit Filter dialog.
8. In
the Edit Filter dialog:
9.
Click OK to close the Edit Filter dialog.
10. Click OK to apply and close the Filter Properties window.
Animate a Bar Graph
1. In the
Object Palette, click on the Graphs tab and add the first bar graph
(class name: obj_bargraph) to your display.
2. Right-click
on the Production Table and select Copy from the popup menu.
3. Right-click
on the Bar Graph and select Paste All Properties from the popup
menu.
The bar graph is now animated by the Production Table data.
4. In
the Object Properties dialog:
xAxisFlag (category:
X-Axis)- Click
to select the checkbox to display labels at the bottom of the graph. The bar graph is now animated
by three columns of the production_table data. You can easily create a
graphic that displays an automated calculation. See the next exercise for
instructions.
Display an Automated Calculation
1. Select
Tools>Functions
and
click
the Add button to open the Edit Function dialog.
2.
In the Edit Function
dialog:
Function
Type - Select Add All Rows Or Columns from the drop down menu.
Table
- Right-click in the text field and select Attach to Data>XML.
Return Column - 0 The function is ready to calculate - it now needs data to perform calculations on. 3.
In the Attach to XML Data dialog:
Data
Key - Select production_table from the drop down menu.
Column(s)
- Select Units Completed from the drop down menu. 4.
Click OK to close the Attach to XML Data dialog.
5.
Click OK to apply these values and close the Edit Function dialog.
The function now performs
calculations on the Units Completed column of the production_table
Data Key. It now needs a place to display the totals.
6.
In the Object Palette, click on the General tab and add the
oval object shown here (class name: obj_circ2d_ilv)
to your display. To be sure that you have added the
correct object to your display, you can verify the class name listed at the top
of the Object Properties window. 7. In
the Object Properties dialog:
labelTextPosY
(category: Label)
- Select
Outside
Bottom from the drop down list to position the label. 8. In the Object Properties dialog:
9.
In the Attach to Function
Data dialog:
Column(s) - Select
Units Completed from the drop down menu. 10.
Click OK to apply and close the Attach to Function Data dialog.
The oval object now displays
the sum of Units Completed for all production sites.
Create a Drill Down
Background Information
The data structure of
tables and graphs (tabular data) enables RTView to automatically
create several data source specific, built-in Substitutions for you. You will see these built-in
Substitutions used in the target display when you create the drill
down. For more information on Substitutions,
see Substitutions.
1.
Select the Production Table and in
the Object Properties dialog:
2.
In the Attach to XML Data dialog:
Data
Key - production_table should already be selected.
Column(s)
- Click on the ellipsis 3.
In the Select Columns dialog:
Select
Status in the Available Columns list and click Add.
Click
OK
to close the Select Columns dialog. 4. Click OK to apply and close the Attach to XML Data dialog.
5. In the
Object Properties dialog:
The table now displays only two columns: Plant and
Status. 6. Select
the Production Table and in the Object Properties dialog:
7.
In the Drill Down Properties
dialog:
Window Name -
Enter xml. This name should be unique unless
the display is to open in an existing window.
Drill Down Display Name
- Select dstutorial\xml_dd_qs.rtv, the
previously created display for this tutorial, from the drop down
menu. 8. Click
OK to set the drill down target and close the Drill Down Properties dialog.
9. Double-click
on any row in the table to drill down. The previously created display,
xml_dd_qs.rtv,
opens.
10. Double-click
on another row in the table and the same display, xml_dd_qs.rtv, is
reused to show different data based on the row you selected.
11. Close
the drill down display.
12. Select
File>Save,
name this display mydisplay.rtv and save it in the demos
directory.
For more information on creating drill down
displays, see Drill Down Displays. For more information on
Substitutions,
see Substitutions.
Deploy Your Display Application with Direct Data Connection
On Windows 2. In the command window, go to
demos: 3.
Login to the Display Viewer. By default, the Display
Viewer does not require a login. Login can be
enabled at setup to support role
based security. The default user name and password are: NOTE: It is possible that your system administrator
may have configured another user name and password. In
this case, you may also need to
select a role.
4. Select File>Open,
choose mydisplay.rtv and click Open.
Your display opens with real-time data updates.
5. Single-click
on any row in the table to drill down. The previously created display,
xml_dd_qs.rtv,
opens.
6. Single-click
on another row in the table and the same display, xml_dd_qs.rtv, is
reused to show different data based on the row you selected.
7. Close
the drill down display.
8. Exit
the Display Viewer and, if you are not going to view your display again, exit the XML data simulator. If your
RTView package features additional data sources, see
the Work with Additional Data Sources section at the end of this tutorial.
On UNIX 2.
Login to the Display Viewer. By default, the Display
Viewer does not require a login. Login can be
enabled at setup to support role
based security. The default user name and password are: NOTE: It is possible that your system administrator
may have configured another user name and password. In
this case, you may also need to
select a role.
Your display opens with real-time data updates.
3. Single-click
on any row in the table to drill down. The previously created display,
xml_dd_qs.rtv,
opens.
4. Single-click
on another row in the table and the same display, xml_dd_qs.rtv, is
reused to show different data based on the row you selected.
5. Close
the drill down display.
6. Exit
the Display Viewer and, if you are not going to view your display again, exit the XML data simulator. If your
RTView package features additional data sources, see
the Work with Additional Data Sources section at the end of this tutorial.
Rich Client Browser with Direct Data
Connection 2.
Login to the Display Viewer Applet. By default, the Display
Viewer Applet does not require a login. Login can be
enabled at setup to support role
based security. The default user name and password are: NOTE: It is possible that your system administrator
may have configured another user name and password. In
this case, you may also need to
select a role.
Your display opens with real-time data updates.
3. Single-click
on any row in the table to drill down. The previously created display,
xml_dd_qs.rtv,
opens.
4. Single-click
on another row in the table and the same display, xml_dd_qs.rtv, is
reused to show different data based on the row you selected.
5. Close
the drill down display.
6. Exit
the web browser and, if you are not going to view your display again, exit the
XML data simulator.
If your
RTView package features additional data sources,
see
the Work with Additional Data Sources section
at the end of this tutorial.
Thin Client
Browser
2.
In
an initialized command window,
start
the Display Server. Go
to the demos directory: 3. Open a browser and navigate
to http://localhost:8068/rtvdisplay.
4. Select mydisplay.rtv from the left frame in
the browser. Your display opens with real-time data updates.
5. Single-click
on any row in the table to drill down. The previously created display,
xml_dd_qs.rtv,
opens.
6. Single-click
on another row in the table and the same display, xml_dd_qs.rtv, is
reused to show different data based on the row you selected.
7. Close
the drill down display.
8.
Exit
the Demo Server and the Display Server and, if you are not going to view your
display again, exit the XML data simulator.
Work with Additional Data
Sources
|
|
|
|