04-30-2013 01:34 PM
That sounds strange, Anne. Did you try using the Highlight Execution button or the other techniques I recommended above? My guess is that you are not reading the responses as fast as the device is sending them, so they stack up in the receive buffer.
Don
04-30-2013 05:54 PM
Don,
I used the highlight execution monitoring the read back. The program is the same as my last attachment.
Do you see anything in the program that can contribute to the issue?
Any device setting can reduce buffer load?
Can you flush the receive buffer?
Thanks,
Anne
04-30-2013 06:47 PM
You can flush the receive buffer, Anne, but you might cause problems if it's in the middle of receiving a packet when you flush it. It's safer to use a while loop to just keep reading responses with the non-blocking read VI until it returns false, then use the Request VI to send a request and receive a response. That's equivalent to flushing the receive buffer, but won't leave you with half a response in the buffer.
Don