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

axlGetCurrentResultSimulationHost

axlGetCurrentResultSimulationHost( 
t_sessionName 
) 
=> t_hostName

Description

This is a callback function that runs from a Results table context menu.

It returns the name of the host where the simulation was performed for the currently selected test and data point in the Results table.

Arguments

t_sessionName

Specifies the name of the ADE session from which the simulation was run.

Value Returned

t_hostName

Returns the host name corresponding to the specified session.

Examples

Prints the simulation host name.

;Define custom menu function to print the simulation host of the selected result 
(defun DEMOprintSimulationHost(adeSession)
(let ()
(printf "Selected History = %s\n" (axlGetHistoryName (axlGetCurrentHistory adeSession->axlsession)))
(printf "Selected Test = %L\n" adeSession->axlTestName)
;Get the selected point ID indirectly from the data dir
(printf "Selected Point ID = %L\n" (cadr (reverse (parseString (adeSession->axlCurrentDataDir) "/"))))
(printf "\tHostname = %s\n" (axlGetCurrentResultSimulationHost adeSession))
(printf "\tData dir = %s\n" adeSession->axlCurrentDataDir)
)
)

adeSession=axlGetWindowSession( hiGetCurrentWindow())

(sprintf nil "DEMOprintSimulationHost('%L)" adeSession )

Return to top
 ⠀
X