I am writing a CAPL script to mimic a CAN message on network. While I am getting intended message, direction is both Tx & TxRq. How I can filter out and send only Tx message.
I tried CANID.dir=1 (tx) however not getting intended result.
I tried, setting direction as CANID.dir=1 (tx).
According to your screenshot, I assume took from the Trace window, you are looking at duplicate entries that spark confusion.
The entries marked as
Txare telling you that there is, indeed, a CAN frame with direction "outgoing" from your measurement system (your Vector Node).The entries marked as
TxRqare send requests. You may change settings for send requests in the Vector Hardware Configuration tool (ref).TxRqis not a "direction" per se, just a way to indicate a different type of log in the Trace window. Remember that the only directions available areTxandRx(all frames either go out of your node or come into your node).More about send requests. The following is an extract, I don't remember from which Vector knowledge base entry