Very fast updation of controls
Posted on 2005-05-14
I am developing an application that receives data from a USB port. I need to display this data on a control.
Time, node, data bytes (4 to 10 in number)
The data arrives on the USB at a rate of around 100 samples per millisecond
I am able to capture all this data into a log file without any problem,
When I try to display this data on a control, it is slow.
I have used
1. VS Flex
2. List control (seems a bit faster that VS Flex)
Can any of the experts suggest any other control or a better way of doing it?
1. I get the data and save it into a file (Works fine)
2. I read the data from the file and display (Bit slow and in a different thread)
I also thought of not using the file but to save the data into a vector when reading from the USB port, but since the display is slow, the vector's size grows and finally the system hangs.