693 views
in System Integration by
Hello,

How is possible to transfer or store to variable selected Time data from Time picker for transfer STM32 device about time adjust or alarm clock set.

Thx

1 Answer

0 votes
by

Hello,

almost every GUI application is intended to interact with a real system - so it needs to display some real data from a certain machine or it needs to control some activities of the underlying system. However this is sometimes not the simplest part.

Let me refer to the articles Integrating with the device and Device Class and Device Driver, both are part of our online documentation. They explain all basics about native code and the integration of external software APIs or hardware drivers. Knowing this, you should be able to exchange data (e.g. time) with your target device (e.g. STM32).

The other aspect is how to exchange data with the Time Picker component. Use for this purpose the component's properties Hour, Minute and Second. After receiving a time information from your device you can assign values to these properties. The another way (when the user interacts with the Time Picker) the component will send signals to a slot method connected to its property OnChange. Within the slot method you can implement code to read the component's properties Hour, Minute and Second and then to update the setting in your target (e.g. STM32).

Best regards,

Paul Banach

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...