Fix issue when displaying warnings.
Fix minor issue in set_dc_voltage_task.