Skip to main content
4-Participant
Jan 10, 2023 9:31 PM UTC
Solved

How to get the symbol name with JLink API?

Anyone can guide me get the right JLink API to return the name of the symbol? (Please refer to the attachment  for details.) Thank you!

sjurajAnswer
15-Moonstone
Jan 11, 2023 10:33 AM UTC

list model items with enum ITEM_DTL_SYM_DEFINITION or ITEM_DTL_SYM_INSTANCE 

then iterate through the list and then GetName of desired symbol

2 replies

24-Ruby III
Jan 11, 2023 8:25 AM UTC

Hi,

please ask PTC Support.

Translate
sjuraj15-MoonstoneAnswer
15-Moonstone
Jan 11, 2023 10:33 AM UTC

list model items with enum ITEM_DTL_SYM_DEFINITION or ITEM_DTL_SYM_INSTANCE 

then iterate through the list and then GetName of desired symbol

Translate