![]() |
|
|
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.
There are no comments on this document