def METHOD_NAME(self):
    ai_num_chan = len(self.ai_chan_list)
    ai_chan_list_c = (c_uint * len(self.ai_chan_list)
                      )(*self.ai_chan_list)
    CONTIPPSETUP.niInterfaceLib.temperatureProbeControl(c_uint(self.board_id), ai_chan_list_c, c_int(ai_num_chan), c_int(
        self.ai_fdch_idx), c_double(self.clock_freq), c_int(self.aoch_id), c_int(self.doch_id), c_double(self.temp_ref))
    print("Thread STOP")
    CONTIPPSETUP.threadActive = False