First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Can I change the frame's color every cycle?

Hi I like to know if is it possible that I can change the frame's color every cycle? If i want to let the cycle be every 0.5 seconds https://github.com/TingHsu/lua-dissector-/blob/master/1.png Is it possible to do like this? Thanks a lot!!

P.S The picture is just an example to explain the situation

TingHsu's avatar
3
TingHsu
asked 2018-07-06 08:44:57 +0000, updated 2018-07-09 02:41:43 +0000
edit flag offensive 0 remove flag close merge delete

Comments

Hi I like to know if is it possible that I can change the frame's color every cycle? If i want to let the cycle be every 0.5 seconds

It's not entirely clear from your picture what 1) a "cycle" is or 2) what "change the frame's color every cycle" means. Do you mean, for example, that you want all the frames in the yellow box to have one background color and all the frames in the red box to have a different background color? If so, I'm not seeing where 0.5 seconds worth of time is involved in those sets of frames?

Guy Harris's avatar Guy Harris (2018-07-06 17:34:40 +0000) edit

Yes, I would like to have different background color the picture is just an example to explain the situation , I apologize for not making my points clear.

TingHsu's avatar TingHsu (2018-07-09 02:40:09 +0000) edit

So which frames do you want to have a different background color? Do you, for example, want all frames within a given .5-second interval have one color, and all frames within the next .5-second interval have some other color, and so on?

Guy Harris's avatar Guy Harris (2018-07-09 02:52:10 +0000) edit

Yes , I want exactly what you mentioned

TingHsu's avatar TingHsu (2018-07-09 02:59:03 +0000) edit
add a comment see more comments

1 Answer

0

Coloring rules use display filters for determining if they match or not. Unless you find a possible match for a display filter mimicking what you want to achieve, this is not possible.

Also, bare in mind, that coloring rules match on order, such a rule would have to overrule all other possible matching rules.

rknall's avatar
1
rknall
answered 2018-07-06 11:03:20 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer