소스 검색

fixed bug: bitsTable.py was still using old write_pci command instead of pci.write

Miriam Brosi 7 년 전
부모
커밋
6e0c51bad0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      KCG/base/bitsTable.py

+ 1 - 1
KCG/base/bitsTable.py

@@ -317,7 +317,7 @@ class AdvancedBoardInterface(QtGui.QWidget):
         # self.parent.text_area.write("Writing to board Register 0x9040: %s" % ('0x{0:08x}'.format(dec_val_bits)))
         logging.info("Writing to board Register 0x9040: %s" % ('0x{0:08x}'.format(dec_val_bits)))
         try:
-            board.write_pci(self.board_id, hex(dec_val_bits), '0x9040')
+            board.pci.write(self.board_id, hex(dec_val_bits), '0x9040')
         except board.BoardError as e:
             QtGui.QMessageBox.critical(self, "Board communication",
                                        "Was unable to write value to board!\nReason: "+str(e)+"\nBoard: "+str(self.board_id))