I have a question regarding the behavior I can expect from the MAV bit in the STB byte.
I am doing a read, setting the SRE mask so that SRQ is asserted when MAV happens. I am enabling the service request event and the "wait for RQS" visa tool in labview, which triggers when MAV happens.
So now, on the subsequent read after MAV is asserted, can I assume the ENTIRE message is available? If not, then a subsequent read may only get part of the message. Should the MAV bit then still be asserted if there is still part of the message remaining in the buffer? If so, then I can query in a loop the state of the MAV bit and exit when I have read everything. If not, how can I tell I have retrieved all of my message? I see no way to tell how many bytes are in the gpib read buffer using VISA.
Thanks
David Jenkinson
Message Edited by david_jenkinson on 09-07-2007 05:21 PM