01-15-2020 01:29 PM
I am hoping there is a way to programmatically change a frames ID in LabVIEW. I have an application that contains multiple of the same device on a CAN network, each with a unique ID. Each device then transmits its CAN messages with an offset in the arbitration IDs based on it's device ID. I would like to use a common DBC for all of them and be able to programmatically adjust all of the frame IDs based on the devices ID. That way I could change the ID in my LabVIEW program, and it would start reading data from the new device. It would also be nice to not have these changes saved to the DBC.
I was playing around with the database pallet in the XNET pallet, but was not able to figure out how to accomplish this. Does anyone have experience with this?
08-11-2022 08:09 AM
Looking for the same thing. I have to make a separate dbc file for each item. There must be a solution for this out there?
John
08-11-2022 08:22 AM
This is how I went about it. As long as you don't close the reference to the DBC, the arb IDs will remain offset.
08-22-2022 02:02 PM
Thanks