in System Integration by

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 ?


Best Regards,

Andy Dong

1 Answer

0 votes
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

Hi Paul Banach,

It really helps.

Thank you

Best Regards,

Andy Dong

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint