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: 

Ethernet Joystick

Hello,

i want to read some joysticks parameters by an ethernet connection. As I did not find any joystick with ethernet I am thinking of connecting a USB joystick with an Ethernet/USB printserver like this one:

 

https://www.amazon.com/StarTech-com-100Mbps-Ethernet-Network-PM1115U2/dp/B016A4MSA4/ref=sr_1_2?ie=UT...

 

It has a static IP so I could connect it with LabView. I just wonder whether it will be possible to read out the joysticks parameters if it is connected via that printserver. Does anyone have any experience on that?

0 Kudos
Message 1 of 4
(2,995 Views)

Hi mogli,

 

you want to connect a joystick to a printserver - just because they use the same USB plug?

How should a printserver handle any joysticks?

 

There are better devices to connect USB devices to a computer over a LAN connection! (See this example.) But then you still need a driver capable to handle your joystick and also being able to access by LabVIEW…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,959 Views)

I'm not really proficient with Windows under the hood, but it seems to me that if you can get it to show up in perfmon, you could view it remotely without LabVIEW, even.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 4
(2,919 Views)

Hi,

what about hooking up a raspberry pi in between the  joystick and your network and having then the Pi directly in your labview project:

 

https://www.tsxperts.com/labviewforraspberrypi/

 

Just an idea, but the a generic option I see is here:

 

USB over IP - share USB devices over TCP/IP with FlexiHub
https://www.flexihub.com/usb-over-ip-software.html

 

Use an old laptop and share the USB port on the network. Actually you don't even need that piece of software, you can simply go along this example:

 

How to send a joystick signal from a computer to another using UDP communication. - Discussion Forums - National Instruments
http://forums.ni.com/ni/board/crawl_message?board.id=170&message.id=907291

 

Staying within LabVIEW seems like the best choice to me in this case...

Cheers, Niko

 

Niko NR
Systems Engineer, National Instruments
0 Kudos
Message 4 of 4
(2,895 Views)