12-11-2006 11:03 AM
12-11-2006 10:12 PM
12-11-2006 10:28 PM
As I said, you can use the VISA Bytes at Serial Port to determine how many bytes are available. Just wire the output of this to the VISA Read. If you know that there are 11 bytes per packet, and you know how many packets the instrument is sending, then multiply 11 by the number of packets.
12-11-2006 10:57 PM
12-12-2006 01:32 AM
12-12-2006 02:10 AM
I got that, but the question is about how to determine the value that should be given for byte count in NI VISA READ.vi
I've found it manually as 101 in my case. For this I've tried for several values and from these trial and error method I got this value.
If I go for a value greater than this, the read.vi will take 10 times more time than the normal.
12-12-2006 05:23 AM
12-12-2006 10:12 PM
12-13-2006 02:38 AM
12-13-2006 02:43 AM