From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using XY Plot to make an oscilloscope like display.

basically, i want to simulate an analog oscilloscope with LabVIEW.  I want to be able to have a scatter plot of data on a XY graph.  the data will be taken from a quantar and then I installed some hardware (BNC-2110) to my computer.  This allows me to read waveforms and other data.  I wish to plot this data on a XY plot.  Plotting it on a waveform graph is easy, but to have it on a XY graph is ridiculously hard.

Any help is welcome!
0 Kudos
Message 1 of 13
(11,359 Views)
I am just curious how to use trigger with "continous data" to get a display on a x-y graph.
0 Kudos
Message 2 of 13
(11,350 Views)
Your example VI shows a 3D graph not an XY graph, which are you trying to use?
Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
0 Kudos
Message 3 of 13
(11,343 Views)
Yes, the VI that I attached has a 3D plot.  I want to plot the same data on a XY graph, and have triggering.
0 Kudos
Message 4 of 13
(11,338 Views)

Here is an example of a multi plot XY graph in LV 8.2.1

 

Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
Message 5 of 13
(11,338 Views)
thanks for the VI!  unfortunately, my problem is hard to get help for because the input for my  VI is from a  DAQ assistant that connects to the BNC-2110 which gets inputs from a function generator.

I need to figure a way to convert the data from the DAQ Assistant to data that can be plotted on a XY graph or an intensity graph.
0 Kudos
Message 6 of 13
(11,332 Views)

To plot 2 channels from the DAQ Assistant to an XY Graph, you just need to use the split signal function and wire the outputs to the Express XY Graph. If you want to keep previous results, wire a False constant to the Reset input.

Message Edited by Dennis Knutson on 06-25-2007 01:41 PM

Message 7 of 13
(11,326 Views)

If you are trying to take the Data from the two channels in the DAQ and plot them against time or the number of points you are going to have to:

1. Split the 2D array by column

2. Create an x-axis array

3. Bundle each channel with the x-axis

4. Build an array of the clusters and output to an XY Graph.

I have attached a VI that shows the Express XY Graph as well as the procedure listed above.

 

Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
Message 8 of 13
(11,314 Views)
thank you both!  I think I can actually get something going now!

cheers.
0 Kudos
Message 9 of 13
(11,299 Views)
I was wondering how I could trigger and then save the data when I trigger.  Attached is my current VI.
0 Kudos
Message 10 of 13
(11,274 Views)