Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA READ problem

I try to read 413 bytes with VISA READ and I have just 166 bytes at each time. Do you know why ???

Thanks.

Message Edited by yanl14 on 05-10-2005 03:21 PM

0 Kudos
Message 1 of 3
(2,899 Views)
Read from what and how do you know there's supposed to be 433 bytes available? Is this a serial instrument? If it is, you should be using the VISA Bytes at Serial Port to determine how many bytes are actually available. If this function says that there are more than 166 bytes available, do you have termination character enabled in your serial port config? If you do and the termination character (by default a LF character) is in the data you're trying to read, then VISA Read will terminate when it's detected.

If this doesn't fix your problem, provide some details on what you're doing. Post an example VI if you can.
Message 2 of 3
(2,888 Views)
I was just the termination character my problem, thank you!
0 Kudos
Message 3 of 3
(2,874 Views)