LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I make an xy graph from DAQmx Read output

We are using DAQmx to monitor force and multiple displacement channels through a 2120 board and we would like to be able to plot force vs one of the displacment channels.  Is there a way to change the output of a DAQmx Read vi to seperate the channels and plot specific channels rather than its channel x-z vs time?
0 Kudos
Message 1 of 4
(3,571 Views)
What is the output of your DAQmx read?  Is it an array of waveforms or a 2-D array of doubles?  Or dynamic data?  You may need to convert dynamic data to an array.  You may need to unbundle the waveform (each one indexed out) to get an array.  When done you'll have an array of your X values from one channel and an array of Y values from the other channel.  Bundle them together into a cluster to feed to the XY graph.  Look at the context help for an XY graph to see precisely how to bundle them together.
0 Kudos
Message 2 of 4
(3,559 Views)

What is the output of your DAQmx read?  Is it an array of waveforms or a 2-D array of doubles?  Or dynamic data? 

 

The output is an array of waveforms.  I will give the unbundle array a try.  We primarily went to the DAQmx to increase or collection rate and are new to the sub-vi's and are unsure of exactly what we can and can't get away with.  Thanks.

 

0 Kudos
Message 3 of 4
(3,547 Views)

Here are your options with a waveform array. The options are no different with traditional DAQ if you return a waveform data type there.



Message Edited by Dennis Knutson on 07-02-2008 08:56 AM
0 Kudos
Message 4 of 4
(3,539 Views)