09-20-2006 04:16 AM
09-20-2006 04:24 AM
09-20-2006 07:14 AM
09-20-2006 07:17 AM
09-20-2006 07:27 AM
09-20-2006 07:53 AM
09-20-2006 08:04 AM
Three thoughts;
1) It looks like you are using more memory than you have physical memory. Page Faulting could be an issue. Try increassing memory.
2) Admitidly it is more work but... a picture control would only require an update of the part of the screen where the data has changed...
3) Minimize the screen update freq.
Ben
09-20-2006 08:34 AM
09-20-2006 08:53 AM - edited 09-20-2006 08:53 AM
Hi Jon,
A couple of years ago I developed a mock-up of a protocol analyzer screen where I displayed transmit and receive data in alternating lines of the display.
I did this using the picture controls ability to just update a portion of the display area and not having to completely re-draw everything.
I tracked were the next line of text should be inserted handled the screen updates explicitly.
This gave me much better performance than using a string control once the data set grew.
I am not at liberty to share that code.
The LV Picture Control thread found here
http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=14&jump=true
In post #25 I give you a link to an example where I do something similar to what I did for the protocol analyzer, only side-ways.
I hope this helps,
Ben
Message Edited by Ben on 09-20-2006 08:54 AM