def setup_power_recording():
    rails = pmbus.get_xrt_sysfs_rails()
    recorder = pmbus.DataRecorder(rails['12v_aux'].power, rails['12v_pex'].power, rails['vccint'].power)
    return recorder
def setup_power_recording():
    rails = pmbus.get_xrt_sysfs_rails()
    recorder = pmbus.DataRecorder(rails['12v_aux'].power, rails['12v_pex'].power, rails['vccint'].power)
    return recorder