A
1: S
ap
V
2 •
1
3
2
© 2017 Telos Alliance - Rev 1.2
Note1:
Syntax types with options have the option data (shown in the outer []) expressed in the
syntaxUsage field of SapProperty Attribute.
Note2:
ENU and StaticOptionList are really the same except the values in ENU must be numbers.
Note3:
If the SapSingle is used with an object path of .. , the .. refers to the object path 1 level up from
the current object level (example if the property is on an object and the path to that object is devices#0.
powerstation#0.lwcpinterpreter#0, .. means devices#0.powerstation#0.
Note4:
If the SapSingle is used with an object path of @ , the @ refers to the property object’s current
object path.
Object Path
{ObjectType}#{ObjectId}.{ObjectType}#{ObjectId}.{ObjectType}#{ObjectId} . . .
An Object path is comprised of a list of branches similar to a folder structure where the period is used as the
separator. Each Branch is comprised of a type and an Id separated by the pound sign.
Example:
Devices#0.WinDriver#[tcp://172.16.1.254:93].LwrpInterpreter#0.LwrpRoot#0.Gpo#6.GpioPinState#4
If the id contains any characters that are reserved for the path architecture (. or #), the id must be enclosed in square
brackets. Spaces are not allowed in object paths.
Properties
Property Names may not include spaces and must not begin with the dollar sign. The equals sign with no spaces is
used between the property and its value where a value is relevant to the command usage.
set MemorySlots#0.MemorySlot#Hello SlotValue=”Howdy”
Hidden Properties
The Constructor property will return Init messages required to recreate an object that supports that property.
However, it will not show up in the general list of properties for an object. It must be queried directly.
get MemorySlots#0.MemorySlot#Whatever Constructor
Property Values
If the property value is to include a space, it must be surrounded by quotes.
set MemorySlots#0.MemorySlot#Hello SlotValue=”Howdy There”
If the property value is to include a carriage return and/or line feed, it must be encapsulated using
%BeginEncap%%EndEncap%.