Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69269

TCP Errors from PC to myRIO RT with USB Xbox One Controller

$
0
0

Hello all,

 

I am currently created a myRIO PC, RT, and FPGA project where I use an external Xbox One controller to communicate to the PC vi, then have this written to the RT through STM TCP/IP. I would like the joystick position to be communicated from the PC to the RT, then have this RT value written to the FPGA to control onboard myRIO LED's.

 

However, my current iteration generates Error 74 on the RT after passing through the "Unflatten From String" vi.

2001J_0-1598980211915.png

 

On the PC side, I obtain Error 62:

Possible reason(s):

LabVIEW: Serial port overrun error.
=========================
LabVIEW: The system caused the network connection to be aborted.

 

This occurs at "Write Message TCP".

2001J_1-1598980501037.png

 

I have attached code for my project. The PC vi is called "PC.vi", the RT is called "RT ControllerMain.vi", and the FPGA Target (which never obtains new data since the RT Host doesn't) is called "FPGA_ControllerLED.vi".

 

Does anybody here know what may be the issue with my code?

 

- Best regards, Justin Burzachiello


Viewing all articles
Browse latest Browse all 69269

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>