def GroupVelocityCurrentGet (self, socketId, GroupName, nbElement):
        command = 'GroupVelocityCurrentGet(' + GroupName + ','
        for i in range(nbElement):
            if (i > 0):
                command += ','
            command += 'double *'
        command += ')'

        error, returnedString = self.Send(socketId, command)
        if (error != 0):
            return [error, returnedString]

        i, j, retList = 0, 0, [error]
        for paramNb in range(nbElement):
            while ((i+j) < len(returnedString) and returnedString[i+j] != ','):
                j += 1
            retList.append(eval(returnedString[i:i+j]))
            i, j = i+j+1, 0
        return retList


    # KillAll :  Put all groups in 'Not initialized' state
dataset/ETHPy150Open xraypy/xraylarch/plugins/epics/XPS_C8_drivers.py/XPS.GroupVelocityCurrentGet/original