03-01-2006 04:06 PM
03-01-2006 11:40 PM - edited 03-01-2006 11:40 PM
Message Edited by Dynamik on 03-01-2006 11:49 PM
03-02-2006 07:32 AM
03-02-2006 11:44 AM
Hello Paul,
Thanks for posting to the NI Discussion Forums!  What type of display are
you using -- chart, graph, etc..?  If you are plotting very large amounts
of data in a graph each iteration I would expect some performance hit (you do
well with the defer updates,etc...).  The UI thread (there's only one for
your entire LabVIEW execution system) is notoriously slow, and every UI update
requires a context switch to the UI thread.  I would perform UI events
sparingly -- avoid property nodes, variables, and unnecessary panel activity if
you are concerned with speed.  It sounds like you are off to a good start
with this, but consider using charts with different mode updates to display
your data, maybe not even plotting every point.  Another possibility is
that the method that the board's manufacturer uses to transfer data from the
card to LabVIEW is a bottleneck.  It sounds like you've traced it to the
panel updates, but its always a possibility that the data just isn’t coming
over fast enough.
It wasn't much, but I hope this helps -
03-02-2006 12:00 PM
03-02-2006 01:39 PM
03-02-2006 01:52 PM
03-02-2006 03:00 PM
Bingo!
"
03-03-2006 08:00 AM
03-03-2006 08:18 AM
An orange CLF runs in the User Interface thread which is single threaded. That means once something is started in that thread, it must complete before anything else that runs in that thread can get at the the CPU.
If you graph/chart/what-ever is wasting a lot of time, the other stuff just has to wait.
Ben