|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMotionControllerDataRecord
class MotionControllerDataRecord
Title: MotionControllerDataRecord
Description: Used for accessing and refreshing the motion controller's data record
Copyright: Copyright (c) 2004
Company: ING
Field Summary | |
---|---|
private MotionController |
theMotionController
|
Constructor Summary | |
---|---|
MotionControllerDataRecord()
|
Method Summary | |
---|---|
(package private) double |
getADCReading(int theADCPort)
Get the value of an a/d port |
(package private) long |
getAuxiliaryEncoderPosition(MotionControllerAxis theAxis)
Get the auxiliary encoder position of an axis from the data record |
(package private) long |
getPosition(MotionControllerAxis theAxis)
Get the main encoder position of an axis from the data record |
(package private) boolean |
isDigitalInputPortHigh(int theInputPort)
Get the condition of a digital input port |
(package private) boolean |
isDigitalOutputPortHigh(int theOutputPort)
Get the condition of a digital output port |
(package private) void |
refresh()
Refresh the motion comtroller data record |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private MotionController theMotionController
Constructor Detail |
---|
MotionControllerDataRecord()
Method Detail |
---|
void refresh()
double getADCReading(int theADCPort)
theADCPort
- The number of the a/d port
long getPosition(MotionControllerAxis theAxis)
theAxis
- The axis
long getAuxiliaryEncoderPosition(MotionControllerAxis theAxis)
theAxis
- The axis
boolean isDigitalInputPortHigh(int theInputPort)
theInputPort
- The number of the input port
boolean isDigitalOutputPortHigh(int theOutputPort)
theOutputPort
- The number of the output port
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |