10-05-2017
05:56 PM
- last edited on
06-05-2025
04:11 PM
by
Content Cleaner
I'm working on a project where I'm trying to get three ground drones communicating with a central control computer (that runs LabVIEW also) using XBee antennas on NI MyRIOs to do a CRC. I would like to keep transmitted messages as simple UART serial strings. I was wondering if there was a way to configure a UART port on a MyRIO to where it could send and receive on the same channels automatically through the XBee antenna.
I found this example vi (serial_exercise.vi) (http://www.ni.com/example/27423/en/) to where it sends and receives the message on the same port, but its dependent upon using a boolean to switch between sending an receiving messages.
Solved! Go to Solution.
10-06-2017 11:06 AM
thedawg1993,
I was able to find the following resources that may be helpful in figuring out how to set this up.
Note that in the above discussion, you need to make sure to connect the TX and RX pin on MXP.
NI myRIO: UART serial communication
Regards,
Alyssa H.
National Instruments