67 views
in GUI Development by

Hello,

I am exploring the GUI examples you provided. I faced a problem while I am running "Smart Thermostat" example. I am first deleting Thermostat::Thermostat Controller object in Thermostat::Thermostat Class at first. Later, I am re-paste it with "Instance Paste". However, when I run the app on PC, Thermostat rotating not works. It does not make simulation while rotating the wheel. How can I fix it? pls. see the screenshot below

https://ask.embedded-wizard.de/?qa=blob&qa_blobid=18303780124239582912

https://ask.embedded-wizard.de/?qa=blob&qa_blobid=16748669348750863883

https://ask.embedded-wizard.de/?qa=blob&qa_blobid=12766194872922888572

https://ask.embedded-wizard.de/?qa=blob&qa_blobid=18386349758810695772

 

1 Answer

0 votes
by

Hello,

the reason for the observed behavior is, that the new TemperatureController that you have inserted is not connected to any property - so changing the temperature does not have  any impact to the nominal temperature and actual temperature.

Please have a look to the original instance:

The OutletActual and OutletNominal properties have to be initialized - then it will work.

Best regards,

Manfred.

by
Hello Manfred,

I already did you explained in the comment. However, it does not work. I atttached several SS in my first question how I did.
by
Hello,

I tried it once more as explained and as soon as the outlet properties are connected it works fine. Maybe you have changed some other things in your project...

Best regards,

Manfred.
by
I tried the same with embedded wizard v13. Yes it worked. But, my first post, I did it in embedded wizard v11. I changed nothing actually. I did the same in both. Thanks.
by
I just verified it with version 11 of Embedded Wizard Studio. Also with version 11 it works. There must have been other modifications in your project... Maybe you have accidentally modified and saved the example project.
by
I will review again then.

Thank you very much for your quick support.

Embedded Wizard Website | Privacy Policy | Imprint

...