You are on page 1of 29

Dream Report Getting Started Page 1/29

Dream Report Getting Started Dream Report Getting Started Dream Report Getting Started Dream Report Getting Started


Dream Report Getting Started Page 2/29
Table of Content Table of Content Table of Content Table of Content

1. APPLICATION INTRODUCTION..................................................................................................................... 3
1.1 WARRANTY/TRADEMARKS........................................................................................................................................ 3
1.2 CUSTOMER SUPPORT................................................................................................................................................ 3
1.3 SYSTEM REQUIREMENTS.......................................................................................................................................... 3
2. INSTALLATION........................................................................................................................................................ 4
2.1 INSTALLATION........................................................................................................................................................... 4
2.2 REMOVE / MODIFY.................................................................................................................................................... 4
2.3 UPGRADE FOR A NEW MAJOR OR MINOR RELEASE ................................................................................................. 4
2.4 FOLDERS ORGANIZATION ........................................................................................................................................ 4
3. PRODUCT OVERVIEW.......................................................................................................................................... 5
3.1 BASE CONCEPT.......................................................................................................................................................... 5
3.2 KEY DIFFERENTIATION.............................................................................................................................................. 5
3.3 TECHNOLOGY............................................................................................................................................................. 5
4. PRODUCT INTERFACE.......................................................................................................................................... 6
4.1 DREAM REPORT STUDIO.......................................................................................................................................... 6
4.2 DREAM REPORT RUN TIME ...................................................................................................................................... 6
4.3 DYNAMIC REPORT GENERATOR............................................................................................................................... 6
4.4 DREAM REPORT WEB PORTAL................................................................................................................................. 7
5. PROJECT WORKFLOW.......................................................................................................................................... 8
6. BUILDING A DREAM REPORT APPLICATION......................................................................................... 8
6.1 STARTING PROJECT DEVELOPMENT BY LAUNCHING STUDIO................................................................................ 8
6.2 USER MANAGEMENT ................................................................................................................................................. 9
6.3 PHASE 1 CONNECTION TO DATA SOURCES ..................................................................................................... 10
6.4 PHASE 2 DATA AND ALARM LOGGING.............................................................................................................. 11
6.5 PHASE 3 REPORT DESIGN.................................................................................................................................. 12
6.6 PHASE 4 STATISTICAL AND ANALYTICAL VALUE EXTRACTION....................................................................... 13
6.61 Object 1 - SINGLE Data.......................................................................................................................... 13
6.62 Object 2 - COMPOUND Data ................................................................................................................. 16
6.63 Object 3 - EXPRESSION Data............................................................................................................... 16
6.64 Object 4 - DATA Table............................................................................................................................. 17
6.65 Object 5 - ALARM Table.......................................................................................................................... 18
6.66 Object 6 - SQL Table................................................................................................................................ 19
6.67 Object 7 - STEP Table.............................................................................................................................. 20
6.68 Object 8 - FREE Table.............................................................................................................................. 21
6.69 Object 9 Pie Graph................................................................................................................................ 22
6.70 Object 10 Bar Graph ............................................................................................................................ 23
6.71 Object 11 Chart...................................................................................................................................... 24
6.72 Object 12 Date and Time ................................................................................................................... 26
6.73 Object 13 Page Number...................................................................................................................... 26
6.74 Object 14 Report Name ...................................................................................................................... 26
6.75 Object 15 Project Name...................................................................................................................... 26
6.8 PHASE 5 REPORT GENERATION AND DISTRIBUTION SETTINGS .................................................................... 27
6.81 Report Generation On Schedule.......................................................................................................... 27
6.81 Report Generation On Condition......................................................................................................... 28
6.81 Report Distribution.................................................................................................................................... 28
7. RUNNING AN APPLICATION WITH DREAM REPORT RUN TIME.............................................. 29
7.1 LAUNCHING DREAM REPORT RUN TIME............................................................................................................... 29
7.2 REPORT ON DEMAND.............................................................................................................................................. 29



Dream Report Getting Started Page 3/29
1. Application Introduction

This software program is an advanced Enterprise Information Integration (E.I.I) and Proactive Reporting
system used as an applications development tool that enables any company to log Data and Alarms from
multiple data sources, connect to most historian databases to create, generate and distribute advanced
reports for a variety of industries.

1.1 Warranty/Trademarks
This document is for information only and is subject to change without prior notice. It does not represent a
commitment on the part of Ocean Data Systems. If you find any problems in the documentation, please
report them in writing. Ocean Data Systems does not warrant that this documentation is error-free.
Copyright 2004-2006 by Ocean Data Systems.

Dream Report and Dream Connect are trademarks of Ocean Data Systems. All other products and brand
names are trademarks of their respective companies.


1.2 Customer Support
You can receive technical support from your local distributor. To receive prompt support, make sure that
you complete the activation form available from Dream Report Studio and send it to Ocean Data Systems
at support@oceandatasys.com


1.3 System Requirements
Before you install the application verify that you have the following Hardware:
Computer: Minimum Pentium III 1Ghz
Memory: 256MB (recommended 512MB)
Hard Disk: 150MB minimum for installation only

Operating systems supported:
Windows 2000 workstation,
Windows 2000 Server,
Windows XP Professional Edition,
Windows 2003 Server

Additional Software Requirements:
To visualize PDF files - you have to install Adobe Acrobat Reader
To use Web Portal - you have to install Web Server (Internet Information Server)


Dream Report Getting Started Page 4/29
2. Installation
2.1 Installation
Please launch executable file named DR_Release_Setup x.y.z.exe, and read carefully the End User
License Agreement.

Dream Report has two types of install:
1. Complete By selecting this option setup will install all components available in Dream Report.
2. Custom By selecting this option user will get a Components Dialog where will be possible to
select only components that user would like to install for his needs



Note: Please be aware that in case and SQL
server is installed on current computer the
Utility component will be hidden and SQL
MSDE wont be installed.

User has possibility to specify path where he
would like to install Dream Report in his
computer but we recommend keeping default
path

When finished user will be asked to restart
computer for the reason that some components
have to be registered on start-up of OS:


2.2 Remove / Modify
It is possible to Modify or to Remove Dream Report from client computer by either:
1. Launching original installation executable.
2. Or, In Control Panel of Windows OS from Add/Remove programs component.
Be aware that not all folders will be removed during uninstall process. Directory thats includes all
developed on that computer project will remain. Also License and Template directories will not be erased.
2.3 Upgrade for a new major or minor release
In Dream Report installer procedure auto upgrade feature is activated. It will automatically recognize the
version previously installed and start upgrade. During this process all new files will be copied to the
appropriate place.

2.4 Folders Organization
By default the program install the program at: C:\Program Files\ODS\Dream Report

And installs the following folders

Clipart: Library of Reports Backgrounds and Images
Database: Multilanguage file (lexicon.mdb)
DR_Web_Portal: For all web configuration files
Help: With the web on line help files
License: Where your product license and registration form will be saved
Project: Where all project by default will be saved
Release Notes: With all latest information about new release
Systems: With all system application Files
Templates: Where all templates will be saved
Utilities: Some utilities


Dream Report Getting Started Page 5/29
3. Product Overview
3.1 Base concept

Dream Report concept is based on the integration of 5 functions. This unique combination positions it as
the best proactive reporting solution available in the market.


3.2 Key differentiation

Dream Report is a unique solution for 3 main reasons.
1. It includes a communication kernel like any manufacturing systems (HMI, SCADA, DCS systems)
2. It enables to Log data and alarms on any standard database
3. It generates and distributes report in real time through its unique and powerful Run Time.

The integration of this unique functions into a user friendly studio, position Dream Report as the first
complete reporting solution available in the market today, very intuitive and easy to use.

In fact Dream Report is the first reporting solution that can run on a standalone mode, collecting and
logging Data itself, or be connected to any systems and leverages their historian database.

One day training is enough to learn completely the product, this perfect integration brings to customers a
unique advantage, they can forget complex solutions based on the integration of multiple modules and
competences. Thus, the product adoption is fast, minimal support is needed to be fully autonomous.

3.3 Technology

Dream Report was developed with the latest technology standard. It can exchange Data using
Automation and Enterprise technology such as OPC, Xml and Soap. Dream Report Logger enables to log
clean and accurate Data on any standard Database such as SQL server, Oracle, Access, My SQL and more.
Dream Report generates Reports in PDF format but can also export all Data into an Excel file.


Dream Report Getting Started Page 6/29
4. Product Interface

The product is divided in 2 modules called the Dream Report Studio and the Run Time.
Basically project must be developed with the Studio, and executed launching the Run Time.
4.1 Dream Report Studio

Dream Report Studio enables to define and configure:

Connection to real Data sources
Connection to any historical Database
The archive conditions for real time data & alarms
Create, modify report templates
All statistical and analytical objects
Define report generation conditions
Define report distribution
Project settings (user management, language, web,
macros, database )



4.2 Dream Report Run Time

The Run Time enables to execute and manage:

The access rights
The data and alarm acquisition
The data and alarm logging
The queries to all historian databases
The report generation
The report distribution
The web Portal



Moreover, for the day to day report management ODS as developed the Dynamic Report
Generator Module and Dream Report Web Portal.
4.3 Dynamic Report Generator
Dynamic report generator (DRG) enables to change report settings and execute new report on demand
without opening and making any change from the Studio.


This module is ideal to control and drive new report generation from any
application (HMI, SCADA, DCS, MS Office, Windows ). It is available as
an ActiveX, a Java applet and an exe application.

From any report available, the user can:

1. Either change the report period and force all objects in the
template with this new interval (for example template was made
for a daily report and he wants a weekly report)

2. Or force the CPU time, in this case objects setting doesnt
change, DRG will generate new report not base with the current
date and time but the new date and time selected.


Finally users can also dynamically change Data source and Tags assign
in the template selected using the mask.

Dream Report Studio

Dream Report Run Time


Dream Report Getting Started Page 7/29
4.4 Dream Report Web Portal
With Dream Report Web Portal any authorized user can access over the intranet or the internet to any
Dream Report Station to:

Visualize all report archived
Generate new reports on Demand
Change report setting before generation

Dream Report Web Portal is ideal for distributing reports across the enterprise but also to customers,
organizations, suppliers and more. It can be customized and fully integrated within any customer web
portal


To access to Dream Report Web Portal the user must log with
his name and password.

Then he visualizes the list of his authorized reports with the
date and time of the last generation, the number of report in
the history.

The portal will be automatically updated, each time the Run
Time will generate new report. The user can also force the Run
Time and ask for new report on demand.




When he selects one the report in the list, he switches
automatically to the report summary.

Dream Report Web Portal displays the latest report
generated, but the user visualizes the list of history report
and displays any, by clicking on its icon.

Then, users are free to add comments, print or email the
report displayed.





Dream Report Getting Started Page 8/29
5. Project Workflow
The following is a suggested workflow for designing an application

Phase 1 Define all Real Time sources and Historical databases connected to the project
Phase 2 Define the logging group to create the historian database for the real time Data
Phase 3 Create the reports templates
Phase 4 Extract all analytical values to put in reports
Phase 5 Define the automatic generation and distribution settings for each report

6. Building a Dream Report Application
6.1 Starting Project Development by launching Studio
This icon will launch Dream Report studio


The following Wizard will open, giving you the
possibility to either open an existing project or to
create a new One.

Configuration projects are saved with the suffix
*.drpj . When the project opens on your screen the
name of the project appears on the top bar of the
studio.


When you open a new project, you must define the project settings.

The Wizard has 6 tabs:

- General -
To define the project name, author but also users with their rights

- Database Configuration -
To select the Database used for logging data and its properties

- Web Configuration -
To list all stations connected over the web

- Project Path -
To define the folders and their location for reports, web, Historians..

- Log File -
To track all events

- Language -
To switch the Studio language on line.




Dream Report Getting Started Page 9/29
Then Studio opens. To facilitate product project development, the studio is divided in 2 sections named the
Logger and the Designer.















To configure data sources connection and data logging (Phase 1 and 2) you must display the Logger
Studio. To design reports and define their properties (phase 3, 4 and 5) you must switch to the Designer
Studio.

The navigation between the 2 sections is
done in the left side of the studio through
the buttons:
Logger Studio
Report Designer Studio



This navigation methodology was not only done to facilitate project development, but also to protect the
configuration of the communication and the database. Frequently System Integrators and project
Engineers prepare all data needed to develop reports and give access rights to different kind of End Users
(management, finance, production ) to create their own reports without any risk to alter the data pipe.
6.2 User Management
From The project setting, tab general, you can open the user management windows.

There is no limitation in terms of users.

You simply must define Name and
Password and the rights for each user.

- Designer Studio -
Enables user to define or modify reports

- Logger Studio -
Enables user to define or modify driver
configuration and logging properties

- Run Time -
Enables user to control the Run Time

- Web Portal -
Those users will have access to reports
over Dream Report web Portal

- User definition -
Enables user to define or modify User
authorization


Please note that each user can be frozen
temporary and can expire on a predefine date. It is also possible to load Studio with a different language
for each user.

Logger Studio

Designer Studio



Dream Report Getting Started Page 10/29
6.3 Phase 1 Connection to Data Sources
To connect data sources you must define drivers







Then The Driver configuration Wizard appears


Dream Report supports 3 types of drivers

Real Time Data
Real Time Alarms

History (using ODBC, HDA or custom
driver access)


Native drivers to SCADA systems for example
support all 3 drivers. This means that you can
access to their Data and Alarm in real Time but
also read their native History.



Dream Report integrates OPC DA, AE and HDA Client. It means that any OPC Server can connect and
exchange data, alarms and history with it.
Thats the reason why Dream Report can be directly connected to most Devices, I/Os, PLC, Fieldbuses,
Manufacturing Systems and other open application.

Connection example with and access History database
Suppose you have an access database to connect to Dream Report, its structure is columns based and
has multiple tables.
1. First step is to create the DSN using Microsoft ODBC driver to connect data source, we call it
Process
2. Then in the Dream Report Driver Configuration you declare a new data source named Process also
3. You select History Driver ODBC
4. you click on Configure and the following
Wizard appears
5. You select the DSN previously created
6. You define the database structure (column
in this case)
7. You click on the Connect Button, and you
will see all tables for this database

Then because Dream Report supports predefine
Data and alarms objects, you simply must indicate
by tables:
1. The field used for the Timestamp if you
want to extract data Only

2. The Fields used for the alarm ID, Text,
Priority, Start time, End time and Ack
time.

Thus, your database will be fully available in each
Dream Report Objects.

Dont forget to click on Done to close this Wizard
and to add and save this driver to your list.





Dream Report Getting Started Page 11/29
6.4 Phase 2 Data and Alarm Logging
Dream Report enables to connect multiple Real Time sources of Data and Alarms. Users can create clean
and accurate history for these Data and alarms by defining logging Groups.


Basically, users can create as much Groups as
needed to obtain the optimum Database
wished.

Groups are defined from the Logger studio.
Then the left part of the interface in divided in
2 sections
Data Groups
Alarm Groups

For Both the concept is the same. You simply
must right click in the group area and Add
Item Group. Then The Group
Definition Wizard is displayed.

You give a name for this group,
select the Data source origin and
click on the Add Item button to
select the Data wanted. SHIFT and
CTRL key will help you to select data.






If you are creating Groups of alarms, an Alarm Priority filter is used to define the group.
(Ex: Group_Alarm1 from SCADA is between priority 0 to 50; Group_Alarm2 between 51 to 100;)




Then, you simply must define the
logging conditions.

< On Change, Each

A scheduler enables you to log
data differently each day if needed



On Event >
Any data from any data source
can be used as a condition





The actual Dream Report Release enables to log more than 1000 events/sec (benchmark made with SQL
Server 2005).




Dream Report Getting Started Page 12/29
6.5 Phase 3 Report Design
Once all real time data source are connected and databases connectivity ready, you can shift to the
Designer Studio. To create new report right click in the list of reports and select New Report.


Designer Studio was build to be used by
any operator.

Report can be made with multiple pages.
The following icons are the most used to
create nice reports

Add Page
Insert Text
Insert Picture / Logo
Insert background



Background can either be a color, or an image. If its an image, this image can be applied to all pages or
to a specific page only.


Regarding Colors, Dream Report Designer Studio enables you to select color
for fonts, line and background.

The product also manages the transparent color but also enables to define your
own palette.








Page Template / Report template
Any Report can be saved as a page or a report template to be loaded anytime to create new reports fast.

When you save as a Page Template, the system only captures the static objects like Text, Forms, Images,
Background and also the base Object Date & Time, Report Name, Project Name and Page Number.

When you save a Report Template it captures the entire report with all Objects attached like Pie, Bar,
Charts, Tableswith their base configuration (data source, tags and time settings).



Dream Report Getting Started Page 13/29
6.6 Phase 4 Statistical and Analytical Value Extraction
The following toolbar enables to extract data analysis with different object views.



Objects can be divided by categories.

The first 3 objects enable to extract Data analysis and represent it as a text Result
6.61 Object 1 - SINGLE Data


A. Definition


In the definition tab of the Wizard you select any tags
coming either from Dream Report History or from any
native historian Database to extract from any relative
and/or absolute period:

The Current value
The Last value
The Maximum value
The Minimum value
The Sum value
The Integral value
The Average value
The Weighted Average

It also enables to know the:
The timestamp of the First value
The timestamp of the Last value
The timestamp of the Maximum value
The timestamp of the Minimum value

It calculates directly:
The System availability (i)
The Standard Deviation (i)

Moreover it offers you to count
The number of value logged in the Database (i)
The number of alarms for an interval of priorities (i)
The duration between any value interval (i)
To define your own counter with min-max limits (i)
On OFF ON/OFF (i)

And finally enables to directly insert any SQL command (i)


(i): detail explanation just below

Know More about:

System availability: Gives you in % the time during the value was not
equal to 0 for the period selected

In this example the system availability was 75 %
for 1hour


Standard deviation:


Calculates


Text Objects

Dream Report Getting Started Page 14/29
Number of value logged
in the database:

Count of much value are logged for the value
range specified

In this example if we count values between 100
and 200, result will be 2



Duration


Calculates the Duration time in HH:MM:SS for the
value Range specified.

In this example:
The Up time (1 to 1) is 00:45:00
The Down Time (0 to 0) is 00:15:00





ON - OFF Counter


Calculates how many times the digital tag went
from 0 to 1 (ON) or 1 to 0 (OFF)

In this example: there is 3 ON and 2 OFF






ON/OFF Counter


Calculates a complete On OFF Wave

In this example there is 2 complete ON/OFF waves



Counter

???




Alarm Counter

Count how many alarms are in the priority range specified
Do not forget to define alarm filters first




To create Filters you simply must:
Give a name
Select the alarm data source
Define the priority range
Add it as a new Filter

Then select the Group of alarms you
want to count and click OK.

SQL Command

You can also directly define a SQL command




Dream Report Getting Started Page 15/29
B. Representation


In the second tab of the wizard

You can select the following option:
Visible / Invisible: to display or not the analytical
Data in report

Unit: the Unit selected will be automatically displayed
with the result


The decimal Precision is configurable between 0 to 6
digits



The write back option enables to write the analytical
Item result of on any tag from any source connected


The advanced display options enables:
A - To change numeric color (do not put text) Example:
0 to 10 -> Blue
11 to 90 -> Green
91 to 100 -> Red

B - To replace numeric by Text; Example
0 To 0: Stop
1 To 1: Run







C. Advanced SQL Condition

Its a where command that enables to add a specific condition to adjust the query.
For example: I want the Minimum Tank Value for January but only when Batch process was equal to 4

I will select the Tank level Tag
Insert period from Jan 1 to Jan 31
Put a Where command : when Batch= 4




Dream Report Getting Started Page 16/29
6.62 Object 2 - COMPOUND Data


Definition


Captures all previous analytics made and enables after
manual selection (using SHIFT and CTRL KEY and Mouse) to
calculates between them:

The maximum
The Minimum
The Sum
The Average

Objective is to enable fast calculation without doing any
expression.



6.63 Object 3 - EXPRESSION Data


Definition



Enables to build any expression using standard instruction

Mathematic
Boolean
Trigonometric

User can mix Analytical Values and Tag from Data Sources.


Dream Report Getting Started Page 17/29

The next 5 Objects enables to display series of tags and alarms into tables

6.64 Object 4 - DATA Table


A - Definition





Example 2
This table enables to display a list of Tag Values.
In the definition tab you select one or more tags (click
on Edit List) either from Dream Report History or
from any External historian Database.

You can choose to display from any relative and/or
absolute time period:

The Data logged in the database
The Moving Average values

A filter based on the value range and the Advanced
SQL condition tab, will help you to adjust your table
query and visualize precisely the right information.


Example 1



B- Appearance

In the appearance options, you can define
The table name
Set which column you want to display
(timestamp, source name, tag name, value)
Customize the title of each column ( click on
caption text)
Change all font properties
Set how many records you want to visualize
Sort from end or from start

Table Objects

Dream Report Getting Started Page 18/29
6.65 Object 5 - ALARM Table


A - Definition



Its a predefine object that enables to extract alarms either
from Dream Report History or from any native historian
Database

User must create first alarm filters (click on Edit List) and
select the ones you want to visualize in table



To select multiple filters you must use CTRL Key

Then select the time period


B- Appearance

In the appearance options, you can define
The table name
Set which column you want to display (Start
time, ack time, end time, alarm text and
priority) and how (move Up, Down)
Customize the title of each column ( click on
caption text, and change text as wanted)
Change all font properties
Set how many records you want to visualize
Sort from end or from start


Alarm Table example





Dream Report Getting Started Page 19/29
6.66 Object 6 - SQL Table



A - Definition



If Data table and Alarm table doesnt fit to your objective,
you must use SQL table

The objective is clearly to build your own table with the
fields expected.

This table is very powerful, it enables to precisely extract
and sort the Data you want to visualize

Directly insert the query from the database you want with all
conditions attached.

Example:

Select start_time, end_time, priority, user, family, alarm from
alarm where batch=[f#Previous_Batch] and family='tank3'





B- Appearance

Like other tables the appearance options enable you to
customize the entire table.

The key feature of the appearance option is the direct
capture of all fields insert in the select command of your
SQL query

The SQL table creates automatically the columns and
enables you again to personalize the title of each
column.

This perfect integration really simplifies integration of
any database within Dream Report.




SQL table example






Dream Report Getting Started Page 20/29
6.67 Object 7 - STEP Table



A - Definition



This table was especially developed to check periodically
statistical value coming from moving tags typically occurring
in the automation Market.

First step is to build the table structure
Define number of columns
The time period
Define the step (from minutes to Moths)

Be careful you must adjust the time period to the step,
otherwise you can seriously damage performance.

Ex: never select days in period if you want minutes as step
You will create thousands of calculation



STEP table example 1





B- Appearance

The key thing in the appearance is to assign for each
column defined, the statistical value.

This is done through the last column in the right side
named Column Type

You can put the timestamp or a tag
If you select tag, you will open the single data object
with all statistical values available:
Last value
Maximum value
Minimum value
Sum value
Integral value
Average value
Weighted Average
Duration
Counters


STEP table example 2




Dream Report Getting Started Page 21/29


6.68 Object 8 - FREE Table



A- Definition







B Appearance

For the table appearance use directly the
design toolbar in the main menu

You can change the color of:
Each text
Each cell background
Each cell line

You can also change font and size for each
text

A free table enables to present anything clean in a table

Basically you must define columns and rows, and then
define for each cell its content.

You can Insert:
Free text
Date and Time
Single data
Compound data
Expression data

To do, you just right click with your mouse in the cell
The following menu will appear.






Free table example 1


Free table example 2

Dream Report Getting Started Page 22/29

The next 3 Objects are graphical objects; they enable to display statistical value with different views
6.69 Object 9 Pie Graph

A- Definition



From the Pie Wizard you can define Pies of:
Data values
Alarms
Logged values

Data are either from Dream Report History or from any
native historian Database.

a/ If you define a Pie of
Data values then you can
compare between multiple
tags.
Last value
Maximum value
Minimum value
Average value


b/ If you define a Pie of Alarms, means that you want to
compare alarms from different groups

c/ If you define a Pie of Logged values, means that you want
to compare logged values for different value range.




B - Appearance

In the appearance options, you can define the Pie name
and Display:
Pie legend
Pie borders
Values with or without units
The percentage between slices
Change all font properties

C - Advanced SQL Condition

Its a where command that enables to add a specific
condition to adjust the Pie query.
For example: I want to compare the average production
bye production lines when Batch process was equal to 4.

Put a Where command : when Batch= 4






Graphical Objects

Pie example

Dream Report Getting Started Page 23/29
6.70 Object 10 Bar Graph

A- Definition

Bar Graph enables to cut a period into several segments to visualize and compare the content of
each (example: cut a week in days and compare each day of the week)


Like in Pie chart, Bar chart enables to define Bars of:
Data values
Alarms
Logged values

Data are either from Dream Report History or from any
native historian Database.

a/ If you define a Bar of Data values then you can compare
for each segment:
Last value
Maximum value
Minimum value
Average value

b/ If you define a Bar of Alarms, means that you want to
compare alarms groups for each period

c/ If you define a Bar of Logged values, means that you want
to know of much values were logged for each period






B - Appearance

In the appearance options, you can define the Pie name
and Display:
Pie legend
X,Y Scales
Values
You can also define Grid, date and time format, Bar Type
and of course define font properties

C - Advanced SQL Condition

Its a where command that enables to add a specific
condition to adjust the Bar query.
For example: I want to measure the machine Downtime
per day when user is Jim.

Put a Where command : when user='Jim'







Dream Report Getting Started Page 24/29
6.71 Object 11 Chart

A- Definition

Chart Object enables to visualize multiple tags in one chart. Data are either from Dream Report
History or from any native historian Database.


Values
User can either displayed a chart based on:
The values logged in the database
The moving average values for each tags



Graph Style
User can select to visualize
Line with mark chart (by default)
Line only
Mark only

Scale
User can display scale for each tag on uncheck the scale
they dont need.
Each Tag is displayed according its own scale, but user can
select another scale as the scale reference.



B - Appearance

In the appearance options, you can define the Chart
name and Display:
Pie legend
X,Y Scales
You can also define
Grid, date and time format and the font properties



Chart Type

User can select if he wants a value or time based chart













Dream Report Getting Started Page 25/29




Chart Window option

Enable to adjust the chart either to the period selected or to the data logged

In this example the chart configuration was define for a time period between A and B, but there is only
data between A and B.


If you select chart fit to time period then you will see the chart for the entire period (A,B)
If you select chart fit to data, the chart will be automatically adjusted (A,B)


F. C - Advanced SQL Condition

Its a where command that enables to add a specific condition to adjust the chart query.
For example: I want to visualize only the chart for the batch 39

Put a Where command : when batch = 39
In the chart window option we adjust the chart to the data



Then the chart STARTS and is adjusted exactly when the batch starts and END also when the batch ends

Dream Report Getting Started Page 26/29
6.72 Object 12 Date and Time

A- Definition



Enables to display the month, the week, the day, the day of
the week, the hour, the minutes and of course the complete
date and time in different format

Date:
dd/mm/yyyy or dd/mm/yy
or
mm/dd/yyyy or mm/dd/yy

Time
hh:mn:ss
hh:mn

displaying hours either from 0 to 24 or 0 to 12 AM / PM

6.73 Object 13 Page Number

A- Definition

Enables to display the current page number

6.74 Object 14 Report Name

A- Definition

Enables to display the report name

6.75 Object 15 Project Name

A- Definition

Enables to display the project name






Example

Dream Report Getting Started Page 27/29
6.8 Phase 5 Report Generation and Distribution Settings
To access to the report settings, select a report and right click and then select Report properties.


The report settings wizard appears with
7 tabs:
1. Tab is to define report name and
description

2. Tab to define report type, static or dynamic
Static means that report will be replace by last generated
Dynamic means that all report generated will be saved with a suffix that can be automated
i. By date and time
ii. By numeric number

3. Report generation on schedule
4. Report generation on event
5. Report distribution
6. Macros
7. Report authorization

6.81 Report Generation On Schedule
Dream Report can generates automatically any report on schedule

User can predefine report generation:

Yearly based
Monthly based
Weekly based - In this case they can set multiple
combinations: example
Every day at 17:00
Every Monday at 09:00
Every Friday at 18:00
Time based (every hour for example)


When TRUE, Dream Report Run Time will generates report




Dream Report Getting Started Page 28/29
6.81 Report Generation On Condition
Dream Report can also generates automatically any report on Event

User simply define the event condition

He can select any tag from any source and assign the
condition:
> : higher
< : lower
>= : higher or equal
=< : lower or equal
= : equal
!= : different

When TRUE, Dream Report Run Time will generates report











6.81 Report Distribution
After being generated reports can be automatically distribute to one or more targets

By default Dream Report archives reports in PDF format.
To specify destination computer and folder please refer to
the project settings, tab Project Paths.

It can also send automatically reports via email. Each
report has is own recipient list.

Dream report mailer integrates SMTP server configuration.




Finally Reports can be printed on any printer connected to the network.



Dream Report Getting Started Page 29/29
7. Running an Application with Dream Report Run Time
7.1 Launching Dream Report Run Time
This icon will launch Dream Report Run Time; you can also launch it from Dream Report Studio,
main menu, Run Time.

Application projects are saved with the suffix *.drt



When Run Time is launched, it starts several tasks:
It initiates and launches data acquisition
It starts the logger and logs data and alarms in the selected database (SQL server by default)
It loads all reports define in project and captures the settings for generation and distribution
It launch the web server (IIS by default)

From the user interface you can:
Activate or disable report generation
Visualize the status of each report

Pressing Change button enables to load project
Pressing Reload Project button enables to reload the ongoing project with last updates
Pressing Hide button will keep the project running and minimize window to the system tray.
Pressing Exit button will close the current running project, close window and close the entire application.
Pressing Open report file button enables to open the last report generated.


7.2 Report on Demand
To generate report on demand, please select manually the report and then click on Generate button. New
report will be immediately generated, saved and distributed according to its settings.

You might also like