A.3 create a chart, A.4 select a file data source – Campbell Scientific RTDM Real-Time Data Monitoring Software User Manual

Page 20

Advertising
background image

Appendix A. RTDM Version 2.1 Quick Tutorial

A-2

depending on the stage of your design when it is accessed. If there are more
properties than can be currently displayed, a scroll bar will appear to allow
scrolling through the property list.

A.3 Create a Chart

To create a chart to display your data, select (click on) the 'Charts' tab on the
Toolbar. Next, click on the 'Chart' button and then click again anywhere on the
form. A new (empty) chart will appear on the form. You can use the handles
(the small black squares) on the edges of the chart to size it to your own
requirements.

A.4 Select a File Data Source

You now need to select your data source and instruct the system how to display
the data and array(s) on your chosen chart. From the Toolbar select the Data
Sources tab.

For this tutorial we are using 'dummy' data from two files
included on the installation disks. For a real, on-line, system you
will need to collect actual datalogger data from a file which is
produced by some other data acquisition program running at the
same time as RTDM. See Data Sources and Using PC208W to
Generate RTDM Data.

See also 'Setting up a LoggerNet Data Source'

Click on the File Source button, and then click anywhere on the form. The File
Source button will be duplicated on the form. With the data source design icon
selected (if not currently selected click on the icon) click on the 'Simple Setup'
button in the Object Inspector to bring up a Data Source Editor screen (Double
clicking on the icon has the same effect).

The system has the capability to read data arrays from a number of sources.
(See Data Sources for more information). For this example, we will use an FSL
(Final Storage Locations) file – produced by Campbell Scientific's Edlog
software when the datalogger program is compiled – for the data values.

Click on the 'Data Source' tab of the editor and then use the Browse button
adjacent to the 'Last referenced FSL file' box to select the file testdemo.fsl.
Finally you must click the 'Read FSL File Now' box to read in the array.

The random Sample Data Array at the bottom of the screen will change to
reflect the new values from testdemo.fsl.

Now click the 'Browse' button under current data file name and select
testdemo.dat in the \Demo directory. This is the file which stores the data saved
from a datalogger.

Interval is the interval in seconds, between each check of the file, which
determines if the file has changed in any way. Obviously the interval cannot be
0, or no data will be read from the file. Click in the 'Interval' section and select
a suitable time interval for checking. In this case you might choose 1 (second).

NOTE

Advertising