LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to plot an ARRAY in LabWindows/CVI

Hello folks!

I want to plot an Array on my UIR.
Should I use a 'Graph' or better a 'strip Chart'?
I don't know which plot function I should use, because LabWindows offers a huge variety.
The Array I want to display is permanently (24h) growing every time interval I ad averaged values. So the x-Axis shows the elapsed measurement time. The y-axis should show show my Array.
How can I realize this? Do I have to make an array with the time information?

I am happy about every information I can get.
BTW: Is there a book or PDF or what ever out there, that gives an overview of all LabWindows/CVI functions, such as PLOT XY, PLOT waveform, mean . . . ?

Thnx, Florian.
0 Kudos
Message 1 of 2
(4,685 Views)
If you just have a uniform 1-D array to plot, use a graph and PlotY. That is the simplest way. If your data is non-uniform (different delta X's), then you would use PlotXY. The strip chart is for streaming data. It maintains the plot history, where as a graph is for plotting waveforms. For more help with plotting see the examples \cvi\samples\userint\stripchart.prj and \cvi\samples\userint\graphs.prj.

Best Regards,

Chris Matthews
National Instruments
Message 2 of 2
(4,685 Views)