Hello all,
I saw here it's market place so hope posting right. I have a project almost finished, MCU (PIC & C) + PC which basically exchange data between PC app. and board over TCPIP.
I wrote a small Delphi app. using win sockets which sends commands to MCU (16...32 bytes) and expects back data (packets of 512...2048 bytes, fixed size finally anyway). There is a part where I get stucked due to my Delphi (win) limited knowledge, downloading many packets at once.
Something like in MCU interrupts are for, but in PC app. because right now I've done in a very crude way... request pack no#.. wait for pack no#.. and so on... but main app remains blocked and user cannot abort, resume, etc.
I'm sure there is a clever way to handle multiple tasks in PC app. so I ask in this forum hoping many of you designed MCU+PC apps.
If some one interested please PM or reply, this is a small part time job. Only download part, Delphi required to integrate further and use rest of work.
Best regards,
|