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

rdbWriteToFormat

rdbWriteToFormat(
t_sessionName
t_path
t_format
[ l_signals ]
)
=> t / nil

Description

Exports the specified signals from the Results Browser associated with the specified session.

Arguments

t_sessionName

Name of the session.

t_path

Absolute or relative path to the file in which signals are to be exported.

t_format

Format of the file. Valid values are as follows:

  • CSV
  • VCSV
  • PSF
  • SST2
  • Matlab
  • Spectre

l_signals

List of signals to be exported.

If you do not specify a signal name in this argument, all the signals that are selected in the Results Browser are exported.

Value Returned

t

Signals are successfully exported.

nil

Signals cannot be exported because of an error.

Examples

The following example returns the ADE session name associated with the current window.

axlSession=axlGetWindowSession()
=> "fnxSession0"

The following example opens the Results Browser and returns ID of the Results Browser window.

vvDisplayBrowser()
=> dwindow:15

The following example loads simulation results of the specified results directory to the Results Browser associated with the specified session.

rdbLoadResults("fnxSession0" "./simulation/lib/cell/maestro/results/maestro/Interactive.15/psf/TRAN/psf")
=> t

The following example navigates to the result tran-tran in the Results Browser window associated with the specified session.

rdbSetCurrentDirectory("fnxSession0" "./simulation/lib/cell/maestro/results/maestro/Interactive.15/psf/TRAN/psf/tran-tran")
=> t

The following examples export signals OUTN and OUTP to the file myExport1.vcsv and myExport2.vcsv, respectively.

rdbWriteToFormat("fnxSession0" "/home/user/myExport1.vcsv" "VCSV" list(list("./simulation/lib/cell/maestro/results/maestro/Interactive.15/psf/TRAN/psf" list(list("tran-tran" list("OUTN" "OUTP"))))))
=> Exported to File /home/user/myExport1.vcsv
=> t
rdbWriteToFormat("fnxSession0" "/home/user/myExport2.vcsv" "VCSV" '(("./simulation/lib/cell/maestro/results/maestro/Interactive.15/psf/TRAN/psf" (("tran-tran" list("OUTN" "OUTP"))))))
=> Exported to File /home/user/myExport2.vcsv
=> t

Related Topics

rdbLoadResults

rdbSetCurrentDirectory

vvDisplayBrowser


Return to top
 ⠀
X