How Can I Self-Test My PCI-485i-2 to Check That All Ports Work?
Primary Software: Driver Software>>NI-Serial
Primary Software Version: 1.7
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Serial>>RS-485
Problem: I have a PCI-485i-2 and I would like to self-test it to make sure that all ports are working correctly. Can I perform a loopback test on this board. How can I go about testing this board?
Solution: To self test the board, there are several things you can do:
Option A: Testing each port individually using a RS-485 4 wire mode cable.- Connect the cable to the port and wire pins 4 to 8 and 5 to 9.
- Go to the Device Manager in Windows and right click on the port you are about to test.
- Go to Properties.
- Select the Port Settings Tab and click on Advanced.
- Make sure that the Transceiver Mode is set to 4 Wire.
- Open MAX.
- Go to My System»Devices and Interfaces»Ports.
- Right click on the port you want to test and select Open VISA Session.
- Select the Basic I/O tab.
- Now you can Write to and Read from the port.
Option B: Testing the two ports at the same time using two RS-485 4 wire mode cables.- Connect one cable to each port and wire pins 4 to 8 and 5 to 9 in each cable.
- Wire pin 1 of cable one to pin 1 of cable two.
- Wire pin 8 of cable one to pin 8 of cable two.
- Wire pin 9 of cable one to pin 9 of cable two.
- Repeat the steps above in the Device Manager of Windows to make sure that the Transceiver Mode is set to 4 Wire.
- Open MAX and repeat the steps above to Open a VISA Session for each port.
- This time you will be writing to one port and reading from the other.
Option C: Testing the two ports at the same time using two RS-485 2 wire mode cables.- Connect one cable to each port.
- Wire pins 1, 8 and 9 of cable one to pins 1, 8 and 9 of cable 2, respectively.
- Repeat the steps above in the Device Manager of Windows to make sure that the Transceiver Mode is set to 2 Wire DTR Controlled with Echo.
- Open MAX and repeat the steps above to Open a VISA Session for each port.
- You will be writing to one port and reading from the other.
Option D: Testing each port individually using a RS-485 2 wire mode cable.- Connect the cable to the port.
- Repeat the steps above in the Device Manager of Windows to make sure that the Transceiver Mode is set to 4 Wire.
- Open MAX and repeat the steps above to Open a VISA Session on the port you are testing.
- Now you can Write to and Read from the port.
Related Links:
KnowledgeBase 17M6L0TI: What Are the Different Transceiver Modes on the NI RS-485 Serial Cards?
KnowledgeBase 32NG6BFQ: Visa Cannot Read the Wire Mode Property as Set in Device Manager.
Attachments:
Report Date: 12/16/2003
Last Updated: 11/11/2005
Document ID: 34FFR7NB