07-13-2007 12:00 PM
07-13-2007 12:06 PM
You're probably using a property node to read how many bytes are at the port, then reading that number. All this warning means is that you're getting back the same amount that you asked for, so there could still be some data left at the port. If you don't want to receive this warning, simply wire a number to the VISA read that is bigger than you expect to get. The data will be read until there is a termination character.
If your device does not send a terminator, then you'll have to keep doing it the way you are. You can just check for that warning after the read and discard it.
I think something should be done about this topic in the help file, this question seems to come up more than anything else on the forum.
07-13-2007 12:32 PM
Marc,
Thanks for your suggestion. I think you're exactly right. I'm using a Property Node to tell the VISA Read how many bytes to expect, so it's always the same number as that received. I wish there were a way to just turn it off (set it to "silent" or something), but I'll just feed it a big number as you suggested.
Thanks for the quick response.
Jay
07-13-2007 12:37 PM
07-13-2007 01:18 PM
07-13-2007 01:24 PM
07-13-2007 02:16 PM