Owning Palette: Serial VIs and Functions
Requires: Base Development System
Sets the size of the I/O buffer. Run the VISA Configure Serial Port VI first if you are setting the size of a serial port buffer.
![]()  | Note Not all serial drivers support user-defined buffer sizes so some implementations of VISA might not be able to perform this operation. If an application requires a specific buffer size for performance reasons and the VISA implementation cannot guarantee that size, use some form of handshaking to prevent overflow conditions. | 

  Add to the block diagram | 
  Find on the palette | 
![]()  | 
VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class. | ||||||
![]()  | 
mask designates which buffer size to set. 
  | 
||||||
![]()  | 
size designates the size of the I/O buffer in bytes. Set size slightly higher than the amount of data you expect to transmit or receive. If you call this function without specifying a buffer size, this function sets the buffer size to 4096 bytes. If you do not call this function, the buffer size depends on both VISA and the operating system configuration. | ||||||
![]()  | 
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||
![]()  | 
VISA resource name out is a copy of the VISA resource name that VISA functions return. | ||||||
![]()  | 
error out contains error information. This output provides standard error out functionality. | 
Refer to the Continuous Serial Write and Read VI in the labview\examples\Instrument IO\Serial directory for an example of using the VISA Set I/O Buffer Size function.