how to pass data to embedded wizard project and how to get data from embedded wizard

139 views
asked Mar 20 in System Integration by varunshatagopam
Hi Team,

I am having  the C and H  which contains some data i need to pass the data to embedded wizard project where i will validate the data.(consider data is integer or float)

Example: I need to send the min, max and current value from my C and H files to Embedded Wizard project where i will store it in some variable in inside class in my embedded wizard project and use it for validation and i need to send the updated value to my C and H file.

Please let me know  how can i achieve this and how to link my C and H files to the embedded wizard project .

Regards,

varun kumar

1 Answer

0 votes
answered Mar 20 by Manfred Schweyer

Hello Varun Kumar,

let me recommend to study the chapters Integrating with the device and Implementing a Device Interface which descirbes all details about exchanging data between the GUI application and the underlying system.

Furthermore, within our Build Environments you will find an example called 'DeviceIntegration' that demonstrates the interaction between the GUI application and the hardware.

Best regards,

Manfred.

 

commented Mar 21 by varunshatagopam
Thanks fo the information.

Actually i am doing for windows application how i can include the C and H file i am not getting exactly where to write the code that need to send to embedded wizard.

Where to write the native code for windows application .Do we need any protocol(ex:CAN ) to communicate with embedded Wizard project .

Please let me know its high priority for me now .

 

Regards,

varun kumar
commented Mar 21 by Manfred Schweyer
Hello,

maybe you can explain your project more detailed - otherwise we talk about "where to add some code"...

The referred documentation covers all the different aspects of exchanging data between an Embeded Wizard GUI application and an external data provider.

In order to find a solution for your dedicated use-case it is necessary to explain that use-case.

Are you talking about an embedded system or a windows application? What kind of project are you developing? How do you want to exchange data?

Best regards,

Manfred.
commented Mar 22 by varunshatagopam
Hi Manfred,

I have created the empty project which contains the two arrow buttons to increase and decrease the temperature between the buttons temperature value is present (current temperature)

Now i want to get the temperature upper limit and lower limit from outside of embedded wizard( from c and h file)  from there i need to pass to the embedded wizard consider(lower limit= 0 degree and upper limit= 40 degree celsius) I need to take these values  and i need to validate in the Embedded wizard project .(upper limit= 40 degree celsius ,lower limit = 0 degree celsius).

I can validate the values by hardcoding the values in embedded wizard but i need to pass from my c and h files to embedded wizard .

please let me know how can i do it .

 

Regards,

varun kumar
commented Mar 23 by varunshatagopam
Hi Manfred,

Please refer the above comment and let me know how can i do it . it is high priority for me right now .

Thanks in advance!

Regards,

varun kumar
commented Mar 23 by Manfred Schweyer
Hi Varun,

of course, we try to help all Embedded Wizard users as best as possible and based on the provided information.

The links in my first answer are already referring to all the necessary documentation - in order to support you for a dedicated use-case, I still need more information.

Please let me know:

1.) Are you talking about an embedded system or a windows application? Which Build Environment are you using?

2.) What kind of project are you developing?

3.) How do you want to exchange data? Do you have an API go get the temperature values?

4.) You mentioned "Now i want to get the temperature upper limit and lower limit from outside of embedded wizard( from c and h file)". Do you want to get these values into Embedded Wizard Studio or do you want to get these values into your Embedded Wizard generated GUI application?

Best regards,

Manfred.
commented Mar 23 by varunshatagopam

Thanks for response

1.) Are you talking about an embedded system or a windows application? Which Build Environment are you using?

Answer:   For demo purpose i created for Windows Application .
2.) What kind of project are you developing?

Answer: I am developing remote for Air conditioning .
3.) How do you want to exchange data? Do you have an API go get the temperature values?

Answer :Actually in my C file i am having the function which contains the maximum and minumum temperature hardcoded values .

Now i want to send these values to my embedded wizard studio.

4.) You mentioned "Now i want to get the temperature upper limit and lower limit from outside of embedded wizard( from c and h file)". Do you want to get these values into Embedded Wizard Studio or do you want to get these values into your Embedded Wizard generated GUI application?

Answer: I want to get these values into embedded wizard studio.

Please refer the below screen for information

When you click on the up arrow on temperature it wil increase the temperature. I need to validate it til 40 degree that max limit 40 degree should be passed to embedded wizard studio .

similarly for the down arrow minimum temperature limit is 0 degree that also need to pass to embedded wizard studio.

varun kumar

commented Mar 23 by Manfred Schweyer

Hi Varun,

thanks for your answer. If you want to have some data exchange between your GUI application running within the Prototyper of Embedded Wizard Studio and your real hardware (via your own C code) you need to implement a Prototyper intrinsics module. By creating and using an Intrinsics module, you can extend Embedded Wizard Studio with target specific functionaltity.

Let me refer to the detailed documentation (including example) of the chapter Implementing Prototyper Intrinsics.

I hope this helps...

Best regards,

Manfred.

Embedded Wizard Website | Privacy Policy | Imprint

...