I am trying to Enable/Disable the Logging Block using COM Objects in python. I could access the individual loggings from the collection, but cannot enable them programatically. I tried below way, the Application starts and starts measurement, but no log file is created.
app = client.dynamic.Dispatch('CANoe.Application')
app.Open(configuration)
app.Configuration.OnlineSetup.LoggingCollection(1).Filter.Enable(0)
app.Measurement.Start()
app.Measurement.Stop()
app.Quit()
How can the Logging be enabled/disabled through python?