awvLoadWindow
awvLoadWindow(w_windowID t_fileName[?resultsDirt_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
|
ID of the Waveform window in which you want to load the state. |
|
|
Path or name of the file in which the state of the specified Waveform window is stored. |
|
Value Returned
|
Waveform window is initialized with the specified state file. |
|
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