Product Documentation
Virtuoso Visualization and Analysis XL SKILL Reference
Product Version IC23.1, November 2023

awvLoadWindow

awvLoadWindow(
w_windowID
t_fileName
[ ?resultsDir t_resultsDirectory ]
)
=> t / nil

Description

Initializes the state of a Waveform window from information saved in a file.

You can save the state of a Waveform window to an XML file with the .grf extension by using the awvSaveWindow function.

Arguments

w_windowID

ID of the Waveform window in which you want to load the state.

t_fileName

Path or name of the file in which the state of the specified Waveform window is stored.

You must have read permission to this file.

?resultsDir t_resultsDirectory

Directory containing the PSF files.

Value Returned

t

Waveform window is initialized with the specified state file.

nil

Waveform window cannot be initialized because of an error.

Examples

The following example saves the state of the Waveform window 7 to myFile.grf in the /home/user directory.

awvSaveWindow(window(7) "/home/user/myFile")
=> t

The following examples initialize the state of Waveform window 8 from the information saved in the myFile.grf.

awvLoadWindow(window(8) "/home/user/myFile.grf")
=> t
awvLoadWindow(window(8) "/home/user/myFile.grf" ?resultsDir "./simulation/maestro/results/maestro/ExplorerRun.0/psf/AC/")
=> t

Return to top
 ⠀
X