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

axlCreateSession

axlCreateSession( 
t_sessionName 
) 
=> t_sessionName / nil 

Description

Creates a new session with the specified name. You can use this function to create a new session before running a SKILL code for a maestro cellview in the non-GUI mode.

When running a script in the standalone mode, after creating a new session, you can set up a database for the session by using the axlSetMainSetupDBLCV function.

If the GUI is already open and you need to run SKILL commands from the CIW, you do not need to create a new session. Instead, you can only get a handle to the already open session by using the axlGetWindowSession function.

Arguments

t_session

Name to be used for the new ADE session.

Value Returned

t_sessionName

The name of the session is returned if the session is successfully created.

nil

The name of the session is not returned.

Examples

Creates a new session with the name mysession.

s1 = (axlCreateSession "mysession")
=> "mysession"

Creates a new session with a random number in the session name.

sessionName = strcat("mysession" (sprintf nil "%d" random()))
axlSession = axlCreateSession(sessionName)
axlSetMainSetupDBLCV(axlSession "mylib" "mycell" "myview")

Creates a new session and add an output expression:

sessionName = strcat("mysession" (sprintf nil "%d" random()))
axlSession = axlCreateSession(sessionName)
sdb=axlSetMainSetupDBLCV( axlSession "myLib" "mycell" "myview")
axlAddOutputExpr(axlSession "mytest" "output1" ?expr "ymax(deriv(VT(\"/OUT\")))")
axlSaveSetup(axlSession)
axlCommitSetupDB( sdb )
axlCloseSetupDB( sdb )

Related Topics

axlGetWindowSession

axlSetMainSetupDBLCV


Return to top
 ⠀
X