Reading Port Name [message #1841867] |
Tue, 01 June 2021 14:31 |
Eclipse User |
|
|
|
Hi!
I'm currently working on logging event trace timing data from the Forte source code.
For displaying purposes I would also like to log the port name from which an event is fired/received.
I'm reading the data from the sendOutputEvent() & receiveInputEvent() functions, where I have the port ID but not the name that is displayed in the IDE.
My question is, is there a way to read said name? I've already tried it with the m_aunEINames/m_aunEONames lists, but Forte keeps crashing (I'm probably just doing it wrong, see attached file).
Many thanks in advance
Philipp
|
|
|
Re: Reading Port Name [message #1841873 is a reply to message #1841867] |
Tue, 01 June 2021 16:34 |
|
In general you are on the right track. However you should check that the event ID you receive is in the right range. The number coming in can be in a higher range (e.g., external event, internal events from CFBs) this could lead to the described crashes.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03543 seconds