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

Currently Being Moderated

LabVIEW Loopback Test for Serial Port

VERSION 3

Created on: Sep 8, 2008 7:56 PM by G-Money - Last Modified:  Mar 18, 2010 5:56 PM by charris

This LabVIEW VI verifiesthe operation of your serial port hardware. You will need LabVIEW, standard 9-pin serial cable, and some wire or a paperclip.

 

Connect the serial cable to your serial port and then short the transmit and receive pins of the cable with the wire. For an RS-232 cable you must short pin 2 to pin 3. For an RS-485 cable you must short pin 4 to pin 8 and pin 5 to pin 9.

 

Once everything is connected and your cable is shorted, run the Loopback.VI. This sends out a string and if your hardware is working correctly then you should recieve that same message back.

 

Downloads:
Average User Rating
(0 ratings)




There are no comments on this document

More Like This

  • Retrieving data ...