|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.acces.aiousb.AI16_DataPoint
public class AI16_DataPoint
Class AI16_DataPoint represents a single data point captured from a USB_AI16_Family
device. It encapsulates
not only the captured sample, but the channel from which the sample was captured and the range and differential mode
in effect when the sample was captured, providing a fairly complete representation of the captured data. This class
also provides methods to retrieve the captured data in either A/D counts or volts.
Method Summary | |
---|---|
int |
getChannel()
Gets the channel number from which this data point was captured. |
int |
getCounts()
Gets the captured data in A/D counts. |
int |
getRange()
Gets the range that was in effect when this data point was captured. |
java.lang.String |
getRangeText()
Gets the textual representation of the range that was in effect when this data point was captured. |
double |
getVolts()
Gets the captured data in volts. |
boolean |
isDifferentialMode()
Gets the differential/single-ended mode that was in effect when this data point was captured. |
java.lang.String |
toString()
Gets a single-line string summary of this data point. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getChannel()
public int getRange()
AnalogInputSubsystem.getRange()
public java.lang.String getRangeText()
public boolean isDifferentialMode()
AnalogInputSubsystem.isDifferentialMode()
public int getCounts()
public double getVolts()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |