famGetExpr
famGetExpr(o_waveform) =>t_expr/ nil
Description
Returns the expression of the specified waveform.
Arguments
|
ID of the waveform object whose expression is to be returned. |
Value Returned
|
The expression of the specified waveform object cannot be returned because no expression has been set for the specified waveform. |
Examples
The following example returns the expression set for the specified waveform object, waveform.
waveform=expr(x sin(x) linRg(0 20.0 .5))
; Creates a waveform object representing the waveform sin(x) from x=0.0 to x=20.0. The expression is evaluated at x=0.0, 0.5, 1.0, 1.5, ..., 20.0.
=> srrWave:0x327010b0
famGetExpr(waveform)
; Returns the expression for the specified waveform object, waveform.
=>
expr(x
sin(x)
linRg(0 20.0 0.5)
)
Return to top