Only auto-control PSU in continuous mode
Single measurements don't toggle PSU - the device handles it. PSU auto-control now only happens with --continuous flag. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -823,7 +823,8 @@ def main():
|
|||||||
csv_writer.writeheader()
|
csv_writer.writeheader()
|
||||||
print(f"Saving to: {args.csv}")
|
print(f"Saving to: {args.csv}")
|
||||||
|
|
||||||
use_psu = not args.no_psu and not args.passive
|
# Only control PSU if explicitly requested or in continuous mode
|
||||||
|
use_psu = args.continuous and not args.no_psu and not args.passive
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if use_psu:
|
if use_psu:
|
||||||
|
|||||||
Reference in New Issue
Block a user