com.cesys.cebo.cebomsr
Class AnalogInput

java.lang.Object
  extended by com.cesys.cebo.cebomsr.AnalogInput
All Implemented Interfaces:
Input

public final class AnalogInput
extends java.lang.Object
implements Input

Offers functionality of the different kind of analog inputs. Direct construction is not possible, instances can be retrieved calling getSingleEndedInputs() or getDifferentialInputs() of the respective instance of class Device.

Author:
Thomas Hoppe

Method Summary
 int getDefaultInterChannelDelay(Range range)
          Request default interchannel delay at the given range setting.
 int getInterChannelDelay()
          Read active interchannel delay.
 int getMinInterChannelDelay()
          Return minimum interchannel delay.
 java.lang.String getName()
          Returns name of the component.
 Range getRange()
          Read active range level.
 java.util.List<Range> getSupportedRanges()
          Return list of the supported ranges.
 float read()
          Read current voltage value.
 void setParameters(Range range)
          Set new range, interchannel delay is set to the default for this range.
 int setParameters(Range range, int interChannelDelay)
          Set range and user specified interchannel delay.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getSupportedRanges

public java.util.List<Range> getSupportedRanges()
Return list of the supported ranges.


getDefaultInterChannelDelay

public int getDefaultInterChannelDelay(Range range)
                                throws java.io.IOException
Request default interchannel delay at the given range setting.

Parameters:
range - Range for which this value is requested.
Throws:
java.io.IOException

getMinInterChannelDelay

public int getMinInterChannelDelay()
Return minimum interchannel delay.


setParameters

public void setParameters(Range range)
                   throws java.io.IOException
Set new range, interchannel delay is set to the default for this range.

Parameters:
range - Range level to set.
Throws:
java.io.IOException

setParameters

public int setParameters(Range range,
                         int interChannelDelay)
                  throws java.io.IOException
Set range and user specified interchannel delay.

Parameters:
range - Range level to set.
interChannelDelay - Interchannel delay in microseconds.
Returns:
Corrected interchannel delay in microseconds.
Throws:
java.io.IOException

getRange

public Range getRange()
               throws java.io.IOException
Read active range level.

Throws:
java.io.IOException

getInterChannelDelay

public int getInterChannelDelay()
                         throws java.io.IOException
Read active interchannel delay.

Throws:
java.io.IOException

read

public float read()
           throws java.io.IOException
Read current voltage value.

Throws:
java.io.IOException

getName

public java.lang.String getName()
Returns name of the component.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object