虚拟仪器外文翻译
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
LabVIEW
1.overview
LabVIEW is a program development environment, by the national instruments (NI) research and development company, similar to the C and BASIC development environment, but with other computer language LabVIEW significant difference is: other computer language is based on the text, and the language code of graphical LabVIEW use scripting language G program, application is in the form of block diagram.
A complete, LabVIEW virtual instrument system of open application software development, and use it to form instrument testing system and data collecting system can simplify the design procedure. With Visual C++ LabVIEW, Visual Basic,LabWindows/CVI, etc, which adopts different programming language is based on the text language program Code (Code), and abVIEW L is using graphical programming language), Graphic (G instead of the traditional diagram of the Code. The Lab VIEW of equipment with the scientists and engineers icon in the habit of basic agreement, this makes the icon programming process and thinking process is very similar.
LabVIEW convenient calls Windows DLL and user-defined function in the DLL, LabVIEW also provides CIN (C) Node with any users can use by C + + language or, if the ANSI C, compiled program modules, makes a open LabVIEW development platform. LabVIEW also directly support dynamic data exchange (DDE), structured query language (SQL), TCP and UDP network protocol. In addition, the LabVIEW also provides special used for program development kit, users can easily set breakpoints, dynamic program execution to very intuitive image observation data transmission process, and convenient debug.
The operation mechanism is LabVIEW macroeconomic sense is no longer the von neumann traditionally computer system structure of the method. The traditional computer language (such as C) to the order of execution by parallel structure in LabVIEW mechanism; Essentially, it is a kind of control Flow structure with graphical Data Flow pattern (Data Flow Mode), this kind of means to ensure the process of any Node Function in hire those knowledgeable programmers only after all it can only be executed Data.
That is to say, in the data flow in the concept of program execution, and it is the data driven by operating system, calculate machine and so on.
Since LabVIEW program is data flow driven, data flow design program, a goal only when it's all input can only be effective, And the goal of output only when it is complete. So, in VIEW of the Lab is connected the data flow between nodes function control program execution sequence, and don't like text program execution sequence by rows of constraint. Thus, we can be connected through the rapid development of concise function node applications, even can have multiple data synchronization operation channel, the so-called Multithreading (Multithreading).
2.Data Storage and Reporting with NI LabVIEW
The continued increase in processing and storage capacity and the decrease of hardware and software costs has resulted in an explosion of collected data being acquired. But while technology is enabling faster and richer data retention, storing, managing, and sharing data remains the real challenge. Traditional software packages tend to take one of two limiting approaches: 1) they force you into a particular format that is not exchangeable with other applications or users or 2) saving data is left so open ended you waste time trying to determine the best way to organize and save your data to disk so you can share it.
NI LabVIEW, designed for the entire engineering process, includes built-in functionality to help you easily save data to disk and create professional reports. By providing easy yet robust interfaces for file I/O and reporting, you can make the most of your acquired data to make decisions faster.
(1)File I/O Designed Specifically for Engineering Data
Despite the fact that LabVIEW offers a wide variety of file I/O options, these traditional file types rarely meet all the criteria you need in a file format. For example, ASCII files are exchangeable, but are very large and slow to read and write. On the other hand, binary file read and write speeds can keep up with high-speed hardware, but are difficult to share with others.
Because of the drawbacks of traditional file I/O, National Instruments developed the Technical Data Management Streaming (TDMS) file format to meet the specific needs and high demands of engineers and scientists. TDMS files are based on the TDM data model for saving well-organized and documented test and measurement data. The TDM data model offers three levels of hierarchy, as shown in Figure 2 – file, group, and channel. The file level can contain an unlimited number of groups, and each group can contain and unlimited number of channels. Because of this channel grouping, you can organize your data to make it easier to understand. For example,