2 using the get function on a type translator, Using the get function on a type translator -3, Using the get function on a type translator – Echelon i.LON SmartServer 2.0 User Manual
Page 175

i.LON SmartServer 2.0 Programmer’s Reference
12-3
</iLonItem>
</ListResponse>
12.3.2
Using the Get Function on a Type Translator
You can use the Get function to retrieve the configuration of any type translator that you have added to
the SmartServer. You must reference the type translator whose configuration is to be returned by its
<UCPTname> in the input you supply to the function, as shown in the example below.
Request
<Get xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<Item>
<UCPTname>Net/LON/iLON App/Type Translator[0]</UCPTname>
</Item>
</iLonItem>
</Get>
Response
<GetResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem >
<UCPTfaultCount>0</UCPTfaultCount>
<Item xsi:type="UFPTtypeTranslator_Cfg" >
<UCPTname>Net/LON/iLON
App/Type
Translator[0]</UCPTname>
<UCPTannotation>8000010128000000[4].UFPTtypeTranslator</UCPTannotation>
<UCPThidden>0</UCPThidden>
<UCPTlastUpdate>2008-03-07T17:19:37.790-08:00</UCPTlastUpdate>
<UCPTuri>#8000010128000000[4].UFPTtypeTranslator_Cfg.htm</UCPTuri>
<DataPoint xsi:type="UFPTtypeTranslator_DpRef" dpType="Input" discrim="dir_in" >
<UCPTname>Net/LON/iLON
App/VirtFb/temp_thermostat</UCPTname>
<UCPTformatDescription>#0000000000000000[0].SNVT_temp</UCPTformatDescription>
<UCPTnickName>temp_thermostat</UCPTnickName>
</DataPoint>
<DataPoint xsi:type="UFPTtypeTranslator_DpRef" dpType="Output" discrim="dir_out" >
<UCPTname>Net/LON/iLON
App/VirtFb/temp_chiller</UCPTname>
<UCPTformatDescription>#0000000000000000[0].SNVT_temp_p</UCPTformatDescription>
<UCPTnickName>temp_chiller</UCPTnickName>
</DataPoint>
<UCPTtranslatorRule>My Custom Rule: SNVT_temp to SNVT_temp_p</UCPTtranslatorRule>
<SCPTdelayTime>0</SCPTdelayTime>
</Item>
</iLonItem>
</GetResponse>
The function returns an <Item> element for each type translator referenced in the input parameters
supplied to the function. The properties included in each element are initially defined when the type
translator is created. You can write to these properties with the Set function. The following table
describes these properties.
Property Description
<UCPTname>
The name of the real-time clock in the following format:
<network/channel/device/functional block>.
<UCPTannotation>
The program ID and functional profile template used by the
real-time clock. This property is always
8000010128000000[4].UFPTrealTimeClock
<UCPThidden>
A flag indicating whether the real-time clock functional
block is hidden or shown in the navigation pane on the left
side of the SmartServer Web interface. This property may
have the following values:
0
– shown