com.cesys.cebo.cebomsr
Class InputFrame

java.lang.Object
  extended by com.cesys.cebo.cebomsr.InputFrame

public final class InputFrame
extends java.lang.Object

One or more instances of this interface are returned when reading one or multiple frames previously setup using Device.setupInputFrame(). It allows simple access to all captured data.

Author:
Thomas Hoppe

Method Summary
 long getCounter(int index)
          Read value of specified counter.
 float getDifferential(int index)
          Read value from differential input with given index.
 int getDigitalPort(int index)
          Read value from digital port with given index.
 float getSingleEnded(int index)
          Read value from single ended input with given index.
 boolean getTrigger(int index)
          Read level from trigger with given index.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getSingleEnded

public float getSingleEnded(int index)
Read value from single ended input with given index.

Parameters:
index - Zero based index of single ended input in question.
Returns:
Value of this input in voltage.

getDifferential

public float getDifferential(int index)
Read value from differential input with given index.

Parameters:
index - Zero based index of differential input in question.
Returns:
Value of this input in voltage.

getDigitalPort

public int getDigitalPort(int index)
Read value from digital port with given index.

Parameters:
index - Zero based index of digital port in question.
Returns:
Active mask of digital port.

getTrigger

public boolean getTrigger(int index)
Read level from trigger with given index.

Parameters:
index - Zero based index of trigger in question.
Returns:
Current level of trigger, true equals a high level.

getCounter

public long getCounter(int index)
Read value of specified counter.

Parameters:
index - Zero based index of counter in question.
Returns:
Current counter value.

toString

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