07-14-2017 04:46 AM
Hi,
I want to communicate with a XBee using the VISA functions. But I get the error code -1073807246. Can someone help?
Best regard
Solved! Go to Solution.
07-17-2017 10:33 AM
Hi,
did you see that link collection of that post?
http://forums.ni.com/t5/LabVIEW/Step-by-step-Labview-interface-with-XBee/m-p/2203396#M704902
Basically i saw nothing wrong in your vi, but it could be possible, that some other program tries to get access to xbee so the communication can not keep up.
The Error you are describing says only that you cannot access the device.
http://digital.ni.com/public.nsf/allkb/6807113B057FDE4C86256B41008212ED?OpenDocument
Best
07-18-2017 06:44 AM
Hi, thanks for your reply!
That is true, that the Xbee is accessed with X-CTU. So I get the error code. But after I disconnected the access with XCTU, there was no error code. But from the VISA read, I still get nothing. Do you have an idea?
Best regard!
07-18-2017 08:22 AM
Hi,
I recently do a LabVIEW project to acquire data from XBee. I have used two the XBee S6 Wifi to build a network. I have configurated these XBee with the XCTU. One XBee S6 wifi is connected with Arduino, this Arduino will acquire 5 analog signals; another XBee S6 Wifi is also connected with Arduino, which is then connected with the Computer.
I want to read the acquired data from Arduino. But I get nothing from my LabVIEW program. Does anyone have an idea?
Best regard.
07-18-2017 09:51 AM - edited 07-18-2017 09:52 AM
Do you get any data with the Arduino IDE ?
How many Serial ports does your Arduino have?
A Uno only have 1, that is shared with the USB controller.
07-18-2017 02:43 PM
Hi,
thanks for your reply. I have not tried to get data with Arduino IDE. I do not know the programming for Arduino.
I think the Arduino Nano only has one Serial port.
Is it possible to acquire 5 analog signal only with the remote XBee, then transfer data to the receiver XBee and read data directly in LabVIEW without Arduino? If it is possible, is there a step by step tutorial. I am new with XBee and I have some time pressure with this project.
Best regard
07-19-2017 02:39 AM
How did you access the Xbee with XCTU?
Was the Xbee also connected to the Nano at that time or did you connect to it in another way?
07-19-2017 03:05 AM
Hi,
when I accessed to the XBee with the X-CTU, I have used a SparkFun XBee Explorer USB. After the configuration, I connected it with the Arduino Nano.
Best regard
07-19-2017 07:27 AM
So why do you need to connect it with a Arduino Nano?
Do the Arduino have any code running on it?
Have you tried just using the Xbee explorer together with LabVIEW?
07-20-2017 02:26 AM
Hi,
I have tried just using the XBee explorer together with LabVIEW. But I could not receive anything from VISA read.
Now I have programmed for the Arduino Nano, which is connected with the receiver XBee. I could receive massage from the remote XBee now.:)
Best regard