Comet system forum

Discussion forum about Comet system products

Temperature, Humdity,

Pressure Transmitters

and Data Loggers

You are not logged in.

#1 03-10-2007 07:45:32

kencole
Member
Registered: 13-09-2007
Posts: 1

T3511 and SOAP

When I communicate with a T3511 sensor with SOAP it returns the following XML data:

<?xml version="1.0" encoding="utf-8"?>                                         
  <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">                                                                     
    <soap:Body>                                                                 
      <InsertSample xmlns="http://tempuri.org/">                               
        <passKey>07961348</passKey>                                             
        <SampleDate>Local: 2.707</SampleDate>                                   
        <Temp>25.9</Temp>                                                       
        <RelHum>49.5</RelHum>                                                   
        <CompQuant>14.5</CompQuant>                                             
      </InsertSample>                                                           
    </soap:Body>                                                               
  </soap:Envelope>                                                             

Can this output be changed in anyway?
What is the "passKey" field?
How does the "SampleDate" field work? What does "Local:2.707" mean?
I guess "CompQuant" means "Computed Quantity" and returns what ever is being computer as per the Tsensor program, in our case "Dew Point"?
We wish to have about 10 of these sensors in various locations, from this data how do I know which sensor has sent me the data?

Thank you,

Ken

Offline

 

#2 03-10-2007 09:48:13

PavelM
visitor
Registered: 29-05-2007
Posts: 45

Re: T3511 and SOAP

passKey is devices' serial number. This number is unique and by this number you can identify our device. This number you can see on devices' web page or in TSensor program.
The SampleDate is date and time. In this time were the values captured. If your device is using SNTP protocol, you see the full date format (<SampleDate>03.10.2007 09:34:13</SampleDate>). If the sensor is not synchronized with the time server, you see word Local: and number of secs from device restart. Local is local sensor time.
The CompQuant is computed quantity and in your case it should be dew point.

Offline

 

Board footer

Powered by PunBB | CZ / SK
© Copyright 2002–2005 Rickard Andersson