Device panel constructors take the device (interface) and thus build the GUI panel accordingly by binding the GUI elements to the device variables. One thing not to forget is to synchronize the state of the GUI in the constructor, otherwise the GUI will not reflect the state of the device before any events are fired.
For example, at start the stages are ready (for the stage simulator) but thsi is not reflectd on the GUI. I added the following code to ensure that:
Please make sure that all the other panels and other variables of the stage panel also have this construction time sync.
Device panel constructors take the device (interface) and thus build the GUI panel accordingly by binding the GUI elements to the device variables. One thing not to forget is to synchronize the state of the GUI in the constructor, otherwise the GUI will not reflect the state of the device before any events are fired.
For example, at start the stages are ready (for the stage simulator) but thsi is not reflectd on the GUI. I added the following code to ensure that:
Please make sure that all the other panels and other variables of the stage panel also have this construction time sync.