LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
fefepeto_kb

Property accessor creation class shall have some user options

Status: New

Many of the property accessor VI creation scripting is currently hard coded, or not easily changeable. There might be some conventions around how to name a property accessor, or about the usage of the error handling case structure inside the accessors. It would be nice, if there was a user settable option for these.

The things that I have to change often:

  • The read VI to Get, the Write VI to Set
  • Front panel controls and indicators to the default style
  • Removal of the error handling case structure
  • Renaming the Error in (no error) to error in (this might be solved by the global ini setting though)
  • Organizing the labels to the left for controls and right for indicators on the block diagram
  • Cleaning up the front panel, with the Ctrl+U shortcut, while there is a scripting code in the quick drop to arrange both the front panel and the block diagram, by default Ctrl+F

To fix most of these, I modified the scripting library, for all the templates and the global defaults containing the name for read and write VIs.

It would also be nice if we could override the scripting class as a whole, in order to customize the end result, without needing to go over trough VI again.

1 Comment
Petru_Tarabuta
Member

+1. It would be nice if the configuration settings were stored in the LabVIEW.ini file, such that they could be quickly copied from one machine to another. This would help standardise the IDE configuration when a developer works on multiple machines, or in a team of multiple developers.