Interface IPsu722930

All Known Implementing Classes:
Psu722930

public interface IPsu722930
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Gets the current
    double
    Gets the step size used when gradually ramping the current
    double
    Gets the voltage
    boolean
    Indicates whether the output is currently on
    void
    Turns off the output
    void
    Turns on the output
    void
    rampCurrent(double startCurrent, double endCurrent, double secondsToRamp)
    Gradually moves the current from one value to another
    void
    Gradually moves the current from its present value to zero over 60 seconds
    void
    rampToZero(double rampTimeInSeconds)
    Gradually moves the current from its present value to zero over the specified number of seconds
    void
    setCurrent(double current)
    Sets the current
    void
    setCurrentStepSize(double currentStepSize)
    Sets the step size used when gradually ramping the current
    void
    setVoltage(double voltage)
    Sets the voltage
  • Method Details

    • getCurrent

      double getCurrent() throws DeviceException
      Gets the current
      Returns:
      The current
      Throws:
      DeviceException
    • setCurrent

      void setCurrent(double current) throws DeviceException
      Sets the current
      Parameters:
      current - The requested current
      Throws:
      DeviceException - If there is a problem communicating with the device
    • getVoltage

      double getVoltage() throws DeviceException
      Gets the voltage
      Returns:
      The voltage
      Throws:
      DeviceException - If there is a problem communicating with the device
    • setVoltage

      void setVoltage(double voltage) throws DeviceException
      Sets the voltage
      Parameters:
      voltage - The requested voltage
      Throws:
      DeviceException - If there is a problem communicating with the device
    • outputOn

      void outputOn() throws DeviceException
      Turns on the output
      Throws:
      DeviceException - If there is a problem communicating with the device
    • outputOff

      void outputOff() throws DeviceException
      Turns off the output
      Throws:
      DeviceException - If there is a problem communicating with the device
    • outputIsOn

      boolean outputIsOn() throws DeviceException
      Indicates whether the output is currently on
      Returns:
      A boolean indicating if the output is on
      Throws:
      DeviceException
    • rampCurrent

      void rampCurrent(double startCurrent, double endCurrent, double secondsToRamp) throws DeviceException, InterruptedException
      Gradually moves the current from one value to another
      Parameters:
      startCurrent - The starting current
      endCurrent - The end current
      secondsToRamp - The time it should take to get from startCurrent to endCurrent
      Throws:
      DeviceException - If there is a problem communicating with the device
      InterruptedException
    • rampToZero

      void rampToZero(double rampTimeInSeconds) throws DeviceException, InterruptedException
      Gradually moves the current from its present value to zero over the specified number of seconds
      Parameters:
      rampTimeInSeconds - The time in seconds it should take to reduce the current to zero
      Throws:
      DeviceException - If there is a problem communicating with the device
      InterruptedException
    • rampToZero

      void rampToZero() throws DeviceException, InterruptedException
      Gradually moves the current from its present value to zero over 60 seconds
      Throws:
      DeviceException - If there is a problem communicating with the device
      InterruptedException
    • getCurrentStepSize

      double getCurrentStepSize()
      Gets the step size used when gradually ramping the current
      Returns:
      The step size
    • setCurrentStepSize

      void setCurrentStepSize(double currentStepSize)
      Sets the step size used when gradually ramping the current
      Parameters:
      currentStepSize - The step size