328 views
in System Integration by

Hi, Great work you guys are doing (thumbs up) , keepup

I got a question,

I have lots of constants, configurations, data variables in structure form and some methods(function that gives TRUE/FALSE based on some condition). I wanted to maintain those datas via another tool.

I wanted to bring those datas into embedded wizard environment and process/validate them.

How can i do that ?

1 possibility is, I can modify my tool to generate output in to the form as Chora expects. In this case can i code chora in different files and link into my embedded wizard project ??

Ans:- ??

or is ther any other possibility ?
Ans:- ??

I also have data in json format, does chora can read it ?
Ans:-??


please suggest.

1 Answer

0 votes
by
 
Best answer

Hello,

Chora files are text files you can simply edit with a text editor. So if you have a tool generating data structures, etc. and the generated contents change often, the best would be to generate directly the Chora code or convert from the original syntax in Chora syntax.

In order to not interfer with other parts of your Embedded Wizard project, you can manage these contents in a separate unit. Should such unit content change while your project is opened in Embedded Wizard, you will receive a warning asking you whether to reload the changesor not.

In turn, reading json is actually not supported.

Other possibility would be to implement a dedicated interface between the GUI and the underlying target system optimized to exchange the data structures, configuration parameters, etc. Please take a look at the article Integrating with the device and Device Class and Device Driver. They address how information can be exchanged between GUI and the application. In principle you can implement in the DeviceClass interfaces to read configuration parameters, etc. Through the deviceClass the GUI application can access the values.

Hope it helps you.

Best regards

Paul

 

Embedded Wizard Website | Privacy Policy | Imprint

...