Hello,
I use the ComBreak function to generate a break on the RS232 Tx Line. My program sequence is :
ComBreak (1, 2);
ComWrtByte (1, 0x55);
ComWrtByte (1, octet1);
ComWrtByte (1, octet2);
ComWrtByte (1, octet3);
ComBreak (1, 2);
ComWrtByte (1, 0x55);
ComWrtByte (1, 0x61);
The problem is that the second ComBreak doesn't wait the end of the 3 ComWrtByte. So, the result is a mix of the 2 frames.If i use a waiting loop like while(GetOutQLen (1));, the delay between the 2 frames becomes too much long.
Is there a solution to my problem ?
Thanks for your help !