LabVIEW 8.5 adds an advanced "computational model" to design

Publisher:EtherealGraceLatest update time:2011-12-20 Keywords:LabVIEW8.5 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

John Pasquarette, Director of Software Marketing at NI , will discuss the use of abstraction in advanced design tools and how to apply these tools in conjunction with NI's LabVIEW graphical system design software to accelerate the development process.

Q: What is a “computational model”?

Mr. Pasquarette replied :

The term "computational model" has long been used in academia to abstractly define a computer system. Simply put, a computational model is a special way to describe the functionality of a software module. We use this term to describe various advanced desktop programs and embedded systems. Computational models include text-based, object-oriented, statechart, and graphical data flow. Each model often has relative advantages and disadvantages in different fields and occasions.

Enabling LabVIEW to program using different computational models is an important part of our vision for graphical system design. NI provides users with a variety of computational models to choose from in LabVIEW for application programming. LabVIEW includes graphical data flow programming, dynamic system simulation, text-based programming, textual mathematical programming, and object-oriented programming. In LabVIEW 8.5, we have added another computational model - LabVIEW statechart programming, which is based on the UML (Unified Modeling Language) specification statechart, which makes it easier for users to design complex systems using states, state transitions, and events. LabVIEW users can also match various computational models to better describe the systems they develop. For example, when a programmer designs a laser control system, he or she uses a state diagram model to define the state, a graphical data flow model to execute FPGA logic control, and a simulation model to dynamically simulate the laser.

Q: Why did NI choose the state machine view as the next computational model?

Mr. Pasquarette replied:

For years, designers have used traditional state diagrams to quickly describe the functionality of their systems. State diagrams add the concepts of concurrency and hierarchy to traditional state diagrams, allowing designers to describe systems that involve parallel tasks. In addition, the state machine view adds a formal way to respond to events, allowing these events to clearly describe the system response. This is particularly useful for embedded devices, control systems, and complex user interfaces. In addition, the state machine view provides a simple and natural way to demonstrate system functionality. When LabVIEW's graphical data flow is used to define the behavior of each state, the state machine view can serve as an executable specification.

Q: Who will benefit from these advanced design tools?

Mr. Pasquarette replied:

The main beneficiaries of these high-level design tools are those whom we call "domain experts." They are not engineers and scientists who specialize in embedded system development; rather, they are innovators in biomedical instrumentation, mechatronics, and high-energy physics. They are the ones who want to bring these revolutionary products to market. When they apply high-level design tools such as LabVIEW's ready-made model hardware, they can quickly use their designs to verify the correctness of the algorithms through real inputs. High-level development tools enable these domain experts to embed their designs into hardware without having to become embedded experts.

Q: When users use high-level design tools, do they sacrifice low-level control?

Mr. Pasquarette replied:

There is a common saying that there is no free lunch, and this also applies to software design. High-level design tools provide less optimization features than low-level tools. However, the trade-off is that the increasingly complex designs and shorter time to market make this sacrifice worthwhile. Designers no longer have to wait for embedded experts to develop assembly code.

In the process of applying high-level software tools to design, some key factors are necessary. In order to complete the design, hooks (a simulation technology that uses I/O multiplexing) must be provided for low-level features and functions. In addition, high-level tools must provide for the reuse and integration of legacy code. This is why we always provide some low-level programming structures and functions in LabVIEW and methods to call existing code such as C code and VHDL in LabVIEW FPGA Module and Text Numeric Module . Finally, the code developed with high-level tools must be reusable on hardware platforms that can be widely used. For example, a machine designer can use LabVIEW and any of the LabVIEW models of computation, including state diagrams and simulation models, to build his or her control prototype and monitoring application on a desktop system and then apply the same code to an embedded control system, such as NI's CompactRIO .

Q: Many designers think of LabVIEW as a testing tool. So what role does LabVIEW play in the design arena?

Mr. Pasquarette replied:

LabVIEW has been used as a design tool since its inception in the 1980s. The original graphical dataflow has been transformed into a great design methodology for a wide range of systems, from telescope adjustment devices to analytical instruments. A large number of LabVIEW international agreements have been applied to advanced mathematics, analysis and signal processing, including special tools such as the LabVIEW Digital Filter Design Toolkit, which have drastically reduced the development time of these systems.

In the last 10 years, LabVIEW's design capabilities have grown to include programming embedded real-time hardware. We have introduced technologies such as LabVIEW FPGA, so that engineers can design hardware logic using graphical programming. Because graphical dataflow can intuitively describe parallel software behavior, it is an ideal computational model for parallel processing environments such as FPGAs. The latest version of LabVIEW applies this similar experience to the programming of real-time multicore systems. Many of our users have experience with embedded design using LabVIEW. In addition, with the LabVIEW Microprocessor SDK, we have extended the use of LabVIEW to any 32-bit microprocessor. The embedded hardware and diverse computational models provided by LabVIEW make it an effective design tool with significant productivity advantages.

Keywords:LabVIEW8.5 Reference address:LabVIEW 8.5 adds an advanced "computational model" to design

Previous article:Application of LabVIEW and MATLAB Hybrid Programming in Digital Antenna Array Testing
Next article:LabVIEW is an automatically multithreaded language

Latest Test Measurement Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号