CANdevStudio icon indicating copy to clipboard operation
CANdevStudio copied to clipboard

[Feature Request] Add to CanRawFilter node an additional "inverted" output

Open jogo- opened this issue 6 years ago • 4 comments

It should be helpful to add to the CanRawFilter component an additional "inverted" output for frames unmatched by any filter. It could be marked as : ¬x (NOT x, Nx or !x)

jogo- avatar Mar 02 '19 14:03 jogo-

Do you mean to for eample set "NOT 0x123" and match all frames different than 0x123?

rkollataj avatar Mar 03 '19 09:03 rkollataj

No, I mean in the CanRawFilter node, add an additional "inverted" output (below the standard "RAW" one) for frames unmatched by any filter. So, this second output could be used to link/cable to other nodes for frames unmatched by any filter. It could be marked as : ¬RAW (NOT RAW, NRAW or !RAW)

jogo- avatar Mar 03 '19 09:03 jogo-

Oh I see. The thing is that CanRawFilters produces more like accepted/dropped rather than matched/unmatched frames. If there is no appropriate filter in a table then frame is being matched by default fiter (defined below the table). So each frame is in fact matched and is accepted or dropped. Adding another output that will pass over dropped frames seems confusing.

What is exact use case you are interested in? There may be some other way to achieve it.

rkollataj avatar Mar 03 '19 12:03 rkollataj

For example, using just one CanRawFilter, you could split between the 2 outputs:

  • the diagnostic CAN frames on one hand
  • and the other CAN frames on the other hand

jogo- avatar Mar 06 '19 19:03 jogo-