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, 2009 at 8:26 AM, sachsg<sa...@gmx.de> wrote: > > Hello, > > I have a Problem with OWNet::write. > > I'm trying to set an I/O-Port from a DS2408. I can set it with owhttp and > with > > ./owwrite -s localhost:3129 /29.D3B805000000/PIO.2 1 > > and with > > OW::init('localhost:3129'); > OW::put('/29.D3B805000000/PIO.2', '1'); > > But when I use this Statement > > OWNet::write( 'localhost:3129' , '/29.D3B805000000/PIO.2', '1' ) ; > > nothing happened. The returnvalue is undefined and the port is not set. > Reading with OWNet works fine. > > Can anyone help me? > > Guido > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers