Hi.
My project is to control a LED using LV and at the same time obtain current information from that LED back to LV and display it.
LED<->Arduino(Laptop)<->Xbee -------------------------------- Xbee <->Arduino <-> Labview
So if I send K from LV to the other side Arduino the LED will glow.
The on/off part works just fine except that it is totally random. Means? If I run the LV code I can see the Arduino glowing rx and tx simultaneously indicating that it is sending the string through arduino, xbee on this side.
1)But sometimes only rx pin glows on this Arduino i.e its only rcvng from LV but not transmitting and suddenly after a hour tx will again start working. Why?
Sometimes when its all working fine and if I make amny changes to LV code by just a slight, the tx will stop blinking again, its just random???
We already know that the serial buffer of the Arduino is already busy sending string K from LV to the xbee.
But now,
I also want to receive the data from the other side simultaneously. But before I can try that,
2) The moment I connect xbee tx to arduino rx (Earlier it was just arduino tx to xbee rx), the tx rx indicator glowing on the arduino, suddenly the tx stops the moment I connect this xbee tx to arduino rx.
PLEASE HELP. Just 1 week to my project submission.