how to read a usb signal values through java coding