Is it possible to have a real time application on Windows that continually receives messages on a serial port at 38400 baud and sends an acknowledge to each message where the delay before the ack is sent averages less than 100 milliseconds (or preferably less than 50 ms) and is never more than one or two seconds. The sending end retries a few times if it gets no ack from the PC, then discards the message and signals a fault. The messages being sent to the PC are mostly 30 to 50 bytes and the ack response is around 6 bytes. The sending end can queue approx, say, max 200 messages if the PC doesn't keep up for a short period.
Is it possible to have like a high priority thread or something to help ensure the ack response is sent as quickly as possible so that the sending device never has to discard any messages?
Is it possible to have like a high priority thread or something to help ensure the ack response is sent as quickly as possible so that the sending device never has to discard any messages?