1 Introduction
LabVIEW is a graphical programming language launched by National Instruments ( NI ) in the United States. It is also a famous virtual instrument development platform. It plays the leading role in the key concept of virtual instruments, "software is instrument". It combines the high performance and flexibility of graphical programming with high-end performance and configuration functions designed for test measurement and automated control applications. It can provide necessary development tools for various applications such as data acquisition , instrument control, measurement analysis and data display. The expression and function of LabVIEW are similar to actual instruments, but the LabVIEW program can easily change settings and functions. Therefore, LabVIEW is particularly suitable for laboratories and occasions where the parameters and functions of instruments and equipment need to be changed frequently. This design is based on the LabVIEW platform environment to build a virtual multimeter. The knob of the virtual multimeter is designed according to the real DT9205 mode.
The external signal is input into the computer using the data acquisition card, and the measurement of various parameters is realized in the software interface of the virtual multimeter.
2. Virtual multimeter design
2.1 Display Panel Design
Use the [Controls/New Style/Value/Dial] command to place a dial control on the front panel and set its properties: set the data type to [Unsigned Long Integer]; double-click the option in the [Text Label] column in the [Text Label] tab, write the name corresponding to the knob, and then click the [Insert] button, repeat multiple times, and write the name of each item. The knob interface is shown in Figure 1.
Place a string on the front panel to display the measurement results. Place a numeric input control to control the measurement accuracy. Users can select the measurement accuracy through keyboard input or drop-down menu. Also place a working indicator light to indicate the working status of the instrument. Place a text display box to display time and information.
2.2
In the rear panel, place a conditional structure to instruct the multimeter to perform different actions for different scales of the knob. Set 32 branches in the conditional structure so that each branch corresponds to 32 different actions. Connect the knob to the [Branch Selector] of the conditional structure. Branches 0-31 correspond to the text label values of the knob.
Branch 0 displays the on/off status of the system. The default is off, the indicator light is off, and the display shows [Off].
Branch 1 is responsible for detecting diodes. When the red test lead is connected to the anode of the diode, the circuit in the system is connected, and the display shows "the red test lead is connected to the anode of the diode at this time". When it is connected in reverse, it will show "the red test lead is connected to the cathode of the diode at this time". When the test lead is not connected to the diode, it will show "no diode is detected". The program flowchart is shown in Figure 2.
Branches 2 to 6 are responsible for the detection of capacitance, and each branch has a different range. During the measurement, the size of the data is first detected to determine whether the measured value exceeds the range. If it does not exceed the range, the measurement accuracy is read next; if it exceeds the range, "Out of measurement range, please select a high position" is displayed in the text box to prompt the user to switch to a high position.
The program flowchart is shown in Figure 3.
Experiments are the bridge between theory and practice. In recent years, traditional laboratories have many limitations, such as outdated experimental equipment, slow update speed, high cost, etc., which are increasingly unable to meet the needs of teaching and scientific research. With the rapid development of virtual simulation technology and network technology, building network virtual laboratories and virtual instruments will become the first economical and efficient solution.
Previous article:Development of Solar Jet Refrigeration Measurement and Control System Based on LabVIEW
Next article:Improving the Robotic Arm Design Process with LabVIEW and SolidWorks
- Popular Resources
- Popular amplifiers
- 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?
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- Innovation is not limited to Meizhi, Welling will appear at the 2024 China Home Appliance Technology Conference
- Innovation is not limited to Meizhi, Welling will appear at the 2024 China Home Appliance Technology Conference
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- ROHM R Classroom: Power supply design technical information is continuously updated. Click to download
- Is the era of Wi-Fi 6 really coming? Are the original wireless routers going to be eliminated?
- CB140 Hardware Introduction
- ADI's LT8645SIV#PBF chip uses the EN pin to control power on and off, causing it to burn out. Help~
- Problems with STM32F103C8T6 shutdown mode
- Real-time video processing set-top box.rar
- Three simple steps to operate the msp430 serial port interrupt
- 【Ufan Learning】How small is the Ufan learning board? ?
- [MicroPython] STM32 branch fixes a CDC problem when USB is reconnected
- Is Raspberry Pi considered open source hardware?