Serial Communication between XBee using Arduino

Priyanshu27:
By this way we can't print values

I don't understand that - what can you do? I have not used XBees myself. Do you mean that xbee.print() is not valid? If so, what is the correct syntax? My general understanding is that XBees just send serial data - but maybe I am wrong.

On the other hand maybe you can put your values into an array of ints and send that?

Can you post a link to the documentation for the Xbee library that you are using?

But, the place I got stuck with this is there are 6 XBee connected to each other and all are sending data to each other. Then how do we get to know that from which XBee we are getting our values?

Include in each message an ID number for the sender.

...R