LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

is there a way to have a scrollbar along 'Y' axis which plots different waveforms for each position?

My dataset is a 1D array of waveforms (let's say 20 for example).  Each waveform has the x- and y- values.  all of the x-values are the same, but the y-values change.

I want to have a waveform graph that has a scrollbar along the y-axis.  I want to be able to scroll through each position and have the waveform graph plot the waveform corresponding to the scrollbar's current position.  

in this case, position 11 out of 20 would plot the 11th waveform.


I have searched for how to do this, and I'm actually pretty surprised that I can't find a way to do this.  So either no one does it, or I can't find it.


suggestions???

thx
-z
0 Kudos
Message 1 of 2
(2,457 Views)

If all you want to do is to display one waveform at a time, use a slide or scroll bar (LabVIEW 8.x) and wire it to the index array function. The attached picture shows a slide with a min of 1 and a max of 10. That's why I subtract 1 from it before passing it to the Index Array. I've only got 8.2 eval and haven't done much with the horizontal/vertical scrollbar but you can do the same thing. I used a page size of 1 and a range of 1 to 11. The scrollbar doesn't have index values so the slide is a bit easier to use I think.

Message Edited by Dennis Knutson on 10-18-2006 03:22 PM

Message Edited by Dennis Knutson on 10-18-2006 03:24 PM

0 Kudos
Message 2 of 2
(2,452 Views)