; This is calkit configuration file
; For options please refer to documentation
[calkit]
if_debug       = false ; (if true run all code w/o talking to real hardware)
no_delays      = false ; (don't use delays in code to run during debug)
env_sensor     = none ; none or bme280 or f1620 - Environment sensor
;env_sensor     = none ; none or bme280 - Environment sensor
;if_debug       = true ; (if true run all code w/o talking to real hardware)
;no_delays      = true ; (don't use delays in code to run during debug)
verbose        = true  ; verbose outputs in terminal
ci_str         = Cal test K2002 ; Test string
ci12_str       = Calcheck-H1 ; Test string
xfer_str       = Direct transfer ; 16 item comment
interface      = gpib ; (gpib = use linux-gpib binding, vxi = use E5810A gateway)
vxi_ip         = 192.168.1.10
vxib_ip        = 192.168.1.12
dut_ip         = 192.168.1.12
mfc_ip         = 192.168.1.10
alienated      = true ; don't stop for user inputs
lab_location   = xdevs_hq ; (lab location id, available are xdevs_hq, xdevs_usfl, xdevs_idtw)
logfilenm      = results/hulk1_k2002_x15_pcal3_nov2020.html
report_filenm  = results/hulk1_k2002_x15_pcal3_nov2020.html
raw_data_filelog = results/hulk1_k2002_x15_pcal3.log

[testset]
testmode       = full ; fast - run only RES,DCV, normal - run RES,DCV,DCZ,ACVA,DCI, full - run everything, dconly
; Specific test modes:
; * 2182_full     = DCV CH1+CH2 + DCL + DCZ
; * 2182_lv       = low voltage only
; * 2182_262      = DCV CH1+CH2 full test with Keithley 262 divider (10mV/100mV)
; * full_boosted  = Full test with use of Fluke 5725 amplifier
; * dcv_w4808     = DCV/ACV/RES test with use of Wavetek 4808 MFC
; * dci_w4808     = DCI/ACI test with use of Wavetek 4808 MFC
; * full_w4808    = Full test with use of Wavetek 4808 MFC (non aliented only)
; * f5790_acv    = Full test with use of Wavetek 4808 MFC (non aliented only)
; * f5790_wbv    = Full test with use of Wavetek 4808 MFC (non aliented only)
all_test_disable = false ; Run bogus data if true
enabled_dcz    = true  ;(DC Zero test active)
enabled_dcv    = true  ;(FS/-FS DC Voltage test active)
enabled_dclin  = false  ;(DC Linearity test active)
enabled_dci    = true  ;(DCI test active)
enabled_acz    = false ;(AC Zero test active)
enabled_acva   = false  ;(AC Analog test active)
enabled_acvs   = true  ;(AC Sync test active)
enabled_aci    = true  ;(ACI test active)
enabled_rez    = true  ;(Resistance zero test active)
enabled_res    = true  ;(Resistance 4W test active)
enabled_res1g  = false  ;(1G Resistance test active)
enabled_res2w  = true ;(Resistance 2W test active)
enabled_freq   = false ;(Frequency test active)
enabled_period = false ;(Period test active)
level          = normal  ; fast: use only 5 samples per point , normal: usual test
    
[mode]
run_selftest   = true ;true to Run self-diag tests before perf-test)
run_acal       = true ;true to Run 3458 ACAL before perf-test)
run_zcal_mfc   = true ;true to Run 5700 Zero CAL before perf-test)

[specification]
cal_spec        = 24h   ; (24h or 90d or 180d or 1y or 2y)
confidence      = 0.95  ; 95% (guardbanding)
read_unc_dcz    = false ; Read uncertainty from MFC
read_unc_dcv    = false ; Read uncertainty from MFC
read_unc_dclin  = false ; Read uncertainty from MFC
read_unc_dci    = false ; Read uncertainty from MFC
read_unc_acz    = false ; Read uncertainty from MFC
read_unc_acva   = false ; Read uncertainty from MFC
read_unc_acvs   = false ; Read uncertainty from MFC
read_unc_aci    = false ; Read uncertainty from MFC
read_unc_rez    = false ; Read uncertainty from MFC
read_unc_res    = false ; Read uncertainty from MFC
read_unc_res1g  = false ; Read uncertainty from MFC
read_unc_res2w  = false ; Read uncertainty from MFC
read_unc_freq   = false ; Read uncertainty from MFC
read_unc_period = false ; Read uncertainty from MFC

[dut]
dut_gpib_addr     = 11          ; GPIB Address
dut               = hp3458   ; DUT device type
secure_password   = 0        ; DUT security password
dut_terminal_side = 1        ; 1 - front, 0 - rear
dut_serno         = DUT5 ;
dut_rh            = N/A ;
dut_idno          = Calibration ;
dut_testmode      = Front cable terminals ;
dut_ref_note      = Pre-cal Performance check ;
dut_state_note    = calkit-5720ah2 ;
dutnote           = Test after calibration adjustment ;
header_name       = Fluke 8588A ;
curr_post         = aux  ;(normal or aux or booster)

[xfer_setup]
xfer_ref_mfg      = Fluke       ;
xfer_ref_model    = 5720A/03    ;
dut_mfg           = Fluke       ;
dut_model         = 732B     ;
det_serno         = 6195008     ;
det_xfer_val      = 10 ; Reference transfer value
det_xfer_unc      = 2.3   ; Reference transfer uncertainty from report
dut_base_val      = 9.9999687 ; DUT previous value
dut_base_unc      = 2       ; DUT previous uncertainty from report
dut_report        =              
det_function      = DCV    ; Function to transfer
detector          = hp3458a   ;
det_gpib_addr     = 2      ;
det_terminal      = Front    ;
det_range         = 10    ;
det_if            = vxi     ;
det_vxi_ip        = 192.168.1.10 ;
det_acal          = DCV    ; Perform autocal if value set to DCV or ALL
det_zero          = true    ; Perform autozero function if true
det_reversal      = true   
; Perform both polarity test if true
det_alienate      = false    
; Don't ask questions
det_noreset       = false    ;
samples           = 25 ; # Capture X samples

[standard]
mfc_gpib_addr     = 1     ; GPIB Address
mfc               = f5720b  ; (MFC type , f5720 or w4808)
mfcs              = none   ; (MFC type)
mfc_acal          = true   ;(Run Calcheck + reports prior to DUT perf-test)
grd_gpib_addr     = 3     ; GPIB Address for guard reference meter
grd_type          = hp3458a ; Guard reference meter type (used for DCV/ACV/ACI/DCI only)

[siggen]
rf_sg             = none ; Signal generator

[env]
f1620_ip          = 192.168.101.10
f1620_port        = 10001

[uplot]
plot_enable = false ;
dataset_color1 = #000000 ;
dataset_color2 = #e91e63 ;
dataset_color3 = #1a237e ;
dataset_color4 = #ff0000 ;
dataset_color5 = #0000ff ;
dataset_name1 =  Measured DUT ;
dataset_name2 =  DUT Spec, max ;
dataset_name3 =  DUT Spec, min ;
dataset_name4 =  REF Spec, max ;
dataset_name5 =  REF Spec, min ;
plot_w = 2000   ; # Width, px
plot_h = 900    ; # Height, px
plot_w_s = 1600 ; # Width, px
plot_h_s = 540  ; # Height, px
