Ok, so I went back and re-installed owfs2.7p24. I did get a directory
listing 1 time out of 9. Still getting duplicates.
$ /opt/owfs/bin/owdir -s 4304
$ sudo /opt/owfs/bin/owdir -s 4304
[sudo] password for wgb:
/Volt_Meter(DS2450)
/Volt_Meter(DS2450)
/Moisture_Meter(DS2760)
/81.22712900
/IO
Are these correct for latest cvs?
cvs -d:pserver:anonym...@owfs.cvs.sourceforge.net:/cvsroot/owfs login
# (no password)
cvs -d:pserver:anonym...@owfs.cvs.sourceforge.net:/cvsroot/owfs co owfs
Paul Alfille wrote:
> I'm perplexed.
> At first I though it might be the "-uall", but that works.
> The
Paul Alfille wrote:
> I'm perplexed.
> At first I though it might be the "-uall", but that works.
> Then I though the alias file, but that works
>
> My tests:
>
> p...@amd64:~/owfs> sudo /opt/owfs/bin/owserver -uall --usb_regulartime
> p...@amd64:~/owfs> /opt/owfs/bin/owdir /uncached
> /uncached/81
Based in the syntax, you are using owperl.
There are only 4 commands:
OW::init
OW::get
OW::put
OW::finish
The man page is http://owfs.org/index.php?page=owperl
Fortunately you say that 'put' works. Am I missing something here? Do
I need to fix up the documentation?
Paul Alfille
On Wed, Jul 22
I'm perplexed.
At first I though it might be the "-uall", but that works.
Then I though the alias file, but that works
My tests:
p...@amd64:~/owfs> sudo /opt/owfs/bin/owserver -uall --usb_regulartime
p...@amd64:~/owfs> /opt/owfs/bin/owdir /uncached
/uncached/81.6B1B2400
/uncached/21.DA4702004
Correct version
# 1 wire server init
my $owserver_ip = '192.168.0.54:4304';
print "\n1wire server $owserver_ip\n";
# read
$io_1_8_Pio3 = OWNet::read('192.168.0.54:4304',
'/29.9D6D0400/PIO.3') or $io_1_8_Pio3 = " read error";
print "\tPio read >$io_1_8_Pio3\n";
print "\tPio read ret
Ziggy wrote:
> Pardon me for jumping in here, but I did notice that in this last
> message you were using port 4303 while in your next earlier message
> regarding owfs you were using port 4304. That would explain the
> 'connection refused'. Hope this helps somehow.
>
>
I caught that too, I
Object methods are having trouble too, using
# owserver new
my $owserver;
$owserver = OWNet->new('192.168.0.54:4304 -v') or $owserver = " ip error";
print "\towserver new >$owserver\n";
print "\towserver new > ", $!, "\n\n";
# present
$io_1_8_Pio3 = $owserver->present('/29.9D6D0400/
Pardon me for jumping in here, but I did notice that in this last
message you were using port 4303 while in your next earlier message
regarding owfs you were using port 4304. That would explain the
'connection refused'. Hope this helps somehow.
On Aug 13, 2009, at 7:50 PM, William Brown
w
I too have been having trouble so can't offer much help. I have used
ownet successfully in the past but now when I run the code below I get a
connection refused error. OW for perl works ok.
# read
$io_1_8_Pio3 = OWNet::read('192.168.0.54:4303',
'/29.9D6D0400/PIO.3') or $io_1_8_Pio3 = " r
Paul Alfille wrote:
> If you are comfortable pulling from the CVS, try it out and see.
> Otherwise I'll test it in the next couple of days.
>
>
Same issues as before. Anything else you want me to check?
$/opt/owfs/bin/owserver -V
/opt/owfs/bin/owserver version:
2.7p24
libow version:
2.7
If you are comfortable pulling from the CVS, try it out and see.
Otherwise I'll test it in the next couple of days.
Paul Alfille
On Wed, Aug 12, 2009 at 10:46 PM, William Brown wrote:
> That's great news. Does it also explain my no communication issue in
> owfs27p24?
>
>
> Paul Alfille wrote:
>>
I will check and get back to you.
Paul Alfille
On Thu, Aug 13, 2009 at 4:00 AM, sachsg wrote:
>
> No one any suggestion?
>
> Aren´t anyone using OWNET?
>
> Guido
>
--
Let Crystal Reports handle the reporting - Free Cryst
13 matches
Mail list logo