77
BTU VENTILATION CORPORATION ● OFFICE 888-884-8070 ● FAX 218-346-7485 ●
www.btucorp.com
XT-70 Control Panel 77
Getting Date Specific Data:
The second way to download data automatically is by using a date specific format. This will send a
beginning date and ending date for the records. The request string would be as follows:
http://<ip address:port #>/records.csv?a=x&b=x&c=x&d=x&e=x&f=x&g=1&h=x
Where
a = record start month
b = record start day
c = record start year
d = record end month
e = record end day
f = record end year
x = value for corresponding variable
g = 1 this variable is only needed if the request is sent by an automated device, i.e. HMI, VPN, etc.
It forces the formatting of the CSV to be strictly comma separated values with no other HTTP formatting.
h = 0 to 10 this variable indicates which device the request is for: 0 = XT, 1 to 10 = refrigeration cards
Example: to request records from a panel with an IP address of 192.168.1.55, HTTP port 4005, start
date 4-3-09 and end date of 4-4-09, send the following request:
http://192.168.1.55:4005/records.csv?a=4&b=3&c=2009&d=4&e=4&f=2009&g=1&h=0