Open2300 - Support Question 2006x 01x 21x 024311



I have been bumbling around trying to resolve this problem with XML2300 and open2300. I am running WinXp Sp2, HeavyWeather 2.0 Beta, and a WS2315 station.

I have had random and inconsistent success using xml2300 using a batch file run by Windows Scheduler. As you can see by the data below the results are NOT consistant. (segment of of the log file)

01/19/2006  07:03 AM               142 Wdata.xml
01/19/2006  07:16 AM             2,519 Wdata.xml
01/19/2006  07:33 AM               142 Wdata.xml
01/19/2006  07:47 AM             2,521 Wdata.xml
01/19/2006  08:01 AM               142 Wdata.xml
01/19/2006  08:17 AM               358 Wdata.xml
01/19/2006  08:32 AM             2,520 Wdata.xml
01/19/2006  08:47 AM             2,519 Wdata.xml
01/19/2006  09:02 AM             2,269 Wdata.xml
01/19/2006  09:17 AM             1,657 Wdata.xml
01/19/2006  09:32 AM               358 Wdata.xml
01/19/2006  09:47 AM             2,523 Wdata.xml
01/19/2006  10:02 AM               603 Wdata.xml
01/19/2006  10:17 AM               813 Wdata.xml
01/19/2006  10:31 AM               166 Wdata.xml
01/19/2006  10:46 AM               142 Wdata.xml

A complete xml2300 output is roughly 2500kb!

Below is a screenprint of the batch file that attempts to run xml2300, after attempting to run fetch2300, then log2300.




C:\HEAVYW~1>c:\Heavyw~1\fetch2300.exe c:\HEAVYW~1\open2300

Could not reset

C:\HEAVYW~1>c:\Heavyw~1\log2300.exe c:\Heavyw~1\Datalog.txt c:\HEAVYW~1\open2300

C:\HEAVYW~1>c:\Heavyw~1\xml2300.exe c:\Heavyw~1\Wdata.xml c:\HEAVYW~1\open2300

C:\HEAVYW~1>dir | find "Wdata.xml" 1>>log.txt


Sample xml file (142kb)

<?xml version="1.0" encoding="utf-8"?>
<ws2300 version="1.0">

Sample Datalog.txt entry
20060119071604 2006-Jan-19 07:16:04 19.2 9.0 3.4 44 68 4.1 180.0 S 4.0 0.00 0.00 0.00 1032.100 Steady Cloudy 

My Open23.conf file is below. Notice that I have set COM2, since HeavyWeather is set to COM1.

# open2300.conf
# Configuration files for open2300 weather station tools
# Default locations in which the programs will search for this file: 
# Programs search in this sequence:
#  1. Path to config file including filename given as parameter (not supported by all tools)
#  2. ./open2300.conf (current working directory)
#  3. /usr/local/etc/open2300.conf (typical Linux location)
#  4. /etc/open2300.conf (typical Linux location)
# All names are case sensitive!!!

# Set to your serial port and time zone
# For Windows use COM1, COM2, COM2 etc
# For Linux use /dev/ttyS0, /dev/ttyS1 etc

SERIAL_DEVICE                 COM2        # /dev/ttyS0, /dev/ttyS1, COM1, COM2 etc
TIMEZONE                      1           # Hours Relative to UTC. East is positive, west is negative

# Units of measure (set them to your preference)
# The units of measure are ignored by wu2300 and cw2300 because both requires specific units

WIND_SPEED                    m/s         # select MPH (miles/hour), m/s, or km/h
TEMPERATURE                   C           # Select C or F
RAIN                          mm          # Select mm or IN
PRESSURE                      hPa         # Select hPa, mb or INHG

#### Citizens Weather variables (used only by cw2300)
# Format for latitude is
# [2 digit degrees][2 digit minutes].[2 decimals minutes - NOT seconds][N for north or S for south]
# Format for longitude is
# [3 digit degrees][2 digit minutes].[2 decimals minutes - NOT seconds][E for east or W for west]
# Use leading zeros to get the format ####.##N (lat) and #####.##E (long)

CITIZEN_WEATHER_ID            CW0000      # CW0000 should be replaced by HAM call or actual CW number
CITIZEN_WEATHER_LATITUDE      5540.12N    # DDMM.mmN or S - example 55 deg, 40.23 minutes north
CITIZEN_WEATHER_LONGITUDE     01224.60E   # DDDMM.mmE or W - example 12 deg, 24.60 minutes east

APRS_SERVER         23     # These are the APRS servers and ports for
APRS_SERVER    23     # Citizens Weather reporting.
APRS_SERVER 23     # They they are tried in the entered order
APRS_SERVER           23     # you may enter up to 5 alternate servers

#### WEATHER UNDERGROUND variables (used only by wu2300)

WEATHER_UNDERGROUND_ID        WUID        # ID received from Weather Underground

### MYSQL Settings (only used by mysql2300)

MYSQL_HOST              localhost         # Localhost or IP address/host name
MYSQL_USERNAME          open2300          # Name of the MySQL user that has access to the database
MYSQL_PASSWORD          mysql2300         # Password for the MySQL user
MYSQL_DATABASE          open2300          # Named of your database
MYSQL_PORT              0                 # TCP/IP Port number. Zero means default


Open2300 version: 1.10
Libraries: open2300,xml2300
Server OS: Windows XP

-- LarryWorkman - 21 Jan 2006


Topic revision: r2 - 21 Jan 2006, KennethLavrsen
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.