I have a array of signals that change depending on the configuration. I would like to output the "text" name of the signal rather than just the signal number itself for readability issues.
Last edit: KJC 2014-11-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to out put a readable signal name using the signal number in QSPY. Is there a way to do this?
You can use the
QS_SIG_DICTIONARY()
macro to output the symbolic information about a given signal. Please see the documentation at:http://www.state-machine.com/qp/qpc/qs_8h.html#a9a8e26a01678f160bf35fd0bda6bfe8b
If you wish to associate names with the Application-specific trace records, you can use the
QS_USR_DICTIONARY()
macro, described at:http://www.state-machine.com/qp/qpc/qs_8h.html#ae75893daa66c6d0b5a6dfb8f3fca1196
The documentation of all supported QS "dictionary" trace records starts at:
http://www.state-machine.com/qp/qpc/qs_8h.html#a3b1ab21c174f2bec448edec8865a8529
--MMS
I have a array of signals that change depending on the configuration. I would like to output the "text" name of the signal rather than just the signal number itself for readability issues.
Last edit: KJC 2014-11-03