07-21-2014 09:40 AM
Hello
I need to compare multiple waveforms (max 10) in a single waveform graph. Few of the waveforms are directly obtained from Tektronix 11801B sampling oscilloscope and few are from the previously saved data or sometimes may be from the oscilloscope itself...........I have done this for two waveforms and it works perfectly ..........I just wanted to know if I have to get all the waveforms from the instrumetn directly for comparision, do I need to to repeat the same procedure for 10 times or is there any other way to do so ?...... I'm fairly new to labview........could someone help me please
Attached is the vi which I have done for 2 waveforms
Regards
Pratheek
Solved! Go to Solution.
07-22-2014 03:47 AM
This might be the worst code ever, but this is the only way I know.......Could someone please tell me is there any better way to do this?
Regards
Pratheek
07-22-2014 04:02 AM
Hi pratheek,
you could store your data in just one 1D array of cluster of 1D array and a shift register. You need that array of cluster of array combination as it seems you add data to those plots individually resulting in arrays containing different numbers of elements.
In the event you index the outer array corresponding to your "dev" button and append new data to the existing data in the inner array.
To show those plots I would also not use a single 2D array as it fills with zeros to get a "rectangular" array…
07-22-2014 04:15 AM
HI GerdW
Thanks for the reply........Sorry I'm a bit confused with this procedure......could you please tell me whether I could find any examples with this procedure so that it could be helpfull for me understandt it clearly. Thankyou in advance
Regards
Pratheek
07-22-2014 04:21 AM
07-22-2014 09:38 AM
HI GerdW
I have tried as shown in the example but I'm not getting any display on the waveform graph......Could you please tell me whats wrong in my vi. Thankyou in advance
Best Regards
Pratheek
07-22-2014 10:01 AM
07-23-2014 03:38 AM
HI GerdW
Sorry to disturb u again.......... I have initialized the array and I'm able to extract multiple data on the waveform graph but the the plots are displayed side by side as in pic-1 but I would like to have them overlaying each other as in pic-2 for comparision of time delay between the good device and failure device....... Could you please tell me how could I do that......Thankyou in advance
Best regards
Pratheek
07-23-2014 07:51 AM