Exemple #1
0
 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);
 }
Exemple #2
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;
 }
Exemple #3
0
 /// <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);
         }
     }
 }
Exemple #4
0
 private void OnAcquisitionStreamOpening(object sender, MsAcquisitionOpeningEventArgs e)
 {
 }
Exemple #5
0
 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)");
 }
Exemple #6
0
 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);
 }
Exemple #7
0
 void goahead_Response(object sender, MsAcquisitionOpeningEventArgs e)
 {
     Console.WriteLine("Received opening event.");
     authorized_for_run = true;
 }