From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-23-2016 11:01 AM
Hi guys,
I just want to send some sensor data from multiple myRIOs to a single myRIO. I can use the inbuilt wifi in myRIOs but they don't work in long distances. So I want to connect xBees to myRIO and use them to send and receive data over a long distance. But I am not sure how to start.
Any kind of help will be really appreciated. Thank you so much!
02-25-2016 03:40 AM
It depends on which xBee adapter you use and what protocols the adapter supports to transmit data. If your xBee support basic communication procols like SPI or I2C or UART..., then you could straight away build RT VIs for your application and hand the communication using myRIO's factory FPGA personality. I am unfamiliar with xBee, but I can say that if your xBee adapter communicates directly in some of its own protocol (i.e., without basic intermedate communication protocols), then you want to xBee own driver to send/receive data. Also, in myRIO, you would need RT supported drivers to handle it. Otherway is that if you have FPGA personality which handles its own protocol, you can use it in myRIO.
Some info about xBee toolkit for LabVIEW can be found here https://decibel.ni.com/content/groups/zigbee-toolkit-support-page
Thanks,
Ajay.
02-25-2016 01:34 PM - edited 02-25-2016 01:34 PM
Thank you so much for the reply Ajay.
xBee uses a mesh protocol, https://en.wikipedia.org/wiki/IEEE_802.15.4 .
And "Practically the XBee module can be viewed as a modem because it mainly uses a UART (serial interface) to communicate with the main board." from http://cpham.perso.univ-pau.fr/WSN/XBee.html .
Which means I will be able to " straight away build RT VIs for your application and hand the communication using myRIO's factory FPGA personality." right? Do you have an example for this sir? Or do you know where to find one?
Sorry, I am very new to this so I am a bit lost.
anniyan23
02-25-2016 08:01 PM
02-26-2017 10:56 AM
Sir,
I have to send data wirelessly from sensor like lm35 to myrio using xbee..How can I do it..? I am very much new to myrio ..So can you help me in this regard..