; TestController configuration file for OWOWN LCR2300 benchtop LCR-meter ; Version 1.0 ; Date 19-06-2025 ; Written by dUkk, info at softdev dot online ; based on published specs https://files.owon.com.cn/software/Application/LCR2000_programming_manual.pdf #notes device must be configured to 115200 baud and SCPI protocol provides BASIC support without MONITORs1,2 CORRECTION LIST, COMPARATOR functions and etc... Function 1.9.2 (LEVel:CURRent) wasn't supported on my unit (returns error) #author dUkk #idString LCR2300,REV E8.13, #name OWON LCR2300 #handle LCR2300 #port com #baudrate 115200 #value Cs F si Cs-Rs,Cs-D #value Cp f si Cp-Rp,Cp-D #value Ls H si Ls-Rs,Ls-Q #value Lp H si Lp-Rp,Lp-Q #value Rs ohm si Cs-Rs,Ls-Rs,Rs-Q #value Rp ohm si Cp-Rp,Lp-Rp,Rp-Q #value DCR ohm si DCR_Mode #value Reff ohm si R-X #value X - d3 R-X #value Z ohm d3 Z-Thr,Z-Thd,Z-D,Z-Q #value Thr - d3 Z-Thr #value Thd - d3 Z-Thd #value D - d3 Cs-D,Cp-D,Z-D #value Q - d3 Lp-Q,Ls-Q,Rs-Q,Rp-Q,Z-Q #askValues :FETCh:MAIN? #readingDelay 1 #askMode FUNC? #finalCmd SYST:KEYLOCK OFF #cmdMode Cs-Rs Cs-Rs FUNC Cs-Rs;[2000] #cmdMode Cs-D Cs-D FUNC Cs-D;[2000] #cmdMode Cp-Rp Cp-Rp FUNC Cp-Rp;[2000] #cmdMode Cp-D Cp-D FUNC Cp-D;[2000] #cmdMode Lp-Rp Lp-Rp FUNC Lp-Rp;[2000] #cmdMode Lp-Q Lp-Q FUNC Lp-Q;[2000] #cmdMode Ls-Rs Ls-Rs FUNC Ls-Rs;[2000] #cmdMode Ls-Q Ls-Q FUNC Ls-Q;[2000] #cmdMode Rs-Q Rs-Q FUNC Rs-Q;[2000] #cmdMode Rp-Q Rp-Q FUNC Rp-Q;[2000] #cmdMode R-X R-X FUNC R-X;[2000] #cmdMode Z-Thr Z-thr FUNC Z-thr;[2000] #cmdMode Z-Thd Z-thd FUNC Z-thd;[2000] #cmdMode Z-D Z-D FUNC Z-D;[2000] #cmdMode Z-Q Z-Q FUNC Z-Q;[2000] #cmdMode DCR_Mode DCR FUNC DCR;[2000] #cmdSetup comboboxhot Trigger_measurement_mode :read: :TRIG:SOUR? :write: :TRIG:SOUR? :updatedelayed: 0.5 :string: INTERNAL int MANUAL man EXTERNAL ext BUS bus #cmdSetup slider Trigger_delay_time_(seconds) :read: :TRIG:DLY? :write: :TRIG:DLY :updatedelayed: 0.5 :readmath: replace(value,"s",""); sec 0.0 60.0 #cmdSetup radio Integration_time_of_ADC :read: :APER:RATE? :write: :APER :updatedelayed: 0.5 :string: Slow SLOW Medium MED Fast FAST #cmdSetup slider ADC_averaging_rate :read: :APER:AVG? :write: :APER :updatedelayed: 0.5 _ 1 256 #cmdSetup radio Automatic_Level_Control_(ALC) :read: :LEV:ALC? :write: :LEV:ALC :updatedelayed: 0.5 :string: ON on OFF off #cmdSetup radio Source_output_impedance :read: :LEV:SRES? :write: :LEV:SRES :updatedelayed: 0.5 30_Ohm 30 50_Ohm 50 100_Ohm 100 #cmdSetup number Oscillator_test_frequency :read: :FREQ? :write: :FREQ :updatedelayed: 0.5 Frequency 10 300000 #cmdSetup comboboxhot Oscillator_output_voltage :read: :LEV:VOLT? :write: :LEV:VOLT :updatedelayed: 0.5 :readmath: replace(value,"V",""); 10_mV 1.000e-02 100_mV 1.000e-01 300_mV 3.000e-01 500_mV 5.000e-01 1_V 1.000e+00 1.5_V 1.500e+00 2_V 2.000e+00 #cmdSetup comboboxhot DC_BIAS_voltage :read: :BIAS? :write: :BIAS :updatedelayed: 0.5 :string: OFF OFF +2_V +2.00 +1.5_V +1.50 -1.5_V -1.50 -2_V -2.00 #cmdSetup radio Impedances_LCZ_automatic_selection :read: :FUNC:IMP:AUTO? :write: :FUNC:IMP:AUTO :updatedelayed: 0.5 :string: ON on OFF off #cmdSetup radio Range :read: :FUNC:RANG:AUTO? :write: :FUNC:RANG:AUTO :updatedelayed: 0.5 :update: Impedances_measurement_range :string: AUTO auto HOLD hold NOMINAL nom #cmdSetup comboboxhot Impedances_measurement_range :read: :FUNC:IMP:RANG? :write: :FUNC:IMP:RANG :updatedelayed: 0.5 :enable: Range!="auto" :string: 100_kOhms 0 30_kOhms 1 10_kOhms 2 3_kOhms 3 1_kOhms 4 300_Ohms 5 100_Ohms 6 30_Ohms 7 10_Ohms 8 #cmdSetup comboboxhot DCR_measurement_range :read: :FUNC:DCR:RANG? :write: :FUNC:DCR:RANG :updatedelayed: 0.5 :string: 0 0 30_kOhms 1 10_kOhms 2 3_kOhms 3 1_kOhms 4 300_Ohms 5 100_Ohms 6 30_Ohms 7 10_Ohms 8