|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.acces.aiousb.USBDevice
com.acces.aiousb.USB_AI16_Family
public class USB_AI16_Family
Class USB_AI16_Family represents a USB-AI16-family device, which encompasses the following product IDs:
Field Summary |
---|
Fields inherited from class com.acces.aiousb.USBDevice |
---|
CLEAR_FIFO_METHOD_AUTO, CLEAR_FIFO_METHOD_IMMEDIATE, CLEAR_FIFO_METHOD_IMMEDIATE_AND_ABORT, CLEAR_FIFO_METHOD_WAIT, CUSTOM_EEPROM_SIZE |
Constructor Summary | |
---|---|
USB_AI16_Family(int productID,
int deviceIndex)
Constructor for USB device. |
Method Summary | |
---|---|
AnalogInputSubsystem |
adc()
Gets a reference to the analog input subsystem of this device. |
CounterSubsystem |
ctr()
Gets a reference to the counter/timer subsystem of this device. |
DigitalIOSubsystem |
dio()
Gets a reference to the digital I/O subsystem of this device. |
java.io.PrintStream |
print(java.io.PrintStream stream)
Prints the properties of this device and all of its subsystems. |
Methods inherited from class com.acces.aiousb.USBDevice |
---|
customEEPROMRead, customEEPROMWrite, getCommTimeout, getDeviceIndex, getName, getProductID, getSerialNumber, reset, setCommTimeout |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public USB_AI16_Family(int productID, int deviceIndex)
USBDeviceManager.getDeviceByProductID()
search methods to obtain a reference to a USB_AI16_Family instance. You can then cast the USBDevice
reference obtained from one of those methods to a USB_AI16_Family and make use of this class' methods, like so:
productID
- the product ID of the device.deviceIndex
- the index of the device on the USB bus.
java.lang.IllegalArgumentException
Method Detail |
---|
public AnalogInputSubsystem adc()
public DigitalIOSubsystem dio()
public CounterSubsystem ctr()
public java.io.PrintStream print(java.io.PrintStream stream)
print
in class USBDevice
stream
- the print stream where properties will be printed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |