08-05-2009 03:14 PM
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
08-05-2009 04:06 PM