  sleep(3)
  ps2.all_output('on')
  sleep(10)

  while current_time <= target_time:
    ps_measure_check('1', current_cycle, input_current_limit, input_voltage_limit, tolerance)
    ps_measure_check('2', current_cycle, input_current_limit, input_voltage_limit, tolerance)