LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading multiple channels for multiple graphs

Hey I am fairly new to Labview and am using it just temorarily. My project is to take in readings from a Gaussometer (X,Y, and Z axis) and graph them in read time. The Gaussometer outputs a DC Voltage equal to the gauss of the magnetic field. The X,Y,Z all come in on three differnet channels. Connected to a NI USB-6009

I know I can use the Express> DAQ Assistant, however that outputs "Data" and I was hoping to use this in an Array. So I used the DDT to Array to convert it to the Array format that I needed (thanks to the forums for the help there). My only problem is that I don't know how to do this with multiple channels at the same time. But I have possibly been going about this all wrong.

So I just wanted to know if I could get some help on how to read multiple channels and write to them to three different graphs in real time that would be of great help.

0 Kudos
Message 1 of 4
(2,748 Views)
Since you are using the DAQ Assistant, you might as well stick with dynamic data. Instead of the Convert From Dynamic Data, use a Split Signal function and expand it to three outputs. Wire each output to a separate graph/chart.
0 Kudos
Message 2 of 4
(2,737 Views)

Yes, I thought about this, however, the key here is that I need the graphs to show large amounts of data and show them in real time. As far as i know, that would show me graphs, possibly with large amounts of data depending on the sample number of steps, but it won't show them in real time.

Sorry, I was not clear on that.

0 Kudos
Message 3 of 4
(2,734 Views)
Whether or not you use the Convert From Dynamic Data or the Split Signal, your data should be shown as soon as the DAQ Assistant returns. How you format the data is irrelevant. If the number of samples you request is greater than the sample rate, then it will take longer to acquire the data and there is nothing you can do about that except reduce the number of samples and acquire in a loop. You can append new data to old and display everything in a graph if you want.
0 Kudos
Message 4 of 4
(2,730 Views)