4
ArbConnection
Generating Waveforms Using the Equation Editor
4-49
explore your own creativity to generate much more complicated and
complex waveforms.
Typing Equations
If you remember from your old high school studies, the simplest
curve of Y as a function of X is defined by the equation Y=aX+b.
You can use the same “technique” to generate straight lines with
the Equation Editor. Assuming first that p=0, try this:
Amplitude(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:
Amplitude(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: Amplitude(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:
Amplitude(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:
Amplitude(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:
Amplitude(p)=8000*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:
Amplitude(p)=8000*sin(omg*p*10)
Содержание 5064
Страница 26: ...1 5 Figure 1 2 ArbConnection The Control Panels Figure 1 3 ArbConnection The Wave Composer...
Страница 71: ...2074 User Manual 2 18 This page intentionally left blank...
Страница 145: ...2074 User Manual 3 74 Figure 3 48 Reading the 2074 Internal Temperature...
Страница 207: ...2074 User Manual 4 62 Figure 4 47 Complete Pulse Train Design Figure 4 48 Section 5 of the Pulse Train Design...
Страница 220: ...4 ArbConnection Logging SCPI Commands 4 75 Figure 4 58 Log File Example...
Страница 221: ...2074 User Manual 4 76 This page was intentionally left blank...
Страница 333: ...2074 User Manual 7 2...
Страница 358: ...7 Adjustments and Firmware Update Updating 2074 Firmware 7 27 Figure 7 9 Firmware Update Completed...
Страница 359: ...2074 User Manual 7 28 This page was intentionally left blank...
Страница 360: ...Appendices Appendix Title Page A Specifications A 1 1...
Страница 361: ...2074 User Manual 2...