cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

Communication with Xbee

Resolvido!
Ir para a solução

Hi,

 

I want to communicate with a XBee using the VISA functions. But I get the error code -1073807246. Can someone help?

 

Best regard 

0 Kudos
Mensagem 1 de 13
6.481Exibições
Solução
Aceita pelo autor do tópico TUDarmstadtLLX

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

Mensagem 2 de 13
6.427Exibições

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!

0 Kudos
Mensagem 3 de 13
6.415Exibições

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.

0 Kudos
Mensagem 4 de 13
6.408Exibições

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. 

Mensagem 5 de 13
6.397Exibições

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

0 Kudos
Mensagem 6 de 13
6.385Exibições

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?

0 Kudos
Mensagem 7 de 13
6.374Exibições

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

 

0 Kudos
Mensagem 8 de 13
6.370Exibições

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? 

0 Kudos
Mensagem 9 de 13
6.361Exibições
Solução
Aceita pelo autor do tópico TUDarmstadtLLX

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

0 Kudos
Mensagem 10 de 13
6.345Exibições