Benoit Guillon wrote: >Hello, > >First of all, thanks much for providing a python interface to openhpi. I >want to read the event states of discrete sensors, but the python seems >to not provide the SaHpiEventStateT class. Moreover, the >saHpiSensorReadingGet() function takes only 4 parameters instead of 5. >My question is: how can i read the discrete sensor values? Have I missed >something? > > Ok, it seems saHpiSensorReadingGet() returns a tuple with the event state as second item. Is there an easy way to know the python API? The repr() or .i files don't help much.
Regards, -- BenoƮt Guillon [EMAIL PROTECTED] TCT/3S tel. : 33 (0)4 98 16 33 90 THALES COMPUTERS ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Openhpi-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openhpi-devel
