Page 1 of 1

Symbol file format specification?

Posted: Tue 23. Feb 2021, 19:05
by JewelRunner
There is a format specification for the trace file at the end of the PCAN-Basic API documentation. Is there a format specification for the symbol files? I know there is a tool to generate the symbol files, but I would be interested in a document that describes the plain text rules of reading a symbol file.

I would like to use symbol files to generate code that represents all messages, muxes, enumerations, and variables. Other people in my team are spending time generating the symbol files. I would like to reduce my code maintenance time by automatically converting their symbol files into data structures in the programming language I use. I have already accomplished this, but it was determined through trial and error. It would give me peace of mind to compare my solution against a symbol file format specification. I am worried that I missed some special case that may break the parsing code I wrote to convert the symbol file into intermediary data structures.

Re: Symbol file format specification?

Posted: Wed 24. Feb 2021, 08:27
by M.Heidemann
Hello,

As you have posted this in the PCAN-Explorer 5 Forum,
i assume you own a copy of PCAN-Explorer 5?

The PCAN-Explorer 5 help contains a detailed description of symbol-files:

under "Reference" -> "Symbol Files":
Symbol-FilesHelpPE5.png
Symbol-FilesHelpPE5.png (123.6 KiB) Viewed 3061 times
Please let us know, if this is what you are looking for.

Best Regards

Marvin