def METHOD_NAME(self, channel=0):
    resourceString = self.resourceName + "/ao" + str(channel)
    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))