Jump to content
  • 0

Scope.Measurements aqcuisition number and auto complete


danaur

Question

Hi,

I try to access ths acq value from the Scope measurements tab in some script within the build-in scripting editor.

grafik.png.cce4787bca8143b1fc6c036080ea2112.png

 

Auto-complete seems not to work for this feature.

grafik.png.68dde926553e5d824ed651381a761b48.png

And apparently it is not "acq".

grafik.png.d60204721675a673192acfc163e61035.png

I am using the most ecent beta 3.20.10.

grafik.png.930dea9d43bc39edd934d23502c81402.png

Please educate me.

Thank you.

 

Edited by danaur
Add program version
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Hi @attila,

I know that I can operate measurements on channels. I am using the results from the Measurements tab directly. This is a releatively new feature and has the possibillity of scripted values. In this example I calculate the current over a shunt.

I need to access the Mean, Median, Acq, etc. of the calculated value i_max. This works for every value but Acq. And the auto-complete does not work on the Measurements object attributes.

Link to comment
Share on other sites

  • 0

Hi @danaur

Try using measurement names without underscore and "~!@#$%^&*()+{}|:\"<>?,/;'[]\\-="

The underscore is considered by the autocompletion as the end of word, and therefore does not display child nodes, functions, properties correctly.
Fixed for the next version and adding note about this feature in the Help.

Thank you for the observation.

Link to comment
Share on other sites

  • 0
On 6/21/2023 at 11:57 AM, attila said:

Hi @danaur

Try using measurement names without underscore and "~!@#$%^&*()+{}|:\"<>?,/;'[]\\-="

The underscore is considered by the autocompletion as the end of word, and therefore does not display child nodes, functions, properties correctly.
Fixed for the next version and adding note about this feature in the Help.

Thank you for the observation.

Hi! Sorry for necroing this: Has this fix regressed in 3.22.18? Because for me, it works sometimes, then only shows some, and then doesn't at all in others:
If I press Ctrl+Space after only alphanum characters, it shows all matching attributes.
If I press it after an underscore, it only shows some (!).
If I press it after another alphanum after an underscore, nothing is shown.
See attached images.

After typing CH1.png

After CH1_.png

After typing CH1_D.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...