I resolve this problem:

Manual instal OWNet-1.20 from cpan and now 
owserver->write("/27.C00A0000xxx/PIO.0", 1) is working


"ziuras" <[email protected]> wrote in message 
news:[email protected]...
> My example is not working.
> can anybody help me?
>
> owserver version:         2.8p2
> libow version:         2.8p2
>
> from shell:
> ------
> echo 0 > /srv/owfs/29.C2700A000000/PIO.BYTE
> cat /srv/owfs/29.C2700A000000/PIO.BYTE   # its ok, value (0)
> -------
>
> from perl script:
> ----------------
> use OWNet;
> my $server='localhost:4304';
> owsrv=OWNet->new($server);
> my $i = owserver->read('/29.C2700A000000/PIO.0'); # it's ok value is the 
> same (0) as in owfs: /srv/owfs/29.C2700A000000/PIO.0
> owserver->write('/29.C2700A000000/PIO.0', 1) #
> my $i = owserver->read('/29.C2700A000000/PIO.0'); the value is (0), not 
> (1) as i expected.
>
> my $i = owserver->read('/29.C2700A000000/PIO.BYTE'); # it's ok value is 
> the same (0) as in owfs: /srv/owfs/29.C2700A000000/PIO.0
> owserver->write('/29.C2700A000000/PIO.BYTE', 1) #
> my $i = owserver->read('/29.C2700A000000/PIO.BYTE'); the value is (0), not 
> (1) as i expected.
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) 
> Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev 




------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to