diff options
Diffstat (limited to 'clients/tde/src/part/fpgaprogram/part.cpp')
-rw-r--r-- | clients/tde/src/part/fpgaprogram/part.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/clients/tde/src/part/fpgaprogram/part.cpp b/clients/tde/src/part/fpgaprogram/part.cpp index 11e3542..eab8c06 100644 --- a/clients/tde/src/part/fpgaprogram/part.cpp +++ b/clients/tde/src/part/fpgaprogram/part.cpp @@ -55,7 +55,7 @@ #include "floatspinbox.h" #include "layout.h" -#define NETWORK_COMM_TIMEOUT_MS 2500 +#define NETWORK_COMM_TIMEOUT_MS 15000 enum connectionModes { ModeIdle = 0, @@ -205,6 +205,7 @@ void FPGAProgramPart::connectionStatusChangedCallback() { void FPGAProgramPart::programRunButtonClicked() { m_commHandlerState = ModeProgramming_StateReadFile; m_commHandlerMode = ModeProgramming; + m_forcedUpdateTimer->start(0, TRUE); processLockouts(); } @@ -496,6 +497,9 @@ void FPGAProgramPart::mainEventLoop() { m_socket->clearFrameTail(); ds << TQString("STATUS"); m_socket->writeEndOfFrame(); + m_base->programmingProgressBar->reset(); + KMessageBox::error(0, i18n("<qt>Timeout</qt>"), i18n("Program Failed")); + processLockouts(); } } else { |