# Expose 'max\_length' parameter to non-oscilloscope instruments

**URL:** <https://forum.liquidinstruments.com/t/expose-max-length-parameter-to-non-oscilloscope-instruments/1149>\
**Category:** New Features, Requests, and Feedback\
**Created:** [March 21, 2025, 5:43pm UTC](https://forum.liquidinstruments.com/t/expose-max-length-parameter-to-non-oscilloscope-instruments/1149 "2025-03-21T17:43:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JackAttack720](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@JackAttack720](https://forum.liquidinstruments.com/u/JackAttack720)\
**Post date:** [March 21, 2025, 5:43pm UTC](https://forum.liquidinstruments.com/t/expose-max-length-parameter-to-non-oscilloscope-instruments/1149/1 "2025-03-21T17:43:07Z")

</div>

Hi, I am using a moku:go as a lock in amplifier and I want to plot a PSD of the output now that I have it tuned to compare it to another system. Right now the lock in amp can only get 1024 data points which which is insufficient for a good PSD. Currently \_lockinamp.\_set\_timebase() does not have a parameter for ‘max\_length’, like the dedicated oscilloscope has. I modified \_lockinamp.set\_timebase() to expose that parameter and it seems to work without issue, and has allowed me to collect nice PSD plots. This would be a pretty simple software only change to the API that would extend the usability of the lock in amplifier’s oscilloscope output.

Thanks

-Jack

---

<div class="post-metadata">

**Author:** ![Dylan](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@Dylan](https://forum.liquidinstruments.com/u/Dylan)\
**Post date:** [March 26, 2025, 5:02pm UTC](https://forum.liquidinstruments.com/t/expose-max-length-parameter-to-non-oscilloscope-instruments/1149/2 "2025-03-26T17:02:48Z")

</div>

Hello @JackAttack720,  
I am glad you were able to get your script working! I will reach out to our development team and add this as a feature request. Thank you for your input!
