04-09-2015 08:59 AM
Hello everybody,
i'm trying to create a program which produces arbitrary waveforms (non sine, non triangle, non square) from a formule. The number of points of each waveform is determinated by a "random number" into a "for loop", and the number of waveforms is determinated by a second "for loop". My trouble is that the waveforms break at the last point and fall to 0; I want to add them together, i mean add the magnitudes of waveforms. I want to do something like this
two signals , but obiusly with arbitrary waveforms.
04-09-2015 11:07 AM - edited 04-09-2015 11:27 AM
Please don't color the diagram background!
You simply need to sum the waveforms in a shift register instead of using a concatenating tunnel. Of course if you want to add them together, it does not make sense to make them different in lenght.
Please explain.
04-09-2015 12:57 PM
Sorry for the color background.
Each waveform represents a current generated by a charge in a diode as efect of radiation (the current is described by the formule). Each waveform has diferent amplitud and length because each charge the diode is different. it means i'm creating many currents. What is important is the area under the waveforms, that's why i want to add them. in fact the waveforms are going to be generated by a Function Generator (here the funcion generator replaces the diode) through GPIB interface.
04-09-2015 12:58 PM
I forgot to say that i would like to take control of each time arrival of each charge. it means a delay between each charge