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
Value Returned
|
The name of the session is returned if the session is successfully created. |
||
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
Return to top