Class K2200

    • Method Detail

      • getDescription

        public static java.lang.String getDescription()
      • getSetCurrent

        public double getSetCurrent()
                             throws DeviceException,
                                    java.io.IOException
        Description copied from interface: IVSource
        Get the default value or the value set by the setCurrent() method.
        Specified by:
        getSetCurrent in interface IVSource
        Returns:
        current setting [A]
        Throws:
        DeviceException
        java.io.IOException
      • getSetVoltage

        public double getSetVoltage()
                             throws DeviceException,
                                    java.io.IOException
        Description copied from interface: IVSource
        Get the default value or the value set by the setVoltage() method.
        Specified by:
        getSetVoltage in interface IVSource
        Returns:
        voltage setting [V]
        Throws:
        DeviceException
        java.io.IOException
      • getVoltage

        public double getVoltage()
                          throws java.io.IOException
        Description copied from interface: DCPower
        Returns the voltage output of the supply
        Specified by:
        getVoltage in interface DCPower
        Specified by:
        getVoltage in interface VSource
        Returns:
        Output voltage, in Volts
        Throws:
        java.io.IOException - Upon communication error
      • getCurrent

        public double getCurrent()
                          throws java.io.IOException
        Description copied from interface: DCPower
        Returns the current output of the supply
        Specified by:
        getCurrent in interface DCPower
        Specified by:
        getCurrent in interface ISource
        Returns:
        Output current, in Amps
        Throws:
        java.io.IOException - Upon communication error
      • setVoltageLimit

        public void setVoltageLimit​(double limit)
                             throws java.io.IOException
        Description copied from interface: DCPower
        Sets the voltage limit, also known as over-voltage protection. Setting a value of zero will disable this limit.
        Specified by:
        setVoltageLimit in interface DCPower
        Parameters:
        limit - Voltage limit, in Volts
        Throws:
        java.io.IOException - Upon communication error
      • getVoltageLimit

        public double getVoltageLimit()
                               throws java.io.IOException,
                                      DeviceException
        Description copied from interface: DCPower
        Returns the currently set voltage limit (OVP). Zero means no limit is set.
        Specified by:
        getVoltageLimit in interface DCPower
        Returns:
        Voltage limit, in Volts
        Throws:
        java.io.IOException - Upon communication error
        DeviceException - Upon device compatibility error
      • setCurrentLimit

        public void setCurrentLimit​(double current)
                             throws java.io.IOException,
                                    DeviceException
        Description copied from interface: DCPower
        Sets the current protection limit
        Specified by:
        setCurrentLimit in interface DCPower
        Parameters:
        current - limit [A]
        Throws:
        java.io.IOException - Upon communication error
        DeviceException - Upon device compatibility error
      • setVoltage

        public void setVoltage​(double voltage)
                        throws java.io.IOException
        Description copied from interface: DCPower
        Sets the voltage output level of the supply
        Specified by:
        setVoltage in interface DCPower
        Specified by:
        setVoltage in interface VSource
        Parameters:
        voltage - Voltage, in Volts
        Throws:
        java.io.IOException - Upon communication error
      • setCurrent

        public void setCurrent​(double current)
                        throws java.io.IOException
        Description copied from interface: DCPower
        Sets the current output level of the supply
        Specified by:
        setCurrent in interface DCPower
        Specified by:
        setCurrent in interface ISource
        Parameters:
        current - Current, in Amps
        Throws:
        java.io.IOException - Upon communication error
      • turnOn

        public void turnOn()
                    throws java.io.IOException
        Description copied from interface: DCPower
        Enables the output of the power supply
        Specified by:
        turnOn in interface DCPower
        Specified by:
        turnOn in interface ISource
        Specified by:
        turnOn in interface Switch
        Specified by:
        turnOn in interface VSource
        Throws:
        java.io.IOException - Upon communication error
      • turnOff

        public void turnOff()
                     throws java.io.IOException
        Description copied from interface: DCPower
        Disables the output of the power supply
        Specified by:
        turnOff in interface DCPower
        Specified by:
        turnOff in interface ISource
        Specified by:
        turnOff in interface Switch
        Specified by:
        turnOff in interface VSource
        Throws:
        java.io.IOException - Upon communication error
      • isOn

        public boolean isOn()
                     throws java.io.IOException
        Description copied from interface: DCPower
        Returns whether the output of the supply is enabled or not
        Specified by:
        isOn in interface DCPower
        Specified by:
        isOn in interface ISource
        Specified by:
        isOn in interface Switch
        Specified by:
        isOn in interface VSource
        Returns:
        Is it enabled?
        Throws:
        java.io.IOException - Upon communication error