|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--de.wagner_ibw.iow.AbstractIowDevice
|
+--de.wagner_ibw.iow.Iow56
This class represents the IO-Warrior 56 device.
| Field Summary |
| Fields inherited from class de.wagner_ibw.iow.AbstractIowDevice |
IOW24_SMF_REPORT_LENGTH, IOW24ID, IOW24NAME, IOW40_SMF_REPORT_LENGTH, IOW40ID, IOW40NAME, IOW56_SMF_REPORT_LENGTH, IOW56ID, IOW56NAME |
| Constructor Summary | |
Iow56(long handle,
java.lang.String serial,
int rev)
Constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other Iow56 object is "equal to" this one.
|
java.lang.String |
getName()
Returns the name of this IO-Warrior device. |
long |
readIOPortsImmediate()
Reads the iow ports and store them in the internal port array (none blocking). |
long |
scanPorts()
Gets the current pin status. |
java.lang.String |
toString()
Returns a String object representing this Iow56 object.
|
void |
writeIOPorts()
Writes the presetted ports to this IO-Warrior device. |
void |
writeIOPorts(long value)
Writes the value to this IO-Warrior device's ports. |
| Methods inherited from class de.wagner_ibw.iow.AbstractIowDevice |
addIowChangeListener, addSpecialModeFunctionImpl, autonomous, clearBit, close, getHandle, getId, getMonitor, getPort, getPortCount, getRev, getSerial, getSmfReportLength, getSpecialModeFunctionImpl, hashCode, readIOPorts, readIOPortsNonBlocking, removeIowChangeListener, removeSpecialModeFunctionImpl, setBit, setDirection, setPort, setTimeout, setWriteTimeout, writeReport |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Iow56(long handle,
java.lang.String serial,
int rev)
handle - device handle of this IO-Warrior 56 device.serial - serial number of this IO-Warrior 56 device.rev - revision of this IO-Warrior 56 device.| Method Detail |
public long readIOPortsImmediate()
AbstractIowDevice
readIOPortsImmediate in class AbstractIowDevice
public long scanPorts()
throws java.lang.UnsupportedOperationException
AbstractIowDevice
scanPorts in class AbstractIowDevicejava.lang.UnsupportedOperationException - if this IO-Warrior device does not support the
get curent pin status special mode function.public void writeIOPorts()
AbstractIowDevice
writeIOPorts in class AbstractIowDevicepublic void writeIOPorts(long value)
AbstractIowDevice
writeIOPorts in class AbstractIowDevicevalue - output patternpublic java.lang.String getName()
AbstractIowDevice
getName in class AbstractIowDevicepublic java.lang.String toString()
String object representing this Iow56 object.
It contains information about device handle, id , revision,
serial number and the status of port 0 ... port 3.
toString in class AbstractIowDevicepublic boolean equals(java.lang.Object o)
Iow56 object is "equal to" this one.
Criteria is the serial number.
equals in class AbstractIowDevice
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||