CSLUG - Central South LabVIEW User Group (UK)

cancel
Showing results for 
Search instead for 
Did you mean: 

Brat vi's

Here's my Brat VI's presentation.

I'll also be adding the demo VI's here too.

Chris

Don't forget to give Kudo's for a good answer !

LabVIEW Champion
Certified LabVIEW Architect
Certified TestStand Architect
Message 1 of 3
(6,327 Views)

UPDATED

Here's the multicolum listbox example I presented. So this features a "top level" VI with a MCLB on the front panel. In addition this top level VI also launches 2 asynchronous sub VI's both of whom also have MCLB's on their front panels.

I then use a single renentrant brat vi to register for the mouse down event on the MCLB's.

See how each brat is responsible for a single control instance, this allows behaviour to be controlled accross and entire application by reusing a single Brat VI.

Attached as MCLB.zip

UPDATE

I've also atached Demo_1.vi and Modality Setter. vi , these highlight the use of Set FP to Largest decoration VI (this is a dependency you will need to download using VIPM from OpenG) and illustrate how a Brat VI could provide certain behaviour based on the execution status of it's parent.

Any questions, just post a reply.


Don't forget to give Kudo's for a good answer !

LabVIEW Champion
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 2 of 3
(4,182 Views)

Thanks matey, and further to our discussion about control coupling I dug out some text on pretty much this issue. And it transpires all your points were spot on!.

Just to wrap it up I'll include them here (the book is Composite Structured Design by Glenford J Myers 1978 <-- it's a forgotton classic on software design)

WP_20150219_001.jpg

and the second page discusses the trade-off associated with this type of module

WP_20150219_002.jpg37 years and still applicable good job Glenford!

Steve


Opportunity to learn from experienced developers / entrepeneurs (Fab,Joerg and Brian amongst them):
DSH Pragmatic Software Development Workshop


Random Ramblings Index
My Profile

Message 3 of 3
(4,183 Views)