Esempio n. 1
0
        public void MeasurePowerOutput(out double voltage, out double current)
        {
            IAgilentE36xxOutput pOutput1 = driver.Outputs.get_Item(driver.Outputs.get_Name(1));

            voltage = pOutput1.Measure(AgilentE36xxMeasurementTypeEnum.AgilentE36xxMeasurementVoltage);
            current = pOutput1.Measure(AgilentE36xxMeasurementTypeEnum.AgilentE36xxMeasurementCurrent);
        }
Esempio n. 2
0
        public void PowerOutput(double voltage, bool Enable)
        {
            IAgilentE36xxOutput pOutput1 = driver.Outputs.get_Item(driver.Outputs.get_Name(1));

            // Set output voltage.
            pOutput1.VoltageLevel = voltage;
            // Enable all outputs
            driver.Outputs.Enabled = Enable;
        }