5.1 Generation of Standard Waveform and Numerical Expression Waveform
e) Built-in fun
ctions
The functions shown in “Table 5-4 Built-in Functions” can be used in the numerical expression
input section
[Y=]
in the
ARB Edit
.
Table 5-4 Built-in Functions
Function Name
Number of
Arguments
Description
sin (expression)
1
Sine, expression = Phase (radian)
cos(expression)
1
Cosine, expression = Phase (radian)
tan(expression)
1
Tangent, expression = Phase (radian)
atn(expression)
1
Arctangent, result = Radian
sqr(expression)
1
√
exp(expression)
1
Index e
x
log(expression)
1
Natural logarithm
log10(expression)
1
Common logarithm
power(expression_1,
expression_2)
2
Absolute value of complex vector, Expression 1 = Real
number part, Expression 2 = Imaginary number part
phase(expression_1,
expression_2)
2
Argument of complex vector, Expression 1 = Real number
part, Expression 2 = Imaginary number part
tri(expression_1,
expression_2)
2
Triangular wave, Expression 1 = Phase (radian), Expression 2
= Slope [0:100]
sqw(expression_1,
expression_2,expression_3)
3
Square wave, Expression 1 = Phase (radian), Expression 2 =
Duty ratio [0:100], Expression 3 = Displacement [0:100]
rnd()
0
Noise waveform
f) Inter-waveform numerical expression examples
Some sample inter-waveform numerical expressions are shown below.
In an example where there is only one page, the range is the whole horizontal axis range and
description is omitted.
•
One cycle of sine wave (horizontal axis unit: addresses 0 to 524288, vertical axis unit: data
±32767)
Page 1
[Constant]
[s=2*pi;]
[Y=] [sin(x*s)]
•
One cycle of sine wave (horizontal axis: user unit 0 to 1, vertical axis: user unit
−
1 to +1)
Page 1
[Constant]
[fs=32767;]
[Y=] [fs*sin(x*s)]
[s=2*pi/524288;]
←
524288 addresses are regarded as 2
π
.
•
One cycle of sine wave (horizontal axis unit: time 0 to 1 ms, vertical axis unit: voltage ±10V)
Page 1
[Constant]
[fs=10;]
[Y=] [fs*sin(x*s)]
[s=2*pi/1e-3;]
←
1 ms is regarded as 2
π
.
•
One cycle of sine wave (horizontal axis: user unit 0 to 6.283185, vertical axis: user unit
−
1 to +1)
Page 1
[Constant]
[None]
[Y=] [sin(x)]
IM FG410-61EN
5-8
Summary of Contents for FG410
Page 1: ...User s Manual FG410 FG420 ARBITRARY WAVEFORM EDITOR IM FG410 61EN 3rd Edition ...
Page 3: ......
Page 10: ...1 OVERVIEW 1 1 General 1 2 1 2 Function Tree 1 2 1 3 Conventions 1 5 ARB Edit 1 1 ...
Page 15: ...1 3 Conventions IM FG410 61EN 1 6 ...
Page 44: ...4 7 Copy and Paste IM FG410 61EN 4 15 ...
Page 45: ......
Page 76: ...6 ERROR MESSAGES 6 1 Arbitrary Wave Edit Software Error 6 2 IM FG410 61EN 6 1 ...
Page 80: ......
Page 82: ......
Page 83: ...https www yokogawa com ymi Yokogawa Test Measurement Corporation ...