January 2006
Retrieving Analog Output
Information
Retrieving the Measured
and Calculated Values
G-8
This command enables the user to retrieve settings for the two analog
outputs.
Command:
http://3.112.160.36:28005/OpticaAPI.xml?GetAnalogOutData+0
Function Name: GetAnalogOutData
Channel: 0
Response:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<OpticaAPIReturn Function="GetAnalogOutData">
<channel>0</channel>
<UnitOffset>0</UnitOffset>
<LowerLimit>-40.000000</LowerLimit>
<UpperLimit>60.000000</UpperLimit>
<UnitOffset>17</UnitOffset>
<LowerLimit>0.000000</LowerLimit>
<UpperLimit>100.000000</UpperLimit>
<retval>GEIAPI_SUCCESS</retval>
</OpticaAPIReturn>
UnitOffset is an index to the list of labels. In this case 0 refers to
Tdew °C
This command enables the user to retrieve measured and calculated
values for all supported units. The status information is also returned.
Command:
http://3.112.160.36:28005/OpticaAPI.xml?GetCurrentData+0
Function Name: GetCurrentData
Channel: 0
Response:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<OpticaAPIReturn Function="GetCurrentData">
<channel>0</channel>
<channelName />
Note: iNumber is the number of data values returned.
This number is the same as "iLabels" of GetHTPLabels and those
labels coincide with these values.
<iNumber>33</iNumber>
<fAllData>-4.892536</fAllData>
<fAllData>23.193436</fAllData>
<fAllData>16.158667</fAllData>
<fAllData>9.333572</fAllData>
Communicating with the OPTICA Using Ethernet
Need help?
Do you have a question about the Optica and is the answer not in the manual?