If you have trouble reading data from your serial port then it's possible that the port is in a bad mode.
Assuming you use ttyS1 then try resetting the port using this command: stty -F /dev/ttyS1 1:0:800008bb:0:3:1c:7f:15:4:5:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0
If that worked then add the command to your /etc/rc.d/rc.local, or some other init, script so the port is reset at each system initialization.
Note
The Ultimeter 2000 logger uses Complete Record mode. It will not interfere with the operation of
Peet Bros peripherals such as the "Weather Picture" or remote heads.
Thanks
Jonathan Bradshaw who wrote the u2logger and wxbeacon PERL scripts. They have been mostly unmodified.
ultimeter.c was written as a test for another project. It's an example of how one can parse the various Ultimeter
formats. Particularly, take note of how wind data is processed in the parse_peet_complete() function.
This is not as simple as it may first seem.
To compile using GCC:
gcc -o ultimeter ultimeter.c