TagsDBGetTrend
- Last UpdatedOct 29, 2026
- 1 minute read
This function determines the trend group to which a project tag is assigned.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
TagsDBGetTrend |
Tags Database |
Synchronous |
Yes |
Supported (see Notes below) |
Not supported |
Not supported |
Not supported |
Not supported |
Syntax
TagsDBGetTrend( strTagName, numProperty )
TagsDBGetTrend ( strTagName , { numProperty | 0 | 1 } )
strTagName
The name of the project tag that is assigned to a trend group.
numProperty
The specific property to be gotten, identified by one of the following values:
|
Value |
Property |
Data Type |
|---|---|---|
|
0 |
Trend group (or worksheet) number |
Integer |
|
1 |
Log dead band |
Real |
Returned value
If this function is executed successfully, then it returns the value of the specified property. Otherwise, it returns one of the following possible values:
|
Value |
Description |
|---|---|
|
-4 |
Project tag (as specified by strTagName) does not exist. |
|
-3 |
Wrong parameter type or inconsistent value. |
|
-2 |
Invalid number of parameters. |
Notes
This function can be executed only on the project runtime server — it cannot be called by a Graphics Script, Screen Script, or Command animation running on a thin client.
For more information about the Tags Database functions and examples of how to use them, see Using TagsDB functions to edit the tags database during run time.