1.0k views
in System Integration by
Hi,

In my device, I have an array named userdata (char userdata[10])

and in EW, I have a property string named tmpdata

How to convert the tmpdata type and store into userdata ?

Thanks!

Best Regards,

Andy Dong

1 Answer

0 votes
by
 
Best answer

Hello Andy,

please see the section Be careful when exchanging strings. Especially note in the article the usage of the functions EwStringToAnsi() or EwStringToUtf8(). The article also contains code-examples demonstrating the conversion between Embedded Wizard own strings and C char arrays.

Does it help you?

Best regards

Paul Banach

by
Hi Paul Banach,

It really helps.

Thank you

Best Regards,

Andy Dong

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

...