View Single Post
  #9   Spotlight this post!  
Unread 17-01-2016, 20:55
Justin Buist Justin Buist is offline
Registered User
FRC #4003 (TriSonics)
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Allendale, MI
Posts: 22
Justin Buist is an unknown quantity at this point
Re: Java SerialPort kUsb

I ran into something similar last year trying to pair an Arduinio up to our RoboRIO to use inexpensive sensors meant for Arduino. I never did figure it out but only spent an hour on it.

Reading this thread jogged some stuff loose. VISA is a serial protocol standard of sorts that I've dealt with a few times writing software for credit/debit card PIN pads. It's kind of a shot in the dark but have the Arduino shoot back an ACK byte (0x06) after it receives its command. That might make the NI code on the RoboRIO happy.

Given that I'm not the only one confounded by the WPILib serial implementation I suspect they're adding VISA rules in there but not documenting them well. It'd be nice if we had something like rxtx available but that does not appear to be easy.
Reply With Quote