Different latency in same baud rate and distance
DigiJack
Posts: 4
I am trying to get latency of my Xbee modules. I have 2 sets of Xbee and Arduino UNO. I am using one node (Xbee Series 1+Arduino UNO) in one end and using another node in other end. The Xbees are configured with AT mode. I have uploaded required code to two of the Arduinos to send and receive 16, 32, 64 bytes of data. I am sending data by Xbee and Arduino but using docklight (http://www.docklight.de/) software to see the time it is taking to go from one end to another. Using docklight helps me record the time and it is the only purpose I am using it. So, after sending from one end I am recording the time, and when I am receiving it in another Xbee+Arduino node (this is connected with another PC), I am recording the time once again in docklight of that PC. The difference between these two time I am considering as latency. Please be informed that I have not changed any configuration in XBee except did put destination address of the receiver Xbee in the sender Xbee.
Now the problem is: though I am not changing anything (distance, baud rate etc) the latency is coming different each time. Should not the reading always come same for same data size and baud rate?
Now the problem is: though I am not changing anything (distance, baud rate etc) the latency is coming different each time. Should not the reading always come same for same data size and baud rate?
Comments
-Phil
-Phil
I'm curious, what sorts of latency are you observing? I'd wonder, can you trust the PC/docklight to record accurate times, particularly since they are running on different PCs?
About your query: I understand that PC/docklight can not be regarded as the most efficient tool to recerd times in two different PCs. But I have tried to minimize the difference in the PCs timing and also leaving some buffer time. I am just analyzing how much [tentative] time does Xbee take from going one end to another with different data size.
Thank you once again. I wish here was something to give up-vote!