Button information------------Returns which mouse button was pressed: Button 1--》left mouse button, Button 2--》right mouse button, Button 3--》mouse wheel button.
Axis Information ------ Returns the current horizontal and vertical position of the mouse. The function can select absolute coordinates, relative to the computer screen, or relative coordinates, relative to the front panel client area of the VI.
The axis information also returns the scroll information. After actual testing, I found that whenever the mouse wheel is rolled up, +120 is returned. When the wheel is rolled down, -120 is returned. Based on this, we can determine the state of the wheel.
Some netizens hope to use the scroll wheel to control the value of a digital control. Below I use the above function to make a simple example program.
文章内容结束
Previous article:LabVIEW Nugget: Use the Concatenate String Function
Next article:LabVIEW programming skills: how to selectively display multiple waveforms
Recommended ReadingLatest update time:2024-11-16 16:36
- Popular Resources
- Popular amplifiers
- 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
- A review of deep learning applications in traffic safety analysis
- Dual Radar: A Dual 4D Radar Multimodal Dataset for Autonomous Driving
- 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
- Please tell me the winding method and other parameters of the EE8 transformer that can increase 0.7V to 7V
- Conversion between CC2640R2F projects
- Pengfeng Technology RVBoards-Nezha (RISC-V SBC) Allwinner Development Board Introduction Part 3
- [Repost] A few simple steps to help you understand the MCU timing diagram
- Cadence Certus Closure Solution is a new generation chip-level convergence solution. Welcome to learn more!
- What is the progress of domestic NPU chips?
- How is JTAG used for chip testing?
- Talk about downloading the DSP28335 register manual
- 4W PLC Power Supply Reference Design with Wide Input Voltage Range
- [Gizwits Gokit3 Review] Device Access-Step 1: Create a New Solution Project