private void Orbitrap_AcquisitionStreamOpening(object sender, MsAcquisitionOpeningEventArgs e) { // action can happen at any time, but at start of an acquisition, we may cover most scenarios. It may have a delay, though. m_methods.ReplaceTable(1, 13 /* must be != 0 */, m_replacementTable); Console.WriteLine("Replaced the table"); Environment.Exit(0); }
private void Orbitrap_AcquisitionStreamOpening(object sender, MsAcquisitionOpeningEventArgs e) { if (GlobalVar.SetExclusionTable) { m_methods.ReplaceTable(1, 13 /* must be != 0 */, m_replacementTable); log.Info("Replaced the table"); } WriterClass.writePrintln(String.Format("\n{0:HH:mm:ss,fff} {1}", DateTime.Now, "Acquisition stream opens (start of method)")); acquisitionStreamOpened = true; }
/// <summary> /// When a new acquisition starts we dump that information in verbose mode. /// </summary> /// <param name="sender">doesn't matter</param> /// <param name="e">contains the informations to be printed</param> private void ScanContainer_AcquisitionStarted(object sender, MsAcquisitionOpeningEventArgs e) { if (Arguments.Verbose) { Console.WriteLine("START OF ACQUISITION"); if (Arguments.Chatty) { DumpVars(e.SpecificInformation); } } }
private void OnAcquisitionStreamOpening(object sender, MsAcquisitionOpeningEventArgs e) { }
private void Orbitrap_AcquisitionStreamOpening(object sender, MsAcquisitionOpeningEventArgs e) { Console.WriteLine("\n{0:HH:mm:ss,fff} {1}", DateTime.Now, "Acquisition stream opens (start of method)"); }
private void Orbitrap_AcquisitionStreamOpening(object sender, MsAcquisitionOpeningEventArgs e) { Console.WriteLine("\n{0:HH:mm:ss,fff} Acquisition stream opening", DateTime.Now); Dump("Specific", e.SpecificInformation); }
void goahead_Response(object sender, MsAcquisitionOpeningEventArgs e) { Console.WriteLine("Received opening event."); authorized_for_run = true; }