Hi Paul, + in my application i am using pyowfs ... + inside pyowfs i load the libowcapi via ctypes ...
but if i have two adapters connected, initialisation of a newly imported libowcapi resets all other libowcapi "instances" to the same interface ... which is definitely not what i want ... :( as i havent thought about this earlier (no two adapters present at the same time) - it is clear to me that when loading a lib via ctypes - i get the possibility to call the functions therein - and libowcapi is not designed to have different connections to different devices open concurrently - at least the api doesnt return you and handles ... just tells you if initialisation was ok or not ... so, these questions arise: + are there other possibilities (other libs within owfs) that i can use for this - that can handle arbitary 1w-adapters (appearing and disappearing randomly over time) + would it be possible (if not too much changes in other places) to enhance libowcapi to return a handle you pass over to all functions it provides, to have at least the possibility to have more concurrent connections open at once - or is owfs limiting here by design ... at least i hope not ;) or do i have to initialise owcapi everytime i am accessing owfs if i have more than one adapter ... i.e. ds2490 + linkusb, 2x linkusb ... as this is currently rather slow (4 seconds until linkusb led flashes first time) ... i would not be *very* happy with this solution ;) however i am currently running ... 2.8p3 so, any help would be greatly appreciated ... thanks, marcus. ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
