fehler behoben laufzeit
This commit is contained in:
@ -105,6 +105,7 @@ public class Controller_Frontend {
|
|||||||
Platform.runLater(() -> {
|
Platform.runLater(() -> {
|
||||||
try {
|
try {
|
||||||
stepintoButton(null);
|
stepintoButton(null);
|
||||||
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
@ -117,7 +118,7 @@ public class Controller_Frontend {
|
|||||||
});
|
});
|
||||||
autoRunThread.setDaemon(true);
|
autoRunThread.setDaemon(true);
|
||||||
autoRunThread.start();
|
autoRunThread.start();
|
||||||
totalExecutionTimeLabel.setText("Total Execution Time: " + Commands.getTotalExecutionTime() + " ms");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -162,6 +163,8 @@ public class Controller_Frontend {
|
|||||||
Stage stage = (Stage) stepintoButton.getScene().getWindow();
|
Stage stage = (Stage) stepintoButton.getScene().getWindow();
|
||||||
CreateWindow.refreshTable(stage);
|
CreateWindow.refreshTable(stage);
|
||||||
IOPorts.refreshUI(getTRISbuttons(), getPORTbuttons());
|
IOPorts.refreshUI(getTRISbuttons(), getPORTbuttons());
|
||||||
|
//Total Execution Time
|
||||||
|
totalExecutionTimeLabel.setText("Total Execution Time: " + Commands.getTotalExecutionTime() + " microsekunden");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -43,7 +43,7 @@ public class WatchdogTimer {
|
|||||||
|
|
||||||
|
|
||||||
private void activateWatchdog(int prescaler) {
|
private void activateWatchdog(int prescaler) {
|
||||||
// Teilerfaktor entsprechend einstellen
|
// Teilerfaktor entsprechend einstellen durch zweierpotenz
|
||||||
switch (prescaler) {
|
switch (prescaler) {
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user