|
-
Jun 21st, 2000, 04:51 PM
#1
Thread Starter
Hyperactive Member
I`m using a textbox to display traffic from a high speed serial bus. I have two different modes fixed and sequential. In fixed mode packets of the same ID are displayed on the same line, in sequential mode the new packet is added to the bottom of the list. The window always displays the last "n" packets (depending on the height of the window)
A Textbox is the fastest method I have found, the only downside is I have to re-draw the whole string every time I update the window (slow). Originally I used a listview, this was good because I could access individual lines in the table (instead of re-drawing the whole table as I do with a text box) but it was very very slow.
Is there a faster way of implementing this? At the moment if the bus gets busy the textbox can`nt keep up with the amount of data (mainly due to the slow re-draw) I have noticed changing the font has an effect, but is there another method altogether?
Cheers
I forget to add that I currently update the textbox with a timer (rather then every time a packet arrives). The packet data stored in array and the search / manipulation is done on this.
[Edited by Rick H on 06-22-2000 at 06:16 AM]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|