Loading ...
Sorry, an error occurred while loading the content.

Re: [wuhu_software_group] Re: How to control a WS-2308 with win7 64-bit computer

Expand Messages
  • H. Smith
    Looking at the code he is talking to the unit via serial. There is more to the scripts, like the device object that actually talks to the console here:
    Message 1 of 12 , May 24, 2013
    • 0 Attachment
      Looking at the code he is talking to the unit via serial.

      There is more to the scripts, like the device object that actually talks to the console here:


      But why go through all that work?



      From: "a7t@..." <a7t@...>
      To: wuhu_software_group@yahoogroups.com
      Sent: Thursday, May 23, 2013 11:46 PM
      Subject: [wuhu_software_group] Re: How to control a WS-2308 with win7 64-bit computer

       
      Thanks for the additional comments. Years and years ago I wrote DOS based programs that handled binary data.

      The script I referred to can be found at: http://flakrat.blogspot.com/2008/03/lacrosse-ws2308-weather-station.html

      I thought he was querying the WS-2308 directly. But since I don't know perl, I'm not sure.

      Thanks.

      --- In wuhu_software_group@yahoogroups.com, "H. Smith" <wuhu_software@...> wrote:
      >
      >
      >
      > 2) Have you ever implemented a protocol consists of encoding and decoding binary data? This requires a scripting or programming language to manipulate the data.  I would have to see the script. Perhaps he is manipulating a file output by HeavyWeather called the CURRDAT.LST file. This is an ASCII file in the form of a Windows INI file that can be parsed to extract the weather data. This is a completely different approach from communicating with the station.
      >
      > 3) I have only used the IOGear GUC232A and only XP. That adapter has the Prolific PL2303 chipset. The real quality of the USB to serial adapter comes down to the quality of the Windows driver. Poorly written drivers will cause machine lock-ups and Blue Screens of Death. You might use Google to see if there are any reviews for these adapters under Windows 7. There is nothing magical about these drivers but they do require someone who is competent in Windows drivers to write them. It is hit or miss. Perhaps someone here in the group has used a model other than the  IOGear one.
      >
      >
      > ________________________________
      > From: "a7t@..." <a7t@...>
      > To: wuhu_software_group@yahoogroups.com
      > Sent: Thursday, May 23, 2013 3:04 AM
      > Subject: [wuhu_software_group] Re: How to control a WS-2308 with win7 64-bit computer
      >
      >
      >
      >  
      > Hi-
      > Thanks for the information. Could you please elaborate a bit on items 2 and 3?
      >
      > 2. I got the idea of terminal commands from: http://flakrat.blogspot.com/2008/03/lacrosse-ws2308-weather-station.html. It sounded like he controlled the ws-2308 with a simple perl script. Unfortunately, I don't know perl (or linux) so I didn't fully understand what he was doing.
      >
      > 3. Do you still recommend the Sabrent SBT-USC6M adapter? It's less than half the price of the IOGear GUC232A. One of the techs at Lacrosse recommended the Cables Unlimited USB 2920. He said he's used it and it works fine.
      >
      > Thanks
      >
      > --- In wuhu_software_group@yahoogroups.com, "wuhu_software" <wuhu_software@> wrote:
      > >
      > >
      > > 1) Yes
      > >
      > > 2) You cannot type in a terminal to issue commands. The protocol is binary, encoded, and there are many hoops you need to jump through even under software control.
      > >
      > > 3) If you have a decent USB to serial adapter, download and try it. The download link is on the main Yahoo group page.
      > >
      > > http://tech.groups.yahoo.com/group/wuhu_software_group
      > >
      > >
      > > --- In wuhu_software_group@yahoogroups.com, "a7t@" <a7t@> wrote:
      > > >
      > > >
      > > > We need to control a Lacrosse WS-2308 using a computer running Win7 64-bit, and without a serial port. [Our old 32-bit machine had a serial port, and Heavyweather ran just fine. But Heavyweather does not work under Win7 64-bit.]
      > > >
      > > > 1. Can you install WUHU and use direct serial mode to control and collect data from a Lacrosse WS-2308 weather station on a Win7 64-bit computer?
      > > >
      > > > 2. Does anyone have a list of the actual commands you would type in at a terminal to control the WS-2308?
      > > >
      > > > 3. I'm aware of the potential problems with "cheap" usb to serial adapters. I have one. I have a terminal program (accessport). With a list of the WS-2308 commands, I might be able to determine whether the adapter can communicate with the WS-2308.
      > > >
      > > > Any help would be greatly appreciated. Thanks.
      > > >
      > >
      >



    Your message has been successfully submitted and would be delivered to recipients shortly.