Ask Your Question
0

Can I change the frame's color every cycle?

asked 2018-07-06 08:44:57 +0000

TingHsu gravatar image

updated 2018-07-09 02:41:43 +0000

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

edit retag flag offensive 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 gravatar imageGuy 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 gravatar imageTingHsu ( 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 gravatar imageGuy Harris ( 2018-07-09 02:52:10 +0000 )edit

Yes , I want exactly what you mentioned

TingHsu gravatar imageTingHsu ( 2018-07-09 02:59:03 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-07-06 11:03:20 +0000

rknall gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-07-06 08:44:57 +0000

Seen: 311 times

Last updated: Jul 09 '18