LabVIEW Star Dafa-good things to see are mine (medium)

Source: Internet
Author: User

The preface has been written for years by the LabVIEW program, are you facing such problems
Always doing some repetitive work, feeling very mean, always keep on writingcode, do similar controls, achieve the same function, no sense of accomplishment;Always overtime in the day, no time to improve themselves;
You also know that simple repetition does not bring about the improvement of efficiency, but do not know where to go, helpless and anxious?
Little Black continues to talk to you today. LabVIEW Star Dafa, let you in the work more and more efficient, experience all can control the wonderful feeling ~
Remember, our slogan is: Farewell to the repetition of the car, you are mine, all things are used for me ~
In the introduction, I introduce the reuse of UI controls. Personalization through UI control enables reuse and accumulation at the front-panel level. Today, this paper introduces the reuse of functional palette, and realizes the creation of personal function library by customizing the work of the function selection board. Elton architecture What is the reuse of a function library? The reuse of function libraries refers to the accumulation of work experience, solidified into LabVIEW common functions, the realization of work experience in the function of the display.Foder API


Why is the function library reused? Most engineers are in a particular field and are doing a certain field of measurement and control system for a long time. Passworking hard, great engineers have gone through large and small pits, forming a unique work experience for everyone. These work experiences have prompted us to solve similar problems,as long as these experiences are summed up, everyone can express their experiences in the form of documents or code, thus solidifying the knowledge in their brains and forming a set of their own tools.
LabVIEW Engineers work by summarizing abstract specific code, forming a specific library of functions, minimizing repetitive coding and extractingmoretime for creative activity. TestStand APIwho is going to reuse the function library? Whether you are a graduate student, a novice in the workplace, or a well-honed engineer, the reuse of function code should continue, after all, the temptation of code reuse for a software engineer is still very large. Quick Drop APIwhen does the function library reuse? Function reuse is mainly used in two parts, that is, the summary stage and the use stage. The UI API is generally at the end of the project, regardless of how the code is written, we get the project sponsor's acceptance. But the reuse of software engineers has only just begun. By analyzing the success and failure of the whole software in design, summarizing the reuse point of the current project, the valuable VI and library functions of the whole project are re-organized to form their own library functions.
When new projects are opened, use the code summarized in the previous project to validate iterations, continually upgrade their library of user functions, and finally realize the sublimation of personal experience.
How to reuse a function library? Core: summed up, absorption and utilization! The summing-up and summing-up of the absorbing star Dafa is easy to say, but it is quite difficult to do. Little Black does not know what the best way is, here is just a description of how I do.
Because it takes a lot of time and effort to summarize afterwards, Black is starting to consider some of the reuse issues in the project creation process. When designing the code module,ask yourself in advance: Does this code module have reuse value?
If the answer is yes, put it in a separate folder, and the use of the file using a uniform naming convention, as far as possible to decouple the code from other modules, the eventual implementation of the replication folder can be reused code. Some reusable modules for instant small black finishing. Of course, in the design process testing, but also write some drivers can take modules although the beginning folder rules design is not clear, but as long as there is a summary of the mind, you open the multiplex accumulation of the road, as long as perseverance, always accumulate to belong to their own knowledge wealth. Absorption and utilization of star-sucking Dafa if you don't know how to reuse a function, you might want to take a good look at how good reuse is done, nothing else, just talk about OpenG tools, and we can learn a lot from it.
The OpenG Toolkit implements a number of function functions by enhancing the functionality of LabVIEW, and from the function palette, we can learn about the classification of OpenG. From the folder level, you can learn that the classification criteria from the VI name can learn some naming methods and rules, help us write neat code we will see a lot of similar OpenG toolkit, these toolkits do not all need to be included in our personal library, which requires everyone based on experience, Incorporating useful parts into their knowledge system, small black will find the tree control into its own toolkit, and on this basis to develop a number of additional toolkits, to achieve re-programming function reuse. PostScript LabVIEW absorbing the star Dafa, will your experience accumulates, absorbs others the director, forms belongs to own knowledge storehouse. This article is not carefully unfolded how to achieve, but from the thought of introducing the concept of functional reuse, I hope we can pay attention to the accumulation of experience in function reuse.
If this article on you have the harvest or have feelings, sincerely hope you can really try to try, experience the accumulated value, farewell to blind overtime, learning to grow the road, mutual help ~
The operation industry has specialized, the smell Tao has successively, in the knowledge front door, we may glimpse one or two, but does not know heavens beyond heavens, the person outside someone. Keep a humble heart, focus on the improvement of technology, Excellence ~   -----This article dedicated to fall into the LabVIEW pit but still do not give up, we are not professional software engineers, but there is a progressive heart.

LabVIEW Star Dafa-good things to see are mine (medium)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.