Trace Export: Order of Signals
Posted: Thu 14. Mar 2019, 09:22
Hello everybody,
I am new to PCAN-Explorer 6 (currently using a trial version). While I could call support and ask for help I think my issue might be of interest to other users thus I share my question online.
TLDR
Task: export trace signals of multiple transducers of the same type whilst maintaining the connection between message and device under test to csv
Issue: best I could get is one column per signal and transducers but there's no evidence in the csv which column belongs to which sensor
I am using PCAN-Explorer 6 for logging the messages of multiple transducers on four busses (PCI-Express Card) of the same type: they all respond to a global request on their bus. The content of the messages received is of the same type (e.g. temperature). I always need to know which temperature belongs to the respective device under test. If I stick to the trace the message origin is easily identified by the senders CAN-ID. I then use a script (Scilab) to sort all messages and calculate the values from hex representation.
I set up Signals with the symbol editor to translate my transmits into human readable values. It's great for quickly checking on the values on the transmit/receive panel and I can use the existing DBC for my signals.
Finally I wanted to export the signals instead of parsing the trace. While there is a functionality in PCAN-Explorer that let me do this, I struggle with the exported signal <==> transducer relation.
In my first approach I
In my second approach I
But which signal belongs to which transducers? How can I maintain the CAN-ID relation?
Please clarify on best practice here, as I mentioned, I am new to PCAN-Explorer and would love to improve.
I am new to PCAN-Explorer 6 (currently using a trial version). While I could call support and ask for help I think my issue might be of interest to other users thus I share my question online.
TLDR
Task: export trace signals of multiple transducers of the same type whilst maintaining the connection between message and device under test to csv
Issue: best I could get is one column per signal and transducers but there's no evidence in the csv which column belongs to which sensor
I am using PCAN-Explorer 6 for logging the messages of multiple transducers on four busses (PCI-Express Card) of the same type: they all respond to a global request on their bus. The content of the messages received is of the same type (e.g. temperature). I always need to know which temperature belongs to the respective device under test. If I stick to the trace the message origin is easily identified by the senders CAN-ID. I then use a script (Scilab) to sort all messages and calculate the values from hex representation.
I set up Signals with the symbol editor to translate my transmits into human readable values. It's great for quickly checking on the values on the transmit/receive panel and I can use the existing DBC for my signals.
Finally I wanted to export the signals instead of parsing the trace. While there is a functionality in PCAN-Explorer that let me do this, I struggle with the exported signal <==> transducer relation.
In my first approach I
- defined global signals
- created one symbol for all transducers CAN-IDs
- attached the signals to my symbol
In my second approach I
- defined global signals
- created individual symbols for each transducers CAN-ID
- attached the signals to each symbol
But which signal belongs to which transducers? How can I maintain the CAN-ID relation?
Please clarify on best practice here, as I mentioned, I am new to PCAN-Explorer and would love to improve.