def onLiveStartBtn(self): if not Recorder.get().HasBeenSaved() and Recorder.get().GetRecordedCount()>0: response = GuiMgr.MessageBox_OkCancel("Warning","You have not saved the current recorded data. OK to Discard?") if False == response: return GuiMgr.OnStartLiveData() GuiMgr.SetPlaybackFilename("")
def PerformGoLiveTask(self, Params): #<?xml version="1.0" encoding="utf-8"?> #<Marvin Type="OscarTask"> # <Version>1.0</Version> # <OscarID>DemoOscar</OscarID> # <Task>Go Live</Task> #</Marvin> Log.getLogger().info("Performing Oscar task: Start Live Data.") GuiMgr.OnStopPlayback() GuiMgr.OnStopRecording() GuiMgr.OnStartLiveData()