TatTrackingCount Property
General info
Label |
Tracking Count |
Description |
The number of calls the object has executed per cycle, which serves as an availability indicator. |
Data type |
UInt32 |
Type |
Regular |
Code |
12711 |
Symbolic name |
MODEL_PROP_TATTRACKINGCOUNT |
Lua access code |
syslib.model.properties.TatTrackingCount |
Available since |
1.78 |
- Parent properties
Attributes
| Name | Tooltip |
|---|---|
| PROP_VISIBLE | The property is visible in DataStudio and can be read by the inmation APIs. |
| PROP_VOLATILE | The property exists during runtime of the service only and is not saved to the image. |
Examples
Read from or write to the TatTrackingCount property.
-- Read from the TatTrackingCount
syslib.getvalue("<OBJECT FULL PATH>.TatPreview.TatTrackingCount")
-- Write to the TatTrackingCount
syslib.setvalue("<OBJECT FULL PATH>.TatPreview.TatTrackingCount", VALUE)
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the TatTrackingCount
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.TatPreview.TatTrackingCount"));
// Write to the TatTrackingCount
Result result = sli.WriteValue(sc, new WriteItem(VALUE, "<OBJECT FULL PATH>.TatPreview.TatTrackingCount"));