Fix recording to a file.

Avoid redefining the file object, otherwise the output is never written.

TEST: ./zedmon record
and make sure that zedmon.csv is not empty

Change-Id: I07f6e7575ff9052e28c98e722adb1c841c38f573
1 file changed
tree: a9ff0c3a0173e98f630dd9321ad233e3ff91b93c
  1. cmd/
  2. docs/
  3. firmware/
  4. lib/
  5. pcb/
  6. .gitmodules
  7. AUTHORS
  8. CONTRIBUTING.md
  9. LICENSE
  10. PATENTS
  11. README.md
  12. stub.go
README.md

Zedmon Power Monitor

Image of Zedmon

Zedmon is a device for measuring power consumption of electronics. It was created to assist the Fuchsia power management efforts.

Features

  • Can monitor up to 5A@28V (36V in upcoming rev 2).
  • 0.25 mA resolution.
  • Up to 3.5 KHz sample rate.
  • Current sense circuitry isolated from USB interface.
  • High and Low side sensing for detecting ground loops.
  • Relay on power line for enabling/disabling power to the device under test.

More Infomation