05-06-2015 04:57 AM - edited 05-06-2015 04:57 AM
Hi, i've been checking the forums but can't find any article related.
Anyone can get the RX/TX attribute from XNET Read (Frame CAN)? How to do?
Solved! Go to Solution.
05-06-2015 05:21 AM
can you clearify in some more details what you want to achieve. if you read a frame they are always Rx like. If you want to differentiate between frames self transmitted or frames transmitted by other nodes you can use the property Interface:Echo Transmit?
see XNET manual how to use the property and read back the Echo Flag
05-06-2015 08:32 PM - edited 05-06-2015 08:33 PM
@Gibson wrote:
can you clearify in some more details what you want to achieve. if you read a frame they are always Rx like. If you want to differentiate between frames self transmitted or frames transmitted by other nodes you can use the property Interface:Echo Transmit?
see XNET manual how to use the property and read back the Echo Flag
This scenario, from XNET Read(Frame CAN) there is the data out, the the data consist of CAN Frame cluster, what's inside the cluster doesn't have the attribute whether the frame is a TX/RX frame.
In my project, I would like to also see the "TX" or "RX" together with the frame that I will be logging on a txt file. Did you mean that the "echo?" inside the cluster is the one that I am looking for?
05-07-2015 01:36 AM
yes the Echo Flag shows if the frame is a Tx or Rx frame. as I said, please check the manual for detailled information