asiGetSession
asiGetSession(
{ x_id | w_window | r_form | s_name | o_analysis }
)
=> o_session / nil
Description
Returns the session object given one of five possible identifiers.
Arguments
|
x_id
|
Integer identifier for the session.
|
|
w_window
|
Encapsulation window for the session.
|
|
r_form
|
Form for the session, which must be one of the following:
-
Analyses
-
Environment options
-
Simulator options
-
Keep options
-
Analysis options
|
|
s_name
|
Symbolic name for the session, for example, spectre0.
|
|
o_analysis
|
Analysis object.
|
Value Returned
|
o_session
|
Returns the session object if successful.
|
|
nil
|
Indicates an error.
|
Example
session = asiGetSession( ’spectre0 )
Returns the session object for the spectre0 session.
Return to top