|
@@ -110,6 +110,8 @@ def _bif_continuous_read_is_enabled(popup_title_text=None):
|
|
|
def _bif_status_readout():
|
|
|
# TODO: NOTE: Problem with this is that certain buttons will be greyed out until other buttons are pressed
|
|
|
# TODO: even if only the gui is restarted and the board is in the same state
|
|
|
+ if kcgw.testing:
|
|
|
+ return # TODO: IMPORTANT REMOVE THIS !!!!!
|
|
|
if board.is_active():
|
|
|
Buttons.setEnabled("after_start", True)
|
|
|
Buttons.setEnabled("start_board", False)
|
|
@@ -945,9 +947,9 @@ def _bif_start_time_scan(c_frm, c_to, f_frm, f_to, timescan_progressbar, plot_fu
|
|
|
board.flush_dma()
|
|
|
# ----------------------------------------------
|
|
|
|
|
|
- #f_name = "/home/blaxxun/Documents/Hiwi/KaptureSimulator/timescan/" + str(coarse) + "_" + str(fine) + ".str"
|
|
|
- #f = open(f_name, 'r')
|
|
|
- #data_raw = f.read()
|
|
|
+ # f_name = "/home/blaxxun/Documents/Hiwi/KaptureSimulator/timescan/" + str(coarse) + "_" + str(fine) + ".str"
|
|
|
+ # f = open(f_name, 'r')
|
|
|
+ # data_raw = f.read()
|
|
|
|
|
|
#Sadly, the PCI software also outputs the Information, that it has written data to the desired file.
|
|
|
#This is recorded by our software and needs to be removed, so we split the returned string at the
|