|
@@ -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))
|