Small issues solved in LabVIEW projects

Publisher:快乐家庭Latest update time:2012-08-11 Source: 21ic Keywords:labVIEW  solutions  WINDOWS Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Before the graduate school started, I moved to the laboratory to help my supervisor in order to learn more.

My mentor gave me a labVIEW project, which was not difficult, and he completed most of it himself, but it was still a bit challenging for someone like me who knew nothing about virtual instruments. After a period of thinking, I learned a lot and wrote it down for reference in future work.

1. When executing a button event, the pop-up front panel is closed by pressing the WINDOWS panel cross key, and the program is stuck. It can only be closed by entering the resource manager. The reason is that the front panel is closed, but the loop program in the subVI has not ended, resulting in no way to perform other operations.

Solution :

1. Select Customize in the pop-up front panel file > VI Properties > Category > Window Appearance, and uncheck Allow users to close the window. This will disable the cross key during runtime and prevent the program from freezing. But what about programs that must enable the cross key? There is a second solution.

2. Add an event structure to the subVI program, select the front panel close item in in the add event branch and confirm. In this way, when the front panel is closed, set the corresponding handler to this branch. Generally, it exits the subVI loop.

2. When you need to introduce various parameters into a table for display, but the table format is not very regular, that is, when it is strictly arranged in rows and columns, it is impossible to put these parameters into the right place at once, such as the table shown in the figure below, what should I do?

Click to see full image

Solution: I used a relatively stupid but effective method to solve it. I wonder how other experts solved it? I implemented it by calling the table node and setting the cell value.

The program reference is as follows:

Program reference diagram

3. If there is a set of data, the rows are even numbers from 2 to 100, and the columns are the corresponding 50 required parameters. What should I do if I need 100 parameters corresponding to all numbers from 1 to 100?

Solution: Use interpolation method. There are two interpolation functions in array function: one-dimensional array interpolation and one-dimensional array interpolation with threshold. The specific procedure is as follows:

Solution

4. When generating an executable file from a written program, how to execute the program without the LabVIEW environment?

Solution:

1. Install RUN-TIME ENGINE, which can be found in the LabVIEW installer.

2. Although RTE is installed on the computer and the front panel is displayed, it cannot run because some subVIs are missing. This is because some dynamic link libraries are missing in the executable file, so they cannot be called in the program.

Some commonly used dynamic link libraries are:

libguide40.dll

mkl_def.dll

mkl_lapack64.dll

Keywords:labVIEW  solutions  WINDOWS Reference address:Small issues solved in LabVIEW projects

Previous article:Labview serial communication
Next article:Design and implementation of a micro virtual oscilloscope

Recommended ReadingLatest update time:2024-11-16 22:34

Write Measurement File in LabVIEW
  The "Write to Measurement File" Express VI is located in the "Programming → File I/O → Write to Measurement File" function palette. The complete icon and terminals are shown in Figure 1.   The Write To Measurement File Express VI writes data to a text-based or binary measurement file. The input and output terminals
[Test Measurement]
Write Measurement File in LabVIEW
"Electronic Postman" System Based on Single Chip Microcomputer and Labview
    1 Overview     With the development of the Internet, in order to facilitate people to receive emails in real time, this article introduces an "e-mailman" system based on a single-chip microcomputer and Labview. The PC program is written using Labview, and the network communication function is realized by connectin
[Microcontroller]
Application of Virtual Instruments and LabVIEW in Biomedical Signal Detection and Processing
1 Introduction to Virtual Instruments   The main functions of all measuring instruments are composed of three parts: data acquisition, data analysis and result display. Among them, data analysis and result display can be completely completed by the software system of the PC. Therefore, as long as certain data acquisi
[Test Measurement]
Design of Universal Test System for Aviation Equipment Based on LabVIEW
0 Preface With the rapid development of science and technology, especially the widespread application of digital technology and various large-scale integrated circuits, my country's avionics equipment has undergone tremendous changes. The structure has become more and more complex, the functions have become more and
[Test Measurement]
Design of Universal Test System for Aviation Equipment Based on LabVIEW
Using XML in LabVIEW
Using XML in LabVIEW 1. What is XML? XML is the abbreviation of Extensible Markup Language, which is a markup language that can be used to create your own tags. It was created by the World Wide Web Consortium (W3C) to overcome the limitations of HTML (Hypertext Markup Language), which is the basis of a
[Test Measurement]
Using XML in LabVIEW
How to call a subVI in Labview
This technique is often used when measuring multiple parameters in sequence to achieve real-time waveform switching and display the waveform of the current test parameter. The specific steps are: right click in the main VI, click Select VI, and then select the VI (subVI) you want to call. Right-click on the
[Test Measurement]
LabVIEW Design Pattern Series - Common Use of Value Change Events
standard: 1. When using the value change event, use the click trigger or click release switch action. This ensures that it is only triggered once and the button returns to the default value. Standard: 1. Advantages of value change events: Both mouse actions and keyboard actions can trigger value change events,
[Test Measurement]
Windows tablets compete with iPad, price determines the winner
Microsoft Windows 8 is the big drama in the second half of the PC industry. Among them, Windows (WOA) tablet computers using ARM architecture have been the focus of brand manufacturers and foundries since this year. However, the industry reported that the material cost (BOM Cost) of WOA is as high as 300~350 US dol
[Mobile phone portable]
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号