08-27-2014 09:30 AM
Hi all!
I use one daq a component for receiving a signal from two channels.
I receive 2 curves on graphics but i want only one.
How can i draw channel 1 or 2.
NationalInstruments.AnalogWaveform<double>[] inpData; double[] dataPressure; double[] dataDistance; while (true) { inpData = daqReadData.Read(); dataPressure = inpData[0].GetRawData(); dataDistance = inpData[1].GetRawData(); waveformGraphPressure.PlotWaveforms(inpData); }
Solved! Go to Solution.
08-27-2014 02:44 PM
Hi,
You've probably figured this out by now, but try this...
WaveformGraphPressure.PlotY(dataPressure);
Curt
08-29-2014 02:06 AM
thanks, thanks, thanks!!! it works!