On 8/12/07, Pedro Côrte-Real <[EMAIL PROTECTED]> wrote:
>
>
> When would owserver need loop suppression? I understand that owlib has
> the functionality that's why owserver seems complicated for something
> that only has to answer three commands.
>
> I'm always open to suggestions and simplificatio
On 8/12/07, Pedro Côrte-Real <[EMAIL PROTECTED]> wrote:
>
> On 8/12/07, Paul Alfille <[EMAIL PROTECTED]> wrote:
> When would owserver need loop suppression? I understand that owlib has
> the functionality that's why owserver seems complicated for something
> that only has to answer three commands.
Hi,
Pedro Côrte-Real:
> I'm truncating using the length I assumed the offset didn't actually
> do anything. My Ruby code is translated from the python one and that
> one didn't do anything with it.
That may be because the Python code is not actually written well. :-/
Apart from the non-handling
On 8/12/07, Pedro Côrte-Real <[EMAIL PROTECTED]> wrote:
>
> > > there's an offset there but it doesn't seem to be used anywhere.
> >
> > That's for reading "large" memory blocks in parts. Ignore it (set it to
> zero
> > and ignore result)
> > Actually offset is used for some directory flags on retu
On 8/12/07, Paul Alfille <[EMAIL PROTECTED]> wrote:
> I presume that when you try one of the other programs (owread, for example)
> you get the data you expect?
> I.e. the question is about the ruby code, not the sensor?
I'm not sure. owread outputs the right thing but so does my ruby code
if I do
On 8/12/07, Matthias Urlichs <[EMAIL PROTECTED]> wrote:
> * check that you're actually using the offset+payload_length fields
> instead of blindly using the whole data portion of the message ;-)
I'm truncating using the length I assumed the offset didn't actually
do anything. My Ruby code is tra
You want SVG and javascript:
http://www.browserland.org/scripts/svgclock/
(And possibly xmlrpchttp or whatever it's called this week)
That's the standards compliant way to do it :)
njh
-
This SF.net email is sponsored by:
Some more choises:
Tk: http://wiki.tcl.tk/569 (this one is more for dial input rather than
output)
Prima (?): http://search.cpan.org/~karasik/Prima-1.21/Prima/Sliders.pm
gtk: http://www.php-gtk.eu/code-snippets/dial-widget
.NET: http://www.kineticart.co.uk/ (shareware)
Java: http://www.elegantjcha
Have you considered getting the client to do the work? You could write
a webpage that uses two images and javascript or DHTML.
The first image would comprise the gauge with values, the second a
needle or pointer with a transparent background. Overlay the two
images, use javascript to rotate the po
Not off topic, at all.
http://search.cpan.org/~lusol/Tk-Gauge-0.3/Tk/Gauge.pm
http://www.lehigh.edu/~sol0/ptk/my-tk-apps.html
Paul Alfille
On 8/12/07, Rob Conway <[EMAIL PROTECTED]> wrote:
>
> I have been using rrdtool trending tool and owfs with great success all
> on a NSLU2. I was wonderin
On 8/11/07, Pedro Côrte-Real <[EMAIL PROTECTED]> wrote:
>
> I'm trying to read the presure from a sensor using owserver. I'm
> reading this from:
>
> /12.CC883400/TAI8570/pressure
>
> And I get something like:
>
> " 994.431"
>
> when it's reading from the cache. But when I use uncached or t
I have been using rrdtool trending tool and owfs with great success all on a
NSLU2. I was wondering if anybody knows or uses a program that can create a
png / jpeg image of a gauge or dial I can use to show the real time data. I
have seen some active X components however not very good for my l
Hi,
Pedro Côrte-Real:
> > The owfs header looks something around this.
>
> It can't really be that because it only happens when reading uncached
> and the code does one 24 byte read for the header and then another for
> the payload with the size given in the header.
I've never seen this. Things
On 8/12/07, Chris Malton <[EMAIL PROTECTED]> wrote:
> You may be seeing the Ruby Binding printing out the protocol header.
>
> The owfs header looks something around this.
It can't really be that because it only happens when reading uncached
and the code does one 24 byte read for the header and th
You may be seeing the Ruby Binding printing out the protocol header.
The owfs header looks something around this.
Chris
Pedro Côrte-Real wrote:
> I'm trying to read the presure from a sensor using owserver. I'm
> reading this from:
>
> /12.CC883400/TAI8570/pressure
>
> And I get something li
15 matches
Mail list logo