axlSessionConnect
axlSessionConnect(
t_sessionName
t_signalName
s_callbackFunc
)
=> t / nil
Description
Registers a SKILL callback to be connected to a known signal or trigger emitted from an ADE session.
Arguments
Value Returned
Examples
Connects a custom function, _myRunModeChangedCB, with the runModeChanged trigger.
session = axlGetWindowSession(hiGetCurrentWindow())
(axlSessionConnect session "runModeChanged" '_myRunModeChangedCB)
Whenever the simulation run mode is changed, the SKILL function _myRunModeChangedCB is called.
It is important to register the callback during the ADE session start time to connect the trigger with the custom function. For this, you can use the
axlSessionRegisterCreationCallback function in the .cdsinit file.Related Topics
axlSessionRegisterCreationCallback
Working with Signals or Triggers
Return to top