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

asiRegCallBackOnSimComp

asiRegCallBackOnSimComp( 
o_session
t_callback 
) 
=> t / nil

Description

Registers the specified user-defined callback function to run after completion of a simulation. The callback function should accept two arguments, a session object and the simulation status.

In case of a simulation with multiple points, the callback is executed multiple times.
The registered callback function is executed only for local simulations.

Arguments

o_session

Simulation session object.

t_callback

Name of the callback function to be registered.

Value Returned

t

Returns t when the callback function is registered successfully.

nil

Otherwise, returns nil.

Example

asiRegCallBackOnSimComp(asiGetCurrentSession 'myfunc)

In this example, the myfunc function is registered to run after completion of a simulation. You can define myfunc as:

(defmethod myfunc (session status) 
....
)

Return to top
 ⠀
X