SaFGenericBufferScriptErrorCount Property
General info
Label |
Script Error Count |
Description |
The total number of script errors during this component's uptime and since the last script update. |
Data type |
Int32 |
Type |
Regular |
Code |
12514 |
Symbolic name |
MODEL_PROP_SAFGENERICBUFFERSCRIPTERRORCOUNT |
Lua access code |
syslib.model.properties.SaFGenericBufferScriptErrorCount |
Available since |
1.74 |
- 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 SaFGenericBufferScriptErrorCount property.
-- Read from the SaFGenericBufferScriptErrorCount
syslib.getvalue("<OBJECT FULL PATH>.IP21Replication.SaFGenericBufferStatus.SaFGenericBufferScriptErrorCount")
-- Write to the SaFGenericBufferScriptErrorCount
syslib.setvalue("<OBJECT FULL PATH>.IP21Replication.SaFGenericBufferStatus.SaFGenericBufferScriptErrorCount", 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 SaFGenericBufferScriptErrorCount
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.IP21Replication.SaFGenericBufferStatus.SaFGenericBufferScriptErrorCount"));
// Write to the SaFGenericBufferScriptErrorCount
Result result = sli.WriteValue(sc, new WriteItem(VALUE, "<OBJECT FULL PATH>.IP21Replication.SaFGenericBufferStatus.SaFGenericBufferScriptErrorCount"));