Super Systems SuperDATA User Manual

Page 90

Advertising
background image

Super Systems Inc

Page 90 of 172

Super Data Operations Manual

Data Value Lists

A Value List is a data source. It is actually a collection of individual Data Values that have been grouped together for
some purpose. The function employed in the value list determines what data is produced. When the function is set
to return the indexed value, the Record Pointer property defines an external data value that will point to the value in
the list to return as the result. When loading a lookup list from a Value List Source, the Record Pointer has no effect;
all data values in the list are loaded. It is possible to develop an irresolvable circular reference using a value list. For
example, if one of the values in the list is actually based on the value list as its data source, it will be impossible to
make sense of the result. This sort of situation will not cause a problem for the RealTime program, but it will almost
certainly produce unreliable results. Because a Value List is generally used with a corresponding Data Value, a
RealEdit Setting that can be selected is to Always create a Data Value with the same name as the Value List created.

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.

Record Pointer - A Data Value indicating the record to select

Function - Functions include:

Return Indexed Value

Return Sum

Return First Value Minus Second

Return Average Value

Return Std Deviation

Return Min Value

Return Max Value

Return First Value Multiplied by Second

Return First Value Divided by Second

Return First Non-Zero Value in List

Return Concatenated String

Return Concatenated String (space delimited)

Return Concatenated String (comma delimited)

Return True/False on Comparison of All Values

Return First Value

Return First Non-Null Value in List

Advertising