06-16-2023 09:24 AM
Using Actor Framework. I often use breakpoints to get the clones to pop up so I can probe wires when debugging.
I am curious...
Is there a way to have the block diagram pop up but not have the execution automatically pause?
06-16-2023 09:56 AM
Not sure about showing just the block diagram. But I guess you can add a Front Panel:Open Invoke Node to the vi you want to see.
06-16-2023 10:40 AM
I don't know if you can use breakpoints to automatically do it, but you can get to them with View -> Browse Relationships -> Reentrant Items. If you only ever have one actor launched at a time, you'll only have one clone available to view which you can do from that menu since Actors are Shared Clones.
(Note, you'll have to click this from the VI you're looking to view, not from the project or whatever.)
There's also the MGI Monitored Actor that lets you view the front panel of any given actor, from which you can get to the block diagram. It pops up a little "actor monitor" that shows all of your running actors. You can also use it to log messages, which can be handy too.
06-16-2023 11:00 AM
The Block Diagram Window:Open property will programmatically show the diagram of a VI.
06-16-2023 05:46 PM
@Darren wrote:
The Block Diagram Window:Open property will programmatically show the diagram of a VI.
Would have suggested the same thing, but I'll just add a note that the option to do this only appears if VI Scripting is enabled in the LabVIEW options: