5522A
Operators Manual
5-18
5. When finished testing UUT commands, select the Exit command from the File menu
to close the Terminal accessory.
How to Test RS-232 UUT Port Operation with Visual Basic
Complete the following procedure to test RS-232 UUT port operation via the RS-232
Host port using a Visual Basic test program. This procedure assumes you have already
completed Appendix D, “Creating a Visual Basic Test Program” to create the program
used for this test.
Complete the following procedure to test RS-232 operation using Visual Basic.
1. Complete the “RS-232 UUT Port Setup Procedure” earlier in this chapter to set up
the Calibrator RS-232 UUT port to match the parameters of the UUT RS-232 port.
2. Complete “Testing RS-232 Host Port Operation using Visual Basic” to prepare the
Calibrator RS-232 Host port. After Step 6, return to this procedure and continue to
Step 3 below.
3. Click the Command3 button (below is typical). Observe the UUT responds to the
command you used when you completed Appendix D, “Creating a Visual Basic Test
Program.”
nn311f.bmp
If the UUT did not respond, check the RS-232 parameters set for the Calibrator UUT
port and set for the UUT port. Verify you used a modem (not null modem) cable for
the Calibrator to UUT connection. Check the Visual Basic program to make sure the
UUT command was entered correctly, including the end-of-line character, if any.
4. Close the program by clicking the top-left corner and Close.
How to Test the RS-232 UUT Port via IEEE-488 Port
This procedure uses the Win32 Interactive Control utility supplied by National
Instruments with the recommended interface cards. Connect the UUT, Calibrator, and PC
as shown in Figure 5-6. Note the use of a modem cable (NOT null modem) for the UUT
connection. (See Appendix C for information about RS-232 cables and connectors.)