LabVIEW APIs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Any way to defer Block Diagram drawing/updates?

I'm curious if there's a way to defer drawing the Block Diagram while a scripting sequence is happening.  There's a way to defer drawing the FP, but I don't know if this works for the block diagram, too.

0 Kudos
Message 1 of 7
(9,296 Views)

I know this is an old post.  But have you found any answer yet?

Regards,

0 Kudos
Message 2 of 7
(4,323 Views)

The Top Level Diagram class has a defer method, but at least in 2011 calling it results in a property not found error.

The Application class has a Defer Drawing method which seems to suspend all the GUI updates in LV.


___________________
Try to take over the world!
0 Kudos
Message 3 of 7
(4,323 Views)

Running on LV 2012

Here are the list of Property in TopLvDiag. am I looking at the right place?  I gave a look to AppClass, can't find it neither.

DeferDiagramUpdate.png

0 Kudos
Message 4 of 7
(4,323 Views)

I didn't notice that it's marked as a private property, which is why you can't see it. Presumably, it's marked as private because it doesn't work.


___________________
Try to take over the world!
0 Kudos
Message 5 of 7
(4,323 Views)

The easiest way to do this is to not show the block diagram (set the VI property Block Diagram Window » Open = FALSE).  Scripting is much faster in that case.  Show it when you finish, if you want to see it.

0 Kudos
Message 6 of 7
(4,323 Views)

tst is correct. The property was added but never made to work.

0 Kudos
Message 7 of 7
(4,323 Views)