Skip to content

Burst mode on PM103 using Python TLPMX.py, 200 sample max. #49

Description

@esotechnic

I'm using burst mode with an external trigger to capture power levels with a PM103 USB power meter.

It works however it seems that I cannot save more than 200 samples to the buffer. If I trigger more than 200 samples (with or without multiple samples per trigger) I receive back zeros for the power and time stamp after 200 samples. The documentation suggests a buffer of 10,000 samples that wraps so I don't think that is the issue?

It also does not seem possible to read the buffer in chunks despite the documentation suggesting this is the case, it just reads from the start every time.

Attached is a demo program to show the bug, you need to supply an external trigger to test.

Best Regards,

Graham

bug_demo.py

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions