Paul
I've just installed via cvs and it is now working....alittle hard to increment 
my counters at the moment as they are connected to water flow meters...however 
the values look OK.  I'll get some water flow happening tomorrow night and test 
to see the counters increment, however I assume if I see the correct counter 
values I presume its OK  ?

thanks alot for your assistance

cheers

  ----- Original Message ----- 
  From: Paul Alfille 
  To: [email protected] 
  Sent: Sunday, October 07, 2007 9:07 PM
  Subject: Re: [Owfs-developers] Data error reading DS2423 counters





  On 10/6/07, Rob Conway <[EMAIL PROTECTED]> wrote:
    Paul

    Just reloaded 2.5p10 and these are the counter values displayed via owhttpd

    Counter A =   8999689

  That's  00 89 53 09 in hex.



    Counter B =  2718957568

  That's A2 10 00 00 in hex. 



          DEBUG: Selecting a path (and device) path=/1D.EBEF09000000/counters.B 
SN=1D EB EF 09 00 00 00 34 last path=00 00 00 00 00 00 00 00
           DATA: DS9490_reset
           DATA: DS9490_reset: ok
          DEBUG:   Transaction select = 0
          DEBUG:   Transaction send = 0
          DEBUG:   Transaction readin = 0
          DEBUG:   Transaction CRC16 = 0
          DEBUG:   Transaction end = 0
          DEBUG: Counter Data: 00 00 10 A2 04 00 00 00

      Hmm... Should be 4 bytes of counter and 4 bytes of zero.
      Any idea what your counters should read? 

  Well, the 00 00 10 A2 comes out correct, but that 04 following is supposed to 
be 00 according to the datasheet:
  http://datasheets.maxim-ic.com/en/ds/DS2423.pdf page 8.

  I suppose we could just ignore the test for the zero in the datasheet. Note 
that the whole field was confirmed by a CRC16 generated by the DS2423.
  So try the newest CVS version, that ignores zero checks and see if counting 
seems sequential. That's my concern, that we have 
  the byte order wrong.

  Paul Alfille



------------------------------------------------------------------------------


  -------------------------------------------------------------------------
  This SF.net email is sponsored by: Splunk Inc.
  Still grepping through log files to find problems?  Stop.
  Now Search log events and configuration files using AJAX and a browser.
  Download your FREE copy of Splunk now >> http://get.splunk.com/


------------------------------------------------------------------------------


  _______________________________________________
  Owfs-developers mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/owfs-developers
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to