LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to send a joystick signal from a computer to another using UDP communication.

Hi everybody .

 

I'm trying , through this VI, send a joystick signal from a computer to another. However, I didn't learn how to use correctly the UDPs and TCPs yet.

I'd like your help, I'm just  a starter in LabVIEW.
Thank You.
Regards,
Lucas Lourenzão .

0 Kudos
Message 1 of 4
(3,331 Views)
The best way to learn about UDP is to study the examples that come with LabVIEW.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 4
(3,315 Views)

What timing requirements do you have?  Two Joysticks that I tested output position information at over 60K samples/sec.  Are you planning to transmit each point one at a time?  If so, you need to consider the transmission speed of single-point protocols to see if this is even practical.

 

If both machines are running LabVIEW and transmission speed is not critical, then a Network Shared Variable might be the simplest method ...

 

Bob Schor

0 Kudos
Message 3 of 4
(3,267 Views)

1. If you need every sample point to be recieved, then you need to use TPC/IP.

2. The LabVIEW Example Finder is your friend here.  It can be found through Help->Find Examples.

3. You might want to look into using STM.  It is a free library that NI made to make the communication easier.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 4
(3,236 Views)