Page 1 of 1

Different CAN IDs with an Offset

Posted: Mon 30. Apr 2012, 16:55
by fdhada@intenergy
Hello,

Apologies in advance if this has been answered in the forum already - but I could not find a similar solution. I found solutions like a merged symbol file etc and this would not work in our case unfortunately.

The problem:
We have a board which generates specific CAN Ids on the setting off its switches. This can be considered as an offset - so for example if the base CAN Id is 02Eh and the switch setting is 03h then the CAN ID is EEh.

So is there a way to manupulate the symbol file so that the following entry can have this offset added ?
[ID Value 1]
ID=02Eh

Is there a way of achieving this in PCAN Explorer to accommodate this in a neat solution when receiving or transmitting messages? As these messages need to be generated by our PCAN Explorer instrument panel GUI (.ipf file).

I appreciate that this could be done via a VB macro - but is there a way of manipulating the Symbol to take into consideration this offset our board generates.

I appreciate any help you can offer.

Thanks in advance.

Re: Different CAN IDs with an Offset

Posted: Mon 30. Apr 2012, 21:02
by PEAK-Support
Hi,
as i understand you like to change the Symbolfile dynamicly. This could only be done via a VBS Macro.
(change or generate a Symbol Text file, load and aply)
If you want to use only one Symbol File you need to copy/paste the section and manualy change the ID.
But to use it in the UserPanel (signal based) you need to use the VBS solution.

Regards

Re: Different CAN IDs with an Offset

Posted: Wed 2. May 2012, 11:31
by fdhada@intenergy
Thank you for confirming.

Appreciate your quick response.