231 views
in GUI Development by

Hello,

how can I display a uint16 variable/property (or other different from int32) using ValueDisplay widget?

I tried to link the varibale/property to widget outlet, but it only accept int32 values. I tried to see in the widget config if it is possible to change data type, but didn't find a solution. Do I need a "support" int32 varible or can I do some cast to unit16 directly on Outlet field?

If I try to "force" the Outlet field with a uint16 variable, I got this error:

1 Answer

0 votes
by
 
Best answer
Hello,

the simplest approach is to use int32 properties. Therefore I would recommend to adapt your project so that the relevant properties have int32 type. With uint16 property you save only 2 bytes of memory.

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

...