Table of contents
1. MAX
2. NI-DAQmx Driver Software
3. Custom Front Panels
4. Example Finder and LabVIEW Community
5. The Easiest Way to Acquire, Analyze, and Log Data
LabVIEW 2010 is a graphical programming environment that makes it easy to use any sensor to measure on any PC bus. Compared with traditional text-based programming languages, LabVIEW can help you collect data more efficiently, whether it is a simple temperature measurement or data capture of a complex system with 10,000 channels.
LabVIEW programs are called virtual instruments (VIs). Each VI includes a front panel and a block diagram. The front panel is equivalent to the user's operating interface, on which various controls such as buttons, switches, graphics, and tables can be placed.
Figure 1. The LabVIEW front panel is the user interface that can be customized with controls such as buttons, knobs, graphs, and charts.
On the program flowchart, you can develop graphical code to collect and analyze measurement data, derive and reuse code, and interact with front panel controls.
Figure 2. On the block diagram, you can write graphical code consisting of nodes, wires, and loop structures.
Data acquisition applications generally include signal acquisition, displaying data in a graph or chart on the front panel, and saving data to a file. In LabVIEW, these functions can be easily implemented, and its configuration and creation are very unique.
MAX
All NI data acquisition (DAQ) devices include Measurement & Automation Explorer (MAX), a configuration and testing tool. MAX features include:
* Use interactive test panels to configure and test data acquisition hardware
* Query device pinouts and documentation
* Create virtual channels
Test Panel
MAX can display all data acquisition devices connected to the computer. In MAX, you can open the test panel of the device and use it to verify whether the signal connection is correct and observe the specific signal value in real time (as shown in Figure 3).
Figure 3. In the Test Panel in MAX, you can test the functionality of your data acquisition device and verify signal connections.
Device Pins
In MAX, right-click the data acquisition device and select "Device Pins" to immediately view the terminals corresponding to the device's analog, digital, and counter channels (as shown in Figure 4).
Figure 4. Use MAX to quickly query device pinouts.
Virtual Channel
In MAX, you can create virtual channels to map configuration information to a specific physical channel on the device, such as scaling factors and input limits. MAX has many virtual channel measurement types, including pressure, force, and torque (see Figure 5). By using virtual channels, you can quickly convert raw voltage into engineering units, such as Newtons or pounds per square inch.
Figure 5. You can use MAX to create virtual channels and set parameters such as scaling factors, input limits, and engineering units.
NI-DAQmx Driver Software
All NI data acquisition devices include NI-DAQmx, a comprehensive hardware driver that includes the DAQ Assistant and a low-level application programming interface (API)
.
The DAQ Assistant is a dialog-based wizard, accessed from MAX or LabVIEW, that allows you to create virtual channels and measurements without programming.
Figure 6. The DAQ Assistant helps you quickly acquire or generate data without programming.
NI-DAQmx API
Although the DAQ Assistant provides a quick and easy way to acquire or generate data without programming, more advanced users may need increased flexibility and low-level control. For them, the DAQ Assistant alone is not enough. The NI-DAQ driver provides a comprehensive API that includes basic and advanced functions that can be used to control parameters such as timing, synchronization, data processing, and execution control (as shown in Figure 7).
Figure 7. Use the API provided by NI-DAQmx to specify advanced parameters such as triggering and synchronization. [page]
Custom front panel
LabVIEW 2010 has hundreds of controls, including drag-and-drop controls, graphics, and 3D drawing tools, which can help you quickly create graphical user interfaces. Right-click these built-in controls to customize their position, size, alignment, scale, and color in seconds.
Figure 8. LabVIEW front panels make it easy to create custom user interfaces, including charts, knobs, and buttons.
Figure 8 shows two controls—Number of Measurements and Delay (sec) and a waveform graph indicator named Temperature Graph. You can see the results generated by this VI on the Temperature Graph indicator by changing the values of the Number of Measurements and Delay (sec) control inputs. The results that this VI generates on the indicator are based on the code that you create on the block diagram.
In LabVIEW 2010, you can completely customize the front panel using custom controls, graphics, and decorations (see Figure 9).
Figure 9. Advanced users can fully customize the look and feel of a LabVIEW front panel.
Example Finder and LabVIEW Community
LabVIEW 2010 includes hundreds of example VIs to help you quickly implement data acquisition applications. You can search for examples using the LabVIEW Example Finder (see Figure 10).
Figure 10. The LabVIEW Example Finder includes hundreds of example VIs for specific applications and industries.
NI Developer Community
In the NI Developer Community, you can exchange the latest sample code, technical guides, reference books, and more with engineers and scientists around the world. While sharing development experience, you can also learn the latest technology and get in touch with experts who develop the same application of LabVIEW or other NI products. Visit the community at ni.com/community
The easiest way to collect, analyze and record data
The easiest and most flexible way to acquire, analyze, and log measurement data is with LabVIEW 2010. And with tools like MAX, NI-DAQmx, and the LabVIEW Example Finder, you can quickly create your application and customize it to your system and needs.
Previous article:Using LabVIEW to simulate and control pulp production in a large paper mill
Next article:Rapidly Develop Monitoring Systems for Grid-Connected Photovoltaic Equipment Using LabVIEW
- 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?
- 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
- What is the difference between W(b) and b in assembly language?
- 【Silicon Labs BG22-EK4108A Bluetooth Development Evaluation】+Power-on and Example Program Test
- "Power amplifier experimental case" application of power amplifier in forward and reverse motion of ultrasonic motor
- Share: [Zhongke Blue News] AB32VG1 Review SDIO (File System)
- Design of audio products based on DSP
- 【Chuanglong Technology Allwinner A40i Development Board】Performance Comprehensive Test
- The idea of single chip microcomputer time-sharing control
- TI white paper "IQ: What is IQ and how to use it"
- Which manufacturers produce 16-bit microcontrollers with 251 cores?
- How to quickly master a technology