GW Instek APS-1102 Control Software User Manual User Manual
Page 74
7 Arbitrary Waveform Editing
61
Examples of waveform function formulas
This section shows several examples of waveform function formulas.
In the example consisting of only page 1, the range is whole range of the horizontal axis, and
descriptions are omitted.
One cycle of a sine wave (unit of the horizontal axis: address 0 to 4096, unit of the vertical axis:
data ±32767)
Page 1
[Constant]
[fs=32767;]
[s=2*pi/4096;]
Address 4096 corresponds to 2
[Y=]
[fs*sin(x*s)]
One cycle of a sine wave (unit of horizontal axis: time 0ms to 1ms, unit of vertical axis: voltage
±10V)
Page 1
[Constant]
[fs=10;]
[s=2*pi/1e-3;]
1 ms is 2
[Y=]
[fs*sin(x*s)]
One cycle of a sine wave (unit of horizontal axis: user-defined unit 0 to 1, unit of vertical axis:
user-defined unit
1 to +1)
Page 1
[Constant]
[s=2*pi;]
[Y=]
[sin(x*s)]
One cycle of a sine wave (unit of horizontal axis: user-defined unit 0 to 6.283185, unit of vertical
axis: user-defined unit
1 to +1)
Page 1
[Constant]
(None)
[Y=]
[sin(x)]
One cycle of a square wave (unit of horizontal axis: user-defined unit 0 to 6.283185, unit of
vertical axis: user-defined unit
1 to +1)
Page 1
[Constant]
(None)
[Y=]
[((sin(x)>=0)
0.5)*2]
Obtain a square wave of 0/+1 using
the logical operator ">=" to convert
into ±1.
DC sweep waveform (unit of horizontal axis: user-defined unit 0 to 1, unit of vertical axis:
user-defined unit
1 to +1)
Page 1
[Constant]
(None)
[Y=]
[(x
0.5)+sin(2*pi*x*32)/2]
Damped wave (unit of horizontal axis: user-defined unit 0 to 6.283185, unit of vertical axis:
user-defined unit
1 to +1)
Page 1
[Constant]
(None)
[Y=]
[exp(
x)*sin(x*64)]
DSB waveform (unit of horizontal axis: user-defined unit 0 to 6.283185, unit of vertical axis:
user-defined unit
1 to +1)
Page 1
[Constant]
[a=19.5;]
[b=20.5;]
[Y=]
[(sin(a*x)+sin(b*x))/2]