TotalPendingFiles Property

General info

Label

Total Pending Files

Description

The number of files in the configured disk folder that are still to be transferred.

Data type

Int32

Type

Regular

Code

13361

Symbolic name

MODEL_PROP_TOTALPENDINGFILES

Lua access code

syslib.model.properties.TotalPendingFiles

Available since

1.92

Parent properties

FileSourceStatus

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

  • Lua

  • C#

-- Read from the TotalPendingFiles
syslib.getvalue("<OBJECT FULL PATH>.FileSourceStatus.TotalPendingFiles")

-- Write to the TotalPendingFiles
syslib.setvalue("<OBJECT FULL PATH>.FileSourceStatus.TotalPendingFiles", 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 TotalPendingFiles
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.FileSourceStatus.TotalPendingFiles"));
// Write to the TotalPendingFiles
Result result = sli.WriteValue(sc, new WriteItem(VALUE, "<OBJECT FULL PATH>.FileSourceStatus.TotalPendingFiles"));