We are porting an application from LabVIEW to Meas Studio 7, in C#.
As each data point is received, we would like to see it displayed, using a WaveformPlot on a WaveformGraph. (we chose this object to utilize its display cursors)
As we currently have coded the operation:
double nextPoint, firstPoint;
private NationalInstruments.UI.WaveformPlot PlotImp;
SourceAndMeasure(out nextPoint);
PlotImp.PlotY(nextPoint);
while(acquiring){
SourceAndMeasure(out nextPoint);
PlotImp.PlotYAppend(nextPoint);
}
Do I need to use the .PlotY as the plot call for the first point?
And what can be called to insure that the plot object is written to the display
as each point arrives?
Thanks.
Peter
p.s. NI, please add a C# category.