|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface AnalogBoard
AnalogBoard encapsulates a piece of hardware than can do A/D conversions
| Method Summary | |
|---|---|
double |
analogSample(int chan)
Convert one A/D channel to voltage |
double[] |
analogScan(int chan,
int nchans)
Convert multiple A/D channels to voltages |
void |
analogSetup(int chan,
int range,
int polarity,
int gain)
Set up one or more analog channels |
void |
close()
Close this board |
java.lang.String |
getName()
Return name. |
int |
numChans()
Return number of channels per board |
| Method Detail |
|---|
void analogSetup(int chan,
int range,
int polarity,
int gain)
throws java.io.IOException
java.io.IOException
double analogSample(int chan)
throws java.io.IOException,
java.lang.NumberFormatException
java.io.IOException
java.lang.NumberFormatException
double[] analogScan(int chan,
int nchans)
throws java.io.IOException,
java.lang.NumberFormatException
java.io.IOException
java.lang.NumberFormatException
void close()
throws java.io.IOException
java.io.IOExceptionint numChans()
java.lang.String getName()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||