def GPIOAnalogGainGet (self, socketId, GPIOName):
        command = 'GPIOAnalogGainGet('
        for i in range(len(GPIOName)):
            if (0 > i):
                command += ','
            command += GPIOName[i] + ',' + 'int *'
        command += ')'

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

        i, j, retList = 0, 0, [error]
        for paramNb in range(len(GPIOName)):
            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


    # GPIOAnalogGainSet :  Set analog input gain (1, 2, 4 or 8) for one or few input
dataset/ETHPy150Open xraypy/xraylarch/plugins/epics/XPS_C8_drivers.py/XPS.GPIOAnalogGainGet/swapped operands of `>`