Programid – Echelon OpenLNS User Manual

Page 978

Advertising
background image

OpenLNS Programmer's Reference

941

parentObject

The object that is the parent of the

specified object.

object

Any object for which the parent is

desired.

Data Type

Object.

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.

ProgramId

Summary

Contains the program ID of the

TypeSpec

object. The

program ID is stored as a unique 16-digit hexadecimal

number in the following format:

FM:MM:MM:CC:CC:UU:TT:NN.

Note: You may not use colons when writing the program ID.

For a device with a program ID of

80:00:01:01:28:80:04:02,

you can write 8000010128800402 in this property.

Each TypeSpec object references a type. OpenLNS uses the

ProgramId property in conjunction with the Scope property of

the applicable TypeSpec object to determine which resource

file contains the type’s definition.
The type to use within that resource file is identified by the

TypeName property.

If the TypeSpec object applies to a network variable that

has a standard network variable type (SNVT), the

ProgramID property is set to 0000000000000000.

If the TypeSpec object applies to a network variable that

has a user-defined network variable type (UNVT), the

ProgramID property is set to match the program ID of

the device containing the network variable or data point.

Availability

Local, full, and lightweight clients.

Syntax

programIdValue = typeSpec.

ProgramID

Element

Description

programIdValu

e

The length of network variables (in

bytes) using the type referenced by this

TypeSpec

object.

typeSpec

The

TypeSpec

object to be acted on.

Data Type

String.

Read/Write

Read/write.

Added to API

LNS Release 3.20.

Advertising