VISA Configure Serial Port (Instr) VI
- Updated2025-01-28
- 5 minute(s) read
VISA Configure Serial Port (Instr) VI
Initializes the serial port specified by VISA resource name to the specified settings. Wire data to the VISA resource name input to determine the polymorphic instance to use or manually select the instance.

Inputs/Outputs
![]() Enable Termination Char prepares the serial device to recognize termination char. If TRUE (default), the VI_ATTR_ASRL_END_IN attribute is set to recognize the termination character. If FALSE, the VI_ATTR_ASRL_END_IN attribute is set to 0 (None) and the serial device does not recognize the termination char. ![]() termination char calls for termination of the read operation. The read operation terminates when the termination char is read from the serial device. 0xA is the hex equivalent of a linefeed character (\n). Change the termination char to 0xD for message strings that terminate with a carriage return (\r). ![]() timeout specifies the time, in milliseconds, for the write and read operations. The default is 10000. ![]() VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class. ![]() baud rate is the rate of transmission. The default is 9600. ![]() data bits is the number of bits in the incoming data. The value of data bits is between five and eight. The default value is 8. ![]() parity specifies the parity used for every frame to be transmitted or received. This input accepts the following values.
![]() error in describes error conditions that occur before this node runs. This input provides standard error in functionality. ![]() stop bits specifies the number of stop bits used to indicate the end of a frame. This input accepts the following values.
![]() flow control sets the type of control used by the transfer mechanism. This input accepts the following values.
![]() 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. |