Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

myrio to myrio communication using UART and Xbee

Hi all,

 

I want to send data from one myRIO to another myRIO as part of my project.

 

I have 2questions to get clairfied!

 

  1. At first, i want to send data from one myRIO to another myRIO using UART communication (wired) so that I can test the transmission rate, limitations and efficiency. Is there any resource material avilable online or sample programs that I can start with?

  2. Once done, i want to use Xbee Rx/Tx module to send data between 2 myRIO's wirelessly. I realised that we can use UART in Xbee.
    Does that mean UART wired and UART wireless using Xbee works the same way?

 

Thanks in advance for the support 🙂

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

1) Yes - take a look at the VISA examples in the example finder - the 'Simple Serial' and 'Continuous Serial Write and Read' should get you started. These are windows examples, but the same VIs will work on the myRIO.

2) Yes - the UART is essentially a serial protocol (like RS-232) so it will work in the same way regardless of whether it is wired or wireless using Xbee - you obviously need to be aware of the correct NI VISA configuration for the Xbee modules.

 

Also - don't forget that the myRIO has WiFi...if the range is suitable, you could use that instead of Xbee.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 2
(4,740 Views)