LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I make a graph plotting 2 channels of DAQmx device?

Hello all,
I'm using a USB-9215A to capture three channels of analog data. I am using SetUpChannels.vi to scale each of the three channels then DAQmx Read in a while loop to continually read the data. I split the combined signal into three signal. This is where things go wrong...I use a Build XY Graph poly using two of the signals (my x and y axis) then run the XYGraph output to an XYGraph. Is there anyway to get the graph to keep the old data and just put the newest in to update the graph? I eventually want to send this array out to a csv or similar file but i cant even get it to hold the old data from the last pass through the while loop 😞    This is a low speed application (around 10hz) so a speed hit wouldn't be a factor at all..
 
Any help would be GREATLY appreciated.
 
Dave Long
 
oh BTW i am using LabVIEW 8.20 and would gladly post my project if anyone wants to see it.
0 Kudos
Message 1 of 3
(2,862 Views)
The easiest for you would be to just use the Express XY Graph. There's an input called Reset. Just wire a False constant to it.
0 Kudos
Message 2 of 3
(2,858 Views)

Thanks Dennis, 

I was going crazy trying to concatonate and put in loops with feedback. Whew, one lil T constant did it all. Thanks so much!

 

Dave

0 Kudos
Message 3 of 3
(2,852 Views)