LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plotting data from instrument I/O assistant - newbie question

All,
    I am using the 34970A data acquisition/switch unit to collect temperture data.  Using the Instument I/O assistant, I am reading in temperture data only (in particular, from channels 101 and 102), which is then parsed to a token (a numeric array of size 2).  I would like now to plot the data (from channel 101 and 102) but when I connect it a waveform chart, the graph plots as the first data point channel 101 and as the second data point channel 102.  (note: if I output only channel 101 or 102, and send that to the waveform chart, I get as regualr graph as expected i.e. temps vs. time)  So my question  is how do I polt as a function of time the temp data from channel 101 and 102 - or - how do I split the array? 

Thanks for the help,
Ron
0 Kudos
Message 1 of 2
(2,506 Views)
Hi rrojeski,

What does the data look like after you have acquired it from the Instrument I/O assistant?  Does it come out as a 2D array?

Assuming the data is a 2D array, you should be able to use a Waveform Graph instead of a Waveform Chart.  If this results in the incorrect time scale on the x-axis, you can use the Index Array function to extract each channel of data.  Then, using the Build Waveform function, wire the array in as the Y values and define your dt.  Take the two output waveforms and merge them using a merge signal vi, and plot those on a graph.

Please do not hesitate to reply if this is not an adequate solution.  Best of luck on your application, and have a wonderful day!!
Regards,
Ching P.
DAQ and Academic Hardware R&D
National Instruments
0 Kudos
Message 2 of 2
(2,480 Views)