LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in receiving data from Xbee in LabVIEW

Hello, 

We are working on our project in which we transmit readings of a photo diode using a set of zigbee and arduino, during reception of data the Xbee is connected to pin 0 and 1(rx. and tx. ) of arduino. We can't interface it and view the readings on labview. We tried using VISA for serial communication but there is some flaw and it can't seem to receive the readings.lb.PNG 

0 Kudos
Message 1 of 3
(2,326 Views)

Pins 0 and 1 of the Arduino are connected to the USB communication lines. You can't communicate on both at the same time.

 

"On Uno, Nano, Mini, and Mega, pins 0 and 1 are used for communication with the computer. Connecting anything to these pins can interfere with that communication, including causing failed uploads to the board."

 

https://www.arduino.cc/reference/en/language/functions/communication/serial/ 

 

You can set up other pins to be used as serial communications using the SoftwareSerial library.

 

Message 2 of 3
(2,299 Views)

Thank you sir.

0 Kudos
Message 3 of 3
(1,922 Views)