Changing the session properties on the fly is very important in debugging systems especially hardware; for example, in a serial session, being able to change baud rate dynamically in the script is very useful e.g you don't know the target system's baud rate and you want to sweep all the possible baud rates; or as another example, as a common practice, you multiplex one serial port to two; one is high speed and the other is low speed; so you want to switch to different rates on the fly.
Does anyone has any idea how to do this in script?
Sample Request for changing session properties within script
Currently, IAS (in-app-script) can only control the underlying session via:
Fine-tuning of the sessions configuration is currently not possible from IAS. But we plan to add this capability in the near future.
Each session class will export a public IAS interface (e.g., a serial session will have properties to query and control baud rate, parity, status lines, etc.) Then, IAS should be able to access this interface via a global constant
g_session (or something like that).
@vladimir Thank you very much for adding such a useful capability to the IAS. Eagerly waiting for it.