NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Currently Being Moderated

RS-485 Loopback (Port to Port) Test 2 Wire AUTO MODE ONLY

VERSION 2

Created on: Apr 3, 2009 8:39 AM by TylerC - Last Modified:  Sep 12, 2009 7:29 AM by TylerC

Functional Description

In order to perform a RS-485 two wire loopback in AUTO mode, you need to have two separate ports to communicate between.  In this example, the two wire AUTO mode is programmatically set on both ports.  The important part is the connection made between the two ports.  Make sure to tie pins 4 and 8 (RXD+ and TXD+) together then wire this connection to pins 5 and 9 (RXD- and TXD-), which should also be tied together.  This is refelected in the next two images.

 

db9.jpgRS485 2 Wire AUTO connection.jpg

 

485 Loopback Test 2 Wire Auto_LV8.0_FP.jpg

485 Loopback Test 2 Wire Auto_LV86.jpg

 

Downloads:
Average User Rating
(1 rating)




TylerC TylerC  says:

I know there is another RS-485 auto mode VI on this community, but I was unable to get it to work without using two separate ports, which that examples does not include.  I have tested this, and it worked for me.

Cheers!

Todd Sierer Todd Sierer  says:

Good stuff here, thanks for posting!