Please can you explain difference between session and o_session in ADE.
winid = hiGetCurrentWindow()
**************** Return Value : sevSession6
************* Return Value : stdobj@0x184c0b94
Both these values belong to the ADE session. In some of the function session values in input and other especially asi* fucntions o_session in the input. Please can you elaborate on the difference?
They are for different layers in the application. The "sev" session is for the "Simulation EnVironment" - this is the ADE graphical windows. So the things that need "sev" sessions are related to the simulation user interface.
The "asi" session is for the underlying OASIS layer (Open Analog Simulator Interface Socket). This is the API by which the simulator is plugged in - and it is not related to the user interface. This means that OCEAN for example uses the asi layer, but does not use the sev layer. The ADE interface uses the sev layer which interfaces to the asi layer.
Hope that clarifies things.
In reply to Andrew Beckett:
It been clear to an extenet, Let me go through your explanation more in detail and explore regarding this. If there are any question I will let you know.