Three Principles to Follow when Design LabVIEW Applications
When using LabVIEW to develop huge and complex applications, we would encounter many problems not only the same as we use text based programming languages but also some problems which are unique for LabVIEW. LabVIEW is a graphic based programming language, it free us from the worry of syntax error and memory problems, but on the other hand, in my option, it also have some disadvantages like not very good at large project management like other text-based programming languages. Since the version 8.0, LabVIEW has added some features to make itself a better programming tool at project managements. I think it will be better and better.
To make LabVIEW a good tool in huge and complex applications development, we should follow three principles: scalable, readable, and maintainable.
Scalable: The VI designed should be easily to be modified, and it allow us to add functionality to it. We should use good design practices to create VI which is scalable, think about the design early in the design process to make sure it is scalable for future modification rather than a fixed non-scalable VI for current application only. When designing any application, we should consider the purpose of the application and how to manage changes when the scale of the application goes beyond the original specification.
Readable: When working with LabVIEW, we should make the diagram code structured, easy to read and easy to understand. And the easy to read and understands leads to easy to maintain.
Maintainable: When we develop VIs, we should make it easy to add new features without completely redesigning the VIs. We should use forethought to design and create VIs to make sure they are more maintainable.
No related posts.