def METHOD_NAME(self, channelList):
    resourceString = ""
    for num, channel in enumerate(channelList):
        if num > 0:
            resourceString += ", "  # Add a comma before entries 2 and so on
        resourceString += self.resourceName + "/ao" + str(num)
    self.taskHandleAO = TaskHandle(0)
    self.CHK(nidaq.DAQmxCreateTask("", ctypes.byref(self.taskHandleAO)))
    self.CHK(nidaq.DAQmxCreateAOVoltageChan(self.taskHandleAO,
                                            resourceString, "",
                                            float64(-10.0), float64(10.0),
                                            DAQmx_Val_Volts, None))