SourcePendingFileSize Property

General info

Label

Pending File Size

Description

The pending file data to be transferred.

Data type

Int32

Type

Regular

Code

13352

Symbolic name

MODEL_PROP_SOURCEPENDINGFILESIZE

Lua access code

syslib.model.properties.SourcePendingFileSize

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.
PROP_UNIT The property has an engineering unit.

Examples

Read from or write to the SourcePendingFileSize property.

  • Lua

  • C#

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

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