Abstract:
Some of AEA Technology equipment connects to PC based software using an RS232 serial port. Sometimes a user experiences difficulties when attempting to connect the unit to the software. This paper outlines fault isolation methods and solutions for many of these problems.
General
The problems involving the serial port connection fall into a few major categories:
COM port settings
Software settings
Cable integrity
Other software on PC
AEA unit active
RS232 Serial Port
For AEA equipment the RS232 link has three portions:
1. PC Computer running the AEA application software.
2. The connecting cable (AEA part number 0070-1201 or 0070-1215).
3. AEA analyzer (many different models).
Verify the cable connects the analyzer to the PC.
The RS232 standard defines the voltage levels and other characteristics of a serial port interface. One of the basic parameters for RS232 operation is the Baud Rate. The PC software and the analyzer MUST be set to that same baud rate for successful communication. Verify that the baud rates match.
PC’s will often have more than one RS232 port. The first one is COM1; the second is COM 2 etc. Be sure that the com port selected in the application software is the same one that the cable connects to.
AEA PC Software
There are several different models of AEA equipment and different PC programs for these units. Be sure that the program you are attempting to run is the correct software for the unit you wish to connect to. See Appendix A for a list of units and their software.
Serial Cable
If you suspect the cable, use an ohm meter to check it out. Gently flex the cable near the connectors as you type in commands (see trouble shooting) to see if there is an intermittent. If the cable checks out OK, then look elsewhere for a problem.
Other Software
Other software may be tying up the serial port. The two most common programs that do this are Windows® Briefcase program looking for a laptop to synchronize files with or a Universal Power Supply program left on the operating system. Many times these programs get imported from an older computer/configuration when you upgrade to a newer Windows OS or computer, so you may not even remember activating these programs. Run msconfig (Start|Run enter "msconfig" press OK) to find and deactivate any UPS and briefcase drivers or programs. These are usually found under the last 2 tabs, "Services" and "Startup". Reboot the computer and verify that the program has been successfully removed by examining the RS232 tester LEDs or by starting HyperTerminal.
AEA Unit plotting
Be sure that the AEA unit is not in an exam mode or in the middle of some menu. It should be actively plotting in order to respond to serial port commands.
Trouble Shooting Tips:
RS232 Tester
Although not essential, an inexpensive RS232 tester module often proves to be a handy piece of test equipment to help with serial port issues. This module contains LEDs that show the activity on the different RS232 lines that make a com port. If you do not have an RS232 tester, then use the HyperTerminal program as explained further on. For AEA equipment, there would be 4 Active LEDs:
1. TD or TxD, data from computer.
2. RD or RxD, data from AEA equipment.
3. RTS, a handshake line from the computer to indicate if the port is “on line” or not.
4. DTR, behaves similarly to RTS.
If these LEDs are not lit, there is some type of hardware problem. With the AEA PC software not running (i.e. closed) the RTS and DTR LEDs should be the same color as the RD and TD lines (all inactive). If this is not true or if there is activity on these lines, then another program has the port tied up or you have connected to the wrong port.