awvSaveWindowImage
awvSaveWindowImage(w_windowID t_path t_filePrefix g_cardLayout) =>l_fileNames
Description
Saves the image of the specified Waveform window in a .png file.
Support for the
awvSaveWindowImage function will be removed in a future release. To save the graph as an image, use saveGraphImage instead.Arguments
Value Returned
Examples
The following example open the simulation results stored in the specified directory.
openResults("/servers/user/design/ampsim.raw")
=> "/servers/user/design/ampsim.raw"
The following example plots waveforms of signals net10 and out in a Waveform window.
plot(v("net10" ?result "tran-tran") v("out" ?result "tran-tran"))
=> t
The following example returns ID of the Waveform window.
awvGetCurrentWindow()
=> window:3
The following example saves the Waveform window as a image file named window:3.1.png. Note that no prefix is added to the default name of the image file.
awvSaveWindowImage(window(3) "/home/user" "" t)
=> ("/home/user/window:3.1.png")
The following example saves the Waveform window as a image file named TransientAnalysis:window:3.1.png. Note that the specified prefix TransientAnalysis: is added to the default name of the image file.
awvSaveWindowImage(Window(3) "/home/user" "TransientAnalysis:" t)
=> ("/home/user/TransientAnalysis:window:3.1.png")
Return to top