|
|||||||||
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_DIO_32_Family
public class USB_DIO_32_Family
Class USB_DIO_32_Family represents a USB-DIO-32-family device, which encompasses the following product IDs:
USB_DIO_32
.
Instances of class USB_DIO_32_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_DIO_32_Family instance. You can then cast the USBDevice
reference obtained from one of those methods to a USB_DIO_32_Family and make use of this class' methods, like so:
USBDevice[] devices = deviceManager.getDeviceByProductID( USBDeviceManager.USB_DIO_32 ); if( devices.length > 0 ) USB_DIO_32_Family device = ( USB_DIO_32_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. |
DigitalIOSubsystem |
dio()
Gets a reference to the digital I/O 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 USBDevice
stream
- the print stream where properties will be printed.
public DigitalIOSubsystem dio()
public CounterSubsystem ctr()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |