LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can you increase the read buffer size for the GPIB Read function on the 488.1 GPIB Palette? An Int-32 is accepted as an input parameter

(byte count) for the amount of bytes to be read, but aparently the read buffer will not support large amounts of characters (> ~32000), well within the representation of an Int-32. In the case of a large byte count the GPIB Read operation just times out.
0 Kudos
Message 1 of 3
(3,686 Views)
(byte count) for the amount of bytes to be read, but aparently the read buffer will not support large amounts of characters (> ~32000), well within the representation of an Int-32. In the case of a large byte count the GPIB Read operation just times out.Instead of the size of the buffer, what you may need to do is change the default timeout for the VISA session. Do this with a VISA property node. Timeout value is under General Settings. In LabVIEW 6, there's one already created for you on the Instrument I/O>VISA>VISA Advanced palette.
0 Kudos
Message 2 of 3
(3,686 Views)
(byte count) for the amount of bytes to be read, but aparently the read buffer will not support large amounts of characters (> ~32000), well within the representation of an Int-32. In the case of a large byte count the GPIB Read operation just times out.There is already a timeout input to the GPIB Read function, which I can set up to several minutes, and the read still does not work for larger reads. I do not believe timeout is the root of the problem, because it should only take on the order of seconds to send and receive ~100 kb of data. I've observed that it takes less than 2 seconds to receive ~20 kb over GPIB.
0 Kudos
Message 3 of 3
(3,686 Views)