Serial Baud Rates Supported By NI-VISA
Primary Software Version: 3.5
Primary Software Fixed Version: N/A
Secondary Software: N/A
Which baud rates are valid when using NI-VISA for serial communication? What are the standard serial baud rates?
NI-VISA itself does not limit the range of baud rates you can use. Instead, the baud rate request passes directly to the device driver for the serial interface. You can set the baud rate in LabVIEW using a VISA Configure Serial Port VI.
NI-VISA returns a success if the driver supports the desired baud rate. Most serial devices accept only a predefined set of baud rates. The maximum rate for most standard serial ports is 115200. However, some serial devices, such as the NI PCI/PXI-843x product line, support any arbitrary baud rate below a specified maximum rate. For more specifics on NI Serial Boards and third-party serial boards with regards to baud rates please refer to the first two links in the "Related Links" section.
If you use NI-VISA in Linux or Mac OS, you usually are limited to the standard baud rates specified in this document. The standard driver on these operating systems does not support arbitrary baud rates. To check whether a baud rate is supported with NI-VISA, open a session to the port using VISA Interactive Control and attempt to change the baud rate in the Serial Settings tab.
Supported baud rates will apply the changes with no error.
Product Manuals: NI Serial Hardware Specifications and Features Guide
KnowledgeBase 3CPHL3SU: How Does VISA Set Baud Rates for Serial Boards?
KnowledgeBase 1BEAMPL1: Can VI_ATTR_ASRL_BAUD be Used with a Nonstandard BAUD Rate?
KnowledgeBase 3JL6PPFM: How Do You Set the Baud Rate in LabVIEW to Match What It Is in NI MAX?
Drivers and Updates: Current Versions of NI-VISA
KnowledgeBase 3TTES18T: What is the Maximum Baud Rate for the Serial Port on the CompactRIO Controllers?
Report Date: 01/27/1999
Last Updated: 04/24/2017
Document ID: Q9K92I