From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Joystick LabView Real-Time

The newer cRIOs are running Linux and as a result the kernel is open source, and you can add your own drivers to the OS.  I've seen a demo of someone at NI adding drivers to the kernel and then accessing them in the RT code.  Of course there is a decent amount of work to get this to work but it could be another option.

 

Oh how about the LIFA toolkit?  I've never ran it on RT but I think it should work since it just uses VISA.  Again this is assuming it is seen as a serial device by the RT OS.  LIFA has code written for interfacing with thumb sticks so that's a start.  And you can read the digital lines on the arduino for buttons.  

 

There exists lots of arduino libraries for interfacing with various modern gaming controllers, and you could modify LIFA to read them and send that over to the RT OS as well.

0 Kudos
Message 11 of 11
(239 Views)