LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV2009 hooks for customizing override VIs and accessor VIs

In LV2009, if you use LabVIEW Object-Oriented Programming, you may wish to customize the VIs that are created for New>>VI For Override and New>>VI For Data Member Access. Using scripting, you can do so by editing the four VIs listed below.  These VIs are called at the end of their respective scripting processes and you are free to include any scripting code you wish to further customize the VI in question. Some common customizations you might want include changing the VI name (use "get" and "set" instead of "read" and "write"), modifying the icon, adding additional diagram logic, etc.  You cannot edit the callers of these three VIs, but these three  provide the hook you need to customize your new VIs as you want them.

Customizations for Override VIs:
<labview>\resource\Framework\Providers\LVClassLibrary\NewAccessors\OverrideRetooler\Custom User Scripting For New Override VI.vi

Customizations for basic accessor VIs:
<labview>:\resource\Framework\Providers\LVClassLibrary\NewAccessors\BaseAccessorScripter\Custom User Scripting For New Simple Accessor VI.vi

Customizations for 1D Array element accessor VIs:
<labview>resource\Framework\Providers\LVClassLibrary\NewAccessors\ArrayElementScripter\Custom User Scripting For New Array Element Accessor VI.vi

Customizations for multi-dim array element accessor VIs:
<labview>\resource\Framework\Providers\LVClassLibrary\NewAccessors\MultiDimArrElemScripter\Custom User Scripting For New MultiDim Array Element Accessor VI.vi

Message 1 of 2
(2,893 Views)
Oooh, I finally smell a reasonable by-ref implementation coming - the lack of this option always annoyed me and now I should hopefully be able to easily build the code which will generate the wrapper needed for the by-ref stuff.

___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(2,876 Views)