“Generate Trace for Received Message.vi” access scope change #161
AndreaV-Lsi
started this conversation in
General
Replies: 1 comment 2 replies
-
|
Yes, you're supposed to use Generate Custom Trace. Since Receive Message is dynamic dispatch, we can reconsider if Generate Trace for Received Message.vi should be private. I'm inclined to leave it so, since it is ONLY intended for use in Receive Message. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Hi everybody,
In the “Async Methods Actors” package, I override the “Actor.lvclass” method “Receive Message.vi” to be able to execute the Message’s Do.vi in an Async fashion. Until before the refactoring of the Actor Framework to make it more PPL friendly, I was emulating the parent method behavior by calling the “Generate Trace for Received Message.vi” if the conditional disable symbol “AF_Debug_Trace” was set to TRUE:
After the refactoring, the access scope of the “Generate Trace for Received Message.vi” has been set to Private.
I was curious about the rationale behind this decision. I also see that a new public-scope VI “Generate Custom Trace.vi” was added. Was this VI intended to address my use case, given the inaccessibility of the other trace generation VIs? As far as I can tell, I will not be able to reproduce the “<receiver type> <receiver ID> received <message name>” trace format that “Generate Trace for Received Message.vi” uses. Any suggestions are welcome
Beta Was this translation helpful? Give feedback.
All reactions