394 views
in System Integration by

 

Hi,

My Embedded Wizard project has a lot of data (object position,config settings,password etc ) need to be stored.

As a prototype , I used AutoObject to store the above data.

My Device has a structure like below : 

typedef struct
{
  unsigned long  Header;                    
  unsigned long  DataLen;                   
  unsigned long  Checksum;
  int Position_X[10];
  int Position_Y[10];
  ......
  ......

}PRIVATE_DATA;

When I run as prototype, I uesed below code to get object position and show on Stroked Path.

Database::Data is an AutoObject.

for(i=0;i<5;i=i+1)
{   
    ....
    ....
    TargetIcon.Translate(Database::Data.X[i],Database::Data.Y[i]);
    ....
    ....
}

Now, I want to run on the device and get object position from the device structure (Position_X & Postion_Y).

Is there any suggestions how should I do ?

Thanks

 

Best Regards,

Andy Dong

1 Answer

0 votes
by
 
Best answer

Hello Andy,

your question addresses the aspect of how to exchange data between the GUI application and other software running on the device. I would recommend you to study following documentation:

Integrating with the device - describes basic concepts of data exchange and interaction between GUI/device

Device Class and Device Driver - describes a concept of an interface to separate the GUI application from other software.

Does it help you further?

Best regards

Paul Banach

by
Hi Paul,

Thanks I will study the documents.

 

Best Regards,

Andy Dong

Embedded Wizard Website | Privacy Policy | Imprint

...