03-29-2016 08:39 PM
Hello Forum, I have a VI to communicate with multiple CAN based modules using an IXXAT device. At present I have to provide the number of nodes (CAN devices) that I want to control. Question, instead of providing the number of nodes, how can I scan for available node IDs in the CAN bus?
Thanks!
03-30-2016 04:23 AM
How do you know if the node is on the CAN bus? You should be able to read the frames from the CAN network and get the Message ID/data - it would be quite easy to build up an array/lookup table of the Message IDs that are present on the bus and use that to determine what nodes are there?
I haven't used IXXAT devices...so without you posting your VI and more detail, I can't really offer much more assistance.
03-30-2016 07:57 AM
02-08-2024 05:45 AM
out of several nodes, how would u identify which node has what canID
02-08-2024 10:16 AM
You cannot. CAN doesn't work that way. Nodes on a CAN network do not have unique IDs; any device can send a message with any ID. It's up to the higher-level protocol to determine how those IDs are used.