|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.teravation.labjack.LabJackScan
This class holds the data for the scan data read from Burst mode. It is intended that it will also be used to hold scan information from Stream mode in the future. The interface is very similar to the LabJack interface, but each method takes the scan number as an additional parameter.
Copyright © 2003-2004 Teravation. All rights reserved.
Method Summary | |
float |
getAI(int channel,
int scan)
Returns the last updated voltage of the specified analog input for the specified scan, or -1.0f on an overvoltage. |
int |
getAvailable()
Returns the number of scans available in this object. |
int |
getBacklog()
Returns the number of scans in the backlog. |
long |
getCounter(int scan)
Returns the last updated/set value of the counter for the specified scan. |
float |
getDifferentialAI(int channel,
int scan)
Returns the last updated voltage of the specified differential analog input for the specified scan, or -1.0f on an overvoltage. |
boolean |
getIO(int channel,
int scan)
Returns the last updated/set value of the specified digital input (screw terminal) for the specified scan. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public float getAI(int channel, int scan) throws LabJackException
channel
- the analog input channel to read.scan
- int the number of the scan to read.
LabJackException
- on any errorpublic float getDifferentialAI(int channel, int scan) throws LabJackException
channel
- the differential analog input channel to read.scan
- int the number of the scan to read.
LabJackException
- on any errorpublic boolean getIO(int channel, int scan) throws LabJackException
channel
- the digital input channel to read.scan
- int the number of the scan to read.
LabJackException
- on any underlying DLL error.public long getCounter(int scan) throws LabJackException
scan
- int the number of the scan to read.
LabJackException
- on any underlying DLL error.public int getAvailable()
public int getBacklog()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |