steve4king
IS-IT--Management
I've worked with a few point of sale applications, and in a few rare cases seen where a cheap USB-Serial converter would cause occasional lockups when attempting to send messages to a display pole.
I've recently had a few users complain about locks or long delays which have been attributed to display pole communications. No converters in this case.
So, I'm going back through one of these and trying to determine how I can make the process faster/more robust.
We're using MSComm32, (OPOS is tempting, but thinking it's probably unnecessary)
Assuming there is an anomaly where communication runs into an issue or delay.. Will the OnComm event pick that up? (Being unfamiliar here, it looks like OnComm is usually used for detecting receive buffer changes moreso than error handling..)
Is it possible to push the display update into a new thread so that my application doesn't have to wait for it? If not, just setting a 1 second timeout would probably suffice.. without using a second thread however, I'm not sure how that would be accomplished.
Any thoughts?
Thanks,
-Stephen
I've recently had a few users complain about locks or long delays which have been attributed to display pole communications. No converters in this case.
So, I'm going back through one of these and trying to determine how I can make the process faster/more robust.
We're using MSComm32, (OPOS is tempting, but thinking it's probably unnecessary)
Assuming there is an anomaly where communication runs into an issue or delay.. Will the OnComm event pick that up? (Being unfamiliar here, it looks like OnComm is usually used for detecting receive buffer changes moreso than error handling..)
Is it possible to push the display update into a new thread so that my application doesn't have to wait for it? If not, just setting a 1 second timeout would probably suffice.. without using a second thread however, I'm not sure how that would be accomplished.
Any thoughts?
Thanks,
-Stephen