maeGetExplorerTestName
maeGetExplorerTestName( [?sessiont_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
Value Returned
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