02-26-2020 02:17 PM
In my quest to reduce the amount of "Project Explorer Programming" when using Actor Framework, I've created a tool that will let you insert an AF message when right-clicking a tunnel.
This works fine. However, there are three issues:
In the spirit of community collaboration here's my GitHub page. If you can solve the issues / want to clean up the code, please feel free! https://github.com/TomsLabVIEWAdventure/Place-Actor-Message-Plugin
Attachment is saved in LabVIEW 2009. For install instructions, go here.
04-15-2019 03:10 PM
04-15-2019 03:34 PM
Ah, this is a good shout. Neither. At the moment it's looking at whether it's an enqueuer class and lists all the classes in the 'Messages for this Actor' folder. However, it's not looking upstream to see where the enqueuer is coming from. I'll work on that properly in the next couple of days. But for now, I'll do a quick update so it checks if the node before the tunnel was the "Read Self-Enqueuer vi" and work from there.
02-26-2020 11:09 PM
It's probably not the nicest solution, but I expect for #2 you could 'manually' move the placed Send after it is scripted in?
I guess you can get the BD position of the tunnel you clicked on from the Proj. Provider's references, and then use standard scripting together with the reference for the Send VI's node that you just created to move the position? (and perhaps then you'd need to tidy the wire... I'm not sure...)