LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Breakpoint Question

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?

0 Kudos
Message 1 of 5
(790 Views)

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.

0 Kudos
Message 2 of 5
(777 Views)

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.

Message 3 of 5
(745 Views)

The Block Diagram Window:Open property will programmatically show the diagram of a VI.

Message 4 of 5
(731 Views)

@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:

 

Kyle97330_0-1686955567313.png

 

Message 5 of 5
(687 Views)