Filecount – Echelon OpenLNS User Manual

Page 356

Advertising
background image

OpenLNS Programmer's Reference

319

classIdValue

The object class of the object. The

following value is defined for the

FileTransfer

object in 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

FileTransfer

object’s

target list

.

This property is only available when the device is connected

and online.

Availability

Local, full, and lightweight clients.

Syntax

countValue = fileTransObject.

FileCount

(nTarget)

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

The

FileTransfer

object to be acted on.

nTarget

The

FileTransfer

object index.

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.

Advertising