02-28-2012 04:50 PM
fernian wrote:And my final question for now was, what is controlling that 10 second loop? The Xbee chip or a VISA setting?
You are reqeusting 1k bytes. If the other side does not respond or only sends less than that, the read function will wait 10 seconds for more data before giving up with a timeout.
If your loop takes 10 seconds, it means that you always get a timeout error. (why don't you put an indicator on the error wire???)
Either the communication fails entirely due to some misconfigurations or less data than requested is returned. We cannot tell from here. 😉
02-28-2012 09:37 PM
Gotcha.
I'd like to say with some surprise, I was actually able to get the Labview program to read another Xbee's data! Although it was just sending data from the terminal... still going to be a challenge how to properly do this.
02-29-2012 07:47 AM
The Manual for the specific Xbee device will have some good information on the serial com port requirements.