diff --git a/spinnman/extended/extended_transceiver.py b/spinnman/extended/extended_transceiver.py index f2120267f..0bca38d81 100644 --- a/spinnman/extended/extended_transceiver.py +++ b/spinnman/extended/extended_transceiver.py @@ -451,7 +451,7 @@ def set_led(self, led, action, board, cabinet, frame): warn_once(logger, "The set_led method is deprecated and " "untested due to no known use.") process = SendSingleCommandProcess( - self._bmp_connection(cabinet, frame)) + self._bmp_selector(cabinet, frame)) process.execute(BMPSetLed(led, action, board)) def read_adc_data(self, board, cabinet, frame): @@ -472,7 +472,7 @@ def read_adc_data(self, board, cabinet, frame): warn_once(logger, "The read_adc_data method is deprecated and " "untested due to no known use.") process = SendSingleCommandProcess( - self._bmp_connection(cabinet, frame)) + self._bmp_selector(cabinet, frame)) response = process.execute(ReadADC(board)) return response.adc_info # pylint: disable=no-member diff --git a/spinnman/transceiver.py b/spinnman/transceiver.py index f6eee02c6..5d9edfaac 100644 --- a/spinnman/transceiver.py +++ b/spinnman/transceiver.py @@ -1103,7 +1103,7 @@ def power_off(self, boards=0, cabinet=0, frame=0): """ self._power(PowerCommand.POWER_OFF, boards, cabinet, frame) - def _bmp_connection(self, cabinet, frame): + def _bmp_selector(self, cabinet, frame): """ :param int cabinet: :param int frame: @@ -1128,7 +1128,7 @@ def _power(self, power_command, boards=0, cabinet=0, frame=0): :param int frame: the ID of the frame in the cabinet containing the board(s), or 0 if the board is not in a frame """ - connection_selector = self._bmp_connection(cabinet, frame) + connection_selector = self._bmp_selector(cabinet, frame) timeout = ( BMP_POWER_ON_TIMEOUT if power_command == PowerCommand.POWER_ON @@ -1158,7 +1158,7 @@ def read_fpga_register(self, fpga_num, register, cabinet, frame, board): :rtype: int """ process = SendSingleCommandProcess( - self._bmp_connection(cabinet, frame), timeout=1.0) + self._bmp_selector(cabinet, frame), timeout=1.0) response = process.execute( ReadFPGARegister(fpga_num, register, board)) return response.fpga_register # pylint: disable=no-member @@ -1179,7 +1179,7 @@ def write_fpga_register(self, fpga_num, register, value, cabinet, frame, :param int board: which board to write the FPGA register to """ process = SendSingleCommandProcess( - self._bmp_connection(cabinet, frame)) + self._bmp_selector(cabinet, frame)) process.execute( WriteFPGARegister(fpga_num, register, value, board)) @@ -1193,7 +1193,7 @@ def read_bmp_version(self, board, cabinet, frame): :return: the sver from the BMP """ process = SendSingleCommandProcess( - self._bmp_connection(cabinet, frame)) + self._bmp_selector(cabinet, frame)) response = process.execute(BMPGetVersion(board)) return response.version_info # pylint: disable=no-member