Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

axlGetResultsLocation

axlGetResultsLocation( 
x_hsdb 
) 
=> t_resultsLocation / nil 

Description

Returns the results location for the specified setup database.

If the variable saveResDir is set to a location other than the default setting, axlGetResultsLocation use sits setting to determine the results location. But if it is set to the default location, axlGetResultsLocation uses the saveDir setting to determine the results location.

Arguments

x_hsdb

Setup database handle

Value Returned

t_resultsLocation

The results location is returned which includes a directory named from the setup database name prefix.

nil

Indicates an error.

Examples

If you do not set the saveDir environment variable in your .cdsenv:

data_sdb = axlGetMainSetupDB(axlGetWindowSession())
axlGetResultsLocation( data_sdb )
=> "myLib/myCell/adexl/results/data"

If you set the saveDir environment variable to RESULTS, the results change as follows:

adexl.results saveDir string "RESULTS"
=> "RESULTS/myLib/myCell/adexl/results/data"

Here is another example where saveDir is not set:

resultsLoc = (axlGetResultsLocation (axlGetHistoryEntry (axlGetMainSetupDB axlGetWindowSession() ) "Interactive.0" ) )
=> "opamplib/ampTest/adexl/results/data"

Related Topics

adexl.results saveDir

adexl.results saveResDir

axlCreateSession

axlGetHistoryEntry

axlGetMainSetupDB

axlSetMainSetupDB


Return to top
 ⠀
X