The PosAndAvgCurr attribute is a list of 3 elements. The following Vc extract the average current element.
#!/bin/env python import PyTango class VC: def __init__(self): self.proxy = PyTango.DeviceProxy( "p09/i404/exp.01") # # dev_state # def dev_state( self): return self.proxy.state() # # Counts # def read_Counts( self): lst = self.proxy.PosAndAvgCurr if len( lst) != 3: return None return lst[2] def write_Counts( self, argin): return 1 def Reset(self): return True if __name__ == "__main__": vc = VC() print "the average current", vc.read_Counts()