12-24-2014 06:03 AM
Hey Guys..
I am thinking to make a very basic oscilloscope in labview (simulation only).
So I will be showing 2-4 channels in the oscilloscope. For this purpose I will use a waveform graph and show 2-4 plots in the same graph.
But how will I set the vertical position of the individual plots (Channels) for comparison?
Suggest any Idea please..
Solved! Go to Solution.
12-24-2014 11:05 AM - edited 12-24-2014 11:08 AM
Use the add function to shift the waveform up or down? What datatype are you using for your graph? You might have to unbundle the array part of your waveform before adding and bundle it back in.
12-24-2014 11:30 AM
12-25-2014 10:24 PM
Very Very Thanks to both of you for the replies..
Thanks Dennis.. It worked.
12-26-2014 04:25 AM
Hii..
I am attaching a vi here in which I can change the verical position of the two plots simulataniously (I want two Y scales only, not more than that)
I actualy want to change the vertical positions of all the 4 plots. How can I do it?
12-29-2014 03:44 PM
You can use the same way that you created a second axis to create a third and the forth. Just keep adding ActYScl, ActPlot, Max, Min and YScaleIdx to the property node. Normally on an Oscope you adjust the max and the min with just one knob. You can emulate the same thing by setting the selected axis max to Knob + HalfRange and the min to Knob - HalfRange.
02-04-2015 01:03 AM
I got the proper solution for it.
I can use 'Waveform Scale & Offset VI' for each plot before plotting the graph and set a numeric control to adust the offset.
Then there's no need to have 2 or 4 different Y-scales.