Filecount – Echelon OpenLNS User Manual
Page 356
OpenLNS Programmer's Reference
319
classIdValue
The object class of the object. The
following value is defined for the
ConstClassIds
constant:
57 lcaClassIdFileTransfer
object
The object to be acted on.
Data Type
Integer.
Read/Write
Read only.
Added to API
Depends on the object used to access the property. Generally,
this property exists for an object as soon as the object is
added to the API.
FileCount
Summary
Returns the number of files supported by any of the app
devices that have been added to the
target list
.
This property is only available when the device is connected
and online.
Availability
Local, full, and lightweight clients.
Syntax
countValue = fileTransObject.
Element
Description
countValue
The file count.
The count may include
files implemented using the file
transfer protocol, or files implemented
via direct memory read/write.
fileTransObject
nTarget
The
FileTransfer object has a list of
targets, numbered from one to N.
nTarget is an index within that list,
used to get the node handle of the app
device for which the file count is to be
obtained. If the nTarget value is out
of range, an exception will be thrown.
Data Type
Long.
Read/Write
Read only.
Added to API
LNS Release 3.0.