Monitoring object provides monitoring session management. It is exposed by the global object monitoring
and implements the IHost interface.
User script may query the list of all running monitoring sessions with IHost.sessions property or create new monitoring session using IHost.createSession method.
Device Monitoring Studio support automatic generation of script code that creates, configures and starts a monitoring session. To get this automatically generated script, open the Session Configuration Window, add Devices, add and configure Data Visualizers, configure Capture Filter and press the Generate Script button.