LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i set the serial buffer size?

I'm using Labview 6.0
I'm using "visa open" to open the serial connection, and then i'm using "set buffer size" to set the buffer size. But this doesn't work. The buffer always stays at it's default value (4096 for WinNT). I used the maximum value 65534 for the serial buffer size.
0 Kudos
Message 1 of 5
(3,405 Views)
Do you get any errors out of VISA Set I/O Buffer Size?

"stoffei" wrote in message
news:50650000000800000076200000-991728092000@quiq.com...
> I'm using Labview 6.0
> I'm using "visa open" to open the serial connection, and then i'm
> using "set buffer size" to set the buffer size. But this doesn't work.
> The buffer always stays at it's default value (4096 for WinNT). I used
> the maximum value 65534 for the serial buffer size.
0 Kudos
Message 2 of 5
(3,405 Views)
Hi, different name, same user.
Yes, i'm getting the error code -1073807300 (Not enough system resources to allocate the buffer size) if i'm trying to set the buffer size to 65534. But if i'm using a smaller value (e.g. 16) there occurs no error, but the buffer size isn't set to 16.
Is there function, which returns the actual buffer size?
I hope, that i unterstood the meaning of buffer size. If my instrument's answer contains 21 bytes, and the buffer is set to 16, than, the return value of "bytes at serial port" should be 16.
0 Kudos
Message 3 of 5
(3,405 Views)
I have got the same problem. Keep me posting of your solution

Thanks
0 Kudos
Message 4 of 5
(3,404 Views)
I have the same problem,
I'm using "visa open" to open the serial connection, and then I'm using "set buffer size" to set the buffer size to 128. But this doesn't work. The buffer always stays in 32.
What's wrong???
0 Kudos
Message 5 of 5
(3,404 Views)