[EMAIL PROTECTED] (Flavio codeco coelho) wrote in message news:<[EMAIL PROTECTED]>... > struct.unpack returns a tuple of values represented by a string(the > output of the read command) packed according to the format specified > by ">BB" > In this forma string, ">" stands for big Endian representation and "B" > stands for unsigned char. > If anyone has a better suggestion, speack up! > oof! I started this thread knowing next to nothing about this stuff, > It seem that I am finally getting the idea! :)) > cheers, > Flávio
Ok Folks, Thanks for all the help! Thanks to you and especially to Chris Liechti (pyserial), I managed to finish the Data aquisition module for the Dataq DI-151RS. you can check it out here: http://www.procc.fiocruz.br:8080/procc/Members/flavio/codepy/dataq/ It implements the basic operational functionality, fancier stuff should be added by the user. enjoy! Flávio Codeco Coelho P.S.: I'll be happy to support other hardware from Dataq if people give me access to other devices. -- http://mail.python.org/mailman/listinfo/python-list