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
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?
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:
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:
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
Previous article:Labview serial communication
Next article:Design and implementation of a micro virtual oscilloscope
Recommended ReadingLatest update time:2024-11-16 22:34
- Popular Resources
- Popular amplifiers
- Network Operating System (Edited by Li Zhixi)
- Virtualization Technology Practice Guide - High-efficiency and low-cost solutions for small and medium-sized enterprises (Wang Chunhai)
- 100 Examples of Microcontroller C Language Applications (with CD-ROM, 3rd Edition) (Wang Huiliang, Wang Dongfeng, Dong Guanqiang)
- Arduino Nano collects temperature and humidity data through LabVIEW and DHT11
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Seizing the Opportunities in the Chinese Application Market: NI's Challenges and Answers
- Tektronix Launches Breakthrough Power Measurement Tools to Accelerate Innovation as Global Electrification Accelerates
- Not all oscilloscopes are created equal: Why ADCs and low noise floor matter
- Enable TekHSI high-speed interface function to accelerate the remote transmission of waveform data
- How to measure the quality of soft start thyristor
- How to use a multimeter to judge whether a soft starter is good or bad
- What are the advantages and disadvantages of non-contact temperature sensors?
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- ULN 2803a and PLC usage issues
- Is there any way to block public messages? It's a waste of time.
- Meet the Electrocardiogram (ECG) Si1172 ECG Evaluation Kit
- Qorvo Launches New Highly Configurable, Compact PMIC Serving IoT and Space-Constrained Applications
- TI C6678 Multi-core DSP Architecture
- [TI mmWave Radar Review] + Belated AWR1443 EVM Board Unboxing
- Watch Shuige's video for a reward | MIPI D-PHY transmitter physical layer consistency test
- Summary of Problems and Solutions in CCS6 Compilation
- [STM32WB55 review] +thread trial 1
- 【ST NUCLEO-G071RB Review】_01_First impression