Example #1
0
 /// <summary>
 /// Compares an expected runmode type with the run mode type returned from the external source
 ///
 /// AWGControl:RMODe?
 /// </summary>
 /// <param name="extSource">the EXTSOURCE object</param>
 /// <param name="expectedMode">Expected mode type</param>
 public void TheExtSrcRunModeShouldBe(IEXTSOURCE extSource, string expectedMode)
 {
     extSource.GetExtSrcRunModeQuery();
     Assert.AreEqual(expectedMode, extSource.ExtSrcRunMode, "Expected run mode " + expectedMode + ".  External Source run mode is " + extSource.ExtSrcRunMode);
 }
Example #2
0
 /// <summary>
 /// Gets the run mode status from the external source
 ///
 /// AWGControl:RMODe?
 /// </summary>
 /// <param name="extSource">the EXTSOURCE object</param>
 /// <returns>run mode status</returns>
 public void GetExtSrcRunModeQuery(IEXTSOURCE extSource)
 {
     extSource.GetExtSrcRunModeQuery();
 }