Super Systems SuperDATA User Manual

Page 88

Advertising
background image

Super Systems Inc

Page 88 of 172

Super Data Operations Manual

Data Values


A Data Value is the fundamental unit in RealTime screens. Before any raw data from any source can be displayed in
any way, it must become a valid Data Value. A Data Value comes from one of several possible Data Source types
through a Data Process. A Data Value may be text, a number, a logical, an alarm code, or a date/time serial number
(depending on the source data type). During development of a screen, a key debugging tool is the Options-Data
Value Snapshot menu selection in RealTime. This view gives an instantaneous view of all Data Values, whether they
are represented on the screen visually or not. If there is any problem with the data source or data process from
which data is being derived, the value may become an error message:

*TBL*ERR*

table in an MDB File does not exist

*FIL*ERR*

data file (any type) is corrupt or does not exist

*REC*ERR*

record in DBF File Source, MDB File, or Flat File Source does not exist

*FLD*ERR*

field in DBF, MDB or Flat File Source does not exist

*COM*ERR*

channel is not communicating properly

*ALM*ERR*

alarm data has no corresponding text available

*DAT*ERR*

data value source is in error

*VAL*ERR*

Value list source function code is producing an error

*DLG*ERR*

Datalog data cannot be accessed

*SRC*ERR*

source (any type) is not able to produce data

*SQL*ERR*

SQL Query from an ODBC source has an error

Properties

Name - The Name property makes the object easier for the RealEdit programmer to identify. Often it is a good idea
to use the same name for related objects, such as a Data Value that represents a Constant.

Source Type - The type of object of the value source.

Source - The object which is the source of the values for this object. This will be a dropdown combo box with all the
defined objects of the selected source type.

Process - The Data Process performed on the value.

Use Select Index - True/False value indicating whether the specified item will be applied to this object

Select Index - Selects the field from the returned string of an SQL query

Get From Global Index Gets a value from the global index

Put In Global Index Sets a value from the global index

Most values in RealTime are known only to the screen they belong to (scope is limited to the screen). You can pass
one (but only one) value from one screen to another when you open the new screen (this is the "pass value").

Advertising