/// <summary>
 /// Configures measurement for averaging and V/I + AC/DC
 /// </summary>
 /// <param name="cfg">VIConfig object holding the avg, V/I, and AC/DC</param>
 public void MeasureConfigure(VIConfig cfg)
 {
     this.Average = cfg.Average;
     this.setMeasureFunction(cfg.Type, cfg.ACDC);
     //this.AutoRange = true;
     this.SetCompliance((( Compliances )(settings.VoltageOrCurrent == VIType.Current ? this.settings.CurrentCompliances : this.settings.VoltageCompliances)).Operational);
 }
 public void Configure(VIConfig cfg)
 {
     // invoke the properties, which actually calls the gpib commands
     //this.Average = cfg.Average;
     this.MeasurementVI   = cfg.Type;
     this.MeasurementACDC = cfg.ACDC;
 }
 /// <summary>
 /// Sets the source function, only applying voltage or current selection
 /// As of now, AC/DC is not supported
 /// private method
 /// </summary>
 /// <param name="cfg">Holds V/I selection</param>
 private void configureSource(VIConfig cfg)
 {
     this.setSourceFunction(cfg.Type);
 }
 /// <summary>
 /// Sets the source function, only applying voltage or current selection
 /// As of now, AC/DC is not supported
 /// </summary>
 /// <param name="cfg">Holds V/I selection</param>
 public void SourceConfigure(VIConfig cfg)
 {
     this.setSourceFunction(cfg.Type);
     //this.AutoRange = true;
     this.SetCompliance(((Compliances)(cfg.Type == VIType.Voltage ? this.settings.CurrentCompliances : this.settings.VoltageCompliances)).Operational);
 }
 /// <summary>
 /// Configures measurement for averaging and V/I + AC/DC
 /// private method
 /// </summary>
 /// <param name="cfg">VIConfig object holding the avg, V/I, and AC/DC</param>
 private void configureMeasurement(VIConfig cfg)
 {
     this.Average = cfg.Average;
     this.setMeasureFunction(cfg.Type, cfg.ACDC);
 }