jennifer CLINTT Posted April 20, 2008 Report Posted April 20, 2008 Hello everyone, I am trying to read three analog channels and plotting multiple graphs. see attached sheet and do send me your suggestion to remove the error. Thanks and looking forward to your reply. Quote
orko Posted April 20, 2008 Report Posted April 20, 2008 Your error is caused by trying to connect the upper 1D array to the picture control input on the Plot Waveform.vi. To remove the error, delete those broken wires and wire an empty picture control constant instead to the Plot Waveform.vi As far as getting all three 1D arrays to plot on one Chart, you could wire the output of the build array (which is a 2D array) to the chart. You may have to insert a transpose 2D array in there as well. See below for an example: Quote
T_Schott Posted April 21, 2008 Report Posted April 21, 2008 hi, search the example for plotting multiple waveforms regards timo another hint: if the settings (e.g. sample rate) of all three channels are equal, you can use one DAQmx read vi to collect the meas. values. physical channels= "Dev1/ai0:2" aquires ai0, ai1 and ai2 for examples use the example finder (daq mx, analoge voltage..) -timo Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.