I hope this is posted in the correct place, perhaps an Administrator can move it for me if it isn't.

Does anyone use the BNComm control? I am sending a string to a chip embedded in an electronic product. It responds with an "OK" or "NOK".

How do I pause my code while I wait for the reply when the BNComm1.ComEvent is triggered? If I use Sleep api, the event isn't triggered if the string is returned by the unit when the program is Sleeping.
Same problem with a 'Do until' to wait for an event, it just locks my code.

Can anyone please help, this is a major problem for me, as I have a customer who is getting impatient.

Thank you.