HistoryAggregateList Property

General info

Label

Aggregates

Description

Select multiple History Aggregates to use

Data type

String

Type

Regular

Code

2135

Symbolic name

MODEL_PROP_HISTORYAGGREGATELIST

Lua access code

inmation.model.properties.HistoryAggregateList

Available since

1.18.12.2422

Parent properties

HistoryQueryOptions

Attributes

Name Tooltip
PROP_CONFIGURABLE The property is configurable and can be changed with DataStudio and the various inmation APIs
PROP_VISIBLE The property is visible in DataStudio and can be read by the inmation APIs

Examples

Read from or write to the HistoryAggregateList property.

  • Lua

  • C#

-- Read from the HistoryAggregateList
inmation.getvalue("<OBJECT FULL PATH>.HistoryQueryOptions.HistoryAggregateList")

-- Write to the HistoryAggregateList
inmation.setvalue("<OBJECT FULL PATH>.HistoryQueryOptions.HistoryAggregateList", "new value")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "so", Password = "inmation" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the HistoryAggregateList
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.HistoryQueryOptions.HistoryAggregateList"));
// Write to the HistoryAggregateList
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.HistoryQueryOptions.HistoryAggregateList"));