Typetranslatorget, Typetranslatorget -5, 2 typetranslatorget – Echelon i.LON 100 e2 Internet Server User Manual

Page 185

Advertising
background image

i.

LON 100 Internet Server Programmer’s Reference

12-5

12.2.1.2 TypeTranslatorGet

You can use the TypeTranslatorGet function to retrieve the configuration of any Type
Translator that you have added to the

i.

LON 100. You must reference the Type Translator

whose configuration is to be returned by its index number in the <Data> parameter you

supply to the function, as in the example below.

<Data>
Parameter

<Data>

<iLONTypeTranslator>

<TypeTranslator>

<UCPTindex>0</UCPTindex>
</TypeTranslator>

</iLONTypeTranslator>
</Data>

<Result>
Parameter

<Result>

<iLONTypeTranslator>
<TypeTranslator>

<UCPTindex>0</UCPTindex>

<UCPTlastUpdate>2002-05-15T09:29:20Z

tUpdate>

</UCPTlas

<UCPTdescription>Translator For Two TimeStamp</UCPTdescription>

<UCPTfbName>Type Translator- 0</UCPTfbName>

<UCPTtranslatorRule>2xTimeStamp_to_TimeStamp</UCPTtranslatorRule>

<SCPTdelayTime>67.0</SCPTdelayTime>

<InDataPoint>

<UCPTindex>0</UCPTindex>

<UCPTpointName>NVL_nviSchedTimeSet</UCPTpointName>

</InDataPoint>

<InDataPoint>

<UCPTindex>1</UCPTindex>

<UCPTpointName>NVL_nviRtTimeDate</UCPTpointName>

</InDataPoint>

<OutDataPoint>

<UCPTindex>0</UCPTindex>

<UCPTpointName>NVL_nvoTimeSet1</UCPTpointName>

</OutDataPoint>
</TypeTranslator>
</iLONTypeTranslator>

</Result>

The function returns one <TypeTranslator> element for each Type Translator referenced in

the <Data> parameter you supplied to the function. The properties contained within each of

these elements are defined when the Type Translator is created. You can write to them with
the TypeTranslatorSet function. Table 61 describes these properties.

Advertising