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
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