public class UsbConnection extends IConnection
handle| Constructor and Description |
|---|
UsbConnection() |
UsbConnection(java.lang.String serialNumber)
Connects to USB device that has specific serial number.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String[] |
enumerateDevices() |
public UsbConnection()
throws DeviceNotFoundException,
CannotOpenDeviceException
DeviceNotFoundException - Occurs when no CyberAtom device has been found connected to the computer.CannotOpenDeviceException - Occurs when connection with CyberAtom device cannot be established.
Note: This constructor creates connection to first CyberAtom device found on USB device list.public UsbConnection(java.lang.String serialNumber)
throws DeviceNotFoundException,
CannotOpenDeviceException
serialNumber - A serial number of the USB device to connect to.DeviceNotFoundException - Occurs when no CyberAtom device has been found connected to the computer.CannotOpenDeviceException - Occurs when connection with CyberAtom device cannot be established.
Note: This constructor can be used more than one USB devices are in use at the same time.