We are working on a project where we need to service data coming in on a serial port relatively quickly. Every byte that comes in on the port must be acknowledged within 40ms. When a "large" CWGraph is displayed in VB6, or when one of the CWButtons is pressed, our comms thread is blocked for up to 200ms which kills our communications.
Has anyone found a way to prevent the CWUI components threads from blocking other threads for long periods such as this. We have been "messing" with process & thread priorities with no good results. Our development systems are most likely considerably faster than end-user systems will be, so this problem can only get worse unless we find a way to get processor time to the comms
thread when we need it.
Any comments, suggestions etc... would be greatly appreciated. Offerings of sympathy would also go a long way toward getting through the day......