LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem getting joystickvalues from one pc to another via remote controlled board

Hello . I have a problem getting my aplication right . It is a controll system for an ROV. We intend to use a Pc 104 with a DAQ/IO card controlling the thrusters and all onboard devices (pressure sensors ,etc) using labview. I was thinking about controlling it from land via a laptop and remote controlling the onboard (in the ROV) pc104 with the ethernet function "connect to remote panel" in labview.

So to sum it up :laptop with labview remote controlls pc104 with labview with aquire data from sensors and controll thrusters . But here is my problem . I intend to controll the ROV with a gamepad(usb,saitek) also connected to the laptop! I have made and tested a joystick VI wich works great ,no problem with that.
But when controlling via remote panel the server needs the joystick connected to it . This is logical in itself but it NOT what I intend. How do i get the joystick values transfered from the operating pc(laptop) to the server pc (pc104) when using the "connect to remote panel " feature ??

Obviusly some change to the device ID is needed atleast but i dont know what ,so plz if you know a way to transmit usb values from one pc to another via ethernet give me a hint.
0 Kudos
Message 1 of 3
(2,497 Views)
I'm not sure you can do it with remote panel alone. What you could try is having a separate VI on the local pc doing a read of the local joystick and doing a datasocket or TCP/IP Write. In the remote VI, have it do a datasocket or TCP/IP read.
0 Kudos
Message 2 of 3
(2,481 Views)
Thanks alot ,it works like a charm. just had to convert all the joystick statuses to string values and broadcast them as a server with tcp. Wasnt even as difficult as i feared it would be.
0 Kudos
Message 3 of 3
(2,468 Views)