Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
39 ratings:
 4.28 out of 5     Rate this Document

Serial Baud Rates Supported By NI-VISA



Primary Software: Driver Software>>NI-VISA
Primary Software Version: 3.5
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
Which baud rates are valid when using NI-VISA for serial communication? What are the standard serial baud rates?

Solution:
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 3rd party serial boards with regards to baud rates please refer to the first 2 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.

Standard baud rates supported by most serial ports:
 
  • 110
  • 300
  •  
  • 600
  • 1200
  •  
  • 2400
  • 4800
  •  
  • 9600
  • 14400
  •  
  • 19200
  • 28800
  •  
  • 38400
  • 56000
  •  
  • 57600
  • 115200


  • Standard baud rates supported by some serial ports:
     
  • 128000
  • 153600
  •  
  • 230400
  • 256000
  •  
  • 460800
  • 921600



  • Related Links:
    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: Setting Baud Rate in LabVIEW to Match MAX
    Drivers and Updates: Current Versions of NI-VISA

    Attachments:





    Report Date: 01/27/1999
    Last Updated: 07/10/2013
    Document ID: Q9K92I

    Your Feedback! poor Poor  |  Excellent excellent   Yes No
     Document Quality? 
     Answered Your Question? 
      1 2 3 4 5
    Please Contact NI for all product and support inquiries.submit