Setting the Transceiver Wire Mode on Ports for National Instruments Serial Boards

Updated Jan 8, 2019

Reported In


  • RS-232
  • RS-485

Issue Details

How can I set the transceiver wire mode for ports on my National Instruments serial boards?


NI-VISA 3.x and later exposes the Wire Mode property through the Serial Settings properties. It is up to the user to decide how and when the Wire Mode property is set. The procedures for setting this property through Measurement & Automation Explorer (MAX) and LabVIEW are described below.

The Wire Mode property can be set for a particular port in MAX before you begin programming:
  1. Open NI MAX as an administrator. To do this, go to Start»All Programs. Right-click and select Run as administrator. If you do not run as an administrator, the options will be grayed out.
  2. Expand Devices and Interfaces and click on the port whose Wire Mode property you want to change.
  3. Click on the Advanced tab at the bottom of the window to the right and select the desired Wire Mode from the Transceiver Mode combo box:
This property can also be set programmatically in LabVIEW by using property nodes:
  1. Add a property node on your block diagram and connect the VISA serial session of the port that you want to get or set the Wire Mode property. You will need to pass the VISA resource name data lines into and out of the property node. You can also right-click on a VISA resource name line to create the property node.
  2. The Wire Mode property can be found under Serial Settings when creating the property node or selecting the property to be modified.
  3. Right-click to set the property node to write or read the Wire Mode property, based on the needs of your application.
  4. Right-click on the Wire Mode input/output to create a constant or control. See the screenshot below of the Wire Mode property node in LabVIEW and the values it can take on.

Additional Information

For LabWindows/CVI, use Setting Up Serial Transceiver Wire Modes Programmatically in LabWindows/CVI 


Not Helpful