|
|||||||||
| 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_CTR_15_Family
public class USB_CTR_15_Family
Class USB_CTR_15_Family represents a USB-CTR-15-family device, which encompasses the following product IDs:
USB_CTR_15.
Instances of class USB_CTR_15_Family are automatically created by the USB device manager when they are
detected on the bus. You should use one of the USBDeviceManager search methods, such as
USBDeviceManager.getDeviceByProductID(),
to obtain a reference to a USB_CTR_15_Family instance. You can then cast the USBDevice
reference obtained from one of those methods to a USB_CTR_15_Family and make use of this class' methods, like so:
USBDevice[] devices = deviceManager.getDeviceByProductID( USBDeviceManager.USB_CTR_15 ); if( devices.length > 0 ) USB_CTR_15_Family device = ( USB_CTR_15_Family ) devices[ 0 ];
| 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 |
| Method Summary | |
|---|---|
CounterSubsystem |
ctr()
Gets a reference to the counter/timer subsystem of this device. |
static int[] |
getSupportedProductIDs()
Gets an array of all the product IDs supported by this USB device family. |
static java.lang.String[] |
getSupportedProductNames()
Gets an array of all the product names supported by this USB device family. |
static boolean |
isSupportedProductID(int productID)
Tells if a given product ID is supported by this USB device family. |
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 |
| Method Detail |
|---|
public static java.lang.String[] getSupportedProductNames()
open() method is called.
public static int[] getSupportedProductIDs()
public static boolean isSupportedProductID(int productID)
productID - the product ID to check.
public java.io.PrintStream print(java.io.PrintStream stream)
print in class USBDevicestream - the print stream where properties will be printed.
public CounterSubsystem ctr()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||