09-10-2005 09:57 AM
09-12-2005 04:41 AM
09-12-2005 10:37 AM
Tomek,
I would add to what Norbert already suggested, that you look for the Programming with Graph Controls section of the online help, and in that topic read the Performance section. There are several trade-offs there that you might be able to take advantage of, if you are trying to reduce plot speed.
Having said that, if plotting is still taking too much time, and you want your program to be doing something else while you plot, then the best solution is for you to create a secondary thread and do your plotting from this other thread. You cannot decide to do this after you have already started plotting, however. You either have to plot the entire array in the secondary thread, or in the main thread.
If multi-threaded programming is new to you, and you would like to learn more about it, I suggest you read the Multithreading in LabWindows/CVI application note in the documentation bookshelf (click Help>>LabWindows/CVI, then click on Application Notes and White Papers, and then click on Multithreading in LabWindows/CVI)
Luis
NI