NI CWGraph 显示波形图
Posted zitjubiz
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了NI CWGraph 显示波形图相关的知识,希望对你有一定的参考价值。
ptrWaveBox.Axes(1).Maximum = 1000 ptrWaveBox.Axes(2).Maximum = 20 ptrWaveBox.Axes(2).Minimum = 0 Dim fTemp(2000) As Single For n = 0 To iPixel - 1 fTemp(n) = wave(n) Next ReDim wave(iPixel) As Single For n = 0 To iPixel - 1 wave(n) = fTemp(n) Next wave(iPixel) = Rnd(10) * 10 iPixel = iPixel + 1 xFirst = 0 If (iPixel > ptrWaveBox.Axes(1).Maximum) Then xFirst = ptrWaveBox.Axes(1).Maximum - iPixel + 1 End If ptrWaveBox.Plots(1).PlotY wave, xFirst ptrWaveBox.Plots(1).Visible = True
以上是关于NI CWGraph 显示波形图的主要内容,如果未能解决你的问题,请参考以下文章