/// <summary> /// We use the OnDataFinished event to stop data acquisition. /// When CM sends this event enough data has already been sent and we can stop immediately. /// </summary> /// <param name="args"></param> void m_MyCmDevice_OnDataFinished(DataFinishedEventArgs args) { if (m_Timer != null) { m_GotDataFinished = true; m_SpectraIndexProperty.Update(null); m_ChannelTimeProperty.Update(null); } }
private void OnChannelDataFinished(DataFinishedEventArgs args) // This event is raised shortly after the Acquisition Off command { Log.WriteLine(Id); ChannelDataFinished(true); }
private void OnChannelDataFinished(DataFinishedEventArgs args) { ChannelDataFinished(); }