Log in

View Full Version : USB Serial Port


jman4747
05-05-2015, 18:53
Our team will be switching to Java from Labview over the summer so I went digging into WPILIBJ and saw that you could initialize the serial port as the RS-232, MXP UART, or the USB. To my knowledge you couldn't use USB in Labview.

http://first.wpi.edu/FRC/roborio/release/docs/java/enumedu_1_1wpi_1_1first_1_1wpilibj_1_1SerialPort_1 _1Port.html


Has anyone used this? Can you chose which USB port?

Fauge7
05-05-2015, 22:43
In order to do this you have to use a Usb to serial adapter. And it will recognize the serial port.

Joe Ross
12-08-2015, 13:38
A little late, but here's a version of the LabVIEW serial port open that supports the first USB serial device.

Java and C++ kUSB only support the first USB serial device.