The stat buffer has a "homed" flag. It is set to 0 before the axis has been homed, and during the homing process. Thus, your test would look something like: def my_rotary_axis_is_still_finding_home(): s.poll() return s.homed[3] == 0
I haven't tested this myself. Jeff ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users