5-25
3550 LCR Meter Instruction Manual Programming and Interfacing
RS-232C
Sample programs for RS-232C
Explanation of SAMPLE2.BAS
This sample program changes frequencies from 100Hz to 10 kHz in 100Hz increments, and
calculates the capacitor value and phase angle in relation to the changes.
Lines 1000 to 1070 are basic settings for the main unit of the 3550.
In Line 1130, PRINT #1, "PAN2 E3 O1, FA1 FB7" indicates settings for measurement
conditions that will calculate the condenser value and phase angle, and output with RS-
232C, panel 2, TO trigger 01.
The 3550 can store 10 pages of settings. However, the initial setting of the trigger is the internal
trigger for EO, so it is necessary to change the trigger mode to the mode of the external TO
command immediately after changing the panel number. Note that each command is separated
by a space. Also, single commands like: PRINT #1 "TO" are also possible, but when the panels
need to be changed, complex commands such as below are necessary:
PRINT #1 "PAN2 E3"
Lines 1150 to 1220 are where measurements are made while the frequency is changing.
Line 1180 is "FRExxxxxx TO", where xxxxxx is the frequency value setting and TO is the
measurement trigger.
The wait times of 1200 and 1210 are used to wait for data reception and end of display.
The program will cycle through 1150 to 1220 until the measurement frequency reaches
10kHz. and then it will terminate.