2 using the get function on a lonworks device, Using the get function on a l, Orks – Echelon i.LON SmartServer 2.0 User Manual
Page 219: Device -19, Device
![background image](/manuals/735732/219/background.png)
i.LON SmartServer 2.0 Programmer’s Reference
14-19
14.3.2
Using the Get Function on a L
ON
W
ORKS
Device
You can use the Get function to retrieve the configuration of a L
ON
W
ORKS
device defined on the
SmartServer or in a specific LNS network database. The input parameters you supply to this function
will include one or more
include the
shown in the example below.
Alternatively, you can specify one or more device properties in the xSelect statement to filter the items
returned by the Get function, including the
channel;
SmartServer Web interface;
internal to the SmartServer;
uncommissioned, offline, or out of sync with an LNS network database; and
filter devices based on the manufacturer.
Request (return a specific device)
xsi:type="LON_Device_Cfg">
Request (use an xSelect statement return all the devices on a specific L
ON
W
ORKS
channel)
Request (use an xSelect statement return all internal devices on the SmartServer)
//Item[@xsi:type="LON_Device_Cfg"] [UCPTlocal="1"]
Request (use an xSelect statement return all external devices that are currently shown in the
SmartServer Web interface)
//Item[@xsi:type="LON_Device_Cfg"][UCPTlocal="0"][UCPThidden="0"]
Request (use an xSelect statement return any devices that are out of sync with an LNS network
database)
//Item[@xsi:type="LON_Device_Cfg"] [UCPTitemStatus="IS_NOTSYNCED”]
Request (use an xSelect statement return any devices that are uncommissioned)