How Do I Connect to a LabVIEW Real-Time (RT) Target with a Crossover Cable? Primary Software: LabVIEW Modules>>Real-Time ModulePrimary Software Version: N/A Primary Software Fixed Version: N/A Secondary Software: N/A Hardware: PXI/CompactPCI>>Controllers, Compact FieldPoint, CompactRIO, FieldPoint, Compact FieldPoint
Problem: I am connecting over a crossover cable to a LabVIEW Real-Time (RT) target from a Windows machine. I am unable to communicate properly with the controller. Am I configuring the system properly? Solution: Crossover Cables: A direct connection between the computer and a Real-Time controller requires a crossover cable. Most Ethernet cables are straight (patch) cables, not crossover cables. To determine the type of cable you have, look at the 8 colored wires that are visible through the clear-plastic connectors on both ends of the cable. If the green and orange wire position is swapped between one end and the other as seen in, then the cable is a crossover cable; however, if the green and orange wires are in the same relative positions on both ends of the cable, then it is a patch cable. The 1000baseTX/T4 (Gigabit) standard specifies that crossover cables have all wires swapped in position.
A common indicator that you are using the incorrect cable is the LINK LED, which will not light on the Real-Time controller if you have the wrong cable connection. This is not foolproof; however, since the LINK LED may not light for other reasons. Additionally, if the computer in use has multiple network adapters, be sure that the only adapter that is enabled is the one which the device is plugged into. See the related links section below for additional information. Computer Network Settings When making a direct connection to a LabVIEW Real-Time controller using a CAT-5 crossover cable, you must first disable DHCP on your Host PC. Without disabling DHCP, you may find that some communication with the controller is not working properly. For example, the system may fail to appear in Measurement & Automation Explorer (MAX), or the system may fail to install software on the system. Below are instructions for various operating systems. Windows 95/98/Me
For the example above, an IP address of 192.168.0.2 and a subnet mask of 255.255.255.0 would be on the same subnet. If the controller has not been configured, you could also use the Suggest Values button in MAX to select a valid IP address and subnet mask now that the host computer has a static IP address. Related Links: KnowledgeBase 2IHG7FZ8: Poor Network Performance in LabVIEW RT When Connected to Another Computer via a Crossover Cable KnowledgeBase 1XGF6R4U: I Cannot Connect to My LabVIEW Real-Time Target on the Network KnowledgeBase 2WTAMTPK: Measurement and Automation Explorer Does Not Auto-Discover my Real-Time System under Windows XP? KnowledgeBase 4D5CCQJQ: Why Does My cRIO Controller Not Show Up in MAX? Attachments:
Report Date: 03/21/2001 Last Updated: 10/29/2008 Document ID: 27K9UNKN |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

