; ******************************************************** ; ET5420A+ Electronic Load ; ******************************************************** ; Rev 1.0.69 Released 2026-04-05 ; Created by KungFuJosh ; ; NOTE: based on ET5410A by PL based on ET5410 driver by jmurray ; ; ******************************************************** ;------------------------------------------------------------ ; Devices ;------------------------------------------------------------ #metadef #author KungFuJosh #idString ET5420A+ #name East Tester ET5420A+ #handle ET5420AP #meta #idString ET54X0A+ #name East Tester ET54X0A+ #handle ET54X0AP #port comfixedbaud #baudrate 9600N81 #driver SCPIx #helpurl https://www.youtube.com/watch?v=dQw4w9WgXcQ ;------------------------------------------------------------------------------------ ; Emulation Layer ;------------------------------------------------------------------------------------ ; End of Line #eol \n |.\n ; Internal: used to display more than one list page #scpiCmd LIST1:SHOW none :setvar: listshow=inputValue #scpiCmd LIST1:SHOW? none? :readmath: varExists("listshow")?(listshow):(0) #scpiCmd LIST1:ENTRY? LIST1:PARA? (listshow+value),(listshow+value) #scpiCmd LIST2:SHOW none :setvar: listshow2=inputValue #scpiCmd LIST2:SHOW? none? :readmath: varExists("listshow2")?(listshow2):(0) #scpiCmd LIST2:ENTRY? LIST2:PARA? (listshow2+value),(listshow2+value) ; Internal: delay load of qualify parameters #scpiCmd QUAL1:SHOW none :setvar: qualshow=inputValue #scpiCmd QUAL1:SHOW? none? :readmath: varExists("qualshow")?(qualshow):(0) #scpiCmd QUAL2:SHOW none :setvar: qualshow2=inputValue #scpiCmd QUAL2:SHOW? none? :readmath: varExists("qualshow2")?(qualshow2):(0) ; Internal: delay load of load parameters #scpiCmd LOAD1:SHOW none :setvar: loadshow=inputValue #scpiCmd LOAD1:SHOW? none? :readmath: varExists("loadshow")?(loadshow):(0) #scpiCmd LOAD2:SHOW none :setvar: loadshow2=inputValue #scpiCmd LOAD2:SHOW? none? :readmath: varExists("loadshow2")?(loadshow2):(0) ;------------------------------------------------------------ ; Values ;------------------------------------------------------------ #value CH1_Current A D3 #value CH1_Voltage V D3 #value CH1_Power W D2 #value CH1_Resistance Ω D3 #value CH1_Capacity Ah D3 #value CH1_Energy Wh D3 #value CH2_Current A D3 #value CH2_Voltage V D3 #value CH2_Power W D2 #value CH2_Resistance Ω D3 #value CH2_Capacity Ah D3 #value CH2_Energy Wh D3 #askValues MEAS1:ALL?;[200];BATT1:CAPA?;[200];BATT1:ENER?;[200];MEAS2:ALL?;[200];BATT2:CAPA?;[200];BATT2:ENER?;[200]; #askValuesMathFormat trim(replace(replace(value,"R","")," "," ")) #askValuesReadFormat ffffffffffff #askMode CH1:MODE?;[200];CH2:MODE?;[200]; #modeChangeDelay 2 #readingDelay 2 #initCmd LIST1:SHOW 0;QUAL1:SHOW 0;LOAD1:SHOW 0;LIST2:SHOW 0;QUAL2:SHOW 0;LOAD2:SHOW 0; #outputOff CH1:SW OFF;[200];CH2:SW OFF;[200]; #finalCmd CH1:SW OFF;[200];CH2:SW OFF;[200];SYST:LOCA; ;------------------------------------------------------------ ; Interface ;------------------------------------------------------------ #interfaceType Load ; Set #interface setOn CH1:SW (getElement("OFF ON",value));[300];CH2:SW (getElement("OFF ON",value));[300]; #interface setMode CH1:MODE (value);[200];CH2:MODE (value);[200]; #interface setRemoteSense LOAD1:SENSE (getElement("OFF ON",value));[300];LOAD2:SENSE (getElement("OFF ON",value));[300]; #interface setVoltage VOLT1:CV (value);[300];VOLT2:CV (value);[300]; #interface setCurrent CURR1:CC (value);[300];CURR2:CC (value);[300]; #interface setPower POWE1:CP (value);[300];POWE2:CP (value);[300]; #interface setResistance RESI1:CR (value);[300];RESI2:CR (value);[300]; #interface setMaxCurrent CURR1:IMAX (value);[300];CURR2:IMAX (value);[300]; #interface setMaxVoltage VOLT1:VMAX (value);[300];VOLT2:VMAX (value);[300]; #interface setMaxPower POWE1:PMAX (value);[300];POWE2:PMAX (value);[300]; ; Get #interface getOn CH1:SW?;[200];CH2:SW?;[200]; :readmath: (replace(replace(value,"ON","1"),"OFF","0")) #interface getMode CH1:MODE?;[200];CH2:MODE?;[200]; :string: #interface getRemoteSense LOAD1:SENSE?;LOAD2:SENSE? :readmath: (replace(replace(value,"ON","1"),"OFF","0")) #interface getVoltage VOLT1:CV?;[200];VOLT2:CV?;[200]; :readmath: trim(replace(value,"R","")) #interface getCurrent CURR1:CC?;[200];CURR2:CC?;[200]; :readmath: trim(replace(value,"R","")) #interface getPower POWE1:CP?;[200];POWE2:CP?;[200]; :readmath: trim(replace(value,"R","")) #interface getResistance RESI1:CR?;[200];RESI2:CR?;[200]; :readmath: trim(replace(value,"R","")) #interface getMaxCurrent CURR1:IMAX?;[200];CURR2:IMAX?;[200]; :readmath: trim(replace(value,"R","")) #interface getMaxVoltage VOLT1:VMAX?;[200];VOLT2:VMAX?;[200]; :readmath: trim(replace(value,"R","")) #interface getMaxPower POWE1:PMAX?;[200];POWE2W:PMAX?;[200]; :readmath: trim(replace(value,"R","")) ; Read #interface readCurrent 0 #interface readVoltage 1 #interface readPower 2 #interface readResistance 3 #interface readCapacity 4 #interface readEnergy 5 ;------------------------------------------------------------------------------------ ; Mode ;------------------------------------------------------------------------------------ #cmdModeLayout 3 8 #cmdMode CH1_Constant_Current_(CC) CC CH1:MODE CC;[300] #cmdMode CH1_Constant_Voltage_(CV) CV CH1:MODE CV;[300] #cmdMode CH1_Constant_Power_(CP) CP CH1:MODE CP;[300] #cmdMode CH1_Constant_Resistance_(CR) CR CH1:MODE CR;[300] #cmdMode CH1_Constant_Current/Voltage_(CC+CV) CCCV CH1:MODE CCCV;[300] #cmdMode CH1_Constant_Resistance/Voltage_(CR+CV) CRCV CH1:MODE CRCV;[300] #cmdMode CH1_Short_Test SHOR CH1:MODE SHOR;[300] #cmdMode CH1_LED_Test LED CH1:MODE LED;[300] #cmdMode CH1_Transient_Test TRAN CH1:MODE TRAN;[300] #cmdMode CH1_Battery_Test BATT CH1:MODE BATT;[300] #cmdMode CH1_Scan_Test SCAN CH1:MODE SCAN;[300] #cmdMode CH1_List_Test LIST CH1:MODE LIST;[300] #cmdMode CH2_Constant_Current_(CC) CC CH2:MODE CC;[300] #cmdMode CH2_Constant_Voltage_(CV) CV CH2:MODE CV;[300] #cmdMode CH2_Constant_Power_(CP) CP CH2:MODE CP;[300] #cmdMode CH2_Constant_Resistance_(CR) CR CH2:MODE CR;[300] #cmdMode CH2_Constant_Current/Voltage_(CC+CV) CCCV CH2:MODE CCCV;[300] #cmdMode CH2_Constant_Resistance/Voltage_(CR+CV) CRCV CH2:MODE CRCV;[300] #cmdMode CH2_Short_Test SHOR CH2:MODE SHOR;[300] #cmdMode CH2_LED_Test LED CH2:MODE LED;[300] #cmdMode CH2_Transient_Test TRAN CH2:MODE TRAN;[300] #cmdMode CH2_Battery_Test BATT CH2:MODE BATT;[300] #cmdMode CH2_Scan_Test SCAN CH2:MODE SCAN;[300] #cmdMode CH2_List_Test LIST CH2:MODE LIST;[300] ;------------------------------------------------------------------------------------ ; Channel 1 ;------------------------------------------------------------------------------------ #cmdSetup info Active_Mode Channel_1 :read: CH1:MODE?;[300]; :updatemodechange: #cmdSetup selector CH1_Select Channel_1 :read: CH1:MODE?;[200]; :string: CC CC_. TIME_. LIMIT_. CV CV_. TIME_. LIMIT_. CP CP_. TIME_. LIMIT_. CR CR_. TIME_. LIMIT_. CCCV CCCV_. LIMIT_. CRCV CRCV_. LIMIT_. SHOR SHOR_. LIMIT_. LED LED_. TRAN TRAN_. LIST LIST_. SCAN SCAN_. BATT BATT_. :updatemodechange: ;------------------------------------------------------------------------------------ ; CH1 Settings ;------------------------------------------------------------------------------------ #cmdSetup Info Load CH1_Settings #cmdSetup separator - CH1_Settings 2 100 Solid #cmdSetup radio Range_I CH1_Settings :read: LOAD1:CRANge?;[200]; :write: LOAD1:CRANge #;[350];CURR1:IMAX (value=="HIGH"?42:3.1);[350]; :update: Imax Set_I Set_Io Set_I1 Set_I2 :string: :tip: Set the range of current 3_A LOW 42_A HIGH #cmdSetup radio Range_V CH1_Settings :read: LOAD1:VRANge?;[200]; :write: LOAD1:VRANge #;[350];VOLT1:VMAX (value=="HIGH"?155:21.0);[350]; :update: Vmax Set_V Set_Vo Set_V1 Set_V2 Vcutoff Vmin Vth :string: :tip: Set the voltage range 21_V LOW 155_V HIGH #cmdSetup selector SelectLoad CH1_Settings :read: LOAD1:SHOW? 0 Settings_Button. 1 Settings_Edit. #cmdSetup button More Settings_Button :write: LOAD1:SHOW 1 :update: SelectLoad #cmdSetup radio Sense Settings_Edit :read: LOAD1:SENSE?;[200] :write: LOAD1:SENSE #;[300] :string: :tip: Set the range of current Off OFF On ON #cmdSetup number Von Settings_Edit :read: VOLT1:ON?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT1:ON #;[300] :tip: Set turn-on voltage V 0 155 #cmdSetup number Voff Settings_Edit :read: VOLT1:OFF?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT1:OFF #;[300] :tip: Set turn-off voltage V 0 155 #cmdSetup comboboxhot Trigger_ Settings_Edit :read: LOAD1:TRIGger?;[200] :write: LOAD1:TRIGger #;[400] :tip: Set the trigger mode of the trigger source Manual MAN External EXT Software TRG #cmdSetup button Trigger Settings_Edit :enable: Settings_Edit.Trigger_=="TRG" :write: *TRG ;------------------------------------------------------------------------------------ ; CH1 Qualify ;------------------------------------------------------------------------------------ #cmdSetup selector CH1_SelectQualify CH1_Qualify :read: QUAL1:SHOW? 0 CH1_Qualify. 1 CH1_Qualify_Edit. #cmdSetup button More CH1_Qualify :write: QUAL1:SHOW 1 :update: CH1_SelectQualify #cmdSetup radio Test CH1_Qualify_Edit :read: QUAL1:TEST?;[200] :write: QUAL1:TEST #;[350] :string: Off OFF On ON #cmdSetup separator - CH1_Qualify_Edit 2 100 Solid #cmdSetup number Imax CH1_Qualify_Edit :read: QUAL1:CHIGh?;[200] :readmath: replace(getElement(value,0),"R","") :write: QUAL1:CHIGh #;[300] A 0 42 #cmdSetup number Imin CH1_Qualify_Edit :read: QUAL1:CLOW?;[200] :readmath: replace(getElement(value,0),"R","") :write: QUAL1:CLOW #;[300] A 0 42 #cmdSetup separator - CH1_Qualify_Edit 1 100 Empty #cmdSetup number Vmax CH1_Qualify_Edit :read: QUAL1:VHIGh?;[200] :readmath: replace(getElement(value,0),"R","") :write: QUAL1:VHIGh #;[300]; V 0.1 150 #cmdSetup number Vmin CH1_Qualify_Edit :read: QUAL1:VLOW?;[200] :readmath: replace(getElement(value,0),"R","") :write: QUAL1:VLOW #;[300] V 0.1 150 #cmdSetup separator - CH1_Qualify_Edit 1 100 Empty #cmdSetup number Pmax CH1_Qualify_Edit :read: QUAL1:PHIGh?;[200] :readmath: replace(getElement(value,0),"R","") :write: QUAL1:PHIGh #;[300] W 0 400 #cmdSetup number Pmin CH1_Qualify_Edit :read: QUAL1:PLOW?;[200] :readmath: replace(getElement(value,0),"R","") :write: QUAL1:PLOW #;[300] W 0 400 ;------------------------------------------------------------------------------------ ; CC ;------------------------------------------------------------------------------------ #cmdSetup info CC CC_ :read: LOAD1:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - CC_ 2 100 Solid #cmdSetup number Set_I CC_ :read: CURR1:CC?;[200] :readmath: trim(replace(value,"R","")) :write: CURR1:CC #;[300]; :tip: Set CC mode current value A 0 40 ;------------------------------------------------------------------------------------ ; CV ;------------------------------------------------------------------------------------ #cmdSetup info CV CV_ :read: LOAD1:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - CV_ 2 100 Solid #cmdSetup number Set_V CV_ :read: VOLT1:CV?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT1:CV #;[300]; :tip: Set the voltage value of CV mode V 0 150 ;------------------------------------------------------------------------------------ ; CP ;------------------------------------------------------------------------------------ #cmdSetup info CP CP_ :read: LOAD1:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - CP_ 2 100 Solid #cmdSetup number Set_P CP_ :read: POWE1:CP?;[200] :readmath: trim(replace(value,"R","")) :write: POWE1:CP #;[300]; :tip: Set CP mode power value W 0 400 ;------------------------------------------------------------------------------------ ; CR ;------------------------------------------------------------------------------------ #cmdSetup info CR CR_ :read: LOAD1:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - CR_ 2 100 Solid #cmdSetup number Set_R CR_ :read: RESI1:CR?;[200] :readmath: trim(replace(value,"R","")) :write: RESI1:CR #;[300]; :tip: Set the resistance value of CR mode Ω 1 5000 ;------------------------------------------------------------------------------------ ; CC-CV ;------------------------------------------------------------------------------------ #cmdSetup info CC+CV CCCV_ :read: LOAD1:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - CCCV_ 2 100 Solid #cmdSetup number Set_I CCCV_ :read: CURR1:CCCV?;[200] :readmath: trim(replace(value,"R","")) :write: CURR1:CCCV #;[300] :tip: Set CC mode current value A 0 40 #cmdSetup number Set_V CCCV_ :read: VOLT1:CCCV?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT1:CCCV #;[300]; :tip: Set the voltage value of CV mode V 0 150 ;------------------------------------------------------------------------------------ ; CR-CV ;------------------------------------------------------------------------------------ #cmdSetup info CR+CV CRCV_ :read: LOAD1:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - CRCV_ 2 100 Solid #cmdSetup number Set_R CRCV_ :read: RESI1:CRCV?;[200] :readmath: trim(replace(value,"R","")) :write: RESI1:CRCV #;[300] :tip: Set the resistance value of CR mode Ω 1 5000 #cmdSetup number Set_V CRCV_ :read: VOLT1:CRCV?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT1:CRCV #;[300] :tip: Set the voltage value of CV mode V 0 150 ;------------------------------------------------------------------------------------ ; SHORT ;------------------------------------------------------------------------------------ #cmdSetup info Short SHOR_ :read: LOAD1:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - SHOR_ 2 100 Solid #cmdSetup Info N/A SHOR_ ;------------------------------------------------------------------------------------ ; LED ;------------------------------------------------------------------------------------ #cmdSetup info LED LED_ :read: LOAD1:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - LED_ 2 100 Solid #cmdSetup number Set_Vo LED_ :read: VOLT1:LED?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT1:LED #;[300]; :tip: Steady working voltage of LED constant current source with LED lamp V 0 150 #cmdSetup number Set_Io LED_ :read: CURR1:LED?;[200] :readmath: trim(replace(value,"R","")) :write: CURR1:LED #;[300] :tip: Output current of LED constant current source A 0 40 #cmdSetup number Set_Coeff LED_ :read: LED1:COEFf?;[200] :readmath: trim(replace(value,"R","")) :write: LED1:COEFf #;[300]; :tip: Ratio of Rd voltage to the total voltage: Rd =(Vo/Io)*Coeff; V=Vo*(1-Coeff) _ 0.001 1.000 ;------------------------------------------------------------------------------------ ; TRAN ;------------------------------------------------------------------------------------ #cmdSetup info Transient TRAN_ :read: LOAD1:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - TRAN_ 2 100 Solid #cmdSetup comboboxhot Type TRAN_ :read: TRAN1:STATe?;[200] :readmath: trim(value) :write: TRAN1:STATe #;[300] :tip: Set the dynamic state of dynamic test :string: :update: TRAN_Select CC CC CV CV #cmdSetup comboboxhot Mode TRAN_ :read: TRAN1:MODE?;[200] :write: TRAN1:MODE #;[300]; :tip: Set dynamic test dynamic mode Continuous COUT Trigger TRIG Pulse PULS ; Pulse Width only enabled when: && TRAN_.Mode!="TRIG" #cmdSetup selector TRAN_Select TRAN_ :read: TRAN1:STATe?;[200] CC TRAN_CC_. CV TRAN_CV_. #cmdSetup multi Set_I1 TRAN_CC_ :read: CURR1:TA?;[200];TIME1:WA?;[200] :readmath: replace(getElement(value,0),"R","")+" "+(replace(getElement(value,1),"R","")/1000.0) :write: CURR1:TA #;[200];TIME1:WA #;[350]; :tip: Set the dynamic test A value Number I A 0 40 Number T s 0 60 #cmdSetup multi Set_I2 TRAN_CC_ :read: CURR1:TB?;[200];TIME1:WB?;[200] :readmath: replace(getElement(value,0),"R","")+" "+(replace(getElement(value,1),"R","")/1000.0) :write: CURR1:TB #;[200];TIME1:WB #;[350]; :tip: Set the dynamic test B value Number I A 0 40 Number T s 0 60 #cmdSetup multi Set_V1 TRAN_CV_ :read: VOLT1:TA?;[200];TIME1:WA?;[200] :readmath: replace(getElement(value,0),"R","")+" "+(replace(getElement(value,1),"R","")/1000.0) :write: VOLT1:TA #;[200];TIME1:WA #;[350]; :tip: Set the dynamic test A value Number V V 0.1 150 Number T s 0 60 #cmdSetup multi Set_V2 TRAN_CV_ :read: VOLT1:TB?;[200];TIME1:WB?;[200] :readmath: replace(getElement(value,0),"R","")+" "+(replace(getElement(value,1),"R","")/1000.0) :write: VOLT1:TB #;[200];TIME1:WB #;[350]; :tip: Set the dynamic test B value Number V V 0.1 150 Number T s 0 60 ;------------------------------------------------------------------------------------ ; SCAN ;------------------------------------------------------------------------------------ #cmdSetup info Scan SCAN_ :read: LOAD1:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - SCAN_ 2 100 Solid #cmdSetup comboboxhot Type SCAN_ :read: SCAN1:TYPE?;[200] :write: SCAN1:TYPE #;[350] :string: :update: SCAN_SelectType :tip: Set scan type of scan test CC_-_Vary_current CC CV_-_Vary_voltage CV CP_-_Vary_power CP #cmdSetup selector SCAN_SelectType SCAN_ :read: SCAN1:TYPE?;[200] CC SCAN_CC_. CV SCAN_CV_. CP SCAN_CP_. #cmdSetup multi Set_I SCAN_CC_ :read: CURR1:STARt?;[200];CURR1:END?;[200];CURR1:STEP?;[200] :readmath: trim(replace(value,"R","")) :write: CURR1:STARt #;[200];CURR1:END #;[200];CURR1:STEP #;[350]; :tip: Set the scan test current values Number Start A 0 40 Number End A 0 40 Number Step A 0 40 #cmdSetup multi Set_V SCAN_CV_ :read: VOLT1:STARt?;[200];VOLT1:END?;[200];VOLT1:STEP?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT1:STARt #;[200];VOLT1:END #;[200];VOLT1:STEP #;[350]; :tip: Set voltage values of scanning test Number Start V 0.1 150 Number End V 0.1 150 Number Step V 0.1 150 #cmdSetup multi Set_P SCAN_CP_ :read: POWE1:STARt?;[200];POWE1:END?;[200];POWE1:STEP?;[200] :readmath: trim(replace(value,"R","")) :write: POWE1:STARt #;[200];POWE1:END #;[200];POWE1:STEP #;[350]; :tip: Set the power value of scanning test Number Start W 0 400 Number End W 0 400 Number Step W 0 400 #cmdSetup numberInt Time SCAN_ :read: TIME1:STEP?;[200] :readmath: trim(replace(value,"R","")) :write: TIME1:STEP #;[300]; :tip: Set the scan test step delay value s 0 9999 #cmdSetup separator - SCAN_ 1 100 Empty #cmdSetup comboboxhot Capture SCAN_ :read: SCAN1:THTYpe?;[200] :write: SCAN1:THTYpe #;[350] :string: :update: SCAN_SelectCapture :tip: Set the threshold type of the scan test DROP_-_Voltage_drops_sharply_close_to_0 DROP Vth_-_Voltage_is_higher_than_treshold_setting VTH Vmin_-_Voltage_is_lower_than_capture_setting VMIN #cmdSetup selector SCAN_SelectCapture SCAN_ :read: SCAN1:THTYpe?;[200] DROP SCAN_DROP_. VTH SCAN_Vth_. VMIN SCAN_Vmin_. #cmdSetup info N/A SCAN_DROP_ #cmdSetup number Vth SCAN_Vth_ :read: VOLT1:VTH?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT1:VTH #;[300]; :tip: Set the threshold of scan test voltage transition V 0.1 150 #cmdSetup number Vmin SCAN_Vmin_ :read: VOLT1:VMIN?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT1:VMIN #;[300]; :tip: Set the minimum voltage threshold for scanning test V 0.1 150 #cmdSetup separator - SCAN_ 1 100 Empty #cmdSetup Info Limit SCAN_ #cmdSetup separator - SCAN_ 2 100 Solid #cmdSetup comboboxhot Compare SCAN_ :read: SCAN1:COMPare?;[200] :write: SCAN1:COMPare #;[350] :string: :update: SCAN_SelectCompare :tip: Sets the comparison type of the scan test to query the comparison type of the scan test Off(*) SCAN Ic_-_Current_within_limits INCURR Vc_-_Voltage_within_limits INVOLT Pc_-_Power_within_limits INPOW ;OFF -> SCAN (but cannot be written again, VMIN did not work) #cmdSetup selector SCAN_SelectCompare SCAN_ :read: SCAN1:COMPare?;[200] SCAN SCAN_OFF_. INCURR SCAN_Ic_. INVOLT SCAN_Vc_. INPOW SCAN_Pc_. #cmdSetup info N/A SCAN_OFF_ #cmdSetup multi Ic SCAN_Ic_ :read: CURR1:LOW?;[200];CURR1:HIGH?;[200] :readmath: trim(replace(value,"R","")) :write: CURR1:LOW #;[200];CURR1:HIGH #;[350]; :tip: Set the scan test current limit Number Low A 0 42 Number High A 0 42 #cmdSetup multi Vc SCAN_Vc_ :read: VOLT1:LOW?;[200];VOLT1:HIGH?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT1:LOW #;[200];VOLT1:HIGH #;[350]; :tip: Set the scan test voltage limit Number Low V 0.1 150 Number High V 0.1 150 #cmdSetup multi Pc SCAN_Pc_ :read: POWE1:LOW?;[200];POWE1:HIGH?;[200] :readmath: trim(replace(value,"R","")) :write: POWE1:LOW #;[200];POWE1:HIGH #;[350]; :tip: Set the scan test power limit Number Low W 0 400 Number High W 0 400 ;------------------------------------------------------------------------------------ ; LIST ;------------------------------------------------------------------------------------ #cmdSetup info List LIST_ #cmdSetup info List LIST_ :read: LOAD1:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - LIST_ 2 100 Solid #cmdSetup comboboxhot Type LIST_ :read: LIST1:MODE?;[200] :write: LIST1:MODE #;[300] :string: Auto AUTO Trigger TRIGGER #cmdSetup comboboxhot Loop LIST_ :read: LIST1:LOOP?;[200] :write: LIST1:LOOP #;[300] :string: On ON Off OFF #cmdSetup numberInt Entries LIST_ :read: LIST1:NUM?;[200] :readmath: trim(replace(value,"R","")) :write: LIST1:NUM #;[300] :textwidth: 6 _ 1 50 #cmdSetup separator - LIST_ 1 100 Empty #cmdSetup comboboxhot List LIST_ :read: LIST1:SHOW? :write: LIST1:SHOW # :string: 1-5 0 6-9 1 10-14 10 15-19 15 20-24 20 25-29 25 30-34 30 35-39 35 40-44 40 45-49 45 #cmdSetup separator - LIST_ :color: (160,197,233) 2 100 Solid #cmdSetup multi _ LIST_ :read: LIST1:ENTRY? 1;[200] :readmath: trim(replace(replace(value,"R",""),"------","0")) :write: LIST1:PARA #,#,#,#,#,#,#;[300] :string: :textwidth: 6 info _ Combobox CC 0 CV 1 CP 2 CR 3 Open 4 Short 5 Number _ _ 0 7000 Number T s 0 60k Combobox -- 0 I 1 V 2 P 3 R 4 Number Max _ 0 7000 Number Min _ 0 7000 #cmdSetup multi _ LIST_ :read: LIST1:ENTRY? 2;[200] :readmath: trim(replace(replace(value,"R",""),"------","0")) :write: LIST1:PARA #,#,#,#,#,#,#;[300] :string: :textwidth: 6 info _ Combobox CC 0 CV 1 CP 2 CR 3 Open 4 Short 5 Number _ _ 0 7000 Number T s 0 60k Combobox -- 0 I 1 V 2 P 3 R 4 Number Max _ 0 7000 Number Min _ 0 7000 #cmdSetup multi _ LIST_ :read: LIST1:ENTRY? 3;[200] :readmath: trim(replace(replace(value,"R",""),"------","0")) :write: LIST1:PARA #,#,#,#,#,#,#;[300] :string: :textwidth: 6 info _ Combobox CC 0 CV 1 CP 2 CR 3 Open 4 Short 5 Number _ _ 0 7000 Number T s 0 60k Combobox -- 0 I 1 V 2 P 3 R 4 Number Max _ 0 7000 Number Min _ 0 7000 #cmdSetup multi _ LIST_ :read: LIST1:ENTRY? 4;[200] :readmath: trim(replace(replace(value,"R",""),"------","0")) :write: LIST1:PARA #,#,#,#,#,#,#;[300] :string: :textwidth: 6 info _ Combobox CC 0 CV 1 CP 2 CR 3 Open 4 Short 5 Number _ _ 0 7000 Number T s 0 60k Combobox -- 0 I 1 V 2 P 3 R 4 Number Max _ 0 7000 Number Min _ 0 7000 #cmdSetup multi _ LIST_ :read: LIST1:ENTRY? 5;[200] :readmath: trim(replace(replace(value,"R",""),"------","0")) :write: LIST1:PARA #,#,#,#,#,#,#;[300] :string: :textwidth: 6 info _ Combobox CC 0 CV 1 CP 2 CR 3 Open 4 Short 5 Number _ _ 0 7000 Number T s 0 60k Combobox -- 0 I 1 V 2 P 3 R 4 Number Max _ 0 7000 Number Min _ 0 7000 ;------------------------------------------------------------------------------------ ; BATT ;------------------------------------------------------------------------------------ #cmdSetup info Battery BATT_ :read: LOAD1:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - BATT_ 2 100 Solid #cmdSetup comboboxhot Type BATT_ :read: BATT1:MODE?;[200] :write: BATT1:MODE #;[200];CH:MODE BATT;[350] :tip: Set the Type mode of the battery test :string: :update: BATT_Select CR CR CC CC #cmdSetup selector BATT_Select BATT_ :read: BATT1:MODE?;[200] CR BATT_CR_. CC BATT_CC_. #cmdSetup multi Set_R BATT_CR_ :read: RESI1:BCR?;[200];VOLT1:BCR?;[200] :readmath: trim(replace(value,"R","")) :write: RESI1:BCR #;[200];VOLT1:BCR #;[350] :tip: Set the constant resistance cut-off voltage value of battery test mode Number R Ω 0 4000 Number V V 0 150 #cmdSetup multi Set_I BATT_CC_ :read: CURR1:BCC1?;[200];CURR1:BCC2?;[200];CURR1:BCC3?;[200] :readmath: trim(replace(value,"R","")) :write: CURR1:BCC1 #;[200];CURR1:BCC2 #;[200];CURR1:BCC3 #;[350] :tip: Set the constant current current value Number 1 I 0 40 Number 2 I 0 40 Number 3 I 0 40 #cmdSetup multi Vcutoff BATT_CC_ :read: VOLT1:BCC1?;[200];VOLT1:BCC2?;[200];VOLT1:BCC3?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT1:BCC1 #;[200];VOLT1:BCC2 #;[200];VOLT1:BCC3 #;[350] :tip: Set the constant current cut-off voltage value Number 1 V 0 150 Number 2 V 0 150 Number 3 V 0 150 ;------------------------------------------------------------------------------------ ; TIME (CC, CV, CP, CR) ;------------------------------------------------------------------------------------ #cmdSetup numberInt Time TIME_ :read: TIME1:OFFDelay?;[200] :readmath: trim(replace(value,"R","")) :write: TIME1:OFFDelay #;[300]; :tip: Set the delay shutdown time to query the current delay shutdown time value s 0 60000 ;------------------------------------------------------------------------------------ ; LIMIT (CC, CV, CP, CR, CC+CV, CR+CV) ;------------------------------------------------------------------------------------ #cmdSetup separator - LIMIT_ 1 100 Empty #cmdSetup Info Limit LIMIT_ #cmdSetup separator - LIMIT_ 2 100 Solid #cmdSetup number Imax LIMIT_ :read: CURR1:IMAX?;[200] :readmath: trim(replace(value,"R","")) :write: CURR1:IMAX #;[300] :tip: Set protection value A 0 42 #cmdSetup number Vmax LIMIT_ :read: VOLT1:VMAX?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT1:VMAX #;[300] :tip: Set protection value V 0.1 155 #cmdSetup number Pmax LIMIT_ :read: POWE1:PMAX?;[200] :readmath: trim(replace(value,"R","")) :write: POWE1:PMAX #;[300] :tip: Set protection value W 0 420 ;------------------------------------------------------------------------------------ ; Channel 2 ;------------------------------------------------------------------------------------ #cmdSetup info Active_Mode Channel_2 :read: CH2:MODE?;[300]; :updatemodechange: #cmdSetup selector CH2_Select Channel_2 :read: CH2:MODE?;[200] :string: CC CH2_CC_. CH2_TIME_. CH2_LIMIT_. CV CH2_CV_. CH2_TIME_. CH2_LIMIT_. CP CH2_CP_. CH2_TIME_. CH2_LIMIT_. CR CH2_CR_. CH2_TIME_. CH2_LIMIT_. CCCV CH2_CCCV_. CH2_LIMIT_. CRCV CH2_CRCV_. CH2_LIMIT_. SHOR CH2_SHOR_. CH2_LIMIT_. LED CH2_LED_. TRAN CH2_TRAN_. LIST CH2_LIST_. SCAN CH2_SCAN_. BATT CH2_BATT_. :updatemodechange: ;------------------------------------------------------------------------------------ ; CH2 Settings ;------------------------------------------------------------------------------------ #cmdSetup Info Load CH2_Settings #cmdSetup separator - CH2_Settings 2 100 Solid #cmdSetup radio Range_I CH2_Settings :read: LOAD2:CRANge?;[200] :write: LOAD2:CRANge #;[350];CURR2:IMAX (value=="HIGH"?42:3.1);[350]; :update: Imax Set_I Set_Io Set_I1 Set_I2 :string: :tip: Set the range of current 3_A LOW 42_A HIGH #cmdSetup radio Range_V CH2_Settings :read: LOAD2:VRANge?;[200] :write: LOAD2:VRANge #;[350];VOLT2:VMAX (value=="HIGH"?155:21.0);[350]; :update: Vmax Set_V Set_Vo Set_V1 Set_V2 Vcutoff Vmin Vth :string: :tip: Set the voltage range 21_V LOW 155_V HIGH #cmdSetup selector SelectLoad CH2_Settings :read: LOAD2:SHOW? 0 CH2_Settings_Button. 1 CH2_Settings_Edit. #cmdSetup button More CH2_Settings_Button :write: LOAD2:SHOW 1 :update: SelectLoad #cmdSetup radio Sense CH2_Settings_Edit :read: LOAD2:SENSE?;[200] :write: LOAD2:SENSE #;[300] :string: :tip: Set the range of current Off OFF On ON #cmdSetup number Von CH2_Settings_Edit :read: VOLT2:ON?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT2:ON #;[300] :tip: Set turn-on voltage V 0 155 #cmdSetup number Voff CH2_Settings_Edit :read: VOLT2:OFF?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT2:OFF #;[300] :tip: Set turn-off voltage V 0 155 #cmdSetup comboboxhot Trigger_ CH2_Settings_Edit :read: LOAD2:TRIGger?;[200] :write: LOAD2:TRIGger #;[400] :tip: Set the trigger mode of the trigger source Manual MAN External EXT Software TRG #cmdSetup button Trigger CH2_Settings_Edit :enable: Settings_Edit.Trigger_=="TRG" :write: *TRG ;------------------------------------------------------------------------------------ ; CH2 Qualify ;------------------------------------------------------------------------------------ #cmdSetup selector CH2_SelectQualify CH2_Qualify :read: QUAL2:SHOW? 0 CH2_Qualify. 1 CH2_Qualify_Edit. #cmdSetup button More CH2_Qualify :write: QUAL2:SHOW 1 :update: CH2_SelectQualify #cmdSetup radio Test CH2_Qualify_Edit :read: QUAL2:TEST?;[200] :write: QUAL2:TEST #;[350] :string: Off OFF On ON #cmdSetup separator - CH2_Qualify_Edit 2 100 Solid #cmdSetup number Imax CH2_Qualify_Edit :read: QUAL2:CHIGh?;[200] :readmath: replace(getElement(value,0),"R","") :write: QUAL2:CHIGh #;[300] A 0 42 #cmdSetup number Imin CH2_Qualify_Edit :read: QUAL2:CLOW?;[200] :readmath: replace(getElement(value,0),"R","") :write: QUAL2:CLOW #;[300] A 0 42 #cmdSetup separator - CH2_Qualify_Edit 1 100 Empty #cmdSetup number Vmax CH2_Qualify_Edit :read: QUAL2:VHIGh?;[200] :readmath: replace(getElement(value,0),"R","") :write: QUAL2:VHIGh #;[300]; V 0.1 150 #cmdSetup number Vmin CH2_Qualify_Edit :read: QUAL2:VLOW?;[200] :readmath: replace(getElement(value,0),"R","") :write: QUAL2:VLOW #;[300] V 0.1 150 #cmdSetup separator - CH2_Qualify_Edit 1 100 Empty #cmdSetup number Pmax CH2_Qualify_Edit :read: QUAL2:PHIGh?;[200] :readmath: replace(getElement(value,0),"R","") :write: QUAL2:PHIGh #;[300] W 0 400 #cmdSetup number Pmin CH2_Qualify_Edit :read: QUAL2:PLOW?;[200] :readmath: replace(getElement(value,0),"R","") :write: QUAL2:PLOW #;[300] W 0 400 ;------------------------------------------------------------------------------------ ; CC ;------------------------------------------------------------------------------------ #cmdSetup info CC CH2_CC_ :read: LOAD2:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - CH2_CC_ 2 100 Solid #cmdSetup number Set_I CH2_CC_ :read: CURR2:CC?;[200] :readmath: trim(replace(value,"R","")) :write: CURR2:CC #;[300]; :tip: Set CC mode current value A 0 40 ;------------------------------------------------------------------------------------ ; CV ;------------------------------------------------------------------------------------ #cmdSetup info CV CH2_CV_ :read: LOAD2:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - CH2_CV_ 2 100 Solid #cmdSetup number Set_V CH2_CV_ :read: VOLT2:CV?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT2:CV #;[300]; :tip: Set the voltage value of CV mode V 0 150 ;------------------------------------------------------------------------------------ ; CP ;------------------------------------------------------------------------------------ #cmdSetup info CP CH2_CP_ :read: LOAD2:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - CH2_CP_ 2 100 Solid #cmdSetup number Set_P CH2_CP_ :read: POWE2:CP?;[200] :readmath: trim(replace(value,"R","")) :write: POWE2:CP #;[300]; :tip: Set CP mode power value W 0 400 ;------------------------------------------------------------------------------------ ; CR ;------------------------------------------------------------------------------------ #cmdSetup info CR CH2_CR_ :read: LOAD2:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - CH2_CR_ 2 100 Solid #cmdSetup number Set_R CH2_CR_ :read: RESI2:CR?;[200] :readmath: trim(replace(value,"R","")) :write: RESI2:CR #;[300]; :tip: Set the resistance value of CR mode Ω 1 5000 ;------------------------------------------------------------------------------------ ; CC-CV ;------------------------------------------------------------------------------------ #cmdSetup info CC+CV CH2_CCCV_ :read: LOAD2:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - CH2_CCCV_ 2 100 Solid #cmdSetup number Set_I CH2_CCCV_ :read: CURR2:CCCV?;[200] :readmath: trim(replace(value,"R","")) :write: CURR2:CCCV #;[300] :tip: Set CC mode current value A 0 40 #cmdSetup number Set_V CH2_CCCV_ :read: VOLT2:CCCV?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT2:CCCV #;[300]; :tip: Set the voltage value of CV mode V 0 150 ;------------------------------------------------------------------------------------ ; CR-CV ;------------------------------------------------------------------------------------ #cmdSetup info CR+CV CH2_CRCV_ :read: LOAD2:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - CH2_CRCV_ 2 100 Solid #cmdSetup number Set_R CH2_CRCV_ :read: RESI2:CRCV?;[200] :readmath: trim(replace(value,"R","")) :write: RESI2:CRCV #;[300] :tip: Set the resistance value of CR mode Ω 1 5000 #cmdSetup number Set_V CH2_CRCV_ :read: VOLT2:CRCV?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT2:CRCV #;[300] :tip: Set the voltage value of CV mode V 0 150 ;------------------------------------------------------------------------------------ ; SHORT ;------------------------------------------------------------------------------------ #cmdSetup info Short CH2_SHOR_ :read: LOAD2:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - CH2_SHOR_ 2 100 Solid #cmdSetup Info N/A CH2_SHOR_ ;------------------------------------------------------------------------------------ ; LED ;------------------------------------------------------------------------------------ #cmdSetup info LED CH2_LED_ :read: LOAD2:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - CH2_LED_ 2 100 Solid #cmdSetup number Set_Vo CH2_LED_ :read: VOLT2:LED?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT2:LED #;[300]; :tip: Steady working voltage of LED constant current source with LED lamp V 0 150 #cmdSetup number Set_Io CH2_LED_ :read: CURR2:LED?;[200] :readmath: trim(replace(value,"R","")) :write: CURR2:LED #;[300] :tip: Output current of LED constant current source A 0 40 #cmdSetup number Set_Coeff CH2_LED_ :read: LED2:COEFf?;[200] :readmath: trim(replace(value,"R","")) :write: LED2:COEFf #;[300]; :tip: Ratio of Rd voltage to the total voltage: Rd =(Vo/Io)*Coeff; V=Vo*(1-Coeff) _ 0.001 1.000 ;------------------------------------------------------------------------------------ ; TRAN ;------------------------------------------------------------------------------------ #cmdSetup info Transient CH2_TRAN_ :read: LOAD2:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - CH2_TRAN_ 2 100 Solid #cmdSetup comboboxhot Type CH2_TRAN_ :read: TRAN2:STATe?;[200] :readmath: trim(value) :write: TRAN2:STATe #;[300] :tip: Set the dynamic state of dynamic test :string: :update: TRAN_Select CC CC CV CV #cmdSetup comboboxhot Mode CH2_TRAN_ :read: TRAN2:MODE?;[200] :write: TRAN2:MODE #;[300]; :tip: Set dynamic test dynamic mode Continuous COUT Trigger TRIG Pulse PULS ; Pulse Width only enabled when: && TRAN_.Mode!="TRIG" #cmdSetup selector TRAN_Select CH2_TRAN_ :read: TRAN2:STATe?;[200] CC CH2_TRAN_CC_. CV CH2_TRAN_CV_. #cmdSetup multi Set_I1 CH2_TRAN_CC_ :read: CURR2:TA?;[200];TIME2:WA?;[200] :readmath: replace(getElement(value,0),"R","")+" "+(replace(getElement(value,1),"R","")/1000.0) :write: CURR2:TA #;[200];TIME2:WA #;[350]; :tip: Set the dynamic test A value Number I A 0 40 Number T s 0 60 #cmdSetup multi Set_I2 CH2_TRAN_CC_ :read: CURR2:TB?;[200];TIME2:WB?;[200] :readmath: replace(getElement(value,0),"R","")+" "+(replace(getElement(value,1),"R","")/1000.0) :write: CURR2:TB #;[200];TIME2:WB #;[350]; :tip: Set the dynamic test B value Number I A 0 40 Number T s 0 60 #cmdSetup multi Set_V1 CH2_TRAN_CV_ :read: VOLT2:TA?;[200];TIME2:WA?;[200] :readmath: replace(getElement(value,0),"R","")+" "+(replace(getElement(value,1),"R","")/1000.0) :write: VOLT2:TA #;[200];TIME2:WA #;[350]; :tip: Set the dynamic test A value Number V V 0.1 150 Number T s 0 60 #cmdSetup multi Set_V2 CH2_TRAN_CV_ :read: VOLT2:TB?;[200];TIME2:WB?;[200] :readmath: replace(getElement(value,0),"R","")+" "+(replace(getElement(value,1),"R","")/1000.0) :write: VOLT2:TB #;[200];TIME2:WB #;[350]; :tip: Set the dynamic test B value Number V V 0.1 150 Number T s 0 60 ;------------------------------------------------------------------------------------ ; SCAN ;------------------------------------------------------------------------------------ #cmdSetup info Scan CH2_SCAN_ :read: LOAD2:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - CH2_SCAN_ 2 100 Solid #cmdSetup comboboxhot Type CH2_SCAN_ :read: SCAN2:TYPE?;[200] :write: SCAN2:TYPE #;[350] :string: :update: SCAN_SelectType :tip: Set scan type of scan test CC_-_Vary_current CC CV_-_Vary_voltage CV CP_-_Vary_power CP #cmdSetup selector SCAN_SelectType CH2_SCAN_ :read: SCAN2:TYPE?;[200] CC CH2_SCAN_CC_. CV CH2_SCAN_CV_. CP CH2_SCAN_CP_. #cmdSetup multi Set_I CH2_SCAN_CC_ :read: CURR2:STARt?;[200];CURR2:END?;[200];CURR2:STEP?;[200] :readmath: trim(replace(value,"R","")) :write: CURR2:STARt #;[200];CURR2:END #;[200];CURR2:STEP #;[350]; :tip: Set the scan test current values Number Start A 0 40 Number End A 0 40 Number Step A 0 40 #cmdSetup multi Set_V CH2_SCAN_CV_ :read: VOLT2:STARt?;[200];VOLT2:END?;[200];VOLT2:STEP?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT2:STARt #;[200];VOLT2:END #;[200];VOLT2:STEP #;[350]; :tip: Set voltage values of scanning test Number Start V 0.1 150 Number End V 0.1 150 Number Step V 0.1 150 #cmdSetup multi Set_P CH2_SCAN_CP_ :read: POWE2:STARt?;[200];POWE2:END?;[200];POWE2:STEP?;[200] :readmath: trim(replace(value,"R","")) :write: POWE2:STARt #;[200];POWE2:END #;[200];POWE2:STEP #;[350]; :tip: Set the power value of scanning test Number Start W 0 400 Number End W 0 400 Number Step W 0 400 #cmdSetup numberInt Time CH2_SCAN_ :read: TIME2:STEP?;[200] :readmath: trim(replace(value,"R","")) :write: TIME2:STEP #;[300]; :tip: Set the scan test step delay value s 0 9999 #cmdSetup separator - CH2_SCAN_ 1 100 Empty #cmdSetup comboboxhot Capture CH2_SCAN_ :read: SCAN2:THTYpe?;[200] :write: SCAN2:THTYpe #;[350] :string: :update: SCAN_SelectCapture :tip: Set the threshold type of the scan test DROP_-_Voltage_drops_sharply_close_to_0 DROP Vth_-_Voltage_is_higher_than_treshold_setting VTH Vmin_-_Voltage_is_lower_than_capture_setting VMIN #cmdSetup selector SCAN_SelectCapture CH2_SCAN_ :read: SCAN2:THTYpe?;[200] DROP CH2_SCAN_DROP_. VTH CH2_SCAN_Vth_. VMIN CH2_SCAN_Vmin_. #cmdSetup info N/A CH2_SCAN_DROP_ #cmdSetup number Vth CH2_SCAN_Vth_ :read: VOLT2:VTH?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT2:VTH #;[300]; :tip: Set the threshold of scan test voltage transition V 0.1 150 #cmdSetup number Vmin CH2_SCAN_Vmin_ :read: VOLT2:VMIN?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT2:VMIN #;[300]; :tip: Set the minimum voltage threshold for scanning test V 0.1 150 #cmdSetup separator - CH2_SCAN_ 1 100 Empty #cmdSetup Info Limit CH2_SCAN_ #cmdSetup separator - CH2_SCAN_ 2 100 Solid #cmdSetup comboboxhot Compare CH2_SCAN_ :read: SCAN2:COMPare?;[200] :write: SCAN2:COMPare #;[350] :string: :update: SCAN_SelectCompare :tip: Sets the comparison type of the scan test to query the comparison type of the scan test Off(*) SCAN Ic_-_Current_within_limits INCURR Vc_-_Voltage_within_limits INVOLT Pc_-_Power_within_limits INPOW ;OFF -> SCAN (but cannot be written again, VMIN did not work) #cmdSetup selector SCAN_SelectCompare CH2_SCAN_ :read: SCAN2:COMPare?;[200] SCAN CH2_SCAN_OFF_. INCURR CH2_SCAN_Ic_. INVOLT CH2_SCAN_Vc_. INPOW CH2_SCAN_Pc_. #cmdSetup info N/A CH2_SCAN_OFF_ #cmdSetup multi Ic CH2_SCAN_Ic_ :read: CURR2:LOW?;[200];CURR2:HIGH?;[200] :readmath: trim(replace(value,"R","")) :write: CURR2:LOW #;[200];CURR2:HIGH #;[350]; :tip: Set the scan test current limit Number Low A 0 42 Number High A 0 42 #cmdSetup multi Vc CH2_SCAN_Vc_ :read: VOLT2:LOW?;[200];VOLT2:HIGH?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT2:LOW #;[200];VOLT2:HIGH #;[350]; :tip: Set the scan test voltage limit Number Low V 0.1 150 Number High V 0.1 150 #cmdSetup multi Pc CH2_SCAN_Pc_ :read: POWE2:LOW?;[200];POWE2:HIGH?;[200] :readmath: trim(replace(value,"R","")) :write: POWE2:LOW #;[200];POWE2:HIGH #;[350]; :tip: Set the scan test power limit Number Low W 0 400 Number High W 0 400 ;------------------------------------------------------------------------------------ ; LIST ;------------------------------------------------------------------------------------ #cmdSetup info List CH2_LIST_ :read: LOAD2:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - CH2_LIST_ 2 100 Solid #cmdSetup comboboxhot Type CH2_LIST_ :read: LIST2:MODE?;[200] :write: LIST2:MODE #;[300] :string: Auto AUTO Trigger TRIGGER #cmdSetup comboboxhot Loop CH2_LIST_ :read: LIST2:LOOP?;[200] :write: LIST2:LOOP #;[300] :string: On ON Off OFF #cmdSetup numberInt Entries CH2_LIST_ :read: LIST2:NUM?;[200] :readmath: trim(replace(value,"R","")) :write: LIST2:NUM #;[300] :textwidth: 6 _ 1 50 #cmdSetup separator - CH2_LIST_ 1 100 Empty #cmdSetup comboboxhot List CH2_LIST_ :read: LIST2:SHOW? :write: LIST2:SHOW # :string: 1-5 0 6-9 1 10-14 10 15-19 15 20-24 20 25-29 25 30-34 30 35-39 35 40-44 40 45-49 45 #cmdSetup separator - CH2_LIST_ :color: (160,197,233) 2 100 Solid #cmdSetup multi _ CH2_LIST_ :read: LIST2:ENTRY? 1;[200] :readmath: trim(replace(replace(value,"R",""),"------","0")) :write: LIST2:PARA #,#,#,#,#,#,#;[300] :string: :textwidth: 6 info _ Combobox CC 0 CV 1 CP 2 CR 3 Open 4 Short 5 Number _ _ 0 7000 Number T s 0 60k Combobox -- 0 I 1 V 2 P 3 R 4 Number Max _ 0 7000 Number Min _ 0 7000 #cmdSetup multi _ CH2_LIST_ :read: LIST2:ENTRY? 2;[200] :readmath: trim(replace(replace(value,"R",""),"------","0")) :write: LIST2:PARA #,#,#,#,#,#,#;[300] :string: :textwidth: 6 info _ Combobox CC 0 CV 1 CP 2 CR 3 Open 4 Short 5 Number _ _ 0 7000 Number T s 0 60k Combobox -- 0 I 1 V 2 P 3 R 4 Number Max _ 0 7000 Number Min _ 0 7000 #cmdSetup multi _ CH2_LIST_ :read: LIST2:ENTRY? 3;[200] :readmath: trim(replace(replace(value,"R",""),"------","0")) :write: LIST2:PARA #,#,#,#,#,#,#;[300] :string: :textwidth: 6 info _ Combobox CC 0 CV 1 CP 2 CR 3 Open 4 Short 5 Number _ _ 0 7000 Number T s 0 60k Combobox -- 0 I 1 V 2 P 3 R 4 Number Max _ 0 7000 Number Min _ 0 7000 #cmdSetup multi _ CH2_LIST_ :read: LIST2:ENTRY? 4;[200] :readmath: trim(replace(replace(value,"R",""),"------","0")) :write: LIST2:PARA #,#,#,#,#,#,#;[300] :string: :textwidth: 6 info _ Combobox CC 0 CV 1 CP 2 CR 3 Open 4 Short 5 Number _ _ 0 7000 Number T s 0 60k Combobox -- 0 I 1 V 2 P 3 R 4 Number Max _ 0 7000 Number Min _ 0 7000 #cmdSetup multi _ CH2_LIST_ :read: LIST2:ENTRY? 5;[200] :readmath: trim(replace(replace(value,"R",""),"------","0")) :write: LIST2:PARA #,#,#,#,#,#,#;[300] :string: :textwidth: 6 info _ Combobox CC 0 CV 1 CP 2 CR 3 Open 4 Short 5 Number _ _ 0 7000 Number T s 0 60k Combobox -- 0 I 1 V 2 P 3 R 4 Number Max _ 0 7000 Number Min _ 0 7000 ;------------------------------------------------------------------------------------ ; BATT ;------------------------------------------------------------------------------------ #cmdSetup info Battery CH2_BATT_ :read: LOAD2:ABNO?;[200] :readmath: trim(replace(value,"NONE","")) #cmdSetup separator - BATT_ 2 100 Solid #cmdSetup comboboxhot Type CH2_BATT_ :read: BATT2:MODE?;[200] :write: BATT2:MODE #;[200];CH:MODE BATT;[350] :tip: Set the Type mode of the battery test :string: :update: BATT_Select CR CR CC CC #cmdSetup selector BATT_Select CH2_BATT_ :read: BATT2:MODE?;[200] CR CH2_BATT_CR_. CC CH2_BATT_CC_. #cmdSetup multi Set_R CH2_BATT_CR_ :read: RESI2:BCR?;[200];VOLT2:BCR?;[200] :readmath: trim(replace(value,"R","")) :write: RESI2:BCR #;[200];VOLT2:BCR #;[350] :tip: Set the constant resistance cut-off voltage value of battery test mode Number R Ω 0 4000 Number V V 0 150 #cmdSetup multi Set_I CH2_BATT_CC_ :read: CURR2:BCC1?;[200];CURR2:BCC2?;[200];CURR2:BCC3?;[200] :readmath: trim(replace(value,"R","")) :write: CURR2:BCC1 #;[200];CURR2:BCC2 #;[200];CURR2:BCC3 #;[350] :tip: Set the constant current current value Number 1 I 0 40 Number 2 I 0 40 Number 3 I 0 40 #cmdSetup multi Vcutoff CH2_BATT_CC_ :read: VOLT2:BCC1?;[200];VOLT2:BCC2?;[200];VOLT2:BCC3?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT2:BCC1 #;[200];VOLT2:BCC2 #;[200];VOLT2:BCC3 #;[350] :tip: Set the constant current cut-off voltage value Number 1 V 0 150 Number 2 V 0 150 Number 3 V 0 150 ;------------------------------------------------------------------------------------ ; TIME (CC, CV, CP, CR) ;------------------------------------------------------------------------------------ #cmdSetup numberInt Time CH2_TIME_ :read: TIME2:OFFDelay?;[200] :readmath: trim(replace(value,"R","")) :write: TIME2:OFFDelay #;[300]; :tip: Set the delay shutdown time to query the current delay shutdown time value s 0 60000 ;------------------------------------------------------------------------------------ ; LIMIT (CC, CV, CP, CR, CC+CV, CR+CV) ;------------------------------------------------------------------------------------ #cmdSetup separator - CH2_LIMIT_ 1 100 Empty #cmdSetup Info Limit CH2_LIMIT_ #cmdSetup separator - CH2_LIMIT_ 2 100 Solid #cmdSetup number Imax CH2_LIMIT_ :read: CURR2:IMAX?;[200] :readmath: trim(replace(value,"R","")) :write: CURR2:IMAX #;[300] :tip: Set protection value A 0 42 #cmdSetup number Vmax CH2_LIMIT_ :read: VOLT2:VMAX?;[200] :readmath: trim(replace(value,"R","")) :write: VOLT2:VMAX #;[300] :tip: Set protection value V 0.1 155 #cmdSetup number Pmax CH2_LIMIT_ :read: POWE2:PMAX?;[200] :readmath: trim(replace(value,"R","")) :write: POWE2:PMAX #;[300] :tip: Set protection value W 0 420 ;------------------------------------------------------------------------------------ ; Global ;------------------------------------------------------------------------------------ #cmdSetup buttonsOn CH1_Input_ :read: CH1:SW?;[200] :write: CH1:SW (value);[300] :color: (235,50,50) :string: :updatealloff: Off OFF On ON #cmdSetup buttonsOn CH2_Input_ :read: CH2:SW?;[200] :write: CH2:SW (value);[300] :color: (235,50,50) :string: :updatealloff: Off OFF On ON #cmdSetup separator - 1 100 Empty #cmdSetup info Fan_Status :read: SELF:FAN?