BatchTrendPens Property

General info

Label

Batch trend pens

Tooltip

Definition of batch trend pens

Data type

String

Default value

"{ \"meta\": { \"id\": \"urn:id:34:8\" } }"

Type

TableSchemaBound

Code

5268

Symbolic name

MODEL_PROP_BATCHTRENDPENS

Available since

1.46.3.6448

Parent properties

BatchTrendGroups

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 BatchTrendPens property.

  • Lua

  • C#

-- Read from the BatchTrendPens
inmation.getvalue("/System/Core/obj.BatchTrendGroups.BatchTrendPens")

-- Write to the BatchTrendPens
inmation.setvalue("/System/Core/obj.BatchTrendGroups.BatchTrendPens", '{"meta":{"id":"urn:id:22:2"},"data":{"Input":[1.0,2.0],"Value":["v1","v2"]}}')
string path = "/System/Core/obj.BatchTrendGroups.BatchTrendPens";
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "so", Password = "inmation" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the BatchTrendPens
Result result = sli.ReadValue(sc, new ReadItem(path));
// Write to the BatchTrendPens
Result result = sli.WriteValue(sc, new WriteItem('{"meta":{"id":"urn:id:22:2"},"data":{"Input":[1.0,2.0],"Value":["v1","v2"]}}', path));