RtTrend
- Last UpdatedJul 05, 2024
- 1 minute read
The function of this Business Logic Tier (BLT) is to retrieve instantaneous trend data from the RealTime database (RTDB).
The data returned includes the following information:
-
collection time
-
summarized or collected value
-
data quality
-
index of the active data quality attribute with the highest precedence
Syntax
RtTrend <table_name> <rec_name> <field_name><{unusedInt, unusedInt2]>
Parameters
|
Name |
Description |
|---|---|
|
table_name |
The RTDB table name of the data to be accessed. |
|
rec_name |
The point name to be viewed. |
|
field_name |
The field of the RTDB tables to be viewed. This must be a field containing a numeric value. |
|
unusedInt |
This parameter is not used. It is provided for backward compatibility only. |
|
unusedInt2 |
This parameter is not used. |
Example
RtTrend analog, CROSS0001, curval, value
|
Time |
Milliseconds |
Value |
Status |
dqFlag |
|---|---|---|---|---|
|
801355620 |
0 |
80.000000 |
M |
3 |
Comments
-
unusedint and unusedint2 are optional parameters. In the example above, value is used as one of these parameters.
-
This procedure is primarily used by easy eXtended Operator Station (ezXOS).