Teledyne LeCroy PXA125 User Manual
Page 109
User Manual PXA125
ArbConnection 3-95
Editor. Assuming first that p=0, try this:
Ampl(p)=1000
Press [Preview] and see what you get. Of course, you get an
uninteresting line that runs parallel to the X-axis. Now, lets give the
line some angle by typing:
Ampl(p)=-2*p+2000
Press [Preview] and see that the line slopes down. It may still be not
very interesting however, pay close attention to the convention that is
used in this equation. You cannot type: Ampl(p)=-2p+1000, like you
would normally do in your notebook; You must use the * (multiply)
sign, otherwise you'll get a syntax error. Now we'll try to generate a
simple sine waveform. Try this:
Ampl(p)=sin(10)
Press [Preview] and… sorry, you still get nothing on the screen. The
Wave Composer did not make a mistake! The sine of 10 in radians is
exactly what it shows. You are unable to see the result because the
line on your screen running across the 0 vertical point.
REMEMBER
The equation must be a function of a single
variable and that variable must be directly related
to the Horizontal axis Scale setting.
Now try this:
Ampl(p)=sin(omg*p)
Still no good, but now press the [Adjust] button and here is your
sinewave. So what's wrong? Well, if you'll give it a little amplitude it
might help so, do it now exactly as follows:
Ampl(p)=6000*sin(omg*p)
There you go. You should now see a perfect sine waveform with a
period of 1000 points. This is because you have asked the Equation
Editor to compute .the sine along p points (“p” is the equation
variable, remember?). If you want to create 10 sine waveforms, you
should multiply p by 10. Try this:
Ampl(p)=6000*sin(omg*p*10)