gred Posted September 18, 2014 Report Share Posted September 18, 2014 Dear all, The CAN frames I recieve per cycle are with the following identifiers: [1 frame] 513 (Radar status- range, elevation, target type) [1 frame]1536 (Target status - No of targets near field from byte 1 and No of targets far field from byte 2) Followed by 96 message pairs of which 1-32 pairs are for near field and 33-96 are for far field. 1793 (Target Info 1) 1794 (Target Info 2) For the filter, I need to to identify the 1536 frame first and read byte 1 and byte 2 which gives me information about the number near and far targets respectively. Then I need to pick (equal to byte1) number of message pairs from the first 32 pairs and retrieve sigals from that; and then pick (equal to byte2) number of message pairs from then next 64 message pairs and retrive signals. As this plots only the targets that are valuable. I am also looking to create more efficient projects that can be scaled to multiple radars. Any help on how to filter efficiently and read the payload information [all 8 byte as a string] for byte 1 and byte 2 and then pick only the required message pairs. I would much appreciate your help. Kind Regards, Red MainRadar.vi Quote Link to comment
hooovahh Posted September 18, 2014 Report Share Posted September 18, 2014 Cross post Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.