This is a static, read-only archive of Wireshark Q&A. Older questions and answers from October 2017 and earlier can be found at osqa-ask.wireshark.org.
0

select "field occurrence" in "Plots" window

asked Dec 22 '25

Hello!

I am working with IEC61850 Sample Values data. Inside the frame, there is a "sv.meas_value" field in witch the measurement values are decoded. In fact, this "sv.meas_value" field is an array of values (eg. voltage/current per phase, at that the frame sample time).
What I want to plot is one of the values (eg. the first field, corresponding -eg- to phase A voltage).
It seems that there is no option in the Plots window to select a occurrence of the "Y Field", and I tried several options (use of sv.meas_value[1],sv.meas_value[1:1],sv.meas_value#1,sv.meas_value@1,...) unsuccessfully.

As comparation, when editing columns, it is posible to select the "field occurrence", and it works nicely :-)
Any help would be appreciated. And if this options is not implemented, it would be nice (and I think easy) to add it.

Thank you and regards!
Josep

(ops... I was trying to add a couple of images, but it seems that I do not have points... sorry :-) )

Comments

An actual capture file is much easier for us to look at, you can use any public file share and post a link to it back here.

User 98587 ( Dec 22 '25 )

1 Answer

0

answered Dec 22 '25

Current open issue: 18827: Ability to filter on occurrences of a field

(There is a sample capture attached to: 14541: sv.meas_value and sv.meas_quality in Sample Values dissector
See the comment about setting preference for sv to decode)

Comments

Ok! Thank you for the quick answer. Regards!

User 25507 ( Dec 22 '25 )

You might be able to add a custom field with a Lua script then plot that.
There has been a discussion (can't find it right now) about the order that field occurrences are returned when queried in Lua. Will search more if you're interested.

User 2763 ( Dec 22 '25 )

Hello. I will try to find what you comment, thank you!. My workaround was quite simple, as I commented it is indeed possible to create one new column with this field, and then just "Export packet dissections" in CSV, and then plot it with my favorite tool. But it would be nice to be able to just use the "Plots Windows" inside Wireshark (I tried, and in fact it plots the data correctly, but the problem is that it plots _all_ the array fields and the the graph is not nice).

And additional comment from my side, in fact, the open issue that you refer (18827) is indeed related with this issue, but I do not know if it is the same... that issue refers to the capability of select fields when create a filter, and my issue is about the capability of select fields in the "Plots Windows" Regards!

User 25507 ( Dec 23 '25 )

Please add your use-case (plotting a specific occurrence of a field) to the open issue mentioned above. It could help in getting this feature request noticed again and perhaps implemented in a way that fits your needs as well :-)

User 36540 ( Dec 23 '25 )

Sure. I'll do it as soon as possible. Also, I agree that the best solutions would be a generic one, that could be used for "Plots" (my case), but also in filters and other places where data "array-like" could be used. Regards!

User 25507 ( Dec 23 '25 )
cc-by-sa Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.