LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

While loop slow.. stop button not working.. easy fixes, but can't do it myself


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. 😉

0 Kudos
Message 11 of 13
(641 Views)

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. 

0 Kudos
Message 12 of 13
(631 Views)

The Manual for the specific Xbee device will have some good information on the serial com port requirements. 


"Should be" isn't "Is" -Jay
0 Kudos
Message 13 of 13
(612 Views)