LabVIEW APIs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Design Pattern - Many Cast (trying multiple typecasts)

You ALL should find this very useful in the scripting world, where we so often get generic data types and need to attempt multiple casts to specific types to execute specific code

http://lavag.org/topic/13061-try-multiple-type-casts/#entry77999

I look forward to your feedback

0 Kudos
Message 1 of 2
(3,692 Views)

Recently I have tried a nugget of "adaptive save restore".

http://forums.ni.com/t5/LabVIEW/Nugget-Using-control-references/m-p/570756?query.id=1430593

This nugget also uses a similar approach.

Probably the design pattern of many cast will be applicable to lots of applications.

0 Kudos
Message 2 of 2
(2,827 Views)