Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- txt = ''
- txtec = ''
- txtecbin = ''
- txt += ' S%-2u/E%-2u' % (self.joints[j]["KR8300"][jcLink.KR8300_status], self.joints[j]["KR8300"][jcLink.KR8300_errors])
- ec = self.joints[j]["KR8300"][jcLink.KR8300_errors]
- txtecbin = '%0*d' % (32, int(bin(ec)[2:]))
- txt += ' binary ' + txtecbin
- fw1 = self.joints[j]["KR8300"][jcLink.KR8300_FW1ver]
- txt += ' (v%u.%02u)' % (fw1 / 100, fw1 % 100)
- self.lbSTAT.labels[j].SetLabel(txt)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement