Class WsAnalogInput

Direct Known Subclasses:
WsAbsoluteEncoder

public class WsAnalogInput extends AnalogInput
Reads an analog input.
  • Constructor Details

    • WsAnalogInput

      public WsAnalogInput(String p_name, int channel)
      Construct the analog input.
      Parameters:
      p_name - Descriptive name for the input.
      channel - Hardware channel used for input.
  • Method Details

    • readRawValue

      public double readRawValue()
      Reads the value from the analog input.
      Specified by:
      readRawValue in class AnalogInput
      Returns:
      Raw value from input.