awvPlaceBMarker
awvPlaceBMarker(w_windowID x_traceIndex n_xLoc n_yLoc[?subwindowx_subwindow] [?positionModet_positionMode] ) =>t_markerID/nil
Description
Places a marker of type B at the specified location on the specified trace.
Arguments
Value Returned
|
Returns the ID of the marker after the marker is placed on the specified trace. |
|
|
The marker cannot be placed on the trace because of an error. |
Examples
The following example creates a Waveform window.
win=awvCreatePlotWindow()
=> window:10
Opens simulation results stored in the specified directory:
openResults("/servers/user/design/ampsim.raw")
=> "/servers/user/design/ampsim.raw"
Plots the waveforms of net10 and out signals from the simulation results.
awvPlotWaveform(
win
list(v("net10" ?result "tran-tran") v("out" ?result "tran-tran"))
)
=> t
Returns the index numbers and the signal names plotted in the Waveform window:
awvGetWaveNameList(win)
=>
((1 2)
("net10" "out")
)
Places a marker at x=100n on the trace out in the subwindow 1 of the specified waveform window win= window:10.
awvPlaceBMarker(win 2 100n 0 ?subwindow 1)
=> "refPointMarker[50.99.4]"
Places a marker at x=200n on the trace out in the current subwindow of the specified Waveform window:
awvPlaceBMarker(win 2 200n 0 ?positionMode "x")
=> "refPointMarker[50.99.4]"
Places a marker at y=3 on the trace net10in the current subwindow of the specified Waveform window:
awvPlaceBMarker(win 1 200n 3 ?positionMode "y")
=> "refPointMarker[50.99.4]"
Places a marker at x=50n and y=0.5 on the trace net10 in the subwindow 1 of the specified Waveform window:
awvPlaceBMarker(win 1 50n 0.5 ?subwindow 1 ?positionMode "xy")
=> "refPointMarker[50.99.4]"
Return to top