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

maeGetExplorerTestName

maeGetExplorerTestName(
[ ?session t_sessionName ]
)
=> t_testName / nil

Description

Returns the name of the test opened in ADE Explorer. If you descend into ADE Explorer from ADE Assembler, use this function to get the name of the current test.

Arguments

?session t_sessionName

Name of an ADE Explorer session.

If not specified, the currently active session is used.

Value Returned

t_testName

Name of the currently opened test in ADE Explorer.

nil

When the function is used for ADE Assembler.

Examples

Returns the name of the test opened in ADE Explorer.

maeGetExplorerTestName()
=> "AC"

Specifies the session to be used if multiple sessions of ADE Explorer are open.

maeGetSessions()
=> ("fnxSession0" "fnxSession1")
testName = maeGetExplorerTestName(?session "fnxSession0")
=> "AC"
maeGetTestSession(testName ?session "fnxSession0")
=> stdobj@0x2e48fde8

Returns the variable details for a test in ADE Explorer.

maeGetSessions()
=> ("fnxSession0" "fnxSession1")
testName = maeGetExplorerTestName(?session "fnxSession0")
=> "AC"
testId = axlGetTest(sdb testName) ;;  Find the total sweeps in variables
varList = axlGetVars(testId)
foreach(var cadr(varList)
varId = axlGetVar(testId var)
when(axlGetEnabled(varId)
;; Get the total number of sweep points in the desired variable
if(rexMatchp(":" axlGetVarValue(varId)) then
sweepList=mapcar('evalstring parseString(axlGetVarValue(varId) ":"))
varSweepVal= int((car(last(sweepList))-car(sweepList))/cadr(sweepList))
else
varSweepVal = length(parseString(axlGetVarValue(varId)))
)
sweepVal=sweepVal*varSweepVal
);when
);foreach varList

Return to top
 ⠀
X