A.5 select date and time definitions, A.6 choose a plotting series, A.7 edit the chart properties – Campbell Scientific RTDM Real-Time Data Monitoring Software User Manual

Page 21

Advertising
background image

Appendix A. RTDM Version 2.1 Quick Tutorial

A-3

A.5 Select Date and Time Definitions

Now click on the Date/Time Definitions tab and, for this tutorial, ensure the
following selections are made:

• Year - Select 'Use Nearest Year' (The Index value is not important)

• Julian Day - Select 'Use Nearest Day' (The Index value is not important)

• Hours and Minutes - Select 'From Array' and 'Index = 3'

• Seconds - Select 'Use Current Time'

(Although not covered by this basic tutorial, note that if you wanted to create
some Alarm Conditions (for example a high temperature alarm) you would set
it up from the Data Source Editor Conditions and Alarms screen, using a
Dynamic Label of some kind. The Demo Form contains an alarm condition and
you can examine this in detail in edit mode to see how the condition was
achieved).

Close the editor by clicking on the 'OK' button in the bottom right. Closing via
the 'Cancel' button or the System menu will not save the changes made to the
data source.

A.6 Choose a Plotting Series

The next step is to choose a suitable 'Plotting Series' to display your data on the
chosen chart. For this first chart click the 'Plotting Series' tab on the Toolbar.
Then click on the 'Line Series' button, and finally click anywhere on the empty
chart. A representation of a Line series type chart, using random data, will then
appear on the chart. A design icon (or copy) of the button will stay on the chart
during design time, so that you know what series you have selected. Any
design icon appearing on your form in this way will not be visible at run time.

To assign a data field to the series double-click on the icon to display the Data
Source Browser. From here click on the '+' next to the name of the data source
component. This displays a list of arrays (in this case only array 1 is present).
Click on the '+' again to display a list of fields within array 1 and double-click
on 'Speed_MAX' (this is the field which we will display on the graph). The
browser will then close.

In the Object Inspector, the properties of the series will now have the
'SourceComp' and 'SourceField' properties filled in with the name of the data
source and field. These provide a quick method of determining what the
component will display at runtime.

A.7 Edit the Chart Properties

You can now customize the chart by changing the chart titles, axes and scales
to suit the data you want to represent. Double-click the chart icon to bring up
an 'editing' box which allows you to change all the chart variables. The
functions of the editor are fairly self-evident, and the best way is to access the
various functions and change them as required. Give the chart and axes

Advertising