I'm no expert at pyowfs but data in /bus.0/interface should give you
information.

On Thu, Dec 23, 2010 at 6:49 PM, Mick Sulley <m...@sulley.info> wrote:
> I have looked at it, but I can't see how to implement it for pyowfs.
> Can you give me any pointers?
>
>
> On Thu, 2010-12-23 at 12:50 -0900, Joshua J. Kugler wrote:
>> On Thursday 23 December 2010, Mick Sulley elucidated thus:
>> > Hi,
>> >
>> > I have a python program using pyowfs to read a 1-wire network.  The
>> > system overall works very well, but I have been trying to make it
>> > more robust, giving error messages for as many problems as I can, but
>> > what I have not been able to to get is 1-wire not plugged into the
>> > serial port, or plugged into the wrong serial port.
>> >
>> > My code has -
>> >
>> > from pyowfs import Connection
>> > connection = Connection("/dev/ttyS0")
>> >
>> > If the 1-wire is not plugged in to ttyS0 the second of those lines
>> > just hangs.  Is there any way to put a timeout on it and get it to
>> > return an error message?  I have tried a few things but can't get
>> > anything to work.
>>
>> Have you tried the 'signal' module, and settings alarms?
>>
>> j
>>
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to