Communicating with the OPTICA Using Ethernet G-5
January 2006
Retrieving Supported
Units
This command enables the user to retrieve different units that are
supported by the Optica and the order in which they are referenced.
Command: http://3.112.160.36:28005/OpticaAPI.xml?GetAllLabels
Function Name: GetAlarmTypes
Channel: 0
Response:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<OpticaAPIReturn Function="GetAllLabels">
<channel>0</channel>
<sLabels>Tdew °C</sLabels>
<sLabels>Tdew °F</sLabels>
<sLabels>%RH</sLabels>
<sLabels>Twet °C</sLabels>
<sLabels>Twet °F</sLabels>
<sLabels>ppmv</sLabels>
<sLabels>ppmw</sLabels>
<sLabels>Grains/lb</sLabels>
<sLabels>Grains/SCF</sLabels>
<sLabels>g/kg</sLabels>
<sLabels>g/m3</sLabels>
<sLabels>lb/Mft3</sLabels>
<sLabels>Kj/Kg (0)</sLabels>
<sLabels>Kj/Kg (32)</sLabels>
<sLabels>Btu/lb (0)</sLabels>
<sLabels>Btu/lb (32)</sLabels>
<sLabels>pw(mbar)</sLabels>
<sLabels>Tmp °C</sLabels>
<sLabels>Tmp °F</sLabels>
<sLabels>Tmp °K</sLabels>
<sLabels>Tmp °R</sLabels>
<sLabels>psia</sLabels>
<sLabels>mbar</sLabels>
<sLabels>bar</sLabels>
<sLabels>Pa</sLabels>
<sLabels>kPa</sLabels>
<sLabels>mmHg</sLabels>
<sLabels>inHg</sLabels>
<sLabels>KgCm2</sLabels>
<sLabels>
DyneCm2</sLabels>
<sLabels />
<sLabels>UserEquation2</sLabels>
<sLabels>UserEquation3</sLabels>
<retval>GEIAPI_SUCCESS</retval>
</OpticaAPIReturn>