1.0 INTRODUCTION
1.1 BACKGROUND
1.2 SYSTEM OVERVIEW
1.3 USER KNOWLEDGE
2.0 GETTING STARTED
2.1 WHAT YOU NEED
2.2.1 INSTALLING DATAWISE® AS A SERVICE
2.3 RUN DATAWISE®
2.4.1 DEFINE DATA COLLECTION ACTIVITIES
2.4.1.1 PROCESS DESCRIPTIONS
2.4.1.2 PROCESS DESCRIPTIONS - GOES DATA COLLECTION METHODS
2.4.1.3 HOT STAND-BY/TASK LISTS TO EDIT
2.4.1.4 CUSTOM COMMANDS
2.4.1.5 STEPS FOR CONFIGURING DATA COLLECTION ACTIVITIES
2.4.2 DEFINE SENSORS
2.4.3 DEFINE SIMPLE SENSOR ALARMS
2.4.4 DEFINE MULTIPLE ALARMS
2.4.5 ADD / EDIT ALARM ACTIONS
2.4.6 DEFINING CUSTOM ALARM TEXT FILES
2.4.7 DEFINE STATIONS
2.4.8 SHEF CONFIGURATION
2.4.8.1 SHEF ENCODING CONFIGURATION
2.4.8.2 SHEF DECODING CONFIGURATION
2.4.8.3 MANUAL SHEF CONFIGURATION
2.4.9 ODBC / RDB CONFIGURATION
2.4.9.1 CONFIGURING DATAWISE® TO STORE DATA IN A RELATIONAL DATABASE
2.4.9.2 RELATIONAL DATABASE STRUCTURE
2.4.9.3 ENABLING THE PROCESS TO POPULATE THE RDB
2.4.10 SCHEDULE FUNCTIONS
2.4.11 IFLOWS CONFIGURATION
2.4.11.1 IFLOWS NETWORK SENSOR CONFIGURATION
2.4.11.2 ALERT SENSOR CONFIGURATION FOR AN IFLOWS NETWORK
2.4.11.3 ADDING THE IFLOWS BACKBONE COMMUNICATIONS FUNCTIONALITY
2.4.12 USGS DATA CONFIGURATION
3.2.1 REAL-TIME SENSOR EQUATIONS
3.2.2 STATISTICAL EQUATIONS
3.2.3 HSE VIRTUAL ICE SENSOR
3.3 RE-CALIBRATING SENSOR DATA
3.4 RATING TABLES
4.0 PAGER
5.0 DATA DISPLAY
5.1 SINGLE SENSOR DATA DISPLAY
5.2 TABULAR REPORTS
5.2.1 STATISTICAL TABULAR REPORTS
5.2.2 CUSTOM TABULAR REPORTS
5.3 DATA ARCHIVING
5.4 MAPS
5.4.1 DEFINING MAPS
5.4.2 DISPLAYING SENSOR MAPS
5.4.3 DISPLAYING CONTOUR MAPS
5.7.1 CREATE AN HOURLY (ANNUAL) REPORT
5.7.2 CREATE AN ANNUAL MAXIMUM RAINFALL REPORT
5.7.3 CREATE A DAILY PRECIPITATION REPORT
5.7.4 CREATE AN HOURLY (MONTH) REPORT
6.0 HYDROLIC ANALYSIS AND FORECASTING
7.0 ALARM MANAGEMENT
7.1 VIEWING ALARMS
7.2 EMAIL ALARMS CONFIGURATION
7.4 TESTING ALARMS
8.0 WEB TOOLS
9.0 TOOLS
9.1 START/STOP SYSTEM - See Section 2.3 Run DataWise®
9.4 GENERAL SYSTEM DIAGNOSTICS
9.5 ALERT STATISTICS
9.6 GOES DIAGNOSTICS
9.7 DISPLAY INCOMING GOES MESSAGES
9.8.1 INTRODUCTION
9.8.2 ISSUING RETRANSMIT COMMANDS BY LIST
9.8.3 ISSUING RETRANSMIT COMMANDS BY PDT
9.8.4 MANUAL UPDATE OF A SINGLE PDT
9.8.5 BATCH UPDATING OF PDTS
9.8.6 RETRIEVAL OF NETWORK LISTS
9.8.7 EDITING OF NETWORK LISTS
9.10 TEST ALARMS - See Section 7.4 Testing Alarms
9.11.1 GETTING STARTED
9.11.2 IMPORTING AND PLACING BITMAP IMAGES
9.11.3 VIEWING SELECTED IMAGE COMPONENTS
9.11.4 SETTING COLORS FOR DRAWN STATIC COMPONENTS
9.11.5 ADDING A SENSOR READOUT
9.11.6 MODIFYING OR DELETING A SENSOR READOUT
9.11.7 MOVING A SENSOR READOUT
9.11.8 DRAWING COMMANDS
9.11.9 SAVING CHANGES
9.11.10 CREATING ANIMATED GRAPHICS AND MAP BACKGROUNDS FROM DFX FILES
9.12 SEND FAKE DATA
9.13 DRIFT RECALIBRATION
9.14SET USER LEVELS
9.15 EXPERT TOOLS
10.0 MANUAL ACTIVITIES
10.1 MANUAL INTERROGATION
10.2 PROGRAM RTU'S
10.3 IMPORT ASCII DATA
10.4 RE-PROCESS LOGGED GOES MESSAGES
10.7 SET TIME ZONE
11.0 ADDENDUM
1.0 INTRODUCTION
DEC Data Systems
develops environmental data acquisition and control software for the 32-bit Windows environment. The basic DataWise® software package is able to collect, analyze, and manipulate data from most types of telemetry currently on the market. Also, custom programming and system programming can be done to incorporate new data acquisition modules and analyses, and to display routines and screens to suit your unique needs.DEC Data Systems
personnel have been working in the data acquisition and control industry for over 25 years, with expertise in meteorology, hydrology, and real-time computer programming. Their hands-on experience includes hydrologic modeling for watersheds, channel routing, and reservoir management, using the SSMA model and various other hydrologic routing models. DEC Data Systems understands the complex system requirements for successful environmental data acquisition and database management. This expertise is reflected in the DataWise® software product.1.2 SYSTEM OVERVIEW
The DataWise® software general-purpose package was designed for and optimized to run under all 32 bit Windows operating systems. DataWise® software provides you with the following functions, which are further described in their respective Chapters:
- Data Acquisition
- Database Management
- Data Display
- Realtime Controls
- Hydrologic Analysis and Forecasting
- Alarm Management
- Web Tools
- Support.
1.3 USER KNOWLEDGE
To use the DataWise® system, the primary user should have a good working knowledge of Windows-based, personal computer systems/workstations, particularly Windows NT or Windows 2000. The user should also have a good knowledge of the types of functions you want the DataWise® database to perform. That is, you should have a plan, which defines the following:
- Functions to be performed: Data acquisition functions, ALERT management, sensor management, alarm management.
- Types of sensors used.
- Types of data you want to collect and record.
- How you want the data displayed: raw, tabular, graphically, drawings/maps.
- How much manipulation you want to do to the data: statistical analysis, rules based.
- How often and on what basis you want alarms to occur: regular reporting, out-of-limit notification, interrupt.
To help you (where needed), each chapter will start by listing data you must have on hand to perform the steps in that chapter.
1.4 DOCUMENT OVERVIEW
This document is a Users’ Manual with explanation of DataWise® and steps on how to work through and with the program. The document is organized initially by startup and set up activities and by major functions. Following that is progressively more detailed information, such as detailed explanations of specific areas and system diagnostics. This is a "Foundation" Users’ Manual. For each customer’s specific implementation, DEC Data Systems engineers can provide an addendum to this document for unique implementation. Your system may have such an addendum or you may request an addendum be developed for you by contact DEC Data Systems. Specifically, information may be found as described below.
CHAPTER 2
How to install, set up, and get started using DataWise®, including configuring sensors and stations.CHAPTER 3
Database ManagementCHAPTER 4
PagerCHAPTER 5
Data DisplayCHAPTER 6
Hydrologic Analysis and ForecastingCHAPTER 7
Alarm ManagementCHAPTER 8
Web ToolsCHAPTER 9
ToolsCHAPTER 10
Manual Activities1.5 DOCUMENT CONVENTIONS
This Users’ Manual is set up to be easy to use and easy for you to understand the commands and functions you are asked to perform. To aid in this goal, the following standard set of conventions is used.
- The document is designed to be printed on a color printer or copied on a color copier machine.
- All primary commands are in larger font, all caps, bold and in red; for example, INSTALL DataWise®.
- All secondary commands are in Arial, all caps, bold, and black; for example, CLICK on OK.
- All menu selections are in larger font, title case, bold, and green; for example, CHOOSE Start >Run.
- All directories, files, folders and/or paths for finding a particular file is in Arial, lowercase, italics, bold, and light blue; for example, GO TO c:\dw\utils\menu.exe.
- Notes of special interest to you on a given topic are centered on the page and in italics.
1.6 FREQUENTLY ASKED QUESTIONS
Are there any issues transferring data from the Datawise native binary format to another database in the event of a system migration?
All data in the DataWise native database can be easily transferred to any relational database in which an ODBC connection can be made. Known databases that can be used are MS-SQL, Oracle, Access, and MySQL. All data in the DataWise native database can also be easily transferred to a HEC-DSS. Additionally, data can be exported to text files in a variety of formats suitable for importing to various databases.
What is involved in configuring the Datawise system to perform back up to an external DB?
The following steps are all performed from a menu-driven, DataWise Dialog:
1) Specify an ODBC data source name.
2) Specify the sensors for which it is desired to store data into the external DB.
3) Specify the form in which the data is to be stored. That is, a) in raw data form as it is received, b) in processed form after it has been converted to engineering units, c) whether period values for rainfall should be stored (e.g, 15-minute rainfall, hourly rainfall, etc.) Note that data for a single sensor can be stored in multiple ways.
Once the above steps are performed, data transfer to an external DB is automatic and performed in real-time unless the user specifies that it should be done periodically at some user-specified interval or on demand.
How often do you need to migrate data to an external DB that is used for queries?
DataWise can be configured to:
1) “migrate” data to an external DB in real-time so that whatever data is in the native DataWise data base is also in the external DB at all times.
2) “migrate” data to an external DB at any user-specified interval.
3) “migrate” data to an external DB on demand.
The preferable way is usually to populate an external DB in real-time so that at any time the external DB is queried it will contain up to date data.
Why does Datawise store data to a binary database? (Advantages and Disadvantages)
Advantages:
1) Relational databases are not efficient in storing un-evenly spaced time series data, which is what data in an ALERT / IFLOWS system is. This becomes especially true as the time series becomes long. The native DataWise database is highly optimized for rapid handling of long time series data for multiple sensors. As a point of interest, even though the U.S. Army Corps of Engineers has invested heavily in optimizing the Oracle RDB for storing time series data for its hydrologic operations, the non-RDB HEC-DSS still outperforms the optimized Oracle RDB by nearly two orders of magnitude.
2) The DataWise native database has been optimized for detecting and correcting erroneous data (which can and does occur in ALERT systems).
3) The DataWise native database is optimized for detecting sensor data that has gone into user-specified alarm conditions and for performing some external function when alarm conditions occur.
Disadvantages:Clearly, accessing the native DataWise database cannot be performed directly using standard RDB methods. If DataWise did not populate external databases, this could be considered a significant disadvantage. However, since DataWise can easily maintain a “parallel” data set in a RDB, the disadvantages are relatively minor.
Who helps us establish proper backup procedures for the Datawise base station?
DEC DataSystems personnel provide this service as part of the support provided when DataWise is purchased.
Could you review the process for creation and modification of display maps for the base station?
1) Select the type of map background for placing sensor data on. Up to 100 different maps can currently be supported in DataWise. Map backgrounds can either be raster graphics (e.g., .bmp, .jpg, .gif files) or vector graphics. If using a raster graphic map background, the user must specify the coordinates (latitude / longitude) of the map boundaries.
2) For each map to be displayed, specify the sensors to be displayed on the map. Sensor positions are initially determined by their coordinates although sensors can be re-positioned on a map-by-map basis if desired.
Review the analysis capabilities of the base station. What applications will we be able to transfer data to and what special configuration requirements will need to be met to make them work?
Analysis capabilities include, but are not limited to:
1) Tabular data in fixed-format displays (static or realtime)
2) Tabular data in user-specified format displays (static or realtime)
Note that a wide range of statistical analysis can be performed on any tabular data value before it is displayed.3) Tabular reports displaying statistical analysis of rainfall data including maximum observed intensities for various time periods, hourly, daily, monthly, and yearly rainfall reports.
4) Time series plots of data from single or multiple sensors. Plots can be either static or dynamic.
5) “Animated graphics” displays in which users can design their own graphic displays (maps, schematics of weather stations, etc.) These screens can contain a wide range of “widgets” including gages, dials, thermometers, stream cross-sections, time series plots, simple text values. All displays update in realtime.
6) Extensive mapping capabilities including isohyetal maps which display rainfall similar to radar intensity maps.
Note that all displays that are also available remotely either through the DataWise client software or via a standard browser.
What is required to integrate QPF data into the base station for the generation of alerts?
A connection to a data stream (e.g. NOAA-port) that contains NWS-QPF data.
How does the station handle visual alerts? What do they look like?
DataWise generated alarms (alerts) can be delivered in numerous ways, from visual alerts on computer screens to text messages to controls of an external device. Station visual alerts can be delivered to not only the master DataWise base station but also to every computer on the network running the DataWise client software or every computer with a browser pointed to the DataWise Web server. Visual alarms can be customized or standard. In standard mode, an alarm display will pop up over the top of any and all applications currently running. The display provides a tabular list of all sensors in alarm condition and clicking on a specific sensor in the list will show the reason for the alarm condition. If a map is being displayed and the map contains a sensor that is in alarm condition, the sensor data will turn red. Note that an audible sound can be associated with an alarm. The sound can be customized to execute any desired .wav file on a sensor / condition by sensor / condition criterion or just a standard alarm tone.
Does the station log both meteorological and administrative alerts that are triggered?
All alarms (alerts) are logged.
How do we access the logs?
Through standard DataWise displays.
NWS alerts what is required to configure the station to ingest data from the NWS? Would there be firewall issues associated with collection or transfer of data from outside sources?
Through the TCP/IP socket mechanism over the internet using NOAA-port or something equivalent. DataWise comes standard with software to ingest such information. A port will need to be opened through the firewall.
Integration with web and GIS.
DataWise comes standard with a Web server which allows access to all displays, both tabular and graphic (including realtime updating graphic) displays, using a standard browser. The DataWise Web server code can be modified / customized by any web programmer if desired. GIS integration has been done through a RDB. Best to talk about this on the phone or in person.
This chapter explains what data you need to get started, how to install DataWise® and how to create a database and how to configure the database for your system. It also tells you how to start and run the program. Because this is the foundation for DataWise® successfully running with your system and providing the critical functions you need, it is very important that you set up the system completely and accurately. Before ever installing DataWise® or working with the database, you will need to know what DataWise® needs to operate successfully and to know that your system meets these needs. You must also have data about your system with you as you sit down to configure DataWise®. Section 2.1 explains what you will need to install and configure DataWise® successfully. Throughout the remainder of this chapter, for each task, the User’s Manual reiterates what data you will need to perform tasks in that section.
2.1 WHAT YOU NEED
Before getting started, and to configure DataWise® for use, you will need to have the following:
- Windows NT 4.00, Windows 2000, Windows XP or Windows Vista installed on your computer.
- Minimum of 512MB of available RAM or 1GB if using Vista.
- Minimum of 250MB of available hard-disk space.
- A working knowledge of how to work in Windows-based applications.
In addition, DataWise® is distributed on CD-ROM or Zip disks (herein called the install disk). Therefore, you must have a CD-ROM or Zip Drive.
To follow the steps in this section for installing, running and configuring DataWise®, you will need the following data about your system close at hand.
- List of Sensors for which you are collecting data.
- If you are using an ALERT system, you need to have a list of the sensors, IDs, and types of sensors, which the ALERT system is using.
- If you are not using an ALERT system, you will need to know what types of sensors you are using and how many. You will need to develop your own numbering scheme for ID, sensor name and sensor abbreviation.
- You will also need to know the engineering factors needed to take raw data received from a sensor and convert it to engineering units. For example, some equipment may send in a raw value of 123 for river level and the level is actually 1.23 feet; therefore, you would need to divide by 100. Or sometimes some equipment is not capable of sending a large enough number to represent the actual value it is measuring so you might have to add a constant value to it. The real value may be 101.23 feet. But you would get 123, so you would have to divide by 100, then add 100. This data must be obtained from the hardware vendor documentation or field technician.
- Types of Alarms you want, including information on timing (how often) and to which sensors you want them to apply. You will need to know how your want the Alarms to take affect (visual, auditory, paging, etc.).
- Types of stations in your system and which sensors are associated with a given station.
- Types of communication media (for example, whether you use telephone, radio, or hardwire communications media).
2.2 INSTALL DATAWISE®
DataWise®
can be loaded from a CD-ROM or Zip disk (herein called Installation Disk).To install DataWise®, place your Installation Disk in the appropriate drive then follow the steps below to install DataWise®.
|
INSTALL DataWise®.
|
CHOOSE Start >Run.SELECT the appropriate Drive letter for your CD-ROM or other drive which contains your DataWise® installation disk. |
||
|
|
DOUBLE CLICK on the file labeled dwinstall.exe.
NOTE if you get this message saying " TZ Environment Variable Not Set ”, you may continue with the installation, then follow instructions in Section 2.3 for setting the TZ Environment Variable.
SELECT the Drive where you want DataWise® installed.
CLICK on New DataWise® Install. |
||
|
|
CLICK on Yes to continue with the installation.
DataWise® will then be installed on your system. |
||
The DataWise® installation program does not automatically create a shortcut. To create a shortcut, follow the steps below.
|
CREATE A SHORTCUT |
GO TO c:\dw\utils\menu.exe |
|
|
CLICK the right mouse button on the menu.exe file. |
|
|
SELECT New Shortcut. A Shortcut to the menu file is created at the bottom of the folder. |
|
|
CLICK & DRAG the Shortcut to your desktop. |
2.2.1 INSTALLING DATAWISE® AS A SERVICE
|
INSTALL ing DataWise® as a ServiceFrom Start / Stop Screen |
CLICK the on the Start/Stop System icon on the Main DataWise® screen. The Start/Stop screen is displayed. |
|
|
SELECT the desired DataWise® Service State:Automatic if you want DataWise® to start at system boot up and continue to run whether or not users are logged in.Manual if you prefer to start the service manually.Disabled if you want to disable the service.Not Installed if you do not want DataWise® to run as a service.
An information screen will appear saying, "Service Put into Automated Mode" if you selected Automatic. DataWise® will now start up at system boot. "or" "Service Put into Manual Mode" if you selected Manual. In this case you will need to start the service manually. |
|
|
SELECT the "When running DataWise® As a Service" method desired.The preferred method should be to run under the Local System account. There are times when this is not possible, and those cases are if DW must connect to a relational database OR must access network resources. In that case, if DataWise® is running as a service it must run under an account that has access to the required resources. CLICK on the "Save" button to save your selection. |
|
INSTALL ing DataWise® as a ServiceManual Setup |
Bring up a "command prompt" and change directories to \DW\Utils EXECUTE "installdwservice -install [d=drive]"Where drive is the drive on which DataWise® is installed (default drive is C:\) |
|
CHOOSE Administrative Tools then Services from the Control Panel. |
|
|
RIGHT CLICK on "DataWise" to set the properties to be:
|
|
|
DataWise® will now be installed as a service. It will start at system boot up time and continue to run whether or not users are logged in. Alarms will be properly generated and displayed. |
|
2.3 RUN DATAWISE®
To run DataWise® the first time, follow the steps below. If running under Windows NT, XP, or 2000 this step is unnecessary provided the TZ Environment Variable has been set. If it has not been set then go to Control Panel > System > Advanced. Click on Environment Variables. Under System Variables, click on New. For Variable name enter TZ. For Variable Value enter time zone variable in this format. First 3 characters are the time zone name (ex. PST for Pacific Standard Time). Next is the # of hours earlier that your time zone is from Greenwich Time. Next if you want to automatically change to and from Daylight Savings time, you must enter the abbreviation for your local daylight savings time zone, ex. PDT for Pacific Daylight Time, EDT for Eastern Daylight Time or MDT for Mountain Daylight time, etc. For example, if you are on Pacific Standard Time and want to change automatically to and from Daylight Savings Time, you would enter PST8PDT for the variable value. If running under any other operating system follow the steps below.
|
RUN DataWise® for the first time.
|
DOUBLE CLICK on the menu Shortcut you created. This will open the program to the Set Time Zone Variable screen.CLICK on Yes. the Set Time Zone screen will be displayed.
ENTER your correct Time Zone Variable. This allows DataWise® software to compute the difference between GMT and local time. . |
After this first setup, to run DataWise® at any time, follow the steps below.
|
RUN DataWise®. |
DOUBLE CLICK on the menu Shortcut you created. This opens the program to the Main DataWise® Menu, shown below. On the menu is a series of 11 icons. The last icon looks like an alarm clock. This is the Start/Stop System icon. |
|
|
CLICK the on the Start/Stop System icon. The Start/Stop DataWise® screen is displayed. |

|
|
CLICK on the Push To Start button. You get the following message if done correctly:DataWise® is Running.CLICK on Exit, but DataWise® continues to run even after exiting.NOTE To stop DataWise®, you must go back into the Main DataWise® Menu, CLICK on Stop/Start icon; and SELECT Push to Stop. |
2.4 CONFIGURE DATAWISE®
After DataWise® has been installed, there are five basic tasks (each with an associated set of steps) to initially configure DataWise® to function with your system.
- Define Data Collection Sources
- Define Sensors
- Define Simple Sensor Alarms (Note, simple and complex alarms may be set up initially or may be added at a later time).
- Define Stations
Steps for these five basic tasks are provided in the following sections. Each section will tell you what data you will need available to configure the system for that task.
2.4.1 DEFINE DATA COLLECTION ACTIVITIES
Defining your collection sources correctly is critical to make DataWise® work effectively. You also will need to become familiar with the Real-time Data Collection Task Editor, shown below, which is the primary tool for defining data collection activities.
DEFINE
Data Collection Sources.
From the
Main DataWise® Menu Choose Configure > Data Collection Activities.This starts the Real-time Data Collection Task Editor.
Before giving you the steps needed to define data collection sources (in section 2.4.1.5), the following subsections breakdown and give you an overview of the major functions of the Real-time Data Collection Task Editor. These include:
- Process Description
(Enabling, Editing) - Most of the process descriptions are fairly straightforward and require simple explanations. Therefore, these are described in subsection 2.4.1.1.- Process Description
- GOES Data Collection Methods (Enabling, Editing) - While listed as a Process Description, GOES Data Collection Methods, is more detailed to configure and is, therefore addressed in its own subsection, 2.4.1.2.- Hot Stand-by
/Task Lists to Edit - Hot Stand-by/Task Lists to Edit are for those users who have redundant or back-up systems as well as their main system. If you do not have a redundant system, you may skip this subsection (2.4.1.3).- Custom Command
- Custom Command and Custom Command Argument are for users who wish to design and add functions to interface with DataWise®. If you are not adding custom applications to DataWise®, you may skip this subsection 2.4.1.4.Subsection 2.4.1.5 contains the steps for using the information in subsections 2.4.1.1 through 2.4.1.4 to configure DataWise® for data collection activities for your system.
2.4.1.1 Process Descriptions
The first column of the screen is the Process Descriptions. Below the screen is a brief description of each of the processes listed under Process Description. Notice the second column labeled Enabled. Grayed out items are activities that are always started and cannot be disabled. When you set up your system, only click on those functions required by your system configuration.
Note
All Inter-Process Communication (IPC) occurs through either the named pipe of socket mechanism.
Below is an explanation of each of the items in the Process Description column.
- Database Manager
– performs all reading/writing of the real-time sensor database.- Data Filing Manager
– performs all real-time data acquisition processes pass acquired data to this process for filing into the real-time database. This process is responsible for ensuring data is properly inserted (time-sequenced wise) into the database, and that older data is properly stored in the long-term (or archived) database. In addition, this program is responsible for the checking of simple alarm criteria.- Real-time Data Updating
– allows many custom displays and applications to be informed when new date is received by DataWise®. This process receives requests from applications that wish to receive such data and then distributes incoming data to all processes that requested it.- Incoming Data Buffering
– during periods of high volumes of data being received, temporarily buffers incoming data before being passed on to the Data Filing Manager.- Alarm Manager
– responsible for the distribution of alarms to the proper destinations as specified by the System Manager.- Statistical Manager
– computes statistics on data from the real-time and historical database for use in all tabular and graphical displays; thus, providing consistent results for all applications.- Scheduler
– allows periodic execution of programs to be scheduled (i.e., reports, data transfers, etc.).- Pager
– allows pager messages to be generated and distributed based upon sensor alarms.- Real-time Equations
– allows derived sensor values to be computed based on instantaneous values from one or more observed sensors.- Statistical Equations
– allows derived sensor values to be computed based on time averages.- ALERT Data Collection
– allows configuration of the system to collect ALERT data on one or more ports.- Network Station Manager
– allows communication (telephone, radio, etc.) with all supported RTUs, DCPs, data loggers, etc.- Automatic Station Interrogation
– must be run together with the network station manager. This process controls the timed interrogation of all remote stations.- Headwater Forecasting
– enables headwater forecasting to be performed using the Sacramento Soil Moisture Accounting Model.- Channel/Reservoir Forecasting
– enables channel and reservoir forecasting using various channel and reservoir routing techniques.- Map Display
– allows you to configure an interface to a wall display.- Rules Based Expert System
–- Campbell Loggernet
– interfaces to Campbell Loggernet base station software.- GOES Data Collection Methods
– enables reception of DOMSAT data (see Section 2.4.1.2 for more information on this process).The third column is for Debug. Debug allows debug messages to go to the system diagnostics screen. In Tools, you can go to the diagnostic screen and see output from the debug screen. There are different debug messages for each process.
- In ALERT, you will see if the port receiving data is operating correctly or if there are errors.
- In Satellite, the system tells if communications with the satellites are functioning, if data is coming in and what data is arriving. If no data is coming in, the system will advise there is a problem.
- In Telephone Dial-up, the system will advise if the modem is working and if it is connecting at the right speed.
2.4.1.2 Process Descriptions – GOES Data Collection Methods
Note
If you are not using DOMSAT in your system, proceed to the steps in Section 2.4.1.3. If you are using DOMSAT, read this section carefully before continuing.
The last process to be configured from the Real-time Data Collection Task Editor is GOES Data Collection Methods. GOES is extremely complex; however, if you are using it, you must configure it at this time to ensure proper operation of your system. Before configuring your system for DOMSAT, become familiar with the GOES Data Collection Setup screen shown below and the following discussions of its fields. Note that some of these fields are configuring receiving data and some are configuring [output] data to be sent to other stations or users.

Note
If you are not set up with a redundant system, proceed to the steps after this discussion. If you are set up for redundancy, read this section carefully before continuing.
In addition to the processes you configure using the Realtime Data Collection Task Editor, this editor allows you to configure another very important function: setting your system up for redundancy or Hot Stand-by. The Hot Stand-by and Task List to Edit fields of the Task Editor screen are used together to configure DataWise® for redundancy as shown on the screen below.
Hot Standby
is part of the computer back-up functions and, when configured, allows a hot stand-by system to take over if the master fails.Task List to Edit
allows you to specify the master/slave relationship within your system.
Note
If you have a stand-alone system, ONLY SELECT Master (Stand-Alone) and go to Section 2.4.1.5.
As with any computer and communication mechanism, there is always the possibility (albeit fairly remote) that either the computer or communications for data acquisition will fail. To provide for a computer or communication failure, DataWise® can be configured to operate in a Hot Stand-by and/or redundant database environment. The system is designed to function as follows:
- One computer is designated as the master and one as the slave. Communications between the two is over a standard Ethernet LAN using both the socket and named pipe mechanisms. At all times, both computers maintain active databases. Under normal operating conditions the databases are maintained in an identical state. Every write to the database on the master is mirrored on the slave. The tasks to be performed in the system as a whole can be divided between the two computers in nearly any way desired.
- The simplest and most straightforward configuration is for the master to perform all data acquisition, controls, and alarming functions and for the slave to solely maintain a mirrored database. Then, in the case of the failure of the master, the slave will smoothly begin performing all functions previously being performed by the master.
- The most complex case would be one in which both the master and slave perform all functions identically and concurrently and check with each other at every step to verify that the same data, alarm, and control is being collected and/or produced. Differences are resolved and then the master carries out any control or alarm. If the master fails, the slave is already performing all functions and continues to do so with no break in system functionality.
- For ease in maintenance and to keep the radio and telephone communications to a minimum, the District’s network will be configured in the simplest manner. This will provide the District with a completely redundant database and failover to the slave in one minute should the master fail.
For the SWFWMD, failover works as follows:
- In normal operating conditions, the District’s master (SCADASRV1) acts nearly like a standalone system except in the following ways:
- A network connection is made between the master and the slave (SCADASRV2) so that every write to the database on the master is mirrored on the slave.
- A network connection is made between the master and the slave over which the master keeps the times of the two computers synchronized and to generally keep track of the state of the slave. If communications with the slave are lost or the slave appears to be malfunctioning the master generates an appropriate alarm and attempts to re-establish communications. No other functions being performed by the master are affected.
- Failures in SCADASRV1’s data communication equipment are handled as follows:
- If serial port communications between SCADASRV1 and its primary CTU are correctly functioning but radio communications between the primary CTU and remote RTUs have failed, then the master performs the following procedures:
- An alarm is generated indicating failure of CTU1.
- The ID of CTU1 is changed from 1000 to 400.
- The ID of CTU2 is changed from 500 to 1000 (assuming the serial port communications with it are functional). This also requires that the line number for all RTU-0850’s be changed from 1 to 2. This function is performed automatically at the time CTU2’s id is changed from 500 to 1000.
- An attempt is made to communicate through CTU2 to one or more of the District’s repeaters. If successful, the system continues in this state until communications with CTU1 are restored, at which time the system reverts to its previous state.
- If CTU2 is also found to be non-functional or fails while it is in active backup mode, then SCADASRV1 instructs SCADASRV2 to become the master and SCADASRV1 takes on the role of slave, thus reversing their roles.
- If serial port communications between SCADASRV1 and its primary CTU fails, then the SCADASRV1 performs the following procedures:
- First, an alarm is generated indicating failure in communications with the primary CTU.
- Then, since the state of the primary CTU is not determinable through serial port communications, it must be determined if the primary CTU is still communicating with the radio network. If it is, its ID must be set from 1000 to some other value that will not conflict with the secondary CTU when its ID is set to 1000. To do this, the master attempts to communicate with the primary CTU through the secondary CTU over the radio network through one of the District’s repeaters (actually, if the first repeater fails, a secondary path is tried). If the primary CTU is alive, SCADASRV1 will reset its id to 400 and then set the id of the secondary CTU to 1000. The master also changes the line numbers for all RTU-0850s from 1 to 2. Again, the system will continue in this state until communications with CTU1 are restored, at which time the system will revert to its previous state. If the master is unable to communicate with the primary CTU in this method, an assumption is made that the master CTU is non-functional and the secondary CTU has its id changed from 500 to 1000 and it then takes on the role of the primary CTU.
- Again, if CTU2 is also found to be non-functional or fails while it is in active backup mode, then SCADASRV1 instructs SCADASRV2 to become the master and SCADASRV1 takes on the role of slave, thus reversing their roles.
- If either modem 1 (Operating on DataWise® line 3) or modem 2 (Operating on DataWise® line 4) becomes inoperable, an alarm is generated enunciating the problem. All stations being interrogated on the modem that fails will be interrogated on the remaining modem. In the case that both modems fail, then SCADASRV1 instructs SCADASRV2 to become the master and SCADASRV1 takes on the role of slave, thus reversing their roles.
- In normal operating conditions, the District’s slave (SCADASRV2) performs only two functions:
- Over the network connection established between its database manager and the master’s, it maintains a database identical to the master’s.
- Over the network connection between the master and the slave, the slave monitors the health of the master. If the connection is broken or communications with the master fail for any reason, the slave prepares to failover and assume the responsibilities of the master. First, the slave transforms itself into a stand-alone mode and generates an appropriate alarm. Then, it attempts to communicate with the master over the CTU-0850 radio link to attempt to verify if the master is really still running and it is just the LAN that failed or if the master is really down. If the slave is able to properly communicate with the master over the radio network, then it will not go into failover mode but will continue to monitor the master through the radio system. If no communications with the master through the radio are possible then the slave assumes that the master has failed and then immediately goes into failover mode, taking over all functions previously being performed by the master.
- Before taking over the radio data acquisition duties, SCADASRV2 will attempt to determine if either of the CTUs attached to SCADASRV1 is still functional and has an id of 1000. If a functional CTU with id of 1000 is detected, SCADASRV2 will set that id to 450, since it has no clear way of knowing if the active CTU on SCADASRV1 was the primary or secondary.
- On recovery from a failure of the master, the database on the master must be re-synchronized with that on the slave. Therefore, when the master recovers from a failure, it first goes into a mode where the slave continues to act as the master until the databases are re-synchronized and then at that point the system will revert to its normal state.
The Custom Command and Custom Command Arguments work together to allow you to develop your own software and integrate it into the DataWise® system.
Custom Command
allows you to write your own application and integrate them into DataWise®. You may define this application or DEC Data Systems® will create the interface for you.Custom Command Arguments
tell the system from which port to access the outside data defined by the customer.
2.4.1.5 Steps for Configuring Data Collection Activities
Now that you are familiar with the Real-time Data Collection Screen, follow the steps below to Define Data Collection Sources.
DEFINE Data Collection Sources.
CLICK
on the DataWise® shortcut. The Main DataWise® Menu screen is displayed.
Choose
Configure > Data Collection Activities. This starts the Real-time Data Collection Task Editor.ENABLE
and EDIT Processes you wish to activate by CLICKing on the boxes in the Enabled column. Choices allow you to configure DataWise® for each of the processes selected.Note
The grayed out processes are totally self-configured.
CLICK
on the Enabled box for Scheduler.Note
You only need to enable Scheduler to get set up and only if you need to schedule execution of activities. You can also schedule functions using non- DataWise® applications. Later you may configure the Scheduler from the Main DataWise® Menu. Steps are provided in section 9.11
CLICK
on the Enabled box for Pager.Note
You only need to enable Pager to get set up. The Pager Manager is required only if you desire to contact personnel via an alphanumeric pager when an alarm condition occurs. Later you may configure the Pager from the Main DataWise® Menu. Steps are provided in section 4.0.
CLICK
on the Enabled box for Real-time Sensor Equations.Note
You only need to enable Real-time Sensor Equations to get set up. Real-time Sensor Equations are needed only when you want to compute derived sensor data values. This is done in real-time as data is received. Later you may configure the Real-time Sensor Equations from the Main DataWise® Menu. Steps are provided in section 3.2.1.
CLICK
on the Enabled box for Statistical Equation Computations.Note
You only need to enable Statistical Equation Computations to get set up. As with Real-time Sensor Equations, Statistical Equations are used to compute derived sensor values, such as daily or hourly averages. Enable this option only if you need to perform this function. Later you may configure the Statistical Equation Computations from the Main DataWise® Menu. These steps are provided in section 3.2.2.
CONFIGURE
the software for ALERT Data Collection by following the steps below:- CLICK
on the Enabled box for the ALERT Data Collection item.- CLICK
on Edit for the ALERT Collection item to specify communication ports to receive ALERT data. The Define ALERT Data Collection Activities screen is displayed. For each Com Port used do the following:
- CLICK on Add the AddAlertPort screen is displayed.
- SELECT a port from the Com Ports field.
- SELECT the Baud Rate for the selected port.
- CHECK Sensor Mapping if you want to store data under a different ID number (when a duplicate sensor ID number is coming from different serial ports).
- CLICK on the Edit Mapping File button to bring up the Sensor Mapping File screen, which allows you to update sensor mapping.
- CLICK on Add to add a sensor mapping entry
CLICK on Edit to edit a sensor mapping entry.- CLICK on Delete to delete an entry.
- CHECK Valid Sensor Checking to configure your system to prevent ALERT data from being erroneously stored in a database for non-ALERT sensors.
- CLICK
on the Edit Checking File button to the right to bring up the Configure Valid ID screen.
- Use this screen to define valid ALERT Sensors IDs by Individual ID or Range.
- CLICK on Save and Done to return to the AddAlertPort screen.
- CHECK
the HSE Transmitter Enabled box to enable High Sierra Electronics transmittersNote
Add as many ALERT ports as needed in this manner. ALERT data can be collected simultaneously on up to 255 ports at a time, with separate baud rates for each port.
- CLICK
on OK to return to the Define ALERT Data Collection Activities screen.
- CHECK
Alarm on no data and SELECT the number of desired minutes before alarm on no data.- CLICK
on Configure outgoing ALERT data to bring up the Configure Outgoing Ports screen.
- CLICK
on Add, Edit, or Delete to add, edit, or delete IP Address and associated port.- CLICK
on SAVE and Done to return to the Define ALERT Data Collection Activities screen.
- CLICK
on Configure UDP connections to bring up the UDP screen.
- CLICK
on Add, Edit, or Delete to configure IP addresses to accept UDP (User Datagram Protocol) datagrams from.
- CLICK
on OK to return to the Define ALERT Data Collection Activities screen.
- CLICK
on Save and Done to return to the Realtime Data Collection Task Editor screen.
CONFIGURE
the software for Network Station Manager.
- CLICK
on the Enabled box for the Network Station Manager.
![]()
- CLICK
on the Edit box for the Network Station Manager. The Network Station Manager Ports screen is displayed.
- Ports Available
: SELECT a port from the Ports box and CLICK on Add; this shifts port to Ports Used.- Ports Used
: ports selected are displayed.- Baud Rate
: SELECT a Baud Rate from the pull-down menu for selected port. Choices are from 110 to 115200.- Port Type
: SELECT a Port Type from the pull down menu. Choices are:Direct – used for ports, which are hard wired directly from the computer to the RTU. This does NOT include SM-0850.
RTU-0850
– used only when communicating with a Sierra-Misco RTU-0850.Modem
– used for data collection via dial-up modems.Slow
– used for RTU-0850 protocol over satellite links where response is significantly slower than over a direct connection.Radio Modem -
TeledesignRadio Modem -
ESTeemSutron SSP
Modbus Serial
Modem Pseudo Leased Line
GPRS (Sockets)
GPRS Direct Connect
- CHECK
Enable Debug Log if desired.- CHECK
Enable Sockets if desired.- SELECT
Wait time in seconds.- CLICK
on OK to save your changes and return to the Real-time Data Collection Task Editor.
CONFIGURE
the software for Automatic Station Interrogation.
- CLICK
on the Enabled box for Automatic Station Interrogation.
- CLICK
on Edit box for Automatic Station Interrogation. The Automatic Interrogation Properties screen is displayed.
- ENTER
the Wait time (minutes) using the up/down arrows. This is the time before beginning the automatic interrogation cycle.- ENTER
the Cycle time (minutes) using the up/down arrows. This is how often to check if it is time for a station to be automatically interrogated.- CHOOSE
the Type of polling you want by clicking one of the choices shown.- CLICK
on the Immediate Interrogations box if you want the system to not wait until the next scheduled interrogation. DataWise® goes through and looks for all the stations that have not been interrogated recently.- CLICK
on Use local station manager if desired.- CLICK
on Poll Stations from List if you want to poll stations from a defined list.- CLICK
on Edit Polling List to edit this list. The Editing File \DW\Config\auto_poll.cfg screen is displayed. Select the stations to be polled from the list of defined stations.- CLICK
on Save to save your changes and Done to go back to the Automatic Interrogation Properties screen.- CLICK
on Disable multi-socket polling if you want to disable multi-socket polling.- CLICK
on OK to save your changes and go back to the Real-time Data Collection Task Editor.
CLICK
on the Enabled box for Headwater Forecasting. Currently, this option (automated headwater forecasting) enables the periodic execution of the Sacramento Soil Moisture Accounting (SSMA) model for computing watershed runoff. In many cases, the SSMA is all that is required. In more complex situations, routing may be required.CLICK
on the Edit box for Headwater Forecasting. The Forecast Options screen is displayed.
SELECT
the Frequency to Check and Wait time for execution.
SELECT
the Number of days back to restart.Note
Headwater Forecasting is configured elsewhere in DataWise®. See Section 6.1.
CLICK
on the Enabled box for Channel/Reservoir Forecasting. In situations where simple watershed modeling is not sufficient to accurately model the hydrology, channel/reservoir modeling needs to be implemented. The channel routing currently is being used in a layer K&L method.CLICK
on the Edit box for Channel/Reservoir Forecasting. The Forecast Options screen is displayed.
SELECT
the Frequency to Check and Wait time for execution.Note
Channel/Reservoir Forecasting
requires Headwater Forecasting to be enabled.Channel/ Reservoir Forecasting is configured elsewhere in DataWise®. See Section 6.2.
CONFIGURE
the software for Map Display. This is used if you want your system to communicate with a wall map.
- CLICK
on the Enabled box for Map Display.
- CLICK
on Edit box for Map Display. The Map Display Port Setup screen is displayed.
- Ports
: SELECT a port from the Ports box and CLICK on Add; this shifts port to Ports Used.- Ports Used
: To remove a port, SELECT a port by HIGHLIGHTing it and CLICKing on Remove; this shifts the selected port to the Ports box.- CLICK
on OK to save your changes and go back to the Real-time Data Collection Task Editor.
CONFIGURE
the software for Rules-Based Expert System.
- CLICK
on the Enabled box for Rules-Based Expert System.
- CLICK
on the Edit box for the Rules-Based Expert System. The Expert Options screen is displayed.
- CLICK on Default; to select the default Expert Rules file. Or CLICK on Browse to browse for another file.
- SELECT
the Rule Evaluation Frequency in seconds.- CHECK
Execute on change of state only if this is desired.- CHECK
the Enable Debug Output if desired.- CLICK
on OK to save your changes and return to the Real-time Data Collection Task Editor.
CONFIGURE
the software for Campbell Loggernet.CLICK
on the Enabled box for Campbell Loggernet Interface.
- CLICK
on the Edit box for Campbell Loggernet Interface. The Campbell Loggernet Configuration screen is displayed.
- ENTER
Username (this is set up with the supplier providing you the Campbell Loggernet software).- ENTER
Password. (Leave this blank unless your system administrator has given you a password.)- SELECT
the Cycle Time (minutes) (how often you want to look for new data) by using the pull-down arrows.- SELECT
the Retrieval Period (minutes) (how far back you want to go to search for data).- ENTER
the Socket Port Number (this is the port the Loggernet software is set up to communicate on. It’s configured from the Loggernet software by the system administrator.- SELECT
Concurrent Interrogations if desired.
CONFIGURE
the software for GOES Data Collection Methods.CLICK
on the Enabled box for GOES Data Collection Methods. CLICK on the Edit box for GOES Data Collection Methods. The GOES Data Collection Setup screen is displayed.
SELECT the option which applies to your system by CLICKing on the Active box for that option. Choices are:
- Raw Data via Socket Options
- SHEF-Encoded out Serial Port Options
- SHEF Data via Socket Options
- Vitel DRGS
: If you have a Vitel system, click Active on Vitel DRGS and disable DOMSAT. This allows you to receive data only through Vitel’s downlink, which comes via serial port. You must specify a Comm Port and Baud Rate. If you click Active, but do not disable DOMSAT, you may receive data from both sources.- Data by Sensor ID via Sockets
- Battery Data via Sockets
- Sutron DRGS
: If you have a Sutron system, click Active on Sutron DRGS and disable DOMSAT. This allows you to receive data only through Sutron’s downlink which comes via serial port. You must specify a Comm Port and Baud Rate. If you click Active, but do not disable DOMSAT, you may receive data from both sources.
![]()
- High Sierra Electronics DRGS
: If you have a High Sierra Electronics system, click Active on High Sierra Electronics DRGS and disable DOMSAT. CLICK on Click to Edit Configuration to allow configuration of the High Sierra DEMODS. (As shown here)
- Domsat via Eicon or Sangoma
:- Store only defined DCPs
:- SHEF Output to GMT
:- Exit and re-start on error
:
CONFIGURE
the Hot Stand-by and associated Task List to Edit capability.
If you do not have a redundant system or if the Hot Stand-by (Slave) computer has failed, SELECT Master (Stand-Alone).
Note
DataWise®
defaults to Master (Stand-Alone) if a Hot Stand-by condition is not defined.
SELECT
Master when:
- Your system has both a Master computer and a Hot Stand-by or Slave computer,
- Both systems are operational,
- You are configuring the Master computer.
The Master and Slave computers are continuously communicating via the LAN to check on each other’s health. DataWise® keeps the Master and Slave databases synchronized. Also, the Master keeps the Slave clock synchronized to its own clock every five seconds.
If the Master computer fails, DataWise® automatically reconfigures to Slave (Stand-alone).
When you CLICK on Master, DataWise® reconfigures the Real-time Data Collection Task Editor to let you edit the tasks for the Master in a Hot Standby configuration.
SELECT
Slave (Stand-Alone) when you are configuring your Slave computer to set it up in case of failure of the Master.If the Master fails, DataWise® reverts to Slave (Stand-alone).
SELECT
Slave when both the Master and Slave are operating correctly and when you are updating or configuring Slave functions, which are performed when Slave is in Hot Standby (waiting to take over for Master but operating correctly).If the Slave fails, DataWise® reverts to Master (Stand-alone).
CONFIGURE
the Debug capability for each of the Processes you have enabled.CliCK
on the box in the Debug column for Process Descriptions for which you wish to activate debug capability.
CONFIGURE
Hot Standby if applicable to your system.
CliCK
on Redundancy Enabled if you have a Hot Standby system.
CliCK
on Edit Configuration. The Hot Standby Configuration screen is displayed.
- ENTER
the name of your Hot Standby Primary Server.- ENTER
the name of your Hot Standby Backup Server.- CliCK
on OK.CONFIGURE
Custom Command
ENTER
the command you have defined to execute your custom application.Note
For most locations, the standard DataWise® set up will work and this will not be applicable.
Also, there are no format limitations, but the command has to be to call an executable program and the program must reside in the \dw\utils directory.
ENTER
the Custom Command Arguments. This is only needed if a custom command is used.
CLICK
on Save and then Done when all data collection activities have been satisfactorily specified.
2.4.2 DEFINE SENSORS Sensors must be defined in the database before incoming data can be stored. To define sensors, you will need to have the following information available.
- You will need to understand the type of telemetry you are using.
- If you are using an ALERT system, you need to have a list of the sensors, IDs and types that the ALERT system is using.
- If you are not using an ALERT system, you will still need to know what types of sensor you are using and how many. Then you can make up your own numbering scheme for ID, sensor name and sensor abbreviation.
- For each sensor, you will need to know the engineering factors needed to take raw data received from a sensor and convert it to engineering units. For example, some equipment may send in a raw value of 123 for river level and the level is actually 1.23 feet; therefore, you would need to divide by 100. Or sometimes equipment is not capable of sending a large enough number so you might have to add a constant value to it. The real value may be 101.23 feet. But you would get 123, so you would have to divide by 100, then add 100. This data must be obtained from the hardware vendor documentation or, depending on the hardware, this can be custom; however, you will need to know your custom engineering factors.
- For each sensor, you should have a longitude and latitude. If not properly entered, most mapping functions will not display the sensor.
- For each sensor, you must know the cycle size, maximum jump between consecutive readings (basically used to filter out bad data and especially important in ALERT systems which often send erroneous data and large jumps in frequency of interrogation/reporting).
Note:
In an ALERT system, sensors report an identifier (0-8191) and a data value (0-4095). The sensor ID that is transmitted by an ALERT transmitter is the ID that the data will be stored under in DataWise® unless a sensor mapping files was defined.
To define sensors, follow the steps below.
DEFINE a new sensor.
START
DataWise® and CHOOSE Configure > Sensors from the Main DataWise® Menu. The Define Sensors screen is displayed.ENTER
the first sensor ID number in the Sensor ID field.
- For non-ALERT systems, you may define your own sensor ID. The sensor ID is numeric and can be any number from 1 to 32,000.
- ALERT sensors can only send up to 8191 for sensor ID and you must use the ID defined for the ALERT sensor unless sensor mapping has been defined.
ENTER
the first sensor name. You may provide your own sensor names. Sensor names may be alphanumeric and up to 20 characters.ENTER
an abbreviation for the first sensor. Sensor abbreviations are short names to be associated with the sensor. You may define your own sensor abbreviation. Sensor abbreviations may be alphanumeric and up to 8 characters.
ENTER
the Type of sensor being defined by SELECTing from the drop-down list, which includes:
- Stream_Gage_Float
- Temperature_Sensor
- Precipitation_Gage
- Wind_Run
- Wind_Sensor
- Relative_Humidity
- Barometric_Pressure
- Stream_Gage_PT
- HEC1_Flows
- Stream_Sonic_Reader
- Wind_Speed/Direction
- Wind_Direction
- Repeater_Battery_Charge
- RTU 850_Battery
- Gate_Position
- Temperature_Sensor_Air
- Temperature_Sensor_Water
- Road_Conductivity
- Peak_Wind
- Gate_Status_Bits
- Gate_Control_Output_Ports
- Advanced_Warning
- Wind_Speed
Note
DataWise®
comes with standard set of sensor types. New sensor types can be defined by CHOOSing File > Add/Edit Sensor Types. (See Section 3.1 on Sensor Management.)
ENTER
the Multiplier used to convert raw data into engineering units.CLICK
on the Multiplier button to enter this term as a Multiplier or Divisor. For example, some equipment may send in a raw value of 123 for river level and the level is actually 1.23 feet; therefore, you would need to divide by 100.Note
Calibrated data is computed from the following equations:
y = 1/a * x + b
Where a and b are the engineering conversion terms.
ENTER
the Adder term used to convert raw data into engineering units. This depends on how the remote units report data versus how you want to see your data. Usually the adder is zero, except for stream water level, for which you almost always need an adder.ENTER
the Sensor Latitude. CLICK on North/South to correctly specify the hemisphere.ENTER
the Sensor Longitude. CLICK on North/South to correctly specify the hemisphere.ENTER
the Cycle Size (sometimes referred to as the raw range). This is especially important for ALERT systems in which data is transmitted in raw integer form.This value specifies the maximum valid raw data value + 1. For example, for an ALERT rain gage, the value is 2048. The value for an 8-bit analog sensor would be 256.
ENTER
the Max Jump. This is also especially important in an ALERT system in which there is a chance for missing or corrupted data.This value specifies the maximum allowed jump in consecutive sensor readings. Jumps larger than this value are treated as invalid data. In an interrogated system with error checking, this value is not very important and should be set to a very large value (or 0).
ENTER the frequency at which the sensor is expected to report. If gaps in the record exist that are larger than this, then those periods are treated as missing data periods in plots and statistical reports.
ENTER
Optional Information. Only used in special application, not in regular DataWise® applications.ENTER
HECDSS Parameters. These are used only when one or more HECDSS databases is being populated, otherwise they can be ignored.CLICK
on OK when all fields have been satisfactorily filled into save the values in the database.
2.4.3 DEFINE SIMPLE SENSOR ALARMS You may configure alarms, simple or complex, at any time. Defining alarms is not a mandatory setup function and does not need to be done at this time. Section 7.0 has a complete set of steps for defining and managing alarms. Basic set up for simple alarms is included in this set up section.
DataWise®
supports an extensive array of alarm evaluation and alarm response functions. DataWise® supports up to 32,000 different types of alarm actions to be taken when an alarm occurs. Alarm actions can range from simply beeping and flashing on a computer screen to providing automated paging, faxing, or e-mail. The actions can also be as complex as actually controlling pumps and gates.DataWise®
comes standard with alphanumeric paging support for most known pagers. Supporting software is provided for any currently unsupported pager protocol. DataWise® alarm handling functions include Dectalk as well as many of the more modern speech synthesizer cards.Alarms fall into two basic categories: Simple Alarms and Complex Alarms.
- Simple Alarms are based on conditions occurring at a single sensor. An example of a simple alarm condition is rainfall rate at a given sensor above preset conditions or water level above a certain level and still rising.
- Multiple Alarms allow multiple alarms to be set on a single sensor.
- Complex Alarms are based on conditions occurring at multiple sensors. Complex alarm conditions are actually implemented using an Expert System that has been incorporated into DataWise®. In this system, alarm conditions are entered as "IF, THEN, ELSE" statements. Very complex alarm conditions can be implemented in this manner. An example of a complex alarm evaluation would be requiring high rainfall rates at several rain gauges and the water level at one or more stream gauges above some value and the water level still rising.
To define simple sensor alarms, you must have the following data available for each sensor alarm you want to set:
- Sensor ID
(to which you want to associate an alarm).- The Upper Limit, the value at which the sensor reading crosses in the positive direction.
- The Lower Limit, the value at which the sensor reading crosses in the negative direction.
- The Rate of Rise, the change in sensor value in a positive direction. This includes:
- Amount of rise
, which is the change in sensor value in a positive direction.- Time period
, linked to amount of rise is the length of time in which rise must occur to generate the alarm,- Threshold
, value at which you want the system to start checking "amount of Rise, in designated Time limit.- The Rate of Fall, the change in sensor value in a negative direction. This includes:
- Amount of fall
.- Time period
.- Threshold
.- No Report
Alarm Criteria, which is very useful in recognizing failed sensors.For each of the above, you must:
- Define the Alarm Value,
- Choose Activate When, to display a drop-down list of :
- Never
, disables actions without changing criteria—valuable during device installation and maintenance.- Met
, When you want the alarm to activate as the sensor reading crosses upper limit in a positive direction.- Reset
, when you want the alarm to activate when sensor reading crosses upper limit in a negative direction.- Both
, when you want the alarm to activate when the sensor reading crosses upper limit in a positive or negative direction.- Define the Action, including alarm action options of 0: console alarm – audible and visual. 1:-16: user defined alarms that must be customized to meet the user’s application. One of which can be a pager (pager software is supplied in DataWise®).
- SELECT
from the defined alarm actions, which allows selection from a drop-down menu. These include:
- 0 – Console
– DataWise® provides a standard warning program, which always goes to the console. This is associated with a visual alarm which comes up to override any other work you are doing.- 1 – 16 – user defined title
– You may create your own warning program, DEC Data Systems may be contacted to create a program for you, or you may use one of many custom programs already developed (for example, pager and various dial-up alarms), all of which must be executed based on the program name. See Section 7.0 on Alarm Management for directions on creating your own warning programs or using a program other than that provided automatically with DataWise®.- Define the Deadband, the value at which the alarm must exceed the alarm limit to reactivate the alarm.
To define simple sensor alarms follow the steps below. Repeat these steps for each alarm.
NOTE
DataWise®
must be running to define sensor alarms. Ensure DataWise® is running before following the steps below.
DEFINE Simple Sensor Alarms.
Note
DataWise®
must be running to define sensor alarms.CHOOSE
Configure > Sensors from the Main DataWise® Menu. If DataWise® is not running, the system will ask you if you want to start DataWise®. CLICK on OK. You must go back and START DataWise® after CLICKing OK.
Once DataWise® is running and you CHOOSE Configure > Sensors from the Main DataWise® Menu, the Define Sensors screen is displayed.
CHOOSE
Alarms > Simple. The Simple Alarms screen is displayed.
CLICK
on Sensor or Group for a single sensor or a group of sensors,SELECT
Sensor ID which should already be defined (section 2.4.2) or Group Name. Previously defined groups or sensors will be selectable from the pull-down menu.CLICK
on Group Preferences to define a group. The Group Alarms screen is displayed.
CLICK
on Add to add a new group. The Creating Group screen is displayed.
TYPE
in the new Group Name and SELECT the Sensor Type from the list of available sensor types.
CLICK
on OK to return to the Group Alarms screen
CLICK
on EDIT to edit the selected Group or DELETE to delete a group of sensors.To ADD sensors to a selected group, HIGHLIGHT the group you wish to add sensors to in the Defined Alarm Groups field. SELECT the sensor from the list of Defined Sensors. CLICK on ADD. The added sensor will then be shown in the Sensors in Group field. You may select Add All to add all sensors to the group.
To Remove a sensor from a selected group, HIGHLIGHT the group you wish to remove a sensor from. SELECT the sensor from the Sensors in Group field. CLICK on Remove. The sensor will be removed from that group. You may select Remove All to remove all sensors from a selected group.
CLICK
on Save and Done to save changes and return to the Simple Alarms screen.
ENTER
Upper Limit Alarm Criteria, by completing the following:
- ENTER
Upper Limit Alarm Value. For example, if your system is looking at water level, you will need to know the high water level which is critical to your environment.Note
If you want to use multiple Upper Limit Alarms, you will need to follow steps in section 7.5 to configure this for a complex alarm.
- SELECT
Upper Limit Activate from the pull down menu. Choices are Never, Met, Reset, and Both.- ENTER
Upper Limit Action: 1 to 16. The system allows up to 16 alarm actions. Only the first of the 16 is fixed—this goes to the system console. Examples of other alarm actions are alarming to a pager or voice synthesizer. You may define these to meet your system setup.- SELECT
Upper Limit Select from the pull down menu. Choices are 0 Console or 1 through 16 if you have a user defined alarm program and this has been defined in DataWise®.
ENTER
Lower Limit Alarm Criteria, by completing the following:Lower Limit Alarm Value critical to your environment.
- ENTER
Note
If you want to use multiple Lower Limit Alarms, you will need to follow steps in section 7.5 to configure this for a complex alarm.
- SELECT
Lower Limit Activate from the pull down menu. Choices are Never, Met, Reset, and Both.- ENTER
Lower Limit Action: 1 to 16. The system allows up to 16 alarm actions. Only the first of the 16 is fixed—this goes to the system console. Examples of other alarm actions are alarming to a pager or voice synthesizer. You may define these to meet your system setup.- SELECT
Lower Limit Select from the pull down menu. Choices are 0 Console or 1 through 16 if you have a user defined alarm program and this has been defined in DataWise®.
ENTER
Deadband AlarmValue, the value at which the alarm must exceed the alarm limit to reactivate the alarm.ENTER
Rate of Rise Alarm criteria, by completing the following:
- ENTER
Rate of Rise data for Amount of Rise by:- FILL
ing in the Amount of Rise Alarm Value critical to your environment.- SELECT
ing the Amount of Rise Activate When from the pull down menu. Choices are Never, Met, Reset, and Both.- ENTER
ing in the Amount of Rise Action: 1 – 16. The system allows up to 16 alarm actions. Only the first of the 16 is fixed—this goes to the system console. Examples of other alarm actions are alarming to a pager or voice synthesizer. You may define these to meet your system setup.- SELECT
ing the Amount of Rise Select. Choices are 0 Console or 1 through 16 if you have a user defined alarm program and this has been defined in DataWise®.- ENTER
the Rate of Rise Time Period by ENTERing a number for the time period you want for the rate of change in the first box and then SELECTing from a pull down menu for the period. Choices are Seconds, Minutes, Hours and Days.- ENTER
Rate of Rise Threshold.
ENTER
Rate of Fall Alarm criteria, by completing the following:
- ENTER
the Amount of Fall for the Rate of Fall by:- ENTER
ing the Amount of Fall Alarm Value critical to your environment.- SELECT
ing the Amount of Fall Activate When from the pull down menu. Choices are Never, Met, Reset, and Both.- ENTER
Amount of Fall Action: 1 – 16. The system allows up to 16 alarm actions. Only the first of the 16 is fixed—this goes to the system console. Examples of other alarm actions are alarming to a pager or voice synthesizer. You may define these to meet your system setup.- SELECT
ing the Amount of Fall Select. Choices are 0 Console or 1 through 16 if you have a user defined alarm program and this has been defined in DataWise®.- ENTER
Rate of Fall Time Period by ENTERing a number for the time period you want for the rate of change in the first box and then SELECTing from a pull down menu for period. Choices are Seconds, Minutes, Hours and Days.- ENTER
Rate of Fall Threshold.
ENTER
No Report Alarm criteria, by completing the following:Note
This lets you define how long you are willing to go without sounding an alarm.
- ENTER
No Report Time Period (under Alarm Value column) by ENTERing a number in the first box and then SELECTing from a pull down menu for period. Choices are Seconds, Minutes, Hours and Days.- SELECT
No Report Activate When from the pull down Menu. Choices are Never and Late.- ENTER
No Report Action: 1 – 16. . Only the first of the 16 is fixed—this goes to the system console. Examples of other alarm actions are alarming to a pager or voice synthesizer. You may define these to meet your system setup- SELECT
No Report Select. Choices are 0 Console or 1 through 16 if you have a user defined alarm program and this has been defined in DataWise®.
CLICK
on OK to save the values in the database.
CLICK
on Exit to close the screen.Note
New alarm values are immediately valid.
2.4.4 DEFINE MULTIPLE ALARMS This involves knowledge of DataWise® commands and requires custom work by DEC Data Systems for setting up multiple alarms. Consult Don Colton at DEC Data Systems for further information.
DEFINE Multiple Alarms.
CHOOSE
Configure > Sensors from the Main DataWise® Menu. The Define Sensors screen is displayed.
CHOOSE
Alarms > Multiple. The Define Multiple Alarms screen is displayed.
SELECT
the Evaluation Frequency. This sets the frequency of evaluation on all defined alarms.CLICK
on Sensor or Group for a single sensor or a group of sensors,SELECT
Sensor ID which should already be defined (section 2.4.2) or Group Name. Previously defined groups or sensors will be selectable from the pull-down menu.CLICK
on Group Preferences to define a group. The Group Alarms screen is displayed.
CLICK
on Add to add a new group. The Creating Group screen is displayed.
TYPE
in the new Group Name and SELECT the Sensor Type from the list of available sensor types.CLICK
on OK to return to the Group Alarms screen
CLICK
on EDIT to edit the selected Group or DELETE to delete a group of sensors.To ADD sensors to a selected group, HIGHLIGHT the group you wish to add sensors to in the Defined Alarm Groups field. SELECT the sensor from the list of Defined Sensors. CLICK on ADD. The added sensor will then be shown in the Sensors in Group field. You may select Add All to add all sensors to the group.
To Remove a sensor from a selected group, HIGHLIGHT the group you wish to remove a sensor from. SELECT the sensor from the Sensors in Group field. CLICK on Remove. The sensor will be removed from that group. You may select Remove All to remove all sensors from a selected group.
CLICK
on Save and Done to save changes and return to the Multiple Alarms screen.
SELECT
Maximum or Minimum and INPUT a value in the corresponding EDIT field. ENTER a Deadband if desiredOR
SELECT
Rate Of Change, Positive or Negative and INPUT a value for the AMOUNT of change PER time period.ENTER
the Threshold amount. This is the level that must be reached before being concerned.SELECT
an Action from the drop-down list. This should already be defined using Define Sensors > Alarms > Add/Edit Alarm actions as described in Section 2.4.5.CLICK
on Set.CLICK
on New to define another alarm for that sensor.CLICK
on Delete to delete the selected alarm.When finished with that sensor
CLICK on Save.Repeat steps above for another sensor then
CLICK on Save and Exit when finished defining alarms for all desired sensors.
2.4.5 ADD OR EDIT ALARM ACTIONS
CHOOSE
Configure > Sensors from the Main DataWise® Menu, the Define Sensors screen is displayed.CHOOSE
Alarms > Add/Edit Alarm Actions. The Alarms Actions screen is displayed.
To
Add an alarm action to be taken for any given port, HIGHLIGHT the available alarm from the list of Available alarms.CLICK
on the Enabled box for the desired Action/Port #. The alarm description and executable will now be displayed in the Selected Alarms field.
To add or edit the list of
Available Alarms CLICK on the Edit Available Alarms button. The Add/Edit Available Alarms box is displayed.ENTER
a valid Alarm Program and a Description.CLICK
OK to return to the Alarm Actions screen.
CLICK
on Save and Done to save changes and return to the Define Sensors screen.
2.4.6 DEFINING CUSTOM ALARM TEXT FILES
This application is used for defining text files to be displayed on the screen for custom alarms. In order to use this you must first have a custom alarm defined for the port on which you want to create the text file as described in section 2.4.5.
CHOOSE
Configure > Sensors from the Main DataWise® Menu, the Define Sensors screen is displayed.
CHOOSE
Alarms > Define Custom Alarm Text. The Define Alarm Action Text Files screen is displayed.
SELECT
the Alarm Action Number (Port) for the desired Alarm Action text file you wish to edit.TYPE
in the message you would like to have displayed on the alarm screen.CLICK
on the correct Save as button depending on which text file you are editing. Selecting Save as Instructions on Alarm Message will allow you to edit the message that will be displayed on the main alarm display screen when an alarm is activated. Selecting Save as Help on Alarms file will allow you to edit the message which will be displayed when the HELP button is pushed on the main alarm display screen. This can be an in depth instruction file telling the user what to do in case of an alarm.
2.4.7 DEFINE STATIONS
DataWise®
supports the following types of stations:
- GOES Stations, including GOES NOS Tide Gage
- SM0850
- VX1100/0850
- Campbell CR10
- Handar 555
- Handar 560
- LARC (Handar 540)
- Sutron 8200 (Dialup)
- ALERT Systems
- VX1100
- VX1100 Dialup
- MCC Master Station.
Of these many types of stations, your system probably only uses a small subset. DataWise® has been configured for your system to include the station types in your system. If other station types are added to your system, contact DEC Data Systems. In DataWise®, each station type has its own setup screen. Appendix B in the Datawise Users Manual contains a complete list of station type screens and steps for setting these up. Refer to Appendix B to set up the types of stations in your system.
Before moving through the Define Stations steps, it is important that you review some basic information about defining stations. There is space in the database for 9,999 stations. The Station Setup Menu is quite extensive, see below, with 11 separate functions (each with its own icon); the twelfth icon is Exit.
Note
When you click on an icon, the icon function is listed at the bottom of the menu.
The Station Setup Menu functions include:
- List
– Once you have defined stations or if you have imported from another database, List will show you the list of stations in the database for your systems. The list includes Station ID, Name, Type, and Last Interrogation Time.- Add
– Allows you to enter station number and station type. (The station name is entered when you Edit Station.) If you want to add a new type of station, contact DEC Data Systems®, as this will require a change to the program.- Edit
– Allows you to select a station by number and change name, type, communication parameters and other pertinent information about the station.- Delete
– Allows you to select a station and delete it.- Setup
Interrogation– Allows you to select a station and setup or change interrogation frequency and order.- Set Last Time
– This is not required unless you want to reset the interrogation time to a previous time; otherwise DataWise® maintains this for you.- Add Control
– This requires special telemetry equipment and additional software is required from DataWise®. If this is not active on your system, it is not required.- Edit Control
– This requires special telemetry equipment and additional software is required from DataWise®. If this is not active on your system, it is not required.- Delete Control
– This requires special telemetry equipment and additional software is required from DataWise®. If this is not active on your system, it is not required.- Lock Setup
– This requires special telemetry equipment and additional software is required from DataWise®. If this is not active on your system, it is not required.- Expand Database
– Allows you to expand the number of stations in the database.Before following the Define Stations steps in this section, you should know:
- The ID assigned to each station. Some stations report by ID and you will have to use the ID to talk with it. Some stations only report by ASCII string, which means the ID can be anything you want.
- The types of stations in your configuration, and which stations are associated with which station type.
- The number of stations in your configuration.
- The interrogation frequency you want for each station, if it is a station which can be interrogated. You will need to know which stations may be interrogated and which may not (for example GOES stations may not).
- Sensors associated with each station and how each sensor is identified. Each station has a different way each sensor is attached to it. Each station can have up to 64 sensors attached to it.
Follow the steps below to define stations, expand the number of stations, and edit data associated with stations in your database.
DEFINE Stations.
CHOOSE
Configure > Stations from the Main DataWise® Menu. The Station Setup Menu is displayed. If there is no station database established, DataWise® prompts you to expand the database.
CHOOSE
File > Expand Database from the Station Setup Menu or CLICK on the Expand Database icon. The Expand Station Database screen is displayed.ENTER
the size that represents the total number of stations you anticipate using. Use at least 100 stations regardless of whether your system has less stations.Note
The size can be expanded at a future time if current size becomes too small.
CLICK
on OK to update database station size and exit.ADD
Stations.CHOOSE
Configure > Stations from the Main DataWise® Menu. The Station Setup Menu is displayed.
CHOOSE
Stations > Add from the Station Setup Menu or CLICK on the second icon. The Add Station screen is displayed.ENTER
the station ID (numeric from 1 to 32,000).
CHOOSE
the type of station from the drop-down list. You will see a list of stations usable with your software package. The list grows and/or changes over time.Note
There are many types of stations and each has its own setup screen. Appendix B in the Datawise Users Manual contains a complete list of station screens and steps for setting these up. Refer to this Appendix to set up the types of stations in your system.
CLICK
on OK to add the station.Note
Stations will not be functional until the parameters are properly defined by EDITing Stations.
EDIT
Stations.CHOOSE
Configure > Stations from the Main DataWise® Menu. The Station Setup Menu is displayed.
CHOOSE
Stations > Edit from the Station Setup Menu or click on the third icon. The Edit Station Parameters/ Select Station screen is displayed.SELECT
a station by entering its ID or by double CLICKing on the station from the pull-down list or HIGHLIGHTing the selection.
CLICK
on Edit. The [type] Station Setup screen is displayed.Note
For each Station Type, a slightly different Station Setup screen is displayed. The one at the left is the box for an ALERT Station. Appendix B contains a complete description of all Station Type Setup screens.
These steps will continue with an example of setting stations for an ALERT system.
If not already completed, ENTER Station Name.
If applicable to the type of station, ENTER Phone Number; otherwise, ENTER None.
SELECT
the Station Line # as defined by the network station manager setup by clicking on the up/down arrows until the desired number is displayed.SELECT
the Comms Timeout by clicking on the up/down arrows until the desired number is displayed. This is the time you can reasonably expect a response before assuming connection will not be made. If you only have one repeater, you may want to set this at just a few seconds. If the communication must go through several repeaters, you may want to set this for minutes.SELECT
the Maximum Tries by clicking on the up/down arrows until the desired number is displayed.DEFINE
which Sensors are at selected stations.
CLICK
on Number of Sensors at bottom of the Alert Station Setup screen. This will bring up the Define ALERT Sensors screen.ADD
an available sensor by following the steps below:
- HIGHLIGHT
the desired sensor from the Sensors Available list.- CLICK
on Add.- CLICK
on OK when all the sensors for that particular station have been selectedREMOVE
a sensor associated with a station by following the steps below:
- HIGHLIGHT
the desired sensor from the Sensors at Station list.- CLICK
on Remove.- CLICK
on OK when all the relevant stations have been removed.DEFINE
sensors for interrogated stations.
CHOOSE
Configure > Stations from the Main DataWise® Menu to get to the Stations Setup Menu.
CHOOSE
Interrogation > Setup from the Station Setup Menu or CLICK on the 5th icon which looks like a clock. The Define Station Interrogation Times screen is displayed.
ENTER
the station interrogation criteria by performing the following:
- SELECT
a station by highlighting a station from the Select Station list.- ENTER
your desired Interrogation Frequency.- SET
Interrogation Base Time. This allows the interrogation time to be off set from the hour, according to the number of minutes entered.- SET
Absolute Interrogation Times. This restricts interrogation times to times you specify.- ENTER
Interrogation Order. The default is the order in which you defined the stations. If a different order is needed, enter the numbers to reflect the new order. If you give multiple stations the same order number, then DataWise® will interrogate in order of the station number starting with the lowest.Note
The system will show the Last Interrogation Time; however, you may change this to an earlier time to manually force the system to re-interrogate.
CLICK
on OK.SET
Last Interrogation Time. This allows you to go back in time to retrieve old data from a station. This is very useful for automated interrogation stations.
CHOOSE
Interrogation > Set Last Time from the Station Setup Menu. The Set Last Interrogation Time screen is displayed.This shows you the Station ID, Name, Type and Time of Last Interrogation. You may choose to update by a selected station or by a selected type of stations.
ENTER
date and time you want to set last interrogation in format mm/dd/yy hh:mm:ss.
CHOOSE
specific stations, all stations or all stations of the same type: To CHOOSE specific stations, HIGHLIGHT desired station or stations.
- CLICK on Update all stations selected. You will get an Update Confirmation screen as shown here.
To CHOOSE all stations.
- CLICK on Update all stations. You will get an Update Confirmation screen as shown here.
To CHOOSE all stations of a certain type,
HIGHLIGHT station type from the right pull-down menu.
- CLICK on Update all stations of type selected. You will get an Interrogation Update Query screen as shown here.
CLICK on Done to return to the Station Setup screen.
Introduction
Once the sensor configuration information has been input into
DataWise® and the system is collecting data, SHEF-encoded data can be transferred via the FTP mechanism to any other computer that the DataWise® data acquisition computer is able to connect to. The following documentation uses the ftp.exe that comes standard with Windows to perform the transfer.2.4.8.1 SHEF Encoding Configuration
To configure DataWise® to transfer SHEF data via FTP, Select the "SHEF Encoding Configuration" item from the "Configure" pull-down list on the main DataWise® menu. (Figure 1.)
Figure 1. Main DataWise® menu with "SHEF Encoding Configuration" item selected
.
Once selected, the "
SHEF Configuration" screen shown in Figure 2 will be displayed.
Figure 2. Setup FTP Transfer of SHEF-Encoded Data
STEP 1: Setting up the ShefMap.cfg file.
To Add sensors for which data will be sent
Highlight a sensor from the list of defined sensors then Select Add. The dialog box shown in Figure 3 will be displayed.
Figure 3. Adding a sensor to list.
the correct SHEF ID
Enter
Enter
the PEDTSEP where;
- PE
- Physical Element – (two characters) This is the only portion of the PEDTSEP that is mandatory. Examples are river stage, precipitation increment, power generation, discharge;- D
- Duration code – (one character), examples are instantaneous, hourly, daily;- T
- Type or basic category of the data: Forecast - F, Historical - H, Observed - R, Processed - P, Contingency - C.- S
- Source Code – (one character which further defines the type code, indicating how values were created or transmitted), examples are satellite telemetry, land radio, visual observer;- E
– Extremum Code – (one character) examples are daily maximum, daily minimum, hourly minimum.- P
- Probability code – (rarely used) examples are 5% or 95% probability of exceedance.
Enter the Add term if it applies. Then Click OK. The new sensor will be displayed in the list of defined sensors for sending SHEF data. After all desired sensors have been added, Click Save from the SHEF setup screen . This will save the list of sensors to a file named \DW\Config\ShefMap.cfg. Note: YOU MUST PERFORM THIS STEP FIRST TO SET UP A CONFIGURATION FILE CONTAINING YOUR LIST OF SENSORS TO SEND IN SHEF FORMAT.
You may edit this file by
Highlighting the sensor then selecting Edit. The Edit screen will appear as shown in Figure 4. Select Save from the SHEF setup screen to save any changes made to this file.
Figure 4. Editing a sensor.
You can also delete a sensor from this file by Highlighting the sensor and Selecting Delete or Exclude a sensor by Highlighting the sensor and Selecting Exclude. The sensor will now appear in the Excluded Sensors box. You will be able to include them again by highlighting that sensor and selecting Include. Select Save from the SHEF setup screen to save any changes made to this file.
You can also enable or disable accumulated Precip. Rollover for all precip sensors by clicking on the Enable Accumulated Precip. Rollover for All or Disable Accumulated Precip. Rollover for All button.
To Manage Precip. Rollover Cycle, Click on this button. The Rollover screen will be displayed. Use the options below to Edit or Reset cycles on selected or all sensors.

Select Save from the SHEF setup screen to save any changes made to this file.

SCROLL
to the Target Number and enter the target name or Select from the list of Defined SHEF Targets. If you select from the list of defined targets the stored values will fill in automatically.SELECT
either FTP SHEF Data or Store SHEF Data in a file. CHECK Use Secure FTP for a secure data transfer. If you choose to store data in a file, unnecessary fields will be X'd out.ENTER
the FTP Address (This is the bottom portion of SHEF Setup screen).ENTER the
Login ID.ENTER
a Password.ENTER
the Execution Frequency in minutes.ENTER
the Time Zone specification (default is C for Central Time).CHECK
Use Header File if this applies – this is the filename containing product header (default is none). CLICK on Edit to edit this file.ENTER the Output File.
ENTER the Directory on Target computer.
CHECK Append Date/Time to filename if you wish to have the date and time attached to the filename.
CHECK Include Out-of-Period data if you would like this option.
ENTER an Additional Command in this field if desired.
CLICK
on Save to save the configuration and set up a scheduled function.CLICK on
Test to manually test this program. You must CLICK Save first in order to test this ftp transfer.
To configure DataWise® to decode SHEF data, Select the “SHEF Decoding Configuration” item from the “Configure” pull-down list on the main DataWise® screen.

Once selected, the “Configure SHEF Decoder” screen shown below will be displayed.

CLICK on Add, Edit or Delete to configure each of the following: Directories to Monitor, Socket Connection to Monitor, SHEF to Sensor ID Mapping, and SHEF Products to Process.
CLICK on Save and Exit to return to the main DataWise® screen.
Note: If your system requires a more complex setup follow the manual setup instructions listed below:
Once the sensor configuration information has been input into
DataWise® and the system is collecting data, SHEF-encoded data can be transferred via the FTP mechanism to any other computer that the DataWise® data acquisition computer is able to connect to. The following documentation uses the ftp.exe that comes standard with Windows to perform the transfer, however, with minor modifications to the procedure, most any FTP program that allows unattended batch processing of command will work fine. The process consists of creating a couple of batch files and using the DataWise® scheduler.Step 1
SensorID SHEF_ID PE
Where:
SensorID is the DataWise sensor IDSHEF_ID is the "Handbook 5" ID
PE is the Physical element
Add term is an optional argument that allows a value to be added to the sensor
reading (often used for stream gages) to adjust for different datums
Examples are:
2901 ALPA3 PCIRPZZ
2902 BCCA3 PCIRPZZ
2904 CFEA3 PCIRPZZ
5805 DEWA3 PCIRRZZ
"or"
103 CCST2 HG
104 CCST2 HG
105 MCFT2 PC
108 MCFT2 HG
109 LGCT2 HG
110 LGCT2 PC
114 CCBT2 HG
115 CCBT2 PC
118 CCBT2 HG
120 HCCT2 PC
123 HCCT2 HG
125 CCWT2 PC
128 CCWT2 HG
130 CBAT2 PC
133 CBAT2 HG
139 TUKT2 HG
140 TUKT2 PC
149 TUKT2 HG
150 TUKT2 PC
159 BMDT2 HG
160 BMDT2 PC
170 CNBT2 PC
173 CNBT2 HG
174 CNBT2 HG
179 PRLT2 HG
180 PRLT2 PC
189 UCCT2 HG
This file will be used by the
DataWise® application "send_shef_data.exe" to generate the SHEF-encoded data file. This program is a character-based batch application with the following command line arguments:send_shef_data.exe in=inputfile out=outputfile [s=tstep] [tz=timezone] [h=headerfile]
Where inputfile = name of file containing ID's for which to generate SHEF products
(e.g., \DW\Config\shefMap.cfg)
outputfile = name of file in which which will contain SHEF products
(i.e., \temp\shefdata.txt)
tstep = time period to generate data for (minutes)
timezone = time zone specification
(default is C for Central Time)
headerfile = filename containing product header
(default is none)
Step 2. Create a file containing FTP batch commands for automatically logging into and transferring SHEF-encoded data to the target computer. While this file can have any name and can reside anywhere on the
loginID
password
ftp command1
ftp command2
…
ftp command3
bye
A typical file is:
my_login_id
my_password
cd SHEFdir
lcd \temp
put shefdata.txt
bye
Where "my_login_id" is the username, "my_password" is the password, the command "cd SHEFdir" changes the directory on the target computer to a location where the SHEF encoded products should be placed, the command "put shefdata.txt" transfers the text file containing SHEF encoded data to the target computer, and the command "bye" ends the FTP session.
Step 3. Create a batch file containing commands to generate the SHEF-encoded data and FTP it to the target computer. This file can reside anywhere. It will be used for testing only. The contents of the file should be something like the following:
send_shef_data.exe in=\DW\Config\shefMap.cfg out=\temp\shefdata.txt s=60
ftp –s:\DW\Config\shef_ftp_commands.cfg
ftp.mytarget.govFor discussion purposes, name the file \DW\Utils\sendshef.bat
Now, executing the file \DW\Utils\sendshef.bat should perform the desired functions of generating a file containing SHEF encoded data and FTP’ing to the target computer. Running it from a DOS command prompt is best for testing. Once the batch commands are correct, the process can be automated.
Step 4. Insure the
DataWise® scheduler is running by going to the "Configure" pull-down menu from the main DataWise® screen and check the "Scheduler" box as shown below.
Next, from the

Click on the "Add" button. The screen will change to something like below:

Click on the Edit button and fill in the edit field as shown below:

Hit "OK"
The screen will become

Now, with the "SHEF Transfer" command name highlighted, copy the contents of the file \DW\Utils\sendshef.bat to the "Command Contents" area. The area should look as shown below:

Set the desired execution frequency, hit the "Save" button and then "Done". Restart
DataWise®.
2.4.9 ODBC / RDB Configuration
Introduction
In addition to maintaining its own proprietary database (documentation is available upon request) and the HECDSS database, DataWise® has the ability to populate any ODBC-compliant relational database (RDB). The standard DataWise® RDB module provides four methods of populating an RDB; 1) In a periodic mode in which data is stored into the RDB at regular intervals, ranging from 1 minute to 1 day. New data is continually inserted into the database, resulting in long timeseries of data for each sensor. 2) In a periodic mode in which data is stored into the RDB at regular intervals, ranging from 1 minute to 1 day. New data for a sensor replaces any existing data for the same sensor in the database, resulting in only the most current reading for each sensor. 3) In a realtime mode, analogous to 1) above, except data is stored as it is received, time-tagged to the nearest second, also resulting long timeseries of irregularly time-stamped data for each sensor. 4) In a realtime mode, analogous to 2) above, except data is stored as it is received.
2.4.9.1 Configuring DataWise® To Store Data in a Relational Database
To configure DataWise® to store data in a relational database, select the "ODBC / RDB Configuration" item from the "Configure" pull-down list on the main DataWise® menu (Figure 1).
Figure 1. Main DataWise® menu with "ODBC/RDB Configuration" item selected
.
Once selected, the "ODBC/RDB Configuration" screen shown in Figure 2 will be displayed.
Figure 2. "ODBC/RDB Configuration" screen.
The edit fields are defined as follows:
Data Source: Name of the ODBC data source that connects to the target Relational Data Base.
Username: The username if access to the Data Source requires logging in (leave blank if logging in not required).
Password: The password if access to the Data Source requires logging in (leave blank if logging in not required).
A list of all sensors defined in the DataWise® database is shown in the list-box on the right. The sensors desired for populating the target Relational Database (RDB) are shown in the list-box on the left. To add a sensor to the list-box on the right, select the desired sensor from the list on the left and click the "Add" button. The dialog shown in Figure 3 will be displayed.
Figure 3. Dialog to add a sensor
To add a sensor as described in 1) in the Introduction, click on the "Periodic" type of sensor data, select the frequency (in minutes) and make sure the "Current Data Only" box is Unchecked. To store data as described in 2) in the Introduction, proceed as in 1) except check the "Current Data Only" box. To store real-time data with history, as in 3) in the introduction, check the "Realtime" radio button and make sure the "Current Data Only" box is unchecked. To store only the most recent real-time data, proceed as above and check the ‘Current Data Only" box.
Note that the same sensor can be selected multiple times, as long as different storage methods or criteria a specified.
2.4.9.2 Relational Database Structure
For storing data with a history (As described in the Introduction as type 1 or 3), DataWise® creates a table in the specified database named either sxxxx_tttt or rxxxx_tttt where "xxxx" is the sensor ID and tttt is the storage interval in minutes (or 0000 if realtime data is being stored. For example, if sensor 2455 were being stored on a 15-minute period, the table name would be s2455_0015. Each table contains two columns, T_TIME (of type DATETIME) and T_DATA (of type FLOAT). Column T_TIME contains the time stamp of the data and column T_DATA contains the data value. A table name starting with an "s" indicates calibrated data, while with a "r" indicates raw data.
For storing data with no history ((As described in the Introduction as type 2 or 4), DataWise® creates a table in the specified database named CurrentData. This table contains five columns, labeled T_SENSOR (type integer), T_INTERVAL (type integer), T_TIME (type datetime), T_DATA (type float), and T_RAW (type integer). There will be one row in the table for each defined sensor, with the columns for each sensor containing the sensor ID, the storage interval (or ZERO if realtime), the time stamp of the data, the data value, and a raw/calibrated flag.
2.4.9.3 Enabling the Process to Populate the RDB
Before data will actually be stored in a RDB, you must add alert_odbc to the list of custom commands using Configure, Data Collection Activities from the main DataWise® menu as described in section 2.4.1.4. No command line arguments are necessary. You must also have created a relational database and given it a name using Control Panel, Administrative Tools, Data Sources.
The Scheduler allows you to schedule commands to be act periodically, vice NT’s limitation of not allowing you to schedule in less than a day. There are commercial packages, which will allow you to do this. If you already have one or have a preference, these may be used; however, DataWise® provides this capability.
For example, should you wish a report to go out to someone each morning at a certain time, schedule will allow you to set up the report and the execution time of the report and to send the report.
Follow the steps below to schedule functions.
|
SCHEDULE functions.
|
CHOOSE Configure > Schedule Functions from the Main DataWise® Menu. The Schedule Activities screen is displayed.CLICK on Command Name and then CLICK on Add. A new command is added to the Command Name box. DataWise® numbers this 1 Command 1. If a command already exists, DataWise® numbers it the next sequential number. For example, 2 Command 2 would be added to the screen shown opposite. |
|
|
CHANGE the name of a command.
|
|
|
ENTER the Command Contents. The Command Contents must be a valid batch file command.ENTER the Execution Frequency by using the arrows to scroll through the desired number and units (Minutes, Hours, or Days).ENTER the Time Offset (hhmm) in hours and minutes.ENTER up to 12 Absolute Times (format hhmm).CLICK on Save to save your changes.CLICK on Done to return to the Main DataWise® Menu.At the bottom of the screen are Some Available Commands to choose from. CLICK on any of the buttons to view one of the available commands. |
Implementing the IFLOWS Backbone Communications in DataWise®
Introduction
The full IFLOWS backbone communication protocol has been implemented in the
DataWise® software suite. The first step in implementing the IFLOWS interface is to set the IFLOWS network ID of the local computer. To do this, follow the steps listed below.|
|
CHOOSE Configure > IFLOWS Configuration from the Main DataWise® Menu. The IFLOWS Main Menu is displayed.CLICK on Define Network ID’s button. The Define Network SID’s screen will be displayed.
CLICK on Add, Edit, or Delete to configure the list of Site ID’s (Network ID’s). Once the desired ID’s (including your own) have been entered, CLICK on Save to return to the IFLOWS Main Menu screen.
CLICK on the Set Local ID button. The Set Local Network Address screen is displayed.
ENTER the Current Local Address.CLICK on OK. |
2.4.11.1 IFLOWS Network Sensor Configuration
The precipitation data sent around the IFLOWS backbone is not the same as the raw ALERT data being received at a base station. Raw ALERT data is an integer number that represents the accumulated rainfall at a site. IFLOWS precipitation data is 15-minute incremental data. Because of this, IFLOWS network precipitation data must be treated in a different manner from ALERT data. Before defining network sensor ID’s, the following line must be added to the file \DW\Config\devtype.cf
g60 IFLOWS_PCP Netpcp inches inch in 100.00 0.00 20 -1
All IFLOWS network precipitation gages must be defined as this type of sensor. When network data is transmitted on the IFLOWS backbone, the location originating this data is flagged by an integer number in a manner similar to the way ALERT data is. This number may or may not be the same as the ID of the gage that actually transmitted the number in ALERT format.
DataWise® allows data for an ID received over the IFLOWS backbone to be stored into a different ID in the DataWise® database. For example, assume that the ID for a precipitation sensor on the IFLOWS network is 2011 but it is desirable to store all network data in sensor ID’s above 10000, say 12011. Then, as shown in Figure 4a, a sensor with an ID of 12011 is defined as type IFLOWS_PCP. From the "IFLOWS Menu", click on "Specify Network Gages" and Network ID 2011 and map it into DataWise ID 12011 (Figure 4b). This will result in any data being received with an ID of 2011 over the IFLOWS network being stored in the DataWise® database with an ID of 12011. Note that for IFLOWS precipitation gages, the frequency should be set to 15 minutes due to the nature of the network data.
Figure 4a. Sensor setup for IFLOWS network sensor 2011 being filed as
DataWise® sensor 12011.
Figure 4b. Mapping the IFLOWS Network ID 2011 into DataWise ID 12011
To store data in the
DataWise® database under the same ID as received on the IFLOWS network, simply set the DataWise® ID to the same as the Network ID. Care must be taken, however, to not store IFLOWS network data in the same ID as data being received directly in ALERT format as the data values are not compatible. If data is being received both locally and over the backbone on the same ID, the network ID must be changed OR the sensor ID’s of the locally collected must be mapped into a different number.Once a network sensor has been defined, it can be treated as any other sensor in the
DataWise® database. In summary, the IFLOWS Network ID is the value in the "Abbrev" field while the ID under which to store the data is in the "Sensor ID" field.
2.4.11.2 ALERT Sensor Configuration for an IFLOWS Network
Before IFLOWS Network data can be generated and transmitted over the network, the raw data from which network data is computed (usually data transmitted in ALERT format) must be stored in the
DataWise® database. One of the capabilities of DataWise® is that data received in ALERT format under one ID can be stored in the DataWise® database under another ID. This "mapping" of one ID to another is performed as follows:|
|
Choose Configure > Data Collection Activities from the Main DataWise® Menu. This starts the Real-time Data Collection Task Editor.
Make sure the ALERT Data Collection is enabled, then CLICK on the EDIT button to the right. The Define ALERT Data Collection Activities screen will be displayed.
In this display, ALERT data is being received on port com4, the baud rate between the decoder and the computer is 9600, sensor mapping is enabled, and other fields are disabled. |
|
Defining a mapped sensor 12000 to be sent out on the IFLOWS backbone as 2000. |
Use the Add, Edit, and Delete buttons to configure the ALERT data collection and to setup the mapping of one sensor ID to another. CLICKing the Add or Edit button will bring up the Add Comm Port to ALERT Data Collection Tasks screen.To map a received sensor ID into another ID before storing into the database, make sure the Sensor Mapping box is checked and CLICK on the Edit Mapping File button.The Sensor Mapping File screen will be displayed. This screen shows a list of sensor ID’s that will be mapped for data received on the specified port only.CLICK on Add, Edit, or Delete to map received ID’s into the desired ID before storing into the Datawise® database. Sensor ID’s not listed to be mapped will be stored under the ID’s they were received on.Using this example, Sensor ID 12000 can be defined and configured to be transmitted out on the IFLOWS backbone as sensor 2000 by setting the "Abbrev" field to 2000net. The net suffix must be added to cause the data to be transmitted over the backbone. |
2.4.11.3 Adding the IFLOWS Backbone Communications Functionality
|
|
Choose Configure > Data Collection Activities from the Main DataWise® Menu. This starts the Real-time Data Collection Task Editor.CLICK on the Add button under Custom Command to bring up the Add/Edit Custom Applications screen.
SELECT the IFLOWS network management option as shown here.
CLICK on the button labeled Click to select this application. The "iflows_manager.exe" application will be in the Application or Program Name field.
ENTER the appropriate command line arguments.CLICK on OK.
The iflows_manager.exe functionality will have been added to DataWise® as shown here. |
2.4.12 USGS Data Configuration
DataWise®
can retrieve data from a USGS Web Site in interactive and automated modes. Before USGS can be retrieved, some configuration must be performed. To do this follow the steps listed below.|
CONFIGURE DataWise® to Retrieve Data From a USGS Web Site.CLICK on the Configure from the Main DataWise® Menu. SELECT USGS Data Configuration.
The Configure USGS <-> DataWise® Interface screen is displayed.
The fields shown in the list box on the left are: Use the Add, Edit, and Del buttons to configure the data to be retrieved.Test the retrieval using the tools in the Data Retrieval box. Control whether data will be filed in the DataWise® database during testing by Checking or Unchecking the File Retrieved Data box.To configure DataWise® to automatically retrieve USGS data, SELECT Configure > Schedule Functions from the Main DataWise® Menu.
For complete instructions on using the Schedule Functions application, see Section 2.4.10. The figure below shows DataWise® configured to retrieve the last one day of USGS data every hour. Specify the number of days to retrieve using the n= argument.
|
DataWise®
provides extremely rapid access to both recent and historical data in the database, even under the load of multiple users simultaneously accessing the database.Sensor Reception: DataWise® supports a database size of up to 32,000 sensors with an unlimited storage for each sensor.
Database Interface: The DataWise® database should not be considered "proprietary" in the classical sense of being closed, since it easily interfaces to commercial databases, such as Microsoft Access, and its structure is well documented.
The DataWise® database server is a multi-threaded, client/server application, designed to support many concurrent users. It was designed from the ground up and written to support true networking. All users on the network (whether on a LAN or dial-up) can access the database and all associated displays and functions, provided they have the appropriate permission.
Handling Failover: The DataWise® database server supports multiple layers of "hot standby" failover, meaning that if a primary computer fails then one of the backup computers automatically takes over the functionality of the failed computer. During times of normal functioning, all computers in the "hot failover" scheme maintain identical databases.
Exporting Data to ODBC: DataWise® supports the open database connectivity standards. This allows you to store sensor data in a commercial database of your choice (such as Oracle or SQL).
3.1 SENSOR MANAGEMENT
Once a sensor has been defined, data values for this sensor can be stored in the database. For an ALERT system, this is all that is required. For interrogated systems, more information must be defined (see the Defining Stations, section 2.4.7).
Follow the steps below to add, delete, or change sensors and define sensor types.
|
DEFINE a new Sensor Type.
|
CHOOSE Configure > Sensors from the Main DataWise® Menu. The Define Sensors screen is displayed.
CHOOSE File > Add/Edit Sensor Types. The Edit/Create New Sensor Types screen is displayed. |
|||||
|
|
SELECT a type similar to the desired new type by HIGHLIGHTing a sensor on the pull down menu.CLICK on New. The Edit Sensor Type Definition screen is displayed.Note If you want to define a new sensor type similar to one in your database, then you should select that sensor type. If not, DataWise® will choose a template and will automatically enter data into the Edit Sensor Type Definition screen. |
|||||
|
|
ENTER in the fields to accurately define new sensor type.
Note If you are doing hydrologic forecasting in metric units, the rainfall abbreviation must be mm.
y = x/a + b This equation converts raw data into engineering
y = x/a + b
CLICK on OK. |
|||||
|
EDIT an existing Sensor Type.
|
CHOOSE Configure > Sensors from the Main Menu. The Define Sensors screen is displayed. |
|||||
|
|
CHOOSE File > Add/Edit Sensor Types. The Edit/Create New Sensor Types screen is displayed.SELECT the desired sensor from the drop-down list by HIGHLIGHTing it on the pull down menu. Choices include the entire set of sensors you previously defined. |
|||||
|
Note At any time, to view a list of defined sensors, CHOOSE Tabular Data > Sensor List from the Main DataWise® Menu or CLICK on the first icon. A list of defined sensors is displayed. |
CLICK on Edit. The Edit Sensor Type Definition screen is displayed.MODIFY in the fields to accurately reflect changes to the sensor type.
y = x/a + b This equation converts raw data into engineering
y = x/a + b
|
|||||
|
EDIT Sensor Data. Data in the sensor database can be edited, if desired, through a graphical-based database edit. |
CHOOSE Edit > Edit Sensor Data from the Main DataWise® Menu. The Edit Sensor Database screen is displayed. |
|||||
|
|
SELECT the sensor to edit from the Select Sensor drop-down list. The actual data values are displayed in the list box on the left and a time series plot of the data is displayed in the plot on the right.Use the buttons to Insert new data, Edit or Delete existing ones, or Search for data at a specified time in the database.
CLICK on Save. Note Edited data is not stored in the database until the Save button is pushed. CLICK on Exit. |
|||||
3.2 EQUATIONS MANAGEMENT
Real-time equations are used to compute information derived from one or more sensors in real time (as data is being received). Follow the steps below to work with Real-time Equations.
|
DEFINE a Real-time Equations. |
CHOOSE Configure > Real-time Equations from the Main DataWise® Menu. The Text Editor screen is displayed as shown below. This work must be done in the text editor by reading and answering questions. DataWise® has examples built into the text editor to help you complete this. |

Statistical equations are used to compute values received over time (and are not done in real time). Follow the procedures below to define statistical equations.
|
LIST Statistical Equations.
|
CHOOSE Configure > Statistical Equations from the Main DataWise® Menu. The Database Statistical Equations screen is displayed.
CLICK on List Statistical Equations. The dbsift.cfg file will be displayed. |
|
EDIT a Statistical Equation.
|
CHOOSE Configure > Statistical Equations from the Main DataWise® Menu. The Database Statistical Equations screen is displayed.
CLICK on Edit Statistical Equations. The Select Statistical Equation screen will be displayed.
Here you can Insert, Add, Edit or Delete a Statistical Equation.
CLICK on Done when you are finished making changes. You will be prompted to restart the system.
CLICK on Yes, No, or Cancel to return to the Database Statistical Equations screen. |
3.2.3 HSE VIRTUAL ICE SENSOR
In order to activate virtual ice sensor computations a custom realtime DataWise® application must be enabled from the Configure > Data Collection Activities on the Main DataWise® Menu and sensors must be defined using Configure > Sensors from the Main DataWise® Menu.
Note
For in depth instructions on configuring HSE Ice Sensors, see Datawise Manual Appendix C
|
|
CHOOSE Configure > HSE VIRTUAL ICE SENSOR from the Main DataWise® Menu. The Virtual Ice Sensor Setup screen is displayed. SELECT a sensor from the Defined Ice Sensors drop-down list. Each Virtual Ice sensor requires 2 other sensors to computer conductivity and temperature. ENTER the Conductivity Sensor ID or HIGHLIGHT Edit field and SELECT from the Defined Sensors list box. ENTER the Temperature Sensor ID or HIGHLIGHT Edit field and SELECT from the Defined Sensors list box. ENTER the Dry Threshold. ENTER the # of Readings Above Threshold. This is the number of readings that match the threshold reading before assuming dry state. CHECK the Alarm on entering dry state if this is desired. CHECK the Alarm on leaving dry state if this is desired.
ENTER the Wet Threshold. ENTER the # of Readings Below Threshold. This is the number of readings that match the threshold reading before assuming wet state. ENTER the Drop in Conductivity Within 1 hr. CHECK the Alarm on entering wet state if this is desired. CHECK the Alarm on leaving wet state if this is desired.
ENTER the Rise in Conductivity to Enter Ice State and corresponding Time Period in minutes. ENTER the Threshold Temperature. CHECK the Alarm on entering ice state if this is desired. CHECK the Alarm on leaving ice state if this is desired. SELECT the desired Actions on Alarm. These alarm actions should already be defined in Define Sensors > Alarms > Add/Edit Alarm actions as described in Section 2.4.5. CLICK on Save and Exit to return to the Main DataWise® Menu. |
3.3 RE-CALIBRATING SENSOR DATA
Engineering conversion terms are specified for a sensor when it is first defined in the database. In many cases these terms will never need changing; however, for some types of sensors (i.e., water level sensors) changes in the engineering conversion terms may be occasionally necessary. This is especially true for telemetry systems such as ALERT self-reporting systems in which the sensor data is transmitted as an unsigned, integer number. The sensor database keeps a history of the changes made to the engineering conversion terms and the times for which the various conversion terms are valid. Re-calibrating sensor data allows you to make a change in a sensor’s conversion terms. To re-calibrate sensor data, follow the steps listed below.
Follow the steps below to re-calibrate sensor data.
|
RE-CALIBRATE Sensor Data.
|
CHOOSE Edit > Re-Calibrate Sensor Data from the Main DataWise® Menu. The Re-Calibration of Sensor Data screen is displayed. Information being displayed in the screen includes:
SELECT the sensor to be re-calibrated from the Select drop-down list. List choices are all sensors defined in your database. |
|
|
CLICK on Plot. A plot similar to the one shown is displayed.Note Right or left clicking on the mouse buttons will scroll through the database. This can also be done by selecting the "Forward" or "Backward" menu items from the Movement pull-down menu. |
|
|
To CHANGE the period being displayed.
|
|
|
The plot of the new time period is displayed. Note The dashed vertical line shows the location of a change in the sensor’s engineering conversion term. CHOOSE Movement > Return. |
|
CHANGE the engineering conversion terms for a specified time period.
|
CHOOSE Edit > Re-Calibrate Sensor Data from the Main DataWise® Menu. The Re-Calibration of Sensor Data screen is displayed.
CHOOSE Plot. The Plot screen is displayed.
|
|
|
CHOOSE Options > Re-calibrate. The Re-calibrate Sensor Data screen is displayed.
CHANGE the conversion terms and the time period so they are valid.
CLICK on OK. The plotted sensor data is re-displayed.
|
|
|
At this point, the re-calibrated data has not been stored into the database and the plot will show both the re-calibrated and original data sets. When the re-calibration terms are satisfactory, CHOOSE Options > Accept Re-calibration |
|
|
CLICK Yes to save the data. The re-calibrated data is stored in the database at that time. |
3.4 RATING TABLES
Rating tables are used to convert a measured sensor reading or value of one type, say water level, into another value (often not measured) of a different type, say flow. Rating tables are referenced by numbers and are assigned to sensors. Follow the steps below to create and configure rating tables.
|
CREATE a New Rating Table.
|
CHOOSE Configure > Rating Tables. The Define/Edit Rating Tables screen is displayed.
CHOOSE File > Create a New Table. The Edit a Rating Table screen is displayed. |
|
|
CHOOSE the table by filling in the text fields and by using the appropriate Edit, Insert, and Delete buttons. Rating Table Fields include:
|
|
|
CLICK on OK to save new correctly defined table. |
|
|
CLICK on Done. |
|
EDIT an Existing Rating Table.
|
CHOOSE Configure > Rating Tables. The Define/Edit Rating Tables screen is displayed.
CHOOSE File > Edit a Table. The Edit a Rating Table screen is displayed. |
|
|
ENTER the Table options. Rating Table Fields include:
Extrapolation Allowed: if checked, then rated values for observed data that exceed the largest value in the table is computed. Otherwise, the largest defined rated value is used in cases where the observed values that exceed the largest value in the table. |
|
|
CLICK on OK to save new correctly defined table. |
|
|
CLICK on Done. |
|
IMPORT an Existing Table.
|
CHOOSE Configure > Rating Tables. The Define/Edit Rating Tables screen is displayed.
CHOOSE File > Edit a Table. The Edit a Rating Table screen is displayed. |
|
|
CLICK on Import From a Text File. The Import screen is displayed.DataWise® requires you to enter the file containing the rating table to be imported. You may do this by entering the system path and file name or browsing to find and select the required file.
CLICK on OK to save the import or Cancel to return to the Edit a Rating Table screen without saving changes.
|
|
|
CLICK on Import From a DSS File. The Import a Rating Table from a DSS File screen is displayed.
ENTER a filename or BROWSE to find the HEC-DSS filename.CLICK on Click for a list of tables in DSS for a list of Available Rating Tables to be displayed.When you have selected the file CLICK on Import.
|
|
DISPLAY an Existing Rating Table.
|
CHOOSE Configure > Rating Tables. The Define/Edit Rating Tables screen is displayed.
CHOOSE File > Display a Table. The Display a Rating Table screen is displayed, which includes a box containing the defined rating tables in your system. |
|
|
SELECT the table to be displayed.
CLICK on OK. A table, similar to the one shown is displayed. |
|
|
Note Toolbar at the top provide options for: Font, Copy, Print, Print as Text, Save, and Exit.
CLICK on the sixth icon showing a Door to Exit back to the Display a Rating Table screen. |
|
DISPLAY a List of Existing Rating Tables.
|
CHOOSE Configure > Rating Tables. The Define/Edit Rating Tables screen is displayed. |
|
|
CHOOSE File > List Tables or CLICK on the List Tables icon. The List Existing Tables screen shows a listing of defined rating tables (top list box) and the bottom list box shows the sensors that use the highlighted rating table. |
|
ASSOCIATE a Sensor with a Rating Table. A sensor may be associated with a rating table so that the rated values can be computed from observed sensor value. This will enable the system to compute rated values from sensor values. |
CHOOSE Configure > Rating Tables. The Define/Edit Rating Tables screen is displayed. |
|
|
CHOOSE File > Link/Unlink Sensors. The Link/Unlink Sensors and Rating Table screen is displayed.SELECT the desired sensor from the drop-down list on the left. The current table linked to it is displayed.SELECT from the list of defined rating tables. |
|
|
CLICK on Assign. This will link the sensor with the Target Rating Table.Note To unlink a sensor: CLICK on Remove. CLICK on OK to confirm any changes or Cancel to exit without saving changes. |
|
TEST a Rating Table.
|
CHOOSE Configure > Rating Tables. The Define/Edit Rating Tables screen is displayed.
CHOOSE Test > Measure to Rated or Rated to Measure, or CLICK on the related icon. The Rated Values from a Table or the Table Values from a Rated Table screen is displayed |
|
|
|
3.5 EXPORTING TO A COMMERCIAL DATABASE
Exporting data to a commercial database is easily done. The methods used depend upon which database you will be exporting the data to and generally requires custom work by DataWise® programmers. Contact DEC Data Systems for specific help on this subject.
DataWise®
supports alarm notification via alphanumeric pagers. Most commercial pagers are supported. The DataWise® paging software consists of three software modules:The following subsections provide steps for pager configuration, selecting sensors for paging, sending a test page, and viewing a log of pager activity.
Before beginning to configure DataWise® to page upon alarms, you will need to know the parameters set by the paging company for your pager. The paging company should provide most of the parameters summarized below. Parameters can also be determined by calling the number provided by the paging company using terminal emulation software and testing with trial and error.
Note
Hyperterm is generally not satisfactory for this, because it does not correctly handle odd or even parity.
Parameters for which you will need data before configuring DataWise® to work with your pager include:
Once you have this information in hand, follow the steps below to configure DataWise® for paging on alarms.
|
CONFIGURE a pager for paging upon alarms.
|
CHOOSE Configure > Pager from the Main DataWise® Menu. The Pager Configuration screen is displayed.
|
|
|
CHOOSE Pager Configuration > General Parameters from the pull-down menu. The Parameters screen is displayed.ENTER the Log File: The name of the file in which a log of pager actions is to be kept.ENTER the Printer on which pager failures are printed. You may leave this blank and this will not cause a problem, but you will not be able to print.ENTER the Modem port, which is attached to the modem that will be used to call the paging company.ENTER the Baud rate to match the paging company requirements.ENTER Parity to match the paging company requirements.ENTER Data Bits to match the paging company requirements.ENTER Stop Bits to match the paging company requirements.ENTER Pager Company Phone Number, which is dialed to send an alphanumeric page.ENTER the Timeout (in seconds) allowed for carrier to be established with the paging company’s modem once the number has been dialed.ENTER Modem Setup String (any desired or required modem initialization string). |
|
|
CLICK on Add to add a Pager ID/User Name.ENTER the Pager ID/User Name. The Pager ID is assigned by the pager company. The User Name is arbitrary and used only internally by DataWise®. Currently, it cannot contain spaces.
CLICK on Edit to edit a Pager ID/User Name after highlighting the desired entry.CLICK on OK. |
|
|
CLICK on Save.CLICK on Done. |
|
SELECT sensors for paging.
|
CHOOSE Configure > Pager from the Main DataWise® Menu. The Pager Configuration screen is displayed.
|
|
|
CHOOSE Pager Configuration > Sensors from the pull-down menu. The Sensors screen is displayed.From the List of All Sensors Defined, SELECT the sensor you wish to be paged when an alarm occurs by HIGHLIGHTing and CLICKing on Add (or you may just DOUBLE CLICK on the highlighted sensor). This adds the sensor to Sensors on which to page list. CLICK on the sensor just added to the list. The two list boxes at the bottom of the screen show:
ADD pager numbers by CLICKing on the pagers in the list on the right, List of Pagers to Select From. |
|
|
REMOVE pagers by clicking on the left list, Paging List for Sensors. DataWise® will ask you to verify that you want to delete the selected pager. |
|
|
CLICK on Save. If you do not, DataWise® asks if you want to save changes. CLICK on Yes to ensure changes are accepted by DataWise®. CLICK on No if you do not want the changes saved.CLICK on Done to exit to the Pager Configuration screen. |
To send a test page, follow the steps below.
|
SEND a test page.
|
CHOOSE Configure > Pager from the Main DataWise® Menu. The Pager Configuration screen is displayed.
|
|
|
CHOOSE Pager Configuration > Manual Page from the pull-down menu. The Manual Page screen is displayed.ENTER a test message in the Enter Message Below box.ADD pager numbers by CLICKing on the pagers in the list on the right, Pagers Available. DataWise® moves the pager to Pagers Selected.REMOVE pagers by clicking on the left list, Pagers Selected. DataWise® will ask you to verify that you want to delete the selected pager.CLICK on Send. All pagers in the Pagers Selected list will be paged. If you want to know you are successful in sending the page, go to the Pager Log (see steps below).CLICK on Exit to go back to the Pager Configuration screen. |
The system is now set up for paging upon alarms attached to the sensors defined to work with your pager.
4.4 VIEWING A LOG OF PAGER ACTIVITY
To send a test page, follow the steps below.
|
VIEW a log of pager activity.
|
CHOOSE Configure > Pager from the Main DataWise® Menu. The Pager Configuration screen is displayed.
|
|
|
CHOOSE Pager Configuration > View Log from the pull-down list. The \DW\Log\Plog.log screen is displayed.DataWise® gives you an error message that the \dw\log\plog.log does not exist if you have never sent a page.DataWise® will automatically create this file with the first page or attempted page.CLICK on the X box to return to the Pager Configuration screen.
|
DataWise®
provides a variety of data output and display functionality falling into two categories, tabular and graphical.The following sections provide steps for working with maps in DataWise®. In all cases DataWise® must be running.
5.1 SINGLE SENSOR DATA DISPLAY
To display data for a single sensor, you will need to know the following information.
Note
To display data for a single sensor, you must have the sensor defined in the database or you receive an error message.
To display data for a single sensor, follow the steps below.
|
DISPLAY data for a single sensor.
|
CHOOSE Tabular Data > Single Sensor Display from the Main DataWise® Menu. The Single Sensor Data Display screen is displayed.CLICK on the sensor you wish to display.CLICK on Preferences. The Define Display Preferences screen is displayed. |
|
|
SELECT the display preferences you want to see associated with the selected sensor.
|
|
|
|
|
|
|
5.2 TABULAR REPORTS
DataWise®
gives you a structure for working with Statistical Reports and, also, provides you with the capability to customize tabular reports. The following subsections provide steps for working with Statistical Tabular Reports and Customized Tabular Reports.5.2.1 STATISTICAL TABULAR REPORTS
Statistical Tabular Reports allow the display of sensor data in tabular form with a wide range of statistical calculations available to be applied to the data. Tabular reports can be generated either from predefined groups of sensors or from sensors selected at report generation time. Statistical Tabular Reports are in a predefined structure of rows and tables.
To define Statistical Tabular Reports you must know which sensors you want grouped together and which statistics you want applied. The following is a list of statistics you can use.
Follow the steps below to define and create Statistical Tabular Reports.
|
DEFINE groups of sensors for Statistical Tabular Report.
|
CHOOSE Tabular Data > Tabular Reports or CLICK on the Tabular Reports icon on the Main DataWise® Menu toolbar. The Sensor Statistical Report screen is displayed.CLICK on Preferences. The Define Groups screen is displayed.Note If no groups are shown in the Select Group menu, you must add a Group. |
||
|
|
To ADD a sensor group:
Note If you have groups already in the Select Group menu, the next sequential group number will be assigned. For example, if you have 41 groups already in the menu, CLICKing on Add, will add Group 42 to the menu.
|
||
|
|
CHANGE sensors in a group or ADD sensors to a group by following the steps below.
|
||
|
GENERATE and DISPLAY a Tabular Report.
|
CHOOSE Tabular Data > Tabular Reports or CLICK on the Tabular Reports icon on the Main DataWise® Menu toolbar. The Sensor Statistical Report screen is displayed.CLICK on either Display By Group or Display By Sensor.
ENTER the ending date in the Ending Date field. The format is mm/dd/yy. This should be the last date for which you want your report.ENTER the ending time in the Ending Time field. The format is any time in a 24-hour clock.ENTER the time step in the Time Step field. The format is a number followed by minutes, hours, or days.ENTER the number of time steps in the Number of Steps field. The format is numeric. |
||
|
|
CLICK on Static Display if displaying by sensor or either Static Display or Realtime Display if displaying by group. If Static is selected you will see a screen with a basic DataWise® Tabular Report for your chosen sensors or group of sensors as shown to the left.
If Realtime Display is selected you will see an Alert-style display as shown here. Realtime Display is only available for the Group option. |
||
|
|
CLICK on Totals, Additional Statistics, Std Dev, and Show questionable data boxes and then CLICK on OK to display additional data as shown in the sample report below. |
||
|
|
CLICK on the X box to leave the Tabular Report screen and return to the Sensor Statistical Report screen.Note Icons at the top of the Tabular Report provide options for: Font, Copy, Print, Print as Text, Save and Exit Icons at the top of the Realtime Display provide options to display the data horizontally, vertically, to change the group displayed or time intervals. |
||
I. Introduction – Custom Format Report Templates
DataWise®
provides a powerful tool for producing text reports in a custom format chosen by the user. To produce customized reports, the user must currently edit a series of text files, either with some text editor such as notepad, or from the "Custom Reports" item which is accessed from the "File" pull-down menu on the main DataWise® screen.Custom format report template files are stored in directory \DW\Rpt\Tpt and are named reporttmpl1.tpt, reporttmpl2.tpt, and so on up to reporttmpl99.tpt where the number in the name is the report group number.
Custom format report group names are stored in file \DW\Rpt\Cfg\reportgname.cfg with the report group names stored on separate lines.
Sensors to be displayed in each custom format report are stored in file \DW\Rpt\Cfg\reportgroup.cfg with the sensors for each report group stored on separate lines.
Custom format report time files are stored in directory DW\Rpt\Cfg and are specified in file DW\Rpt\Cfg\reporttimes.cfg.
All text entered into a template file except report descriptors (described later) is printed in the report output. Report lines can be up to 512 characters in length. Each end of line in the template file prints a newline character unless the line ends with a percent (%) character. In this case, the next line overwrites this line. Only non-blank characters change information already printed on the previous line.
Custom format report descriptors are character strings in report template files that are translated into sensor data values, period data and time information, or other
DataWise® database information. Report descriptors start with the percent (%) character and are followed by the descriptor name and its arguments. Percent characters are printed by coding two percent characters %%.A sample custom report template file is shown below, followed by an actual report generated from the file.
Lavaca-Navidad River Authority
%-gname %0date[N].8.2./ %0time[N].4.2
Sensor ID %devnum[*].7
Date/Time of %devlrptd[1].5.2./ %devlrptd[2].5.2./ %devlrptd[3].5.2./ %devlrptd[4].5.2./ %devlrptd[5].5.2./ %devlrptd[6].5.2./
LastRpt. %0devlrptt[1].4.2 %0devlrptt[2].4.2 %0devlrptt[3].4.2 %0devlrptt[4].4.2 %0devlrptt[5].4.2 %0devlrptt[6].4.2
Precipitation %uabbr[*].7
%missing" _____"%
Last 10 min %data[*][1].7.2
Last 30 min %data[*][2].7.2
Last 60 min %data[*][3].7.2
For 24 hours
Ending at %0time[4].4.2 %data[*][4].7.2
Since %0time[5].4.2.TB %data[*][5].7.2
%0time[6].4.2.TB Thru %0time[6].4.2.S.TE %data[*][6].7.2
%0time[7].4.2.TB Thru %0time[7].4.2.S.TE %data[*][7].7.2
%0time[8].4.2.TB Thru %0time[8].4.2.S.TE %data[*][8].7.2
%0time[9].4.2.TB Thru %0time[9].4.2.S.TE %data[*][9].7.2
%0time[10].4.2.TB Thru %0time[10].4.2.S.TE %data[*][10].7.2
Since %0time[11].4.2.TB %data[*][11].7.2
%0time[12].4.2.TB Thru %0time[12].4.2.TE %data[*][12].7.2
%0time[13].4.2.TB Thru %0time[13].4.2.TE %data[*][13].7.2
%0time[14].4.2.TB Thru %0time[14].4.2.TE %data[*][14].7.2
%0time[15].4.2.TB Thru %0time[15].4.2.TE %data[*][15].7.2
Lavaca-Navidad River Authority
Sample Rainfall Report 03/01/05 1155
Sensor ID 101 201 301 401 501 601
Date/Time of 3/01/05 3/01/05 3/01/05 3/01/05 3/01/05 3/01/05
LastRpt. 11:39:15 11:33:10 11:30:03 11:33:10 11:50:16 11:52:37
Precipitation in in in in in in
Last 10 min 0.00 0.00 0.00 0.04 0.04 0.00
Last 30 min 0.04 0.04 0.04 0.08 0.08 0.08
Last 60 min 0.16 0.16 0.16 0.16 0.16 0.12
For 24 hours
Ending at 1100 0.51 0.43 0.43 0.43 0.79 0.79
Since 1100 0.16 0.12 0.12 0.16 0.12 0.12
1000 Thru 1100 0.08 0.16 0.12 0.12 0.12 0.08
0900 Thru 1000 0.04 0.08 0.04 0.04 0.04 0.04
0800 Thru 0900 0.08 0.04 0.12 0.12 0.63 0.67
0700 Thru 0800 0.31 0.16 0.16 0.16 0.00 0.00
0600 Thru 0700 0.31 0.00 0.00 0.00 0.00 0.00
Since 1100 0.16 0.12 0.12 0.16 0.12 0.12
0500 Thru 1100 0.51 0.43 0.43 0.43 0.79 0.79
2300 Thru 0500 0.00 0.00 0.00 0.00 0.00 0.00
1700 Thru 2300 0.00 0.00 0.00 0.00 0.00 0.00
II. Report Descriptor Format
Report descriptors are character strings that follow a percent character in a custom report template file. The report descriptor format includes prefix characters, the descriptor name, device and period index lists and print parameters. Report descriptors can be prefixed by list delimiter, justification, padding, blank zeroes and plus sign flags. Descriptors can be followed by devices and period index lists, and field width and precision, output format and separator flags. The general descriptor format is:
%XJPZ+desc[...][...].W.P.F.S
where:
X - List delimiter flag
J - Justification flag
P - Padding flag
Z - Blank zeroes flag
+ - Plus sign flag
desc - Descriptor name
[...] - Device index list
[...] - Period index list
W - Field width
P - Field precision
F - Format flag
S - Separator
NOTE: The space taken by a report descriptor in the template file is not the amount of space its translation takes in the report output.
List delimiter flag: The list delimiter flag is used to separate a list of descriptor output:
[space] - Append a space
[Comma] - Append a comma
None - Use global flag (default is no delimiter)
Justification flag: Descriptor output can be justified left, right, or centered:
L - Justify left
R - Justify right
C - Justify center
[Dash] - Justify left (obsolete)
None - Use global flag [default is justify right]
Padding flag: Descriptor output can be padded to field width:
B - Blank pad
0 - Zero pad
N - No padding
None - Use global flag (default is blank padding)
Blank zeroes flag: Zero data values can be replaced by blanks (spaces):
Z - Blank zero data values
b - Blank zero data values (obsolete)
None - Use global flag (default is no zero blanking)
Plus sign flag: Prefix positive data values with a plus sign (+):
+ - Prefix positive data values with a plus sign
None - Use global flag (default is no plus sign)
Descriptor name: Type of output (see following section)
Sensor index list: Report descriptors that refer to sensors in the sensor list. This reference is called the sensor index. The sensor index is enclosed in brackets [...], and is a number between one and the number of sensors in the sensor list. It is not the actual sensor number. Sensor index one refers to the first sensor in the list:
For example, if a descriptor displays data for sensor index two (2) and the sensor list contains the following sensor ID’s and statistical parameters:
1035/rain 1055/rain 1065/rain ...
the report would display rainfall data for sensor 1055.
Reverse sensor index: A report descriptor is provided that reverses sensor index numbering to last sensor to first sensor (i.e. sensor index 1 is last in the sensor list).
Period index list: Report descriptors that refer to period defined for the report by command line arguments or a time file (see next section). This reference is called the period index. The period index is enclosed in brackets, [...], and is a number between 1 and the number of periods in the period list. Period list 1 refers to the first period in the list.
For example, if report command arguments define the period time step as 1 hour, the number of periods as twelve (12), and the ending time as 1600, the report period time ranges from 0400 to 1600. The first period index 1 is the time period from 0400 to 0500. The second period index 2 is the time period from 0500 to 0600.
Reversing period index: A report descriptor is provided that reverses period index numbering to last period to first period (i.e. period index 1 is the last period).
Index ranges: A descriptor may specify more than one sensor or period index. In the following examples the index range is 1 though 5.
Individual indices are separated by commas (,0:
[1,3,5] - Selects indices 1, 3, and 5.
An index range lists the start index, a dash (-), and the end index:
[1-3] - Selects indices 1, 2, and 3.
A star (*) and the number following the end index in a range set the range index increment:
[1-5*2] - Selects indices 1, 3, and 5.
A star (*) alone selects all indices defined:
[*] - Selects all indices: 1, 2, 3, 4, and 5.
Printing of multiple indices extends to the right on the report output line. Separation between index values is done with padding or the descriptor list delimiter character.
Line repeat with automatic index increment: An empty index range, [], uses the next index number from the sensor or index list until the end of the list is reached. When the output line is repeated, the index number is incremented [or decremented if the index is reversed.].
Increment index number within a line: Use [+#] to increment the index number by # counts. Use [-#] to decrement the index number by # counts.
Field width: Field width defines the number of spaces the translation uses in the report output. If the field width is less than the output width, the output is truncated based on the justification flag. If the field width is greater than the output width, the output is padded based on the justification, padding, blank zero and plus sign flags.
Field precision or text string length: Precision is the number of digits displayed to the right of the decimal point for data output. It is the number of characters printed for a text string output.
Format flags:
Format flags to display period date are:
A - American format (MM/DD/YY)
E - European format (DD/MM/YY)
I - International format (YY/MM/DD)
None - Use global flag (default is American format)
Format flags to display water year period begin and end dates are:
WB - Beginning of water year
WE - End of water year
Format flags to display the month in the date are:
A - Month name (JANUARY, FEBRUARY, ...)
S - Month abbreviated name (JAN, FEB, ...)
W - Month number (1-12)
Format flags to display the day of the week for the date are:
A - Day of week name (SUNDAY,MONDAY,...)
S - Day of week abbreviated name (SUN,MON,...)
W - Day of week number
None - Use global flag (default is day of week)
Format flags to display the period ending or period beginning time are:
TE - Use time at end of period
TB - Use time at beginning of period
None - Use global flag (default is day of week)
Format flags to display the wind direction are:
D - Display wind direction in degrees (0-360)
C - Display wind direction in compass headings (N,NNW,NW,...)
None – Use global flag (direction in degrees)
Separator: Separator character for date and time elements and latitude / longitude (default is none):
Use a separator of / or – or . or , for date elements
Use a separator of : or – or . or , for time elements
Prefix hexadecimal character codes with a backslash, \
III. Report Descriptors
Custom report descriptors are character strings that are translated into sensor data values, period date and time information, or other
DataWise® database information. They are redefine default descriptor flag values and index numbering,
Report global parameter descriptors: The following report setup descriptors have been provided to change or restore the default report parameters. Default states are starred (*):
highdev - for sensor lists, start with the last sensor
* lowdev - for sensor lists, start with the first sensor
highperiod - for period lists, start with the last period
* lowperiod - for period lists, start with the first period
* devicefirst - for lists, increment sensor index first
periodfirst - for lists, increment period index first
justifyleft - left justify in field
* justifyright - right justify in field
justifycenter - center in field
* padblank - blank pad the field
padzero - zero pad field
padnone - no padding
lankonzero - blank field for zero value
prefixplus - prefix positive values with a + (plus sign)
@delimit - use character @ as the list delimiter (default is none)
valwidth.W.P - data value field width = W, precision = P
strwidth.W.P. - string field width = W, limit = P
* dateamer - print date in American format (MM/DD/YY)
dateeurope - print date in European format (DD/MM/YY)
dateintrnl - print date in International format (YY/MM/DD)
* monthnum - print month as number
monthalpha - print month name (JANUARY, FEBRUARY,...)
monthshort - print abbreviated month name (JAN,FEB,...)
* winddeg - print wind direction degrees
windcomp - print wind direction compass headings (N,NNE,...)
Report default setup at start of template: Report default descriptors can be used at the start of a template to redefine the default list behaviors and format flags. This simplifies the coding of other descriptors later. For example, to print data values for sensor index 1 and list periods from last to first, use
%highperiod%
%data[1][*].8.2
Prevent newline on default setup line: Note that the trailing % after the highperiod descriptor prevents a newline from printing for the report setup descriptor line. Terminate any line with a % to prevent a newline.
Sensor data descriptor: The sensor data descriptor prints data values for a list of sensors and a list of periods. The format is:
%WJPZ+data[...][...].W.P.F
The W, J, P, Z, and + flags override the global print flags. The sensor list is specified in the first set of brackets while the period index list is specified in the seconds set. The W and P parameters override the global field width and precision. The F parameter overrides the global print of wind direction in degrees or compass heading.
Sensor data descriptor examples:
Example 1. To print the data value for sensor index 1, period 2, with field width 8 and precision 2 use:
%data[1][2].8.2
A data value of 512.357 would print as __512.36 where the _ represents a space.
Example 2. To print the data values for sensor index 1, periods 1 through 4, field width 8, data precision 2, and left justify use:
%Ldata[1][1-4].8.2
Data values 0, 1.5, 2.3, and 8.7 for periods 1, 2, 3, and 4 would be printed in 8 character fields as:
0.00 1.50 2.30 8.70
Example 3. To print the data values for sensor indices 1, 2, and 3 for period 2, field width 8, data precision 2, print plus signs and blank zeroes use:
%+Zdata[1-3][2].8.2
Data values 0.15, 0.00, -1.10 for indices 1, 2, and 3 would print in 8 character fields as:
___+0.15 -1.10
Example 4. To print the data values for sensor index 1 for all periods, field width 8, precision 1, no padding and comma list delimiter, use:
%,Ndata[1][*].8.1
Data values 101.50, 99.36, 97.61 for sensor index 3 and periods 1 through 3 would print as
101.5,99.4,97.6
Sensor parameter descriptors: Sensor information descriptors, info, print database information for a list of sensors. Period numbers are not provided:
devlrptd - Print the sensor last report date
devlrptt - Print the sensor last report time
devlrptv - Print the sensor last report value
devnum - Print the sensor ID number
devtype - Print the sensor type name
lat - Print the sensor latitude
long - Print the sensor longitude
name - Print the sensor’s name
shorttype - Print the sensor type abbreviation
stalintd - Print the station’s last interrogation date
stalintt - Print the station’s last interrogation time
stanum - Print the station number for this sensor
staname - Print the station name for this sensor
tag - Print the sensor tag name
units - Print the sensor type units
unit - Print the sensor type unit
uabbr - Print the sensor type unit abbreviation
The descriptor format is:
%XJPZ+info[...].W.P.F.S
The X, J, P, Z, and + flags override the global print flags. The sensor index list is provided in the set of brackets. The W and P parameters override the global field width and precision. The F parameter overrides the global date and time format. The S parameter defines the separator character.
Sensor information descriptors example. To print the sensor ID with a field width of 4, the tagname with a field width of 8 left justified, sensor name and type with no padding (no field width is required) for sensor index 1, use the following:
%devnum[1].4 %-tag[1].8 %Nname[1] %Ndevtype[1]
Assuming that sensor index 1 is sensor ID 545, the tagname is WPZ545, the name is Woodland, and the sensor type is Precipitation Gage, then the output would be:
_545 WPZ545 Woodland Precipitation Gage
Sensor unit abbreviation descriptor example: To print the data value for sensor index 1, period index 1, field width 8, precision 2, followed by its units and then abbreviated units in parentheses, use:
%data[1][1].8.2 %Nunits[1] (%Nuabbr[1])
If the data value is 103.35, units are feet and abbreviated units are ft, then the output would be:
__101.35 feet (ft)
Sensor last report date, time, and value descriptor example. To print the sensor index 1 last report date, time, and value with the following specifications:
Date field width of 8, field limit of 2, zero padding, and a slash separator.
Time field width of 8, field limit of 2, zero padding, and a colon separator.
Data field width of 8 and precision of 2.
Use the following …
%0devlrptd[1].8.2./ %0devlrptt[1].8.3.: %devlrptv[1].8.2
A last report date / time / value of May 9, 2004 at 13:09 of 6.53 will be output as:
05/09/04 13:09:00 6.53
Station number, last interrogation date, and time descriptor example. To print the station number, station name, and last interrogation date and time for sensor index 1 with the following specifications:
Date field width of 8, field limit of 4, zero padding, and a slash separator.
Time field width of 4, field limit of 2, zero padding, and no separator.
Station number 101 with a name of Bobcat and last interrogation date / time of June 13,2004 at 10:00 would print as:
_101 Bobcat 06/13/04 1000
Note that a date field width of 4 will print the full year. The month and day elements are limited to 2 characters. A time field width of 4 and no separator prints the hour and minute only.
Latitude / Longitude descriptor example.
To print the station latitude and longitude for sensor index 1 with a field width of 10, zero padding, prefixed with a plus sign and a period separator, use the following:
%+Zlat[1].10.2.. %+Zlong[1].10.2..
A station with latitude of 36:23:04N and longitude of 100:13:57W would print as
_+36.23.04 +100.13.57
Note that latitude and longitude printing ignores the field precision. Use selected padding (i.e. zero padding) of latitude/longitude elements (degrees, minutes, seconds). Padding to the full field width always uses blank padding. If the plus sign prefix is selected, northern latitude and western longitude values are printed with a plus sign (+), while southern latitude and eastern longitude values are printed with a minus sign (-). If the plus sign prefix is not selected the latitude and longitude have the hemisphere letters appended as follows:
36.23.04N +100.13.57W
Period date and time descriptors. Period date and time descriptors print date and time information for a list of periods. Sensor index numbers are not provided. The following is a list of descriptors:
date - Print the period date: month, day, and year
time - Print the period time: hour, minute, and second
year - Print the period year number
month - Print the period month number
day - Print the period day number
hour - Print the period hour number
minute - Print the period minute number
second - Print the period second number
juld - Print the julian day (days since Jan 1 at 00:00:00)
julh - Print the julian hour (hours since Jan 1 at 00:00:00)
julm - Print the julian minute (since Jan 1 at 00:00:00)
juls - Print the julian second (since Jan 1 at 00:00:00)
dminute - Print the period minutes since start of day
dsecond - Print the period seconds since start of day
tstep - Print the period time step
The descriptor format is:
%XJPZ+time[…].W.P.F.S
The X, J, P, Z, and + flags override the global print flags. The period index list is provided in the set of brackets. The W and P parameters override the global field width and date/time element precision. The F parameter overrides the global date and time format. The S parameter defines the separator character.
Period date and time descriptor examples.
Example 1. To print with the following specifications:
Period index 1 date with a field width of 8, element precision of 2, zero padding, with a slash (/) separator.
Period index 1 time with a field width of 8, element precision 2, zero padding, and a colon (:) separator.
%0date[1].8.2./ %0time[1].8.2.:
A date of march 14,2005 and time of 08:35 prints as:
03/15/05 08:35:00
Note that the default date format is American, which displays as MM/DD/YY.
Example 2. To print the above in European format (DD/MM/YY) but with a comma (,) separator, use
%0date[1].8.2.E.,
The output (date only) from "Example 1" would be
15,03,05
Example 3. To print the above in International format (YY/MM/D) but with a period (.) separator, use
%0date[1].8.2.I..
which results in the following output:
05.03.15
Period month format example. To print the period index 1 date using the full month name, no padding (field width is ignored), with a space separator, use
%Ndate[1].8.4.A.A
which will result in the following output:
March 15 2005
Period date and time element examples.
Example 1. To print period index 1 date elements individually with the following specifications,:
Abbreviated month name, the day number, and 4-digit year number, use
%month[1].3.3.A.S %0day[1].2 %year[1].4.4
Then, March 15, 2005 would print as
MAR 15 2005
Example 2. To print the period index 1 time elements individually with the following specifications:
Print the hour, minute, and seconds with zero padding
%0hour[1].2 %0minute[1].2 %0second[1].2
Then, a time of 16:05:22 would be output as
16 05 22
Group and system name descriptors. Group names are read from the file \DW\Rpt\Cfg\reportgname while system names are read from the file \DW\Cfg\sysname.cfg.
gname - Print the group name
sysname - Print the system name
The descriptor format is:
%XJPname.W.P
The X, J, and P flags override the global print flags. The W and P parameters override the global field width and string limit.
For example, the print the system name left justified in 30 characters followed by other text and on the next line print the group name centered in 40 characters, surrounded by brackets and limited to 20 characters, use the following:
%Lsysname.30 my text
[%Cgname.40.20]
A system name "Sacramento City ALERT System" and group name "Precipitation Group Example" would print as:
Sacramento City ALERT System my text
[ Precipitation Group ]
Overwriting lines using the no newline descriptor: The % character alone at the end of a line prevents a newline from being printed. Use this descriptor to overlay a line with following lines. Overlaying lets you line up columns since descriptor width does not necessarily match the actual print width. When overlaying, blanks on the following lines do not change the previous line’s information. For example, if the following descriptors are used:
%devnum[1].4%
%name[1].20%
and if device index 1 specifies sensor 20 with a name of Pleasant Hill, then the output will be
__20 Pleasant Hill.
Missing data descriptor. The missing data descriptor allows a string to be defined which will be printed when data is missing. The descriptor is followed by quotes surrounding the string to be printed. For example, to print dashes (-) for missing data, specifying
%missing"-----"%data[*][1].8.2
will output
____1.01 2.70 ----- 4.11
when the data fields are 1.01, 2.7, missing, and 4.11
Period date day of week example:
To print period index 1 date as day or week, followed by the abbreviated day of week in parentheses, use:
%day[1].8.8.A.A (%day[1].3.3.A.S)
The output for a date of March 15, 2005 would be:
_TUESDAY (TUE)
Special period flags: The following special period flags may be used instead of period index numbers:
N - Use the current date and time
F - Use the first period date and time
L - Use the last period date and time
P - Use the date / time passed on the command line
For an example, to print the current date and time, specify
%0date[N].8.2./ %0time[N].8.2.:
which will output
03/17/05 11:38:04
Period start and end time example. All periods in the list have start and end times. By default, the period end time is printed for report descriptors. Use the TB format flag to print the start time. For example, to print the start and end times for period index 1 separated by dashes (-) use:
%0time[1].4.2.TB-%0time[1].4.2.TE
For a period with a start time of 09:00 and end time of 10:00, the above will print:
0900-1000
Period time step example. Period time steps can be printed with the tstep descriptor. For example, to print a data value for sensor index 1 and period index 1 then follow with the time step and the text "rainfall", use
%data[1][1].8.2 %Ntstep[1] rainfall
which will output
____1.04 1hour rainfall
when the data value is 1.04 and the time step is 1 hour.
Statistical analysis descriptors. Statistical analysis of report data values can be printed for a list of sensor and/or period indices using the following stat descriptors:
sum - Print the sum
dif - Print the difference
mean - Print the average
max - Print the maximum
min - Print the minimum
count - Print the count of non-blank (non-zero) values
dmax - Print the date of the maximum
dmin - Print the date of the minimum
tmax - Print the time of the maximum
tmin - Print the time of the minimum
Index ranges for analysis. The index range selects the index values to use in the statistical analysis. In the following examples, the index range is 1 through 5.
If individual indices are separated by commas (,):
[1,3,5] - Analyze indices 1, 3, and 5
If two indices are separated by a dash (-),
[1-3] - Analyze indices 1, 2, and 3
If an index range increment is specified, it is done as follows:
[1-5*2] - Which states that indices 1 through 5 should be analyzed in steps of 2, or analyze indices 1, 3, and 5
If a * alone is specified:
[*] - Then all indices are analyzed
Printing multiple statistical analyses. Printing of multiple statistical analyses to the right on the report output line is done by providing a multiple print increment value. This value is provided after the index range following a bar (|) character. The multiple print increment value is added to the index numbers for the next analysis and print. Index numbers are incremented until the last index number is passed.
For example, if the index range is 1 through 10 and the analysis is to do two indices at a time (1 and 2, 3 and 4, 5 and 6, 7 and 8, 9 and 10), the starting indices are 1 and 2 and the increment value is 2:
[1-2][2] - Analyze indices 1 and 2, print, then increment by 2 to analyze indices 3 and 4, print, and so on.
To print sums of period data values for sensor index 1 in groups of 31 periods, use the following:
%sum[1][1-31][31].5.1
The first analysis would sum and print periods 1 – 31, the second would sum and print periods 32-62, and so on.
To print the difference between period 1 and 2 data values:
%data[1][1].6.2 - %data[1][2].6.2 = %dif[1][1-2].6.2
Period 1 and 2 data values of 937.04 and 935.01 would print:
937.04 – 935.01 = 2.03
To print the mean of all period data values for each sensor starting with sensor index 1:
%mean[1][1][*].5.1
If sensor index 1 had data values 1.0, 2.0, 3.0, 4.0, 5.0 and sensor index 2 had values 3.0, 4.0, 5.0, 6.0, 7.0 the descriptor would print:
__3.0 5.0
To print the maximum, date and time of the maximum, minimum, and date and time of the minimum:
%max[1][*].5.1 %0dmax[1][*].8.2./ %0dmax[1][*].4.2
%min[1][*].5.1 %0dmin[1][*].8.2./ %0dmin[1][*].4.2
If sensor index 1 had data values 2.0, 1.5, 3.0, 4.0, 3.5 for period date 11/23/2004 and times 10:00, 09:00, 08:00, 07:00, 06:00, then the output would be:
4.0 11/23/04 0700
1.5 11/23/04 0900
To print the count of non-zero data values to indicate the number of days having rainfall use:
%count[1][*].5.0
Then, if the monthly rainfall were computed as non-zero for 7 days, the output would be:
____7
Computational descriptors: Arithmetic constants can be used to adjust sensor or statistical analysis data values using the following computation descriptors:
add# - Add # to the following sensor data value
sub# - Subtract # from the following sensor data value
mul# - Multiply # times the following sensor data value
div# - Divide # into the following sensor data value
The descriptor format is:
%comp#%data... or %comp#%stat...
Example 1. Add 0.5 to the data value of sensor index 1 and subtract 0.03 from the data value of sensor index 2 for period index 1 data:
%add0.5%data[1][1].5.2 %sub0.03%data[2][1].5.2
A data value of 20.4 for the sensor index 1 and 20.4 for sensor index 2 would print:
- 20.37
Example 2. Multiply 2.5 times the data value of sensor index 1 and divide 2.0 into the data value of sensor index 2 for period 1 data:
%mul12.5%data[1][1].5.2 %div2.0%data[2][1].5.2
If the data value for the sensor in sensor index 1 is 2.0 and 2.0 for the sensor in sensor index 2 then the above would output:
_5.00 1.00
Repeating lines while incrementing sensor or period indices: The special descriptor %* at the beginning of a line in a template file will repeat the line for all sensors or periods in the lists. Each time the line is repeated the sensor or period index is incremented. Select sensor index or period index incrementing for repeat lines by leaving the brackets empty.
Usually only one list index is incremented when the line is repeated. The other index is individually selected or listed to repeat across the line. If both the sensor and period indices are incremented, the sensor index is incremented first by default (devicefirst descriptor). After the line has been repeated for all sensors in the list, the sensor index is reset and the period index is incremented. Select period index incrementing first with the periodfirst descriptor.
For an example, to repeat a line for all sensors in the list that prints the sensor ID, name, and data values for all periods, use the following:
ID NAME %otime[*].8.2
%*%devnum[].4 %-name[].5 %data[][*].8.2
If there are three sensors in the list 101, 201, 301 with names Name1, Name2, Name3 and four time periods ending at 08:00, 09:00, 10:00, and 11:00, then the output would be:
__ID NAME 080000 090000 100000 110000
_101 Name1 1.01 1.02 1.03 1.04
_201 Name2 2.01 2.02 2.03 2.04
_301 Name3 3.01 3.02 3.03 3.04
By default, repeating line indices start with the first index and increment (lowdev and lowperiod descriptors). To start with the last index and decrement, use the highdev and highperiod descriptors. For example, when printing the period data, time, and value for sensor index 1 on date 11/01/1996 at times 08:00, 09:00 and 10:00 with values 1.01, 1.02, and 1.03 using
%lowperiod%
%*%0date[].8.2./ %0time[].8.2.: %data[1[[].8.2
would print starting with the first period index:
11/01/96 08:00:00 1.01
11/01/96 09:00:00 1.02
11/01/96 10:00:00 1.03
and
%highperiod%
%*%0date[].8.2./ %0time[].8.2.: %data[1][].8.2
would print starting with the last period index:
11/01/96 10:00:00 1.03
11/01/96 09:00:00 1.02
11/01/96 08:00:00 1.01
IV. Custom Format Report Time Files
Custom format report time files define time periods for reports as offsets from the report starting or ending time. The time periods do not have to have the same time step. Time files must reside in directory \DW\Rpt\Cfg. There are two methods of specifying time files. One way is by name in which the time file for a report is named in a certain way. Time file for report 1 would be named reporttime1.cfg, for report 2 reporttime2.cfg, etc. Another method of specifying time files is by storing their names in file \DW\Rpt\Cfg\reporttimes.cfg. If done in this way, each line contains the name of a time file with the file for report 1 being on line 1, report 2 on line 2, etc. If specified in this manner, then reports without a time file must have the string "xxx" on the line that would normally specify their time file.
Structure of time files. Custom report time files contain a header line followed by time period offset lines, an example of which is shown below. The first line in a time file is a header specifying the time file type, offset direction from the start or end time, and the time rounding factor as follows:
type direction rounding
Currently, only the "relative" time file type is supported, which states that the period offsets are relative to the start or end time.
The time file offset the direction specifies whether the period offsets are relative to the start or end time. If the direction is specified as "start", then time periods are offset from the report start time, while if specified as "end" they are offset from the report end time.
Time file rounding factors are used to force the report to begin or end on an even time boundary. By default, report time periods are computed to the nearest second from the start or end times. If the start or end time does not end on at even time step (e.g. 1 hour), then the rounding factor can be used to adjust (round down) the start or end time before computing time periods.
For example if a report end time is 11:55:15 and the report period times are to be displayed to he nearest minute, use a 1 minute rounding factor to adjust the end time to the last minute as follows:
relative end 1m
Time period offset lines are used to define period start and end times. These lines can have up to four fields (note that only the first two are required) with the following format:
firstoffset secondoffset rounding limit
For relative time files using period offsets from the start time, the period offsets are added to the adjusted report start time. The firstoffset defines the period start time and the secondoffset the period end time.
For relative time files using period offsets from the end time, the period offsets are subtracted from the adjusted report end time. firstoffset defines the period end time and the secondoffset the period start time.
Time period offsets are expressed as a time count followed by the full singular, plural, or abbreviated time units:
second(s) or s
minute(s) or m
hour(s) or h
day(s) or d
month(s) or months
year(s) or y
______________________________________________________
Relative end 1m
0m 10m
0m 30m
01 1h
0d 1d 1h
0h h
0h 1h 1h
1h 2h 1h
2h 3h 1h
3h 4h 1h
4h 5h 1h
0h h
0h 6h 1h
6h 12h 1h
12h 18h 1h
18h 24h 1h
_____________________________________________________________
Time period offset example from report end time. In a "relative" time file with the offset direction from the "end" time and a rounding factor of 1 minute, 1m, define four periods ending at the adjusted report end time and starting 10 minutes, 30 minutes, 1 hour, and 1 day earlier. Make the 1 day period end at the last hour.
relative end 1m
0m 10m
0m 30m
0h 1h
0d 1d 1h
Note that 0m, 0h, and 0d are all the same offset from the end time. If the report end time was 04/07/2004 at 11:55:15, the period start and end times would be:
04/07/2004 11:45:00 to 04/07/2004 11:55:00
04/07/2004 11:25:00 to 04/07/2004 11:55:00
04/07/2004 10:55:00 to 04/07/2004 11:55:00
04/06/2004 11:00:00 to 04/07/2004 11:00:00
Rounding the period back to the last time unit. If no time count is provided, just the time units, the period offset is rounded back to the last time unit. For example, to define a time period ending at the report end time and starting at the last hour, use:
0h h
or
0h hour
If the report end time was 04/07/2004 at 11:55:15, the period start time and end time would be
04/07/2004 11:00:00 to 04/07/2004 11:55:00
Several time periods with same time step. To define several time periods going back in time with the same time step, make the next time period firstoffset equal to the previous period secondoffset. For example, to define 5 one hour periods:
0h 1h 1h
1h 2h 1h
2h 3h 1h
3h 4h 1h
4h 5h 1h
If the report end time was 04/07/2004 at 11:55:15, the period start and end times would be:
04/07/2004 10:00:00 to 04/07/2004 11:00:00
04/07/2004 09:00:00 to 04/07/2004 10:00:00
04/07/2004 08:00:00 to 04/07/2004 09:00:00
04/07/2004 07:00:00 to 04/07/2004 08:00:00
04/07/2004 06:00:00 to 04/07/2004 07:00:00
Time period offset example from report start time. In a "relative" time file with offset direction from the "start" time and a rounding factor of 1 month, 1month, define 31 periods for each day of the month followed by a period for the entire month. Limit the last 3 daily periods to the length of the month since not all months have 31 days:
relative start 1month
0d 1d
1d 2d
2d 3d
3d 4d
4d 5d
...
27d 28d
28d 29d 1d month
29d 30d 1d month
30d 31d 1d month
0month 1month
If the report start time was between 02/01/1996 at 00:00:00 and 02/29/1996 at 23:59:59 or the report end time was between 02/01/1996 at 00:00:01 and 02/29/1996 at 24:00:00, the report time periods would be:
02/01/1996 00:00:00 to 02/01/1996 24:00:00
02/02/1996 00:00:00 to 02/03/1996 24:00:00
02/03/1996 00:00:00 to 02/04/1996 24:00:00
02/04/1996 00:00:00 to 02/05/1996 24:00:00
02/05/1996 00:00:00 to 02/06/1996 24:00:00
...
02/28/1996 00:00:00 to 02/28/1996 24:00:00
02/29/1996 00:00:00 to 02/29/1996 24:00:00
* 03/01/1996 24:00:00 to 03/01/1996 24:00:00
* 02/29/1996 24:00:00 to 02/29/1996 24:00:00
02/01/1996 00:00:00 to 02/29/1996 24:00:00
Note that the second and third to last periods are starred (*). These periods are past the end of the month limit (29 days in February in leap years) and so they have been set to the same start and end period time .. a zero length period. Zero length periods call the application to print missing data strings for any descriptor listing the period number. Therefore, a report printing daily values for a month would print 29 daily data values, 2 blank strings (not zeroes), and the monthly total.
The native
DataWise® database is composed of two parts. A realtime part which holds the most recent 10,500 data values reported from a sensor and a historical or archived part into which data older than the last 10,500 reports is stored. The archived database has essentially unlimited storage. Storage of data into the historical (or archived) database is automatic. No manual intervention is required. Manual archiving and retrieving is provided by this program but is rarely if ever needed.|
SPECIFY Archive drive first.
|
CHOOSE Tabular Data > Data Archiving on the Main DataWise® Menu. The Archive/Retrieve/View Archived Data screen is displayed.CLICK on Specify Archive Drive to select the drive where the archived data resides.
The Specify location of ARCHIVE files screen is displayed. Key in the correct letter of the drive on which archives reside.CLICK OK to return to the Archive/Retrieve/ View Archived Data screen.. |
|
VIEW Archived data.
|
CHOOSE Tabular Data > Data Archiving on the Main DataWise® Menu. The Archive/Retrieve/View Archived Data screen is displayed.CLICK on View Sensor Data to view archived data. The View Archived Data screen is displayed.
SELECT the sensor from the Sensor drop-down list.SELECT the month from the Month drop-down list.SELECT the year from the Year drop-down list.CLICK on View raw data if you wish to view raw data, otherwise you will see converted data values.CLICK on OK. |
|
|
The Archived data report for selected month and year is displayed. |
|
ARCHIVE Sensor data.
|
CHOOSE Tabular Data > Data Archiving on the Main DataWise® Menu.The Archive/Retrieve/ View Archived Data screen is displayed.
CLICK on Archive Sensor Data to archive data. The Archive screen is displayed. |
|
|
SELECT the sensor from the Sensor drop-down list.SELECT the month from the Month drop-down list or SELECT Archive all months if you wish to archive an entire year.SELECT the year from the Year drop-down list.SELECT Archive data for all sensors if you wish to archive data for all sensors for the month and year specified.The default Directory is drive:\ARCHIVE with drive being the letter of the drive where DataWise® resides.
CLICK on Archive. The Completion, Archiving Done screen is displayed. Click on OK then EXIT to return to the Archive/Retrieve/ View Archived Data screen. |
|
RETRIEVE Archived data.
|
CHOOSE Tabular Data > Data Archiving on the Main DataWise® Menu. The Archive/Retrieve/View Archived Data screen is displayed.
CLICK on Retrieve Archived Data to retrieve or put data back into the database. The Retrieve Sensor Data screen is displayed.SELECT the sensor from the Sensor drop-down list.SELECT the month from the Month drop-down list or SELECT Retrieve all months if you wish to retrieve an entire year.SELECT the year from the Year drop-down list.SELECT Retrieve data for all sensors if you wish to retrieve data for all sensors.ENTER the Directory where the data resides. The default is Drive:\ARCHIVE with Drive being the directory where DataWise® resides.
CLICK on Retrieve. The Completion, Retrieving Done screen is displayed. Click on OK then EXIT to return to the Archive/Retrieve/ View Archived Data screen. |
5.4 MAPS
Sensor data can be plotted on maps in either dynamic or static form and using either historical or real-time data. DataWise® provides you with the option to work with sensor maps or data maps. The following sections explain how to define a map and how to display sensor and contour maps.
5.4.1 DEFINING MAPS
Before a map can be displayed, the sensors to be displayed on it and the map background itself must be defined. Map backgrounds can be either standard Bitmap files or Vector Maps, which can be produced from Geographic Information System (GIS) systems (such as, Arcinfo). There are two types of maps, one of which the data values are just plotted on the map and the other which use color and shading to produce a contour map such as isopleth analysis. Most users prefer the contour maps.
Bitmap map backgrounds must be stored in directory \dw\bitmaps. Maps are numbered. Map background 1 must be named: mapbackground1: map1.bmp - mapbackground 2: map2.bmp, etc.
Vector map backgrounds must be stored in directory \dw\param. Vector maps are also numbers. Vector map background 1 must be named mapbkgnd1.par, etc.
Before building maps, you must obtain a suitable map background (such as, a bitmap from a map source, or vector map from Arcinfo). DataWise® can provide maps for you as a custom service. Contact DEC Data Systems if needed.
Other things you will need to know are the latitude/longitude of your map(s) and the latitude/longitude of your sensors (which should have been defined in section 2.4.2 Defining Sensors when you configured DataWise®.
Follow the steps below to define a new sensor map.
|
DEFINE a new sensor map.
|
CHOOSE Edit > Define/Edit Maps from the Main DataWise® Menu. The Define Maps screen is displayed.
CHOOSE File > Add/Edit Map from the Define Maps screen. The Edit Map screen is displayed. |
|
|
ENTER Map Name (alphanumeric, limited to 40 characters) and coordinates: North, South, East and West.CLICK on Add. When you add a new map, it is automatically added to the list shown.CLICK on Copy boundaries from map if you would like to copy coordinates from a previously defined map.CLICK on Save.CLICK on X to return to the Define Maps screen. |
|
EDIT an existing sensor map.Note You cannot edit map backgrounds. These must be imported as described in the beginning of this section (5.4.1.).
|
CHOOSE Edit > Define/Edit Maps from the Main DataWise® Menu. The Define Maps screen is displayed.CHOOSE File > Add/Edit Map. The Edit Map screen is displayed.SELECT a map to edit from the drop-down list. This is a list of all maps, which are in your database to date.ENTER new coordinates: North, South, East and West.CLICK on Save.CLICK on X to return to the Define Maps screen. |
|
|
ADD sensors to a map.
|
|
|
|
|
|
Note The top list displays those sensors currently defined for the map. The bottom list displays all sensors in your database.
Note If the sensor is already included in the top list (added to the chosen map), DataWise® will advise you.
Note You must go to the Edit Sensor procedure, section 2.4.2, to define sensor values.
|
|
|
REMOVE sensors from a map by CHOOSing Sensors > Add/Delete Sensors from the Define Maps screen. The Add/Remove Sensors in Map screen is displayed.Note The top list displays those sensors currently defined for the map. The bottom list displays all sensors in your database.
|
5.4.2 DISPLAYING SENSOR MAPS
Sensor data can be plotted on maps in either dynamic or static form and using either historical or real-time data. Most new backgrounds are bitmap files. Vector maps are included to allow you to keep your investment in old Enhanced ALERT or Data Command maps you may have.
Note
This section is discussing non-contour maps. See Section 5.4.3 for steps on displaying contour maps.
Map Options include:
Follow the steps below to display sensor maps.
|
DISPLAY a sensor map.
|
CHOOSE Graphical Data > Maps or CLICK on the Maps icon (looks like a map and is 7th from top) on the Main DataWise® Menu. The Graphic Maps Setup screen is displayed.SELECT the desired map (by number and description) from the pull-down box.Note The map must have been previously defined as described in the steps for "Defining Sensor Map, above." |
|
|
CHOOSE the desired type of map background by either CHECKing or un-CHECKing the Vector Map box. Un-checked, a bitmap background will be used.CLICK on the box for the White Background for Vector Maps only.CLICK on the box for Sensor Units to display abbreviated sensor units as well as sensor values on the map.SCROLL to or TYPE in the Time Step to specify the time period (numeric), which a map will display.SELECT Minutes, Hours, or Days from the pull-down menu.ENTER Ending Date/Time in format mm/dd/yy xxxx. This is the valid time of the map.SCROLL to or TYPE in the Number of Periods to specify the number of maps which you want to be scrolled through, each with a time step specified in the Time Step field.CHECK Real-time Updating to format the map to update in real-time at Update Interval minutes.CHECK Fixed Start Time to set a map display time period which increases in length instead of staying fixed at the initial Time Step interval.ENTER the Update Interval (numeric).CLICK on Data Color to change the color on the sensors and sensor data.CLICK on Alarm Color to change the color on sensors associated with alarmsCLICK on Text Color to change the text color of the map values.CHECK Opaque or Transparent to change the Data Values Background.CHECK Opaque or Transparent to change the Text Background.Note You may also change colors by using the file menu as discussed below. CHECK Show Sensors Only to display only the sensor locations on the map. You may then CLICK on any sensor number on the map to display the Show Data screen with data values.CHECK Full Screen Map to display a full screen mapCLICK on Set Font to change the font |
|
|
CLICK on Start to display the DataWise® Map screen. The map shown is a typical precipitation map. |
|
|
CLICK with left mouse button on any sensor reading on the map to display the ShowData screen. Actual data values are shown. |
|
NOTE If the map is updating in real-time, the time series plots also update. NOTE If more than one time period has been specified, scroll through them by clicking on the top window bar, right for forward in time, left for backwards. |
CHOOSE a File > [option] depending on what you want to do. Options are:CLICK on X to leave the Graphic Maps Setup screen and again to return to the Main DataWise® Menu. |
Note:
You may create a batch file to capture graphic maps files by creating a command line, similar to that shown below. It can be used in Scheduler to create maps automatically.
dwgmap d=mm/dd/yy t=hhmm s=lh g=map +old +white -s File = xxx.gif
Sensor data can be plotted on maps in isohyetal form in either dynamic or static form and using either historical or real-time data. The data required for the contour map is very similar to sensor maps, above. The screen, too, is similar, except that the screen contains no vector map option. Follow the steps below to display a contour or isohyetal map.
|
DISPLAY a contour or isohyetal map. |
CHOOSE Graphical Data > Contour Maps on the Main DataWise® Menu. The Graphic Maps Setup screen is displayed. |
|
|
SELECT the desired map (by number and description) from the pull-down box.Note The map must have been previously defined as described in the steps for "Defining Sensor Map, above." |
|
|
CLICK on the box for the White Background for Vector Maps only.CLICK on the box for Sensor Units to display abbreviated sensor units as well as sensor values on the map.SCROLL to or TYPE in the Time Step to specify the time period (numeric), which a map will display.SELECT Minutes, Hours, or Days from the pull-down menu.ENTER Ending Date/Time in format mm/dd/yy xxxx. This is the valid time of the map.SCROLL to or TYPE in the Number of Periods to specify the number of maps which you want to be scrolled through, each with a time step specified in the Time Step field. |
|
|
CHECK Real-time Updating to format the map to update in real-time at Update Interval minutes.CHECK Fixed Start Time to set a map display time period which increases in length instead of staying fixed at the initial Time Step interval.ENTER the Update Interval (numeric).CLICK on Data Color to change the color on the sensors and sensor data.CLICK on Alarm Color to change the color on sensors associated with alarms.CLICK on Text Color to change the text color of the map values.CLICK on Opaque or Transparent for the Data Background and Text Background.To set up the Custom Map Colors for the Rain Rate Color Indicators SELECT a desired group number and ENTER a name. ENTER the reading in which you wish to assign a color to. CLICK on the color box to the left of the corresponding reading. The Color screen is displayed. This allows you to customize the color you want to appear for a corresponding reading. After desired color is selected CLICK on OK. Repeat these steps for all readings you wish to assign a color. ENTER a Threshold. CLICK on Save to save that color scheme.CHECK the Use Custom Colors box to apply one of these color schemes.CLICK on Set Font to change the font |
|
|
CLICK on Start to display a DataWise® [Contour] Map.CLICK with left mouse button on any sensor reading on the map to display the ShowData screen. Actual data values are shown on the left and a time series plot on the right.CHOOSE a File > [option] depending on what you want to do. Options are:CLICK on the X box to leave the Graphic Maps Setup screen and return to the Main DataWise® Menu. |
Note:
You may create a batch file to capture graphic maps files by creating a command line, similar to that shown below. It can be used in Scheduler to create maps automatically.
5.5 TIME SERIES PLOTS
Data from up to four sensors can be plotted at one time. Graphs may be viewed in two different plotting packages: Old and New Style. The following sections describe steps to create old style and new style plots.
5.5.1 TIME SERIES PLOTS IN OLD STYLE
The following is a sample of an Old Style plot. The names of the sensors correspond to the colors. The Sensor name is shown. The sensor number is shown with a bar through it. The vertical axis is the data value. The horizontal value is the time.

Follow the steps below to plot data in Old Style.
|
PLOT data in Old Style.
|
CHOOSE Graphical Data > Graphs Old Style or CLICK on the Graph icon (5th from the top) on the Main DataWise® Menu. The Plot screen is displayed. |
||
|
|
CHOOSE Setup > Select Sensors from the Plot screen menu. The Sensors screen is displayed.ENTER the data fields shown in the screen to specify the parameters of the graph.
|
||
|
|||
|
|
Note CLICK ing the left or right arrow keys will cause the plot to scroll through all requested data.Note If you CLICK on the X box to exit the plot, DataWise® takes you back to the Main DataWise® Menu. If you want to return to the Sensors screen to adjust data or view other plots, CHOOSE Setup > Select Sensors from the Plot screen menu. CLICK on the X box or CHOOSE File > Exit to return to the Main DataWise® Menu. |
||
5.5.2 TIME SERIES PLOTS IN NEW STYLE
Follow the steps below to plot data in New Style.
|
PLOT data in New Style. |
CHOOSE Graphical Data > Graphs New Style or CLICK on the Bar Graph icon (6th from top) on the Main DataWise® Menu toolbar. The Sensor Plot screen is displayed. |
||
|
|
CLICK on Sensors > Sensors. The Select Sensors to Plot screen is displayed.ENTER the data fields shown in the screen to specify the parameters of the graph.
Note To enter sensors easily, it is best to jot down the sensor IDs and enter them in the Sensor ID fields. Otherwise, you must CLICK on the Sensor ID field BEFORE highlighting a sensor from the box below. Do not click on the Sensor name field to do this. |
||
|
|
|
||
|
|
|
||
|
|
CLICK on OK to view plot. A plot similar to the figure shown is displayed.USE the icons at the top of the screen to Print, Save to File, or change most plot parameters.Note If you CLICK on the X box to exit the plot, DataWise® takes you back to the Main DataWise® Menu. If you want to return to the Select Sensors to Plot screen to adjust data or view other plots, CHOOSE Sensors > Sensors from the Sensor Plot screen menu. |
||
|
|
Note Click on any Icon to see all tools listed on tabs, with examples and additional details of each function. CLICK on the X box or CHOOSE File > Exit to return to the Main DataWise® Menu. |
||
5.6 VIEWING ANIMATED GRAPHICS
The DataWise® "Animated Graphics" application allows the display of data in a wide variety of graphical formats. Historical or real-time data can be displayed.
For in depth instructions on using the Graphic Design Tool see Section 9.11 Graphic Design Screen
|
Animated Graphics screens are stored as text files with extension .tpt and reside in directory \DW\Templet. The DataWise® Graphic Design Tool is used to develop these animated graphic screens, however, the text files that describe the screens can be manually editing with a text editor. The commands are listed in Appendix A in the Datawise Users Manual. The program to display animated graphics screens is accessed by selecting the "View" pull-down menu from the main DataWise® screen and selecting "Animated Graphics" as shown in Figure 1, or by clicking the "Animated Graphics" button on the main DataWise® menu.
Figure 1. Displaying animated graphics screens
The default screen displayed is "ctrlpanel.tpt". Other screens can be displayed by selecting them from the "File" pull-down menu of the animated graphics screen. The animated graphics display program, \DW\Utils\overview.exe can be started with one runtime option, that being the name of the templet to show at startup time. New screens can be designed or existing screens modified by selecting the "Graphic Screen Design" menu item from the "Tools" pull-down menu (Figure 2) as described in Section 9.11 Graphic Design Screen .
Figure 2. Selecting "Graphic Screen Design"
|
5.7 PRECIPITATION REPORTS
DataWise®
provides an extensive suite of precipitation analysis routines, collectively referred to as Precipitation Reports. Five different types of reports can be generated.Subsections 5.7.1 through 5.7.6 give you steps for creating each of these precipitation reports.
Before viewing any of the five types of precipitation reports DataWise® provides, you must create a group of sensors. Precipitation reports can be produced for groups of predefined sensors or from sensors selected at report generation time.
The following steps explain how to create groups of sensors for precipitation reports.
|
CREATE groups of sensors for Precipitation Reports.
|
CHOOSE View > Precipitation Reports from the Main DataWise® Menu. The Precipitation Reports screen is displayed. |
|
|
CHOOSE File > Edit Groups. The Edit Sensor Group screen is displayed.To CREATE a new group, follow the steps below:
Note If you make a mistake, SELECT the sensor you do not want and CLICK on the Remove box. DataWise® asks you to confirm that you want the sensor deleted. CLICK on Yes to confirm.
|
|
|
To CHANGE an existing group:
Note If you make a mistake, SELECT the sensor you do not want and CLICK on the Remove box. DataWise® asks you to confirm that you want the sensor deleted. CLICK on Yes to confirm.
|
The following is an example of an
Hourly (Annual) Report as it looks from your screen.
Follow the steps below to create an
Hourly (Annual) Report.|
CREATE an Hourly (Annual) Report.
|
CHOOSE View > Precipitation Reports from the Main DataWise® Menu. The Precipitation Reports screen is displayed. |
|
|
|
CHOOSE Reports > Hourly (Annual). The Annual Monthly Precipitation Report screen is displayed.ENTER data requested to define the parameters of the report.
|
|
Note The toolbar at the top of the Report screen provides options for Change Font, Copy to Clipboard, Print, Print as Text, Save as, and Exit. |
||
|
CHOOSE File > Exit or CLICK on the Exit icon or on the X box to return to the Annual Monthly Precipitation Report screen.CHANGE your entries to create a new report by following the steps above OR CLICK on the X box to return to the Precipitation Reports screen. |
||
5.7.2 CREATE AN ANNUAL MAXIMUM RAINFALL REPORT
The following is an example of an Annual Maximum Rainfall Report as it looks from your screen.

Follow the steps below to create an Annual Maximum Rainfall Report.
|
CREATE an Annual Maximum Rainfall Report.
|
CHOOSE View > Precipitation Reports from the Main DataWise® Menu. The Precipitation Reports screen is displayed. |
|
|
CHOOSE Reports > Annual Max. The Annual Maximum Rainfall Report screen is displayed.ENTER the edit fields to define the parameters of the report.
|
|
|
Note The toolbar at the top of the Report screen provides options for Change Font, Copy to Clipboard, Print, Print as Text, Save as, and Exit. CHOOSE File > Exit or CLICK on the Exit icon or on the X box to return to the Annual Maximum Rainfall Report screen.CHANGE your entries to create a new report by following the steps above OR CLICK on the X box to return to the Precipitation Reports screen. |
The following is an example of a Daily Precipitation Report as it looks from your screen.

Follow the steps below to create a Daily Precipitation Report.
|
CREATE a Daily Precipitation Report.
|
CHOOSE View > Precipitation Reports from the Main DataWise® Menu. The Precipitation Reports screen is displayed. |
|
|
|
CHOOSE Reports > Daily Report. The Daily Precipitation Report screen is displayed.ENTER the edit fields to define the parameters of the report.
|
|
|
|
Note The toolbar at the top of the Report screen provides options for Change Font, Copy to Clipboard, Print, Print as Text, Save as, and Exit. CHOOSE File > Exit or CLICK on the Exit icon or on the X box to return to the Daily Precipitaiton Report screen.CHANGE your entries to create a new report by following the steps above OR CLICK on the X box to return to the Precipitation Reports screen. |
|
The following is an example of an Hourly (Month) Report as it looks from your screen.

Follow the steps below to create an Hourly (Month) Report.
|
CREATE an Hourly (Month) Report.
|
CHOOSE View > Precipitation Reports from the Main DataWise® Menu. The Precipitation Reports screen is displayed. |
|
|
CHOOSE Reports > Hourly (Month). The Hourly Precipitation Report (One Month Period) screen is displayed.ENTER the edit fields to define the parameters of the report.
|
|
|
Note The toolbar at the top of the Report screen provides options for Change Font, Copy to Clipboard, Print, Print as Text, Save as, and Exit. CHOOSE File > Exit or CLICK on the Exit icon or on the X box to return to the Hourly Precipitation Report (One Month Period) screen.CHANGE your entries to create a new report by following the steps above OR CLICK on the X box to return to the Precipitation Reports screen. |
The following is an example of a Yearly (Multiple) Report as it looks from your screen.
Note
This report is not computed off of the real-time database. This was an add-on capability. You must manually create some configuration files for this to work correctly. If you need this report, contact DEC Data Systems before trying to create this report.

Follow the steps below to create a Yearly (Multiple) Report.
|
CREATE a Yearly (Multiple) Report.
|
CHOOSE View > Precipitation Reports from the Main DataWise® Menu. The Precipitation Reports screen is displayed. |
|
|
CHOOSE Reports > Yearly (Multiple). The Multiple Year Precipitation Report screen is displayed.ENTER the edit fields to define the parameters of the report.
|
|
|
Note The toolbar at the top of the Report screen provides options for Change Font, Copy to Clipboard, Print, Print as Text, Save as, and Exit. CHOOSE File > Exit or CLICK on the Exit icon or on the X box to return to the Multiple Year Precipitation Report screen.CHANGE your entries to create a new report by following the steps above OR CLICK on the X box to return to the Precipitation Reports screen.CHOOSE File > Exit or CLICK on the X box to return to the Main DataWise® Menu. |
The following is an example of a Days with Precipitation Report as it looks from your screen.

Follow the steps below to create a
Days with Precipitation Report.|
CREATE a Days with Precipitation Report.
|
CHOOSE View > Precipitation Reports from the Main DataWise® Menu. The Precipitation Reports screen is displayed.CHOOSE Reports > Days with Rain. The Count screen is displayed.ENTER the edit fields to define the parameters of the report.
Note The toolbar at the top of the Report screen provides options for Change Font, Copy to Clipboard, Print, Print as Text, Save as, and Exit. CHOOSE File > Exit or CLICK on the Exit icon or on the X box to return to the Multiple Year Precipitation Report screen.CHANGE your entries to create a new report by following the steps above OR CLICK on the X box to return to the Precipitation Reports screen.CHOOSE File > Exit or CLICK on the X box to return to the Main DataWise® Menu. |
This program allows a user to view a record of all data collection activities.
|
VIEW Polling Log
|
CHOOSE Logs > Polling Log from the Main DataWise® Menu. The View Polling Log screen is displayed.
CLICK on Refresh to purge contents of log file.CLICK on Exit to return to the Main DataWise® Menu. |
This program allows a user to view a log of all dates and times DataWise® was started and stopped.
|
|
CHOOSE Logs > System Log from the Main DataWise® Menu. The Start/Stop Log screen is displayed.
CLICK on Purge Log to purge contents of log file. The Save dialog box is displayed.
CLICK on Yes if you wish to save contents of log to a file. The Save As dialog box is displayed.
CLICK on Save. The file will be stored in \DW\Log in the format of SysStrt.mm.dd.yyyy. |
6.0 Hydrologic Analysis and Forecasting
DataWise®
comes standard with headwater forecasting modules based on the Sacramento Soil Moisture Accounting model. Additional modules are available to provide interfaces to HECIF. In addition, various channel and reservoir routing models are included as part of the basic system. Use of this software requires hydrological back ground and operation of the model is covered in SACRAMENTO SOIL MOISTURE ACCOUNTING MODEL by ROBERT J. C. BURNASH & LARRY FERREL, U.S.NATIONAL WEATHER SERVICE, SACRAMENTO RIVER FORCAST OFFICE, SACRAMENTO, CALIFORNIA.
6.1 HEADWATER FORECASTING
The Headwater Forecasting Model uses the code developed by the National Weather Service.
|
|
CHOOSE Models > Watershed Model from the Main DataWise® Menu. The SSMA Parameter Definition screen is displayed.SELECT a Watershed from Watershed list Box. If you select an Undefined the program will define it.
CHECK the Forecasting Active Box to turn on all headwater forecasting. Unchecking will turn all headwater forecasting off.
CLICK on DELETE to delete a selected forecast point.CLICK on ENGLISH for units in inches or METRIC for units in millimeters.CLICK on Disabled or Active in the Status box to disable or enable a selected point.
SELECT a Time Step by scrolling up or down in the Time Step edit field to choose how often the model will run. You must select from one of the available time steps.
ENTER the size of the basin in the Drainage Area field.
ENTER the Mean Daily Potential Evapo-transpiration for each month. This is the average Evapotranspiration per day for that month, in inches if English units checked or millimeters if Metric checked. |
|
|
To complete the remaining parameters refer to documentation on the Sacramento Soil Moisture Accounting Model for a complete definition. UZTW - Upper zone tension water. Enter value for capacity and contents.UZFW - Upper zone free water. Enter value for capacity and contents.LZTW - Lower zone tension water. Enter value for capacity and contents.LZFWS - Lower zone free water supplemental. Enter value for capacity and contents.LZFWP - Lower zone free water primary. Enter value for capacity and contents.ADIMP - Additional Impervious.ADIMC - Additional Impervious contents.PFREE - Percolation parameter - rate of percolation.UZK - Upper zone drainage rate coefficient.LZSK - Lower zone supplemental coefficient.LZPK - Lower zone primary coefficient.REXP - Shape of percolation curve. |
||
|
|
CLICK on Precip from the SSMA Parameter Definition screen. The Precipitation Sensors screen is displayed.SELECT the Sensors you wish to use to compute the mean basin rainfall. The formula for mean basin rainfall is as follows.Mean basin precip = å (WT(I) x SIG(I) x RAIN(I)) / å SIG(I) Where WT(I) = Weight of Ith Sensor, SIG(I) = Significance of Ith sensor, RAIN(I) = period rainfall for the Ith sensor. CLICK on Add and the sensor will appear in the box on left with the following values.Weight - Used to a scale factor that when multiplying X rainfall at the sensor, gives an estimate of mean basin rainfall. Significance - Measure of the relative importance of the site compared to other sites. In Use - Yes means site will be used in computation of mean basin rainfall. This can be turned on or off. CLICK on Edit to change the values listed above.CLICK on Delete to delete a selected sensor.
CLICK on Unitgraph from the SSMA Parameter Definition screen. The Unitgraph screen is displayed.See documentation on Sacramento Soil Moisture Accounting Model for complete instructions.
CLICK on Import to browse to select a file. The Import from File screen is displayed.See documentation on Sacramento Soil Moisture Accounting Model for complete instructions.
CLICK on Insert to insert a unitgraph entry. The Edit / Add Untigraph Entries screen is displayed.See documentation on Sacramento Soil Moisture Accounting Model for complete instructions. CLICK on Delete to delete a unitgraph entry.
CLICK on Save to save and exit.
CLICK on Routing from the SSMA Parameter Definition screen. The Routing screen is displayed.See documentation on Sacramento Soil Moisture Accounting Model for complete instructions on this screen.
CLICK on OK to return to the SSMA Parameter Definition screen.
After all entries are correct CLICK on Save then Exit to return to the Main DataWise® Menu. |
|
6.2 CHANNEL/RESERVOIR FORECASTING
The Channel/Reservoir Forecasting Model routing is based on a layered K&L method.
|
|
CHOOSE Models > Channel / Reservoir Model from the Main DataWise® Menu. The Routing Initialization screen is displayed.CHECK the Channel / Reservoir System Enabled box to produce a forecast by routing model. Routing Model will not run if unchecked.CLICK on Enabled to define a river system then ENTER its name in the River System Edit field.CLICK the numbered button under Edit to define the parameters for the new river system.The River System screen is displayed.CHECK a numbered box under Options if you want to produce a forecast for a rainfall scenario for that number. These are precipitation scenarios that are defined using Models > Precipitation Scenarios. See following section 6.3.If no boxes checked, it will only produce a report with no additional rainfall.For each forecast point you want to define CLICK disabled. The Reservoir Query screen will be displayed.
CLICK Yes for a reservoir or No for a Channel.If you CLICK No you will have a new CHANNEL button under Routing Parms on the River System screen. If you CLICK Yes you will have 2 new buttons RESERVOIR and INFLOW.
CLICK on the Inflow button next to the CHANNEL button to bring up the Inflow Select screen to define inflows for that point.
CLICK on the Upstream Headwater Inflows to define each upstream headwater inflow. The Upstream Headwater Inflows screen will appear. |
|
|
|
SELECT the Upstream Headwater Inflow Point by scrolling up or down below the # sign.ENTER the Lag. This is the delay in minutes from where headwater is being forecast to where the channel forecast point is.ENTER the Multi-plication Scale FactorUsually 1, if larger it is meant to take into account uncalibrated or ungaged local inflows. ENTER the ID#. This is the sensor ID # of the water level device at the headwater point. Can be blank.CHECK Adjustment Flag if you want the forecast adjusted based on what is being observed at the upstream forecast point.CLICK on OK to bring you back to the Inflow Select screen.CLICK on Downstream Headwater Inflows to define each downstream headwater inflow. The Downstream Headwater Inflows screen will appear. |
|
|
|
SELECT the Downstream Headwater Inflow Point by scrolling up or down below the # sign.ENTER the Lag. This is the delay in minutes from where headwater is being forecast to where the channel forecast point is.ENTER the Multi-plication Scale FactorUsually 1, if larger it is meant to take into account uncalibrated or ungaged local inflows. ENTER the ID#. This is the sensor ID # of the water level device at the headwater point. Can be blank.CHECK Adjustment Flag if you want the forecast adjusted based on what is being observed at the upstream forecast point.CLICK on OK to bring you back to the Inflow Select screen.CLICK on Upstream Mainstem Inflows to define each upstream mainstem inflow. The Upstream Mainstem Inflows screen will appear. |
|
|
|
SELECT the River # and Forecast Point # on river by scrolling up or down on scrollbar.ENTER the Lag. This is the time in minutes it takes water to get from where it is upstream to where you are forecasting at.ENTER the Sensor ID#. This can be blank.CHECK Adjustment Flag if you want the forecast adjusted based on what is being observed at the upstream forecast point.CLICK on SAVE then CANCEL to bring you back to the Inflow Select screen.CLICK on Downstream Mainstem Inflows to define each downstream mainstem inflow. The Downstream Mainstem Inflows screen will appear.
SELECT the River # and Forecast Point # on river by scrolling up or down on scrollbar.ENTER the Lag. This is the time in minutes it takes water to get from where it is upstream to where you are forecasting at.ENTER the Sensor ID#. This can be blank.CHECK Adjustment Flag if you want the forecast adjusted based on what is being observed at the upstream forecast point.
CLICK on SAVE then CANCEL to bring you back to the Inflow Select screen.
CLICK on DONE to bring you back to the River System screen.
CLICK on CHANNEL to input Routing Parameters. The Configure Routing Parameters screen will appear.
Input the desired Routing Parameters.For Layer - Metric is cubic meters per second, English is cubic feet per second.
If you CLICKED YES on the Reservoir Query screen, you will have 2 buttons. RESERVOIR and OUTFLOW.
CLICK on the Inflow button next to the RESERVOIR button to bring up the Inflow Select screen to define inflows for that point.See above Instructions under Channel to define inflows. CLICK on the RESERVOIR button to bring up the Reservoir Routing / Reservoir Configuration Choice screen.CLICK on the Routing Parameters button to bring up the Configure Routing Parameters screen.
Input the desired Routing Parameters.For Layer - Metric is cubic meters per second, English is cubic feet per second.
CLICK on OK to return to the Reservoir Routing / Reservoir Configuration Choice screen.
CLICK on the Reservoir Configuration button to bring up the Reservoir Configuration screen.If no Gated Outflows - UNCHECK. If there are gated openings then you need to have a sensor defined for each gated opening that measures how far open the gate is. To do this CHECK Gated Outflows then CLICK on the Edit Configuration button for Gated Outflows.The Gated Outflow Configuration screen will appear. |
|
|
|
ENTER the Sensor Number and Elevation at bottom of gate for each Gate.
CLICK on the OK to return to the Reservoir Configuration screen. |
|
|
|
CHECK Un-Gated Spillways then CLICK on the Edit Configuration button for Un-Gated Spillways.
The Spillways screen is displayed. |
|
|
|
ENTER the Rating Table Number for the spillway or "None" and Elevation at the bottom of spillway for each spillway. You will need to have previously entered rating tables for each spillway being used. To do this use Configure Rating Tables.CLICK on the OK to return to the Reservoir Configuration screen. |
|
|
|
CHECK Hydro-Electric Generation Outflows then CLICK on the Edit Configuration button for Hydro-Electric Generation Outflows.
The Hydropower screen is displayed.
ENTER a Sensor Number in the edit field for each Generator. Each generator needs to have a sensor associated with it.In the Outflow Determined By Field:CHECK Power Generated by Turbine if you have a sensor that measures the power being generated by that turbine and sensor must have a rating table associated with it that converts power being generated by the turbine to flow going through the turbine.CHECK Flow Passing Through Turbine if you have a sensor that just measures the flow going to the turbine, usually a manually input sensor.ENTER Tailwater Sensor if tailwater needs to be taken into account.CLICK on OK to return to the Reservoir Configuration screen.CHECK Lake Surface Evaporation then CLICK on the Edit Configuration button for Lake Surface Evaporation.The Lake Surface Evaporation screen is displayed.
CHECK Monthly or Weekly in the Evaporation Specification field. For each month or week, depending on which is checked, ENTER the daily amount of evaporation off the lake.ENTER the Rating Table #.
CLICK on Save then Cancel to return to the Reservoir Configuration screen.
CLICK on OK then DONE to return to the River System screen.
CLICK on the OUTFLOW button to bring up the Configure Routing Parameters screen.
ENTER desired Routing Parameters.
CLICK on OK to return to the River System screen.
CLICK on Save then Done to return to the Routing Initialization screen then Save then Exit to return to the main DataWise® Menu. |
|
|
|
CHOOSE Models > Precipitation Scenarios from the Main DataWise® Menu. The Define Forecasted Precipitation screen is displayed.CLICK on a Case to define a precip. scenario. Ex. What if it rains this much in this much time. For each headwater point, you can define up to 5 cases.
The Case # Precipitation Scenarios screen will appear.ENTER the Amount of Rain and Time period in which it will occur for each period.CLICK on OK to return to the Define Forecasted Precipitation screen then Exit to return to the main DataWise® Menu. |
DataWise®
supports an extensive array of alarm evaluation and alarm response functions. DataWise® supports up to 32,000 different types of alarm actions to be taken when an alarm occurs. Alarm actions can range from simply beeping and flashing on a computer screen to providing automated paging, faxing, or e-mail. The actions can also be as complex as actually controlling pumps and gates.DataWise®
comes standard with alphanumeric paging support for most known pagers. Supporting software is provided for any currently unsupported pager protocol. DataWise® alarm handling functions include Dectalk as well as many of the more modern speech synthesizer cards.Alarms fall into two basic categories: Simple Alarms and Complex Alarms.
Note
Section 2.4.3 of this User’s Manual provides instructions for defining Simple Sensor Alarms.
The remaining subsections give instructions for other alarm management activities, including:
7.1 VIEWING ALARMS
Whenever alarm conditions are met for a sensor, an alarm is generated and an entry in the system’s alarm log is generated. Follow the steps below to view alarms.
|
VIEW Active Alarms.
|
CHOOSE Tabular Data > Alarms from the Main DataWise® Menu. The Alarm Display screen is displayed.Note This same screen is automatically displayed when an alarm is generated. |
|
|
CHOOSE View Alarms > Active Alarms from the Alarm Display screen menu.
Note CLICK on Alarm Off to turn the audible portion off; this does not acknowledge the alarm. CLICK on Acknowledge to turn the alarm off and acknowledge it.
CLICK on Finish to return to the Alarm Display screen |
|
VIEW Historical Alarms.
|
CHOOSE Tabular Data > Alarms from the Main DataWise® Menu. The Alarm Display screen is displayed. |
|
|
CHOOSE View Alarms > Historical Alarms. The Historical screen is displayed.
|
|
|
CLICK on Change log files to import a saved log file from an earlier session. The Open screen is displayed. From this screen you may select the required file.CLICK on Cancel or on the X box to return to the Historical screen.CLICK on Okay or on the X box to return to the Alarm Display screen.CLICK on X box to return to the from the Main DataWise® Menu. |
|
|
CHOOSE Tabular Data > Alarms from the Main DataWise® Menu. The Alarm Display screen is displayed. |
|
|
CHOOSE View Alarms > Print Alarms from the Alarm Display screen.The Print Alarms screen is displayed. SELECT SELECT
SELECT |
|
CHANGE Wave Sounds.
|
CHOOSE Tabular Data > Alarms from the Main DataWise® Menu. The Alarm Display screen is displayed.SELECT Wave Sounds > Import Wave File. The Open screen is displayed. |
|
|
Here you can
BROWSE to find wave files to associate with specific alarm conditions.
SELECT the sound you prefer and CLICK on Open. This will import the selected wave file, making it available for linking to a specific alarm condition.
SELECT Link Wave Files to link a selected wave file to a specific sensor and alarm condition. The Wave Files screen will be displayed.
HIGHLIGHT the Sensor, Alarm Action and Wave File you wish to play for the selected alarm condition.CLICK on ADD. Do this for as many sensors/alarm actions as you wish thenCLICK Save and Done to return to the Alarm Display screen. |
|
PURGE Alarms.
|
CHOOSE Tabular Data > Alarms from the Main DataWise® Menu. The Alarm Display screen is displayed. |
|
|
CHOOSE Purge > Purge Log. The Purge confirmation screen is displayed.CLICK on Yes to save the current log. The Save As screen is displayed.ENTER a filename or SAVE to the filename DataWise® provides.CLICK on Cancel or on the X box to return to the Alarm Display screen.CLICK on the X box to return to the from the Main DataWise® Menu. |
7.2 EMAIL ALARM CONFIGURATION
This allows a
DataWise® user to set up an email address file to be used to send notifications if an alarm occurs on a specific alarm action or port. In order for this to work you must also set up an alarm action for each port for which you set up an email address file. This is set up under Define Sensors -> Add/Edit Alarm Actions as described in section 2.4.5. Also, to use this feature you must install SendmimePro on your server. Contact DEC Data Systems for information on obtaining and installing this program.|
|
CHOOSE Configure > Email Alarms Configuration from the Main DataWise® Menu. The Email Alarms Configuration screen is displayed.SELECT an Alarm Action #. This is the port on which an action will be taken if an alarm occurs.CHECK Bypass MTA if you want to bypass Server Address and send mail directly from Sender Address to Email Address list. ENTER the Server Address (SMTP).ENTER the Sender Address.ENTER the Email Addresses of the contacts to be notified if an alarm occurs.CLICK on Save and Done to store this information in a file and return to the Main DataWise® Menu.To DELETE an Email Address File for an alarm action, SELECT the Alarm Action #. CLICK on the Delete button. You will get a Delete Confirmation message box. CLICK on Yes to continue with the delete or No to cancel.
CLICK on Done to return to the Main DataWise® Menu. |
This allows a
DataWise® user to set up a control for an action to be performed if an alarm condition occurs on a specific alarm action or port. Examples of this could be to turn on a light, siren, strobe, etc.|
|
CHOOSE Configure > Contact Closure Alarms from the Main DataWise® Menu. The Contact Closure Configuration screen is displayed.
SELECT an Alarm Action #. This is the port on which an action will be taken if an alarm occurs.SELECT the Digital I/O Port.SELECT the Contact closure time in milliseconds. |
7.4 TESTING ALARMS
This is often used to test a new alarm added to the system to ensure it has been connected correctly. To change a voice alarm telephone number, follow the steps below.
|
TEST Alarms.
|
CHOOSE Tools > Test Alarms from the Main DataWise® Menu. The Test Alarms screen is displayed.CHOOSE the alarms you wish to test.
|
|
|
|
CLICK on OK to generate an alarm. The Alarm Display screen will come up. If the Alarm Display screen is already up, the data on the screen will be updated.SELECT View Alarms > Active Alarms to see the alarm just generated.CLICK on Acknowledge to turn the alarm off.CLICK on Finish to return to the Alarm Display screen.CLICK on Exit to return to the Main DataWise® Menu. |
|
7.5 DEFINE COMPLEX ALARMS
Definition of complex alarms requires the use of text editor and knowledge of commands. Contact DEC Data Systems for specific help on this subject.
DataWise®
provides the tools to create static and interactive maps, plots, and tabular data on user's web pages.This allows a user to view their data from an off-site location by dialing in or through the internet or intranet. These access capabilities are through any browser and no client software is required.
8.1 BROWSER INTERFACE
|
|
|
INSTALL ing DataWise® Web Server
|
FROM the DataWise® Install Screen.
CLICK on Install DataWise® Web Server.
You will see a series of status screens as shown here while it is being installed. This will take some time.
After the install is complete you should be able to bring up the browser interface : Insure that DW is running. Bring up a browser, either Netscape or Internet Explorer. Enter the URL http://localhost/perl/DWReports.plYou should get the browser interface. On a network or dial-in, the user should replace localhost with the computer name or IP address. You can now control which reports are available by editing the configuration file: Apache2\Perl\Dwreports.cfg |
9.1 START/STOP SYSTEM - See Section 2.3 Run DataWise®
9.2 SET DATABASE SERVER
When DATAWISE®
is first installed the database server is set automatically. If you ever need to change the database server, then follow the instructions below.|
RUN DataWise® for the first time.
|
CHOOSE TOOLS > Set Database Server from the Main. DataWise® menu. The Set Database Server Now screen is displayed.If it is the same computer CLICK on Reset Server. and the computer name will be entered into that field. If you are a node on a LAN, ENTER the computer name of the server running DataWise®. Note If you are a terminal using NT or 2000, you have a choice of connecting with Named Pipes or Sockets. If you are running a DataWise® server on NT, Named Pipes is the default and cannot be changed. If the remote terminal is running Windows 95 or 98, you may only connect using the Sockets mechanism. CLICK on OK. This creates a file (\dw\config\dbase_server.cfg), which tells the system who you are and where to look for the server. This is a text file you may edit manually, if you want. Most users will not need to do this. . |
This application is used only by clients, not by users on the DataWise® server itself. This application allows the client to map a remote drive on the server to a local drive on the client's computer, thus allowing clients to access files on the server. The client MUST have an account on the server to function.
|
MAP Server Access.
|
CHOOSE Tools > Map Server Access from the Main DataWise® Menu. The Map Server Access Files screen is displayed.CHECK either Mapped Drive or UNC Path. This is the preferred method. By default the UNC Path will be checked and the Server and Sharepoint will fill in automatically.CHECK Share is at DW if you only want to share your DW folder.CLICK Apply.If you CHOOSE Mapped Drive do the following: ENTER the Username of the account on the server the client is using to connect to the server by.ENTER the Password for the above account.ENTER the Local Disk. This is the drive on the local (client's) computer that you wish to map the remote drive into. This should be a drive not currently being used by the client for other uses.ENTER the Remote Path. This is the path to the remote (server) in the form \\server_computer\drive.CHECK Remember connection to allow the connection to be automatically re-established after computer re-boot so that this dialog need not be re-performed.CLICK on Connect to connect to the Server. CLICK on Disconnect to disconnect from the Server.CLICK on Done to return to the Main DataWise® Menu. |
9.4 GENERAL SYSTEM DIAGNOSTICS
A variety of system diagnostics are available to aid in determination of system performance. These include General System Diagnostics and Diagnostics to check and repair the Database. Follow the steps below to start System Diagnostics and see general diagnostic messages on the screen.
|
START System Diagnostics.
|
CHOOSE Tools > Diagnostics from the Main DataWise® Menu. The Diagnostic Messages screen is displayed.Events involving real-time data collection activities are displayed in this window. They will vary depending upon the type of data collection activities being performed, but are generally self-descriptive enough to allow quick diagnosis of any system problems. This window can be left running at all times and minimized if desired and restored at any time to check on system functionality. |
|
|
|
CLICK on X or CHOOSE File > Exit to return to the Main DataWise® Menu. |
|
9.5 Alert Statistics
This program displays the number of bytes received and number of errors received on ALERT data for the first four ports.
|
CHOOSE Tools > Alert Statistics from the Main DataWise® Menu. The Alert Statistics screen is displayed. |
|
|
|
|
|
|
To view detailed statistics for a Defined or Undefined sensor. HIGHLIGHT the Sensor then CLICK Detailed Stats. The Detailed Statistics screen is displayed. |
9.6 GOES DIAGNOSTICS
The Goes_Diagnostics application allows users to interactively debug / decode logged GOES transmissions.
|
|
CHOOSE Tools > Goes Diagnostics from the Main DataWise® Menu. The Parse Goes Messages screen is displayed. |
9.7 DISPLAY INCOMING GOES MESSAGES
Displaying incoming GOES messages, in realtime, shows what is happening with the GOES DCP data collection activities. That is, each message received is displayed, errors are shown, etc.
|
DISPLAY Incoming Goes Messages.
|
CHOOSE Tools > Display Incoming GOES Messages from the Main DataWise® Menu. The GOES Diagnostic Messages screen is displayed. |
9.8 NESDIS Interface Module
9.8.1 Introduction
The NESDIS Interface Module allows the following functions to be performed through a Windows GUI interface:
The use of these functions are documented in the sections that follow. To access the NESDIS Interface Module, select the "NESDIS Interface" item from the "Tools" pull-down menu of the main
DataWise® screen as shown in Figure 1 and the NESDIS Interface screen shown in Figure 2 will be displayed.
Figure 1. Selecting the NESDIS Interface Module from the
DataWise® Menu

Figure 2. Main NESDIS Interface Screen
9.8.2 Issuing Retransmit Commands By List
From the main NESDIS Interface Module screen (Figure 2), select the desired network list (1-5) to the right of the "Retransmit by Network List" text. After selecting the desired list and clicking on the button to the right of the selected list, the re-transmit dialog shown in Figure 3 will be displayed.

Figure 3. Re-transmit Network List Screen
The "Retransmit By Network List" has several options. If none are chosen then the DAPS default time period is in effect. Pressing the "Transmit" button will instruct DAPS to re-transmit over DOMSAT all GOES transmissions received by NESDIS during the default time period for DCP’s in the selected network list.
If the "Transmit via telnet" box is checked and just the defaults are selected, and the "Transmit" button is clicked, the GOES transmissions are re-broadcast over the Internet instead of via the DOMSAT. Re-transmitting over the Internet is, in most cases, significantly faster than over DOMSAT.
As shown in Figure 4 below, the "Re-transmit Network List" screen has the option of selecting starting and ending dates and times.

Figure 4. Re-transmit Network List Screen with starting time only specified.
By selecting starting and / or ending dates and times, and then clicking the "Transmit" button, only data within the specified time range is re-transmitted.

Figure 5. Re-transmit Network List Screen with starting time and ending dates/times specified.
9.8.3 Issuing Retransmit Commands By PDT
From the main NESDIS Interface Module screen (Figure 2), select the button to the right of the "Retransmit by ID" text. The re-transmit dialog shown in Figure 6 will be displayed.

Figure 6. Re-transmit by PDT screen.
As in the "Retransmit By Network List" screen, the "Retransmit By PDT" screen has several options. If none are chosen then the DAPS default time period is in effect. Pressing the "Transmit" button will instruct DAPS to re-transmit over DOMSAT all GOES transmissions received by NESDIS during the default time period for selected DCP.
If the "Transmit via telnet" box is checked and just the defaults are selected, and the "Transmit" button is clicked, the same data set as described above is sent over the Internet via the Telnet protocol.
Specifying starting and ending dates and times is done analogously as when executing the "Retransmit By Network List" function.
9.8.4 Manual Update of a Single PDT
From the main NESDIS Interface Module screen (Figure 2), select the button to the right of the "Manage PDT’s" text. The managing PDT’s dialog shown in Figure 7 will be displayed
.
Figure 7. Managing PDT’s.
To update a single PDT, select the desired DCP from the list of defined DCP’s. If the PDT values for that DCP have been stored locally, then their values will be used in filling out the PDT form fields. If not, the fields will be set to blank. To retrieve the current PDT values from DAPS, click on the button to the right of the "Get from NESDIS" text. The PDT values for that DCP will be downloaded, stored locally, and displayed in the PDT form fields. The fields can be edited, saved locally, and then re-sent to NESDIS by clicking the "Save locally" button and then the "Send to NESDIS" button.
9.8.5 Batch Updating of PDT’s
From the main NESDIS Interface Module screen (Figure 2), click the button to the right of the "Manage PDT’s" text. The managing PDT’s dialog shown in Figure 7 will be displayed
.To retrieve the PDT’s for all DCP’s defined in the
DataWise® database, click on the button to the right of the "All from NESDIS" text (as shown in Figure 7). The PDT’s for all DCP’s defined in the DataWise® database will be downloaded and their PDT’s stored locally. These PDT values can now be edited locally.To update the PDT’S for all DCP’s defined in the
DataWise® database, click on the button to the right of the "All to NESDIS" text (as shown in Figure 7). The PDT’s for all DCP’s defined in the DataWise® database and have a locally stored PDT will beupdated in the DAPS database.
Note: Retrieving or updating PDT’s in a batch mode can take several minutes.
9.8.6 Retrieval of Network Lists
From the main NESDIS Interface Module screen (Figure 2), select the desired network list (1-5) specified to the right of the "Retrieve Network List" text. After selecting the desired list and clicking on the button to the right of the selected list, the retrieve dialog shown in Figure 8 will be displayed.

Figure 8. Retrieve network list screen
Clicking on the "Retrieve" button will retrieve the specified network list, store it locally and display the contents of the network list.
9.8.7 Editing of Network Lists
From the main NESDIS Interface Module screen (Figure 2), select the desired network list (1-5) specified to the right of the "Edit Network List" text. After selecting the desired list and clicking on the button to the right of the selected list, the retrieve dialog shown in Figure 9 will be displayed.

Figure 9. Editing a network list dialog screen
The Add, Add All, Delete, and Delete All buttons are used to configure the local network lists. When the network list is as desired, click the "Save" button and then "Done". The network list will be stored locally at this point but not yet re-sent to NESDIS.
9.8.8 Updating of Network Lists
From the main NESDIS Interface Module screen (Figure 2), select the desired network list (1-5) specified to the right of the "Update Network List" text. After selecting the desired list and clicking on the button to the right of the selected list, the update dialog shown in Figure 10 will be displayed.

Figure 10. Update network list dialog screen
Clicking on the "Update" button will result in the network list being updated on the DAPS system.
9.9 CHECK AND REPAIR DATABASE
There is a remote possibility that the DataWise® database may become corrupted on occasion such as might occur should the system be writing to the database at the time of a power failure or system crash. A utility program is provided to check for possible database inconsistencies and repair them.
Follow the steps below to check and repair the DataWise® database may become corrupted on occasion such as might occur should the system be writing to the database database.
Note
If these steps are not successful, contact DEC Data Systems Technical Support immediately.
|
CHECK and REPAIR the Database.
|
CHOOSE Tools > Check Database from the Main DataWise® Menu. The Database Check and Repair screen is displayed.In most cases, the program should be run with none of the options checked. Any errors are found and the fixable ones are repaired. |
||
|
|
CLICK on Check. The database displays a list of messages. Examples are shown in the screens to the left.For this example, the database scrolled down showing an okay by each of the areas it was checking. When the database detects a problem, it either fixes the problem or advises you on how to fix the problem.
|
||
|
|
When the database has completed checking, it provides you with status and a DONE message as shown on the sample screen.
CLICK on the Query on Error Corrections box to have the system query you before fixing an error. |
||
|
Note DataWise® does not let you leave this action until all problems detected have been resolved with a Yes or No answer. If you wish to abort, HOLD DOWN the CTRL, ALT, DELETE buttons on your keyboard to get to the Windows Task Manager screen. SCROLL to and HIGHLIGHT the file called chk_datab.exe and CLICK on End Process. DataWise® is still running and you may return to the Main DataWise® Menu to continue system diagnostics. |
CLICK on Check. DataWise® displays a list of messages and, if problems occur, queries you for resolution one at a time.CLICK on Yes to have DataWise® fix the problem. CLICK on No if you do not want DataWise® to fix the problem. DataWise® advances to the next problem and repeats the query until all problems are resolved. |
||
|
|
CLICK on the Check Default Cycle Size box to check for consistent sensor cycle sizes throughout the complete database, including the long-term historical database.CLICK on Check. DataWise® displays a list of messages and, if problems occur, indicates if they are fixed.
Note DataWise® does not let you leave this action until all problems detected have been resolved with a Yes or No answer. This can result in a very lengthy procedure. If you wish to abort, HOLD DOWN the CTRL, ALT, DELETE buttons on your keyboard to get to the Windows Task Manager screen. SCROLL to and HIGHLIGHT the file called chk_datab.exe and CLICK on End Process. DataWise® is still running and you may return to the Main DataWise® Menu to continue system diagnostics. |
||
|
|
DataWise® advises you of the action it took to each query as shown in the sample screen.CLICK on Verbose output only if detailed diagnostics are desired.CLICK on Check. The database displays a list of messages. DataWise® advises you when database check is complete as shown in the opposite screen. |
||
|
|
Once you have chosen what type of database check you want to do and have reports on the screen, you may save a copy of the report to a file. CLICK on Save Log. The Save As screen is displayed.ENTER a file name in the File name box.CHOOSE a directory and folder by scrolling through the pull-down menu in the Save in box.CLICK on Save to save the data to the chosen file name and indicated location.CLICK on Cancel to return to the Database Check and Repair screen. You may initiate other database checks and repairs at this time by following the steps above.CLICK on Exit to return to the Main DataWise® Menu. |
||
- See Section 7.4 Alarms.
9.11 GRAPHIC SCREEN DESIGN
The DataWise® "Animated Graphics" application allows the display of data in a wide variety of graphical formats. Historical or real-time data can be displayed.
Using the provided Graphics Design application, stylized graphic screens can be designed or bitmaps images can be imported.
Static objects:
Lines: Freehand line drawing.
Circles: Filled circles
Rectangles: Filled rectangles
Triangles: Filled triangles
Polygons: Filled user-drawn polygons
Text: Text in any color and font
Images: Images, in the form of bitmaps, can be placed in any location
Sensor data presentations:
Circles: A filled circle can be used to represent the state of a sensor as follows:
If conditions are not met the circle is not drawn. Circle sensor readouts (displays) are often used in concentric pairs with one circle specified to display and fill when one condition is met and another circle specified to display and fill when another condition is met. For example, green could be used when sensor readings are normal and red when out of bounds..
Vertical: A vertical tube-like readout (like a stilling well or thermometer) as follows:
The fill color and sensor range of the tube is user-specified.
Horizontal: This is analogous to the Vertical sensor readout except the tube is horizontal
Crossed: Similar to the Vertical sensor readout. Suitable for representing gate position.
a) The crossed area can open or close bottom to top
Text: Sensor readings can be displayed as simple text. The text color and font can be specified.
Timeseries: Two forms of graphs or time series plots are provided, an "old style" that is provided for legacy purposes, and a new style.
Analog Dial: Sensor readings in the form of either full or ˝ circle analog dials or gages are available. Wind direction can be displayed as a full circle analog gage.
Sensor and Station Name: In a text field, the name of a sensor or station can be displayed.
9.11.1 GETTING STARTED
|
Animated Graphics screens are stored as text files with extension .tpt and reside in directory \DW\Templet. The DataWise® Graphic Design Tool is used to develop these animated graphic screens, however, the text files that describe the screens can be manually editing with a text editor. The commands are listed in Appendix A in the Datawise Users Manual. The program to display animated graphics screens is accessed by selecting the "View" pull-down menu from the main DataWise® screen and selecting "Animated Graphics" as shown in Figure 1, or by clicking the "Animated Graphics" button on the main DataWise® menu.
Figure 1. Displaying animated graphics screens
The default screen displayed is "ctrlpanel.tpt". Other screens can be displayed by selecting them from the "File" pull-down menu of the animated graphics screen. The animated graphics display program, \DW\Utils\overview.exe can be started with one runtime option, that being the name of the templet to show at startup time. New screens can be designed or existing screens modified by selecting "Graphic Screen Design" from the main Datawise screen "Tools" pull-down menu. Select "Graphic Screen Design" then the "Manual Drawing" sub-menu item. (Figure 2).
Figure 2. Selecting "Graphic Screen Design"
Once selected, the graphic design screen shown in Figure 3 will be displayed.
Figure 3. Main Graphic Design Screen This screen contains many options. Before anything meaningful can be done, an existing screen must be selected for editing or a new screen started for designing. Most likely, many sample screens came with your installation of DataWise®. It may be desirable to start with one of them for testing or modification to meet your needs. For best results it is best to maximize the graphic design screen. To create a new screen, select "New Screen" from the "File" pull-down menu shown in Figure 4. To edit an existing screen, select the "Open Screen" menu item. If you want the screen being designed to be displayed in "Full Screen" mode automatically when viewing the screen, make sure the menu item ‘Full Screen Display" is checked.
Figure 4. "File" pull-down menu. If a new screen is being designed, a completely blank screen will be displayed. If an existing screen is being edited, that screen will be displayed. In either case, editing or designing can then begin. |
9.11.2 IMPORTING AND PLACING BITMAP IMAGES
|
Bitmap images can be displayed in the graphic drawing screens. To display a bitmap image (if you have a jpg, gif, or a graphic image stored in some other format that you want displayed, it must be converted to a .bmp file) use the "Import Image" menu item from the "File" pull-down menu (Figure 4).. The screen shown in Figure 5 will be displayed.
Figure 5. Bitmap Import Screen
The bitmap image can be displayed in several ways. Selecting "Full Screen" will cause the bitmap to fill the complete display area. This can cause image distortion. Selecting "Centered" will place the image in the center of the screen without any adjustment to its dimensions. Selecting "Best fit" will adjust the image without distorting it to fill as much of the screen as possible. Selecting "Positioned at" will place the upper left corner of the image at the (x,y) position specified and display the image with no adjustments to its size. Finally, selecting "Sized to fit" will place the image in the rectangle defined by the rectangle specified.
Alternatively, images can be added (or edited or repositioned) by selecting the "Images" item from the "Edit Mode" pull-down menu. Once that mode is selected, an existing image can be moved by left clicking near the upper left point of an image, holding the left button down, and moving the image to the desired location. Right clicking on a image will allow the image display properties to be modified.
To remove an image use the ‘Remove Image" item from the "File" pull-down menu. |
9.11.3 VIEWING SELECTED IMAGE COMPONENTS
|
Graphic screens are composed of many components: static text, sensor readouts, lines, bitmap images, shapes, layers and commands. The components can be viewed all at once, individually, or in any combination. Temporarily viewing various components individually is often useful when designing a screen. To control which components are viewable, select the ‘View" pull-down menu from the main screen and shown in Figure 6.
Fig. 6. Screen Component Display Menu |
9.11.4 SETTING COLORS FOR DRAWN STATIC COMPONENTS
|
The colors for lines, filled areas, text, and the screen background can be changed or set from the "Color" pull-down menu.
Fig 7. Setting Static Item Component Color
|
9.11.5 ADDING A SENSOR READOUT
|
To add a sensor readout to the screen, select the "Sensors" pull-down menu item (Fig. 8) and select "Add". Then, move the mouse to the desired location on the screen where the sensor readout should be placed and click the left mouse button. The screen shown in Figure 9 will be displayed.
Fig. 8. Add a sensor.
Figure 9. Add a sensor readout screen
A list of defined sensors will be displayed, along with two groups of radio buttons. Select the type of sensor readout to be display along with the type of data to be displayed in the readout. Then click configure. A sample of each type of sensor readout display is shown in Figure 18.
If a circle-style readout is selected, the dialog shown in Figure 10 will be displayed. The behavior of the circle-style readout is largely determined by which radio button is pushed in the "Fill circle if" group. If the "Data within limits" button is checked and the green color is selected, then as long as the data is within the limits specified, a green-filled circle will be displayed. If the sensor data is not within range, you can select another color to fill circle in the "Fill color when criteria not met" box. In this example, a red filled circle would be displayed if the data were not within limits. In this way, one color is displayed when sensor readings are "normal" while another color is shown when readings indicate some alarm condition exists. There is also an option for displaying a blinking circle when the criteria is not met. If that box is checked then the circle will blink with the selected color for "criteria not met."
Figure 10. Circle-style Sensor Readout Configuration Screen
If a vertical-style readout is selected, the dialog shown in Figure 11 is displayed. This type of sensor readout is useful in schematically representing water level or temperature. The horizontal-style and crossed-vertical-style sensor readout display setup screens are similar.
Figure 11. Vertical-style Sensor Readout Configuration Screen
A text-style sensor readout setup screen is shown in Figure 12. Note that if the sensor reading is out of the user-specified range then the reading will not be displayed. That behavior can be used to overlay two text sensor readouts, each with different displayable ranges of readings and different display colors. In this way, the color of the text will indicate the state of readings at the sensor. The font for the displayed text can be also selected.
Figure 12. Text-style sensor readout configuration screen
Old-style graph readouts are included only because of historical reasons. There is little flexibility in their configuration and visualization. The position is the upper left point of the graph. The display period is the period of time displayed on the axis. Values outside of the specified limits are not plotted. When a time series graph is desired the new-style graph readouts should be used instead.
Figure 13. Old style graph readout setup screen
A new-style graph readout configuration dialog is shown in Figure 14. The upper left position is the position of the rectangular area describing the graphing area. The width and height specify the dimensions of the graphing area. The time step is the time step between data values in the plot and how frequently the plot will be updated. The display period is the time period actually displayed. The line color is the color of the line drawn between data values. The fill color is the color the graphing area. The text background color is the background color of the text that labels the plot.
Figure 14. New style graph readout setup screen
Full-circle and semi-circle analog readouts are configured using the dialog screen shown in Figure 15. The fields are self-explanatory. At this point, there is a short coming in the dialog screen in that the color of the text labeling the analog cannot be specified. What is used is the current text color. This shortcoming will be addressed in the near future.
Figure 15. Analog dial readout configuration screen.
Wind direction readouts are configured using the dialog screen shown in Figure 16. The fields are self-explanatory. At this point, there is a short coming in the dialog screen in that the color of the text labeling the analog cannot be specified. What is used is the current text color. This shortcoming will be addressed in the near future.
Figure 16. Wind direction readout configuration screen.
Sensor name and station name readouts are configured from a screen shown in Figure 17. The sensor name (or the name of the station to which the sensor is associated with) is displayed at the location specified and in the colors specified. If the "Opaque Background" is checked, the background of the text is filled with the selected background color. If the "Boxed Text" is checked, the displayed text is outlined.
Figure 17. Sensor name / station name readout configuration screen
Figure 18. A sample of currently available sensor readout types. |
9.11.6 MODIFYING OR DELETING A SENSOR READOUT
|
To modify or delete an existing sensor readout, select the "Edit / Delete" item from the "Sensors" pull-down menu (Figure 8). The dialog screen shown in Figure 20 will be displayed. Select the sensor readout to operate on. Clicking "Delete" will remove the sensor readout from the screen. Clicking "Edit" will bring up the appropriate screen for changing the display characteristics of the readout.
Alternately, sensor readouts can be modified by selecting "Sensors" from the "Edit Mode" pull-down menu (Figure 19) and then right clicking on or near the sensor readout to be edited.
Figure 19. "Edit Mode" pull-down menu.
Figure 20. Screen for modifying / deleting a sensor readout |
9.11.7 MOVING A SENSOR READOUT
|
To move a sensor readout without changing its display characteristics, select "Sensors" from the "Edit Mode" screen (Figure 19). Then, left click and hold down the left mouse button on or near the sensor readout. Moving the mouse with the left button held down will move the readout. |
9.11.8 DRAWING COMMANDS
|
The list of available items that can be drawn and placed in the image is displayed by selecting the "Draw" pull-down menu (Figure 21).
To begin drawing lines, select the "Line" menu item. It will be checked.
Figure 21. Draw Pull-Down Menu
Figure 22. Draw Pull-Down Menu with "Line" Selected
From the "Color and Font" pull-down menu, insure that the current line color is set to what is desired. Move the cursor to the location to begin drawing the desired line and click and hold the left mouse button. Draw by moving the mouse. Releasing the left mouse button will end the drawing. As long as the "Line" drawing mode is in effect, lines can continue to be drawn in this manner. To edit a previously drawn line, select "Lines" from the "Edit Mode" pull-down menu (Figure 19). Click and hold down the left mouse button near the end point of a line to be edited. Move the cursor and the line will be redrawn. When the line is positioned as desired, release the left mouse button.
To draw a static circle select "Circle" from the "Draw" pull-down menu (Fig. 22). The circle will be filled with the currently selected fill color (selected from the "Colors" pull-down menu). Move the cursor to the desired location for the center of the circle. Click and hold down the left mouse button and slowly move the cursor away from the center. The filled circle will be drawn. When the circle is at the desired size, release the mouse button. To move an existing circle, select "Circle" from the "Edit" pull-down menu. Right click on or near the circle to be moved and, holding down the left mouse button, move the circle to the desired location.
To draw a static rectangle follow the same procedure as for the circle but selecting rectangle instead.
Similarly, to draw a static triangle follow the same procedure as for the circle but selecting triangle instead. However, in this case, there are four options for a static triangle: 1) pointing upward, 2) pointing downward, 3) pointing left, and 4) pointing right.
To place static text on the screen, select "Text" from the "Draw" pull-down menu. Move the cursor to the desired location and left click once on the desired location to place text. The dialog shown in Figure 23 will be presented. Enter the desired text and select the desired text color and font type.
Figure 23. Static text dialog
To edit text, select "Text" from the "Edit Mode" pull-down menu. Right clicking on or near the text to be edited. The dialog in Figure 23 will again be displayed and the display parameters can be modified. To move the text, position the cursor to on or near the displayed text. Click and hold down the left mouse key and move the text to the desired location. |
9.11.9 SAVING CHANGES
|
Screen modifications are not automatically saved. You must save them using the "Save" or "Save As" menu items from the "File" pull-down menu. To function properly, all templets must be saved in directory \DW\Templet.
Figure 24. File pull-down menu |
9.11.10 CREATING ANIMATED GRAPHICS AND MAP BACKGROUNDS FROM DFX FILES
An application has been created to convert files that are in DXF format to the DataWise Animated Graphics and Vector Map background format. DXF files can be generated from such programs as AutoCad, ArcInfo, and various GIS applications. As in DataWise applications, DXF format files are basically vector graphics files and most of the 2-D DXF commands have equivalents in DataWise, thus allowing a fairly smooth conversion from one to the other. The application was developed because of the demand for high quality map backgrounds, which are available in AutoCad and most GIS applications.
Steps in converting files for use in DataWise:
After obtaining a suitable map or schematic, convert the file (or files) to DXF format.
From the "Tools" pull-down menu on the main DataWise screen (Figure 1), select the "Graphic Screen Design" item and then the "Import DXF File" sub-menu item.
Figure 1. Graphic Screen Design from Tools Pull-Down Menu
- The dialog shown in Figure 2 will be displayed. Select a desired DXF file. Multiple DXF files can be selected. For example, if an area of interest, say a watershed, has several "layers", such as a boundary (whose inside area may or may not be filled), roads, streams, and water bodies, these separate features (or layers) may be stored in separate files. The order in which files (layers) are selected may be important, since a layer that "fills" its inside area may overwrite features previously written.
Figure 2. Dialog to import a DXF file into DataWise
- Select DXF files by clicking the "Add" button. A standard "Windows" filename select screen showing DXF files only (Figure 3)
Figure 3. Select DXF files screen
Selecting "basin", "road", and "stream", results in the list box being filled as show in Figure 4.
Figure 4. Three DXF files selected for converting to DataWise-compatible vector graphics files.
- Select the type of output file to be generated.
Map background files are for standard and contour map backgrounds. The sensor ID’s and their locations must be placed on the map in another step as documented in the DataWise manual. Map background files are generated for specific map numbers which must be specified in the dialog screen. These files are stored in directory \DW\Param on the DataWise server with names mapbkgndx.par where x is the map number.
Animated graphics backgrounds are intended as starting points for the graphic screen design process. Backgound names must be specified in the dialog screen. Do NOT specify a complete path. Only the filename (without extension) should be specified.
- To preview a background before storing it, click the preview button. An "Animated Graphics" screen (as in Figure 6) will be displayed. Exit the preview screen to proceed to the next step.
Figure 6. Preview of a DataWise-compatible screen produced from DXF files.
5) The final step is to click the "Save" button and save the generated file. The background will then be available for a map background or the starting point of an animated graphic screen design.
This feature requires custom training in order to use it. Contact DEC Data Systems for more information.
This program is used to manually send one piece of data to the database for use in testing an alarm. This data can then be deleted using Edit Sensor Data from the main DataWise® Edit menu.
|
SEND FAKE DATA to the database.
|
CHOOSE Tools > Send Fake Data from the Main DataWise® Menu. The Send Sensor Data screen is displayed.
SELECT a sensor ID from the ID/NAME list box. The sensor number will then appear in the SENSOR box.ENTER a value in the Data field and a date and time in the Date/Time field.CLICK on Send to store that piece of data in the database.CLICK on Exit to return to the Main DataWise® Menu.
|
The "Drift" recalibration program is used to adjust readings in the DataWise® database that are from a sensor whose measured and transmitted values drift from the "true" readings at some known rate. The program allows the user to enter observed or known values corresponding to values in the database and then interpolates values between them.
|
|
CHOOSE Tools > Drift Recalibration from the Main DataWise® Menu. The \DW\Utils\drift.exe screen is displayed. Tab over or use left and right arrows to highlight Options, then press Enter. |
|
|
|
A list of available options appears. Select desirable options then press Esc. Tab over or use Left/Right arrows to highlight Work then press Enter.
|
|
|
|
ENTER the Device ID Number then hit enter.ENTER the adjusted value then hit enter. The adjusted value and difference will appear. When finished hit Esc. |
|
|
|
You will be prompted to Save Changes? ENTER Y or N then hit enter. |
|
|
|
When recalibration is complete, tab over to Quit and hit enter. SELECT Exit program or Quit menu and hit enter. |
|
This program allows for restricted access to certain menu items depending upon a User Level assigned to each valid username. This is accomplished by using the option under Tools menu called Set User Levels. User Levels are stored in a file called Users.cfg. This file is created, installed, and edited by using the Set User Levels option.
User Levels are defined as follows levels 1 thru 5, with level 1 being the highest level 5 being the lowest level of access.
Level 1: Has access to everything. This is the only level that has access to the Set User Levels option and the Start/Stop System.
Levels 2 thru 5: Cannot access Data Collection Activities, Start/Stop System, or Set User Levels.
Levels 3 thru 5: Cannot access entire Edit and Configure menus. Under Models, only has access to Graphic and Tabular Displays. Cannot use Schedule Functions under Tools menu and Program RTU's under Manual Activities.
Levels 4 and 5: Cannot access Data Archiving and on Tabular Reports, cannot use Preferences option.
|
ADD a new username and level.
EDIT a username and/or level.
DELETE a new username.
|
CHOOSE Tools > Set User Levels from the Main DataWise® Menu. The Set User Levels screen is displayed with a list of the current usernames and corresponding level.
CLICK on Add if you wish to add a new user name and level. The Add screen appears.ENTER a valid username andSELECT a corresponding level.CLICK on OK to save and return to Set User Levels screen .
CHOOSE Tools > Set User Levels from the Main DataWise® Menu. The Set User Levels screen is displayed
HIGHLIGHT the Username you wish to edit.
CLICK on Edit to edit an existing username or to change that users level.
The Edit screen appears. Change the fields you wish to edit. CLICK on OK to save and return to Set User Levels screen.
CHOOSE Tools > Set User Levels from the Main DataWise® Menu. The Set User Levels screen is displayed
HIGHLIGHT the Username you wish to delete.CLICK on Delete if you wish to delete an existing username.
The Delete Confirmation screen appears. CHOOSE Yes to confirm delete or No to exit without making any changes. |
9.15 EXPERT TOOLS
|
|
CHOOSE Tools > Expert Tools from the Main DataWise® Menu. The Expert Tools screen is displayed. SELECT a Copy Number of requested filename to open or edit. CLICK on Edit to edit that file. CLICK on Check for Syntax Errors to check for errors in selected file. If there are syntax errors they will be displayed in a notepad file. If not the file will be blank.
CLICK on Examine Expert Log to display an Expert Tools activity log. |
For stations that allow interrogation (i.e., actually querying the remote site for data instead of just allowing the remote site to report data one way) then DataWise provides the capability for automating the process (scheduling it to occur at certain times or time intervals) or for manually initiating the process. This application allows a user to manually interrogate a station.
|
INTERROGATE a station.
|
CHOOSE Manual Activities > Interrogate Stations from the Main DataWise® Menu. The Interrogate Stations screen is displayedHIGHLIGHT the Station you wish to interrogate.SELECT Interrogation Type.SELECT Interrogate Via: Local Computer or Remote Computer.If Remote is selected, HIGHLIGHT one of the Defined Remote Computers from list. SELECT Use Sockets if this applies.CLICK on Interrogate.CLICK on Done to return to the Main DataWise® Menu. |
|
DEFINE a Remote Computer.
|
CLICK on Add below the Defined Remote Computers listbox.
ENTER the Computer Name and Description.CLICK on Save.
The Computer Name will now appear in the Defined Remote Computers listbox.
You may also Edit or Delete a Defined Remote Computer by Highlighting it, then Clicking on Edit or Delete. |
10.2 PROGRAM RTU'S
This function is highly site specific and depends strongly upon the type of telemetry being used. The example below is for systems with RTU-0850's. Other systems have other applications, however, they are all for the same purpose and that is to configure and test remote units (RTU's, DCP's, etc).
|
|
CHOOSE Manual Activities > Program RTU’s from the Main DataWise® Menu. The Ascii file Input screen is displayed |
10.3 IMPORT ASCII DATA
This application allows a user to take data in a text file and import it into the DataWise® database.
|
IMPORT Ascii data.
|
CHOOSE Manual Activities > Import Ascii Data from the Main DataWise® Menu. The Ascii file Input screen is displayedENTER Input File or Browse to find the file.HIGHLIGHT the Sensor you wish to import data to.SELECT values to correspond with the input file format.CLICK on Run.CLICK on Exit to return to the Main DataWise® Menu. |
10.4 RE-PROCESS LOGGED GOES MESSAGES
|
![]()
|
CHOOSE Manual Activities > Re-Process Logged Data from the Main DataWise® Menu. The Re-Process Logged GOES Messages screen is displayed. |
10.5 HSE LIGHT / GATE CONTROLS
This application allows for monitoring and overriding of High Sierra gate controllers. In order to use this you must have a High Sierra command transmitter and you must have enabled it from the main DataWise® Menu > Configure Data Collection Activities > Alert Data Collection by checking the box next to Enable HSE Command Xmit.
|
|
CHOOSE Manual Activities > HSE Light / Gate Controls from the Main DataWise® Menu. The HSE Light / Gate Controls screen is displayed. SELECT Controller from the List of Controllers list box. CLICK on Configure to configure selected controller. CLICK on History to view a history of commands for selected controller. SELECT Controller Version and Transmitter. SELECT Comm Port. SELECT Named Pipes or Sockets. CLICK on appropriate command in the Commands to Send box. These options will change depending on what you have selected in the Controlling field, Lights, Gates, or Both. The results of your sent commands will be shown in the field on the right. The three fields at the bottom of the screen display Incoming Reports, HSE Controller Commands and All received Data.
|
10.6 DISPLAY INCOMING DATA
|
|
CHOOSE Manual Activities > Display Incoming Data from the Main DataWise® Menu. The Received Data screen is displayed which shows incoming data as it is being received. |
10.7 SET TIME ZONE
|
|
CHOOSE Manual Activities > Set Time Zone from the Main DataWise® Menu. The Set Time Zone screen is displayed which allows a user to set the time zone. This allows the software to compute the difference between GMT and local time. |
Some modifications have been made that are intended to make DataWise®
more robust. In most cases this is not necessary but if needed, it is used to check on the health of the system. This should correct the problem of DW occasionally stopping the filing of data.Please do the following:
1) Define a sensor that will not be used as a sensor in any of the stations, say
19999. It should be defined as a rainfall sensor with a cycle size of -1
2) Using notepad or some editor, create file
\DW\Config\dbase_running_sensor.cfg. Make sure it doesn't get the .txt
extension appended
3) Put the following line in the file
19999 60
Or, use whatever sensor ID you define.
4) Stop DW. Kill systemrunning.exe. You will probably need to use the
Control Panel and stop the DW service.
5) Copy the new file (systemrunning.exe) to \DW\RealTime.
6) Restart the DW system. This should solve the issue of DW occasionally
stopping the filing of data.