We know that the current digital oscilloscope can accurately capture various periodic signals and non-periodic signals. The digital oscilloscope has become one of the most important equipment for collecting, recording and analyzing various signals in scientific research experiments and engineering projects . In many cases, it is necessary to process and analyze the data collected by the digital oscilloscope, and finally complete the needs of remote automatic testing and analysis. Therefore, remote automatic control of the oscilloscope, automatic operation of the various functions of the oscilloscope and data processing have become a necessary link in many scientific research experiments and engineering projects. Recently, I often receive calls from many engineers asking about how to control the oscilloscope. Let's talk about the steps and methods of computer control of oscilloscopes, and use examples for analysis and explanation.
1. System hardware architecture
Figure 1 System hardware architecture
The computer controls the oscilloscope by establishing a connection with the oscilloscope via GPIB or LAN (network port). The hardware architecture diagram of the system is shown in Figure 1.
2. System software architecture
Figure 2 System software architecture diagram
Figure 2 is a diagram of the system software architecture of the computer-controlled oscilloscope. The entire software development and the operating environment after the software development are on the Windows operating system platform. The application program written controls the oscilloscope through TekVISA.
3. Example of computer controlled oscilloscope steps (taking LAN port control as an example, development software: labview)
The following is a detailed description of the steps on how to program a computer to control an oscilloscope.
3.1 Selection of development software
There are many popular analysis and development software on the market, including VC/VC++, VB/VBA, Matlab, Labview, LabWindow CVI and other development software. You can choose according to your personal preferences and familiarity with a certain software.
3.2 Installing the Driver
TekVISA is a VISA library developed by TektroNIx. It can be downloaded for free on the Tektronix website. If it is an oscilloscope from another company, you can also use TekVISA software. After TekVISA is running, it will automatically search for LAN and GPIB interface devices connected to the network and display them in the prompt box, as shown in Figure 3. Different instruments can be distinguished based on different IP addresses.
Figure 3 TekVISA automatically searches for instruments
3.3 Selection of control interface
There are many interfaces to establish connections between computers and oscilloscopes, mainly GPIB, LAN, USB and other interfaces.
a..LAN [TCPIP::192.168.0.188::INSTR]
b. GPIB [GPIB0::1::INSTR]
c. USB [USB::0X1234::125::A22-5::INSTR](DPO4K/3K/AFG3K)
3.4. Basic settings of oscilloscope and PC (taking LAN port as an example)
a. Set the IP address of the oscilloscope, for example: 192.168.0.168
b. Set the IP address of the PC, for example: 192.168.0.188
c. Turn off the firewall of the oscilloscope and PC's Windows and anti-virus software
3.5 Start TekVISA and make related settings
a. Change the oscilloscope's communication interface to LAN, as shown in Figure 4 below.
Figure 4 The oscilloscope's communication interface is changed to LAN
b. Open TekVISA Instrument Manager on the PC, see Figure 5 and Figure 6, and check whether the PC and oscilloscope are connected and whether the oscilloscope is found.
3.6 Start LABVIEW and start writing control program
a. Start LabVIEW and open the Front Panel of LabVIEW to write the relevant software operation interface, as shown in Figure 7.
Figure 7 LabVIEW control oscilloscope software operation interface
b. Open the Block Diagram programming interface of labview to write the program to control the oscilloscope.
c. Create an object, see Figure 8.
Figure 8
d. Set the oscilloscope parameters. According to the actual measurement requirements and the requirements of subsequent data processing, set the oscilloscope acquisition mode, oscilloscope channel, vertical resolution, sampling rate, trigger type, record length and other parameters, as well as the corresponding measurement parameters. Figure 9 shows how to set the oscilloscope to automatically measure the frequency, and Figure 10 shows how to automatically read the oscilloscope's measurement value.
e. After the oscilloscope meets the trigger condition, it collects data and displays the collected data on the software interface. See Figure 11 and Figure 12.
In this way, a complete LabVIEW program for controlling the oscilloscope is written, and engineers can also add the data processing part according to their own application requirements.
Previous article:Analysis of six common problems when using an oscilloscope
Next article:Notes on Tektronix digital oscilloscopes
Recommended ReadingLatest update time:2024-11-16 16:17
- 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
- Modern Testing Technology and System Integration (Liu Junhua)
- Computer Control System Analysis, Design and Implementation Technology (Edited by Li Dongsheng, Zhu Wenxing, Gao Rui)
- 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
- Vim developed entirely in Python
- [ESK32-360 Review] 5. Run a real serial port example
- Google Translate no longer provides translation services to China (temporary solution)
- 2021 Munich South China Electronics Show launches the industry's annual keywords
- Capacitive touch
- RF engineers are bringing the Internet to the world
- Differential Amplification
- Cadence Problem
- Detailed analysis of the working mode of the microcontroller IO port
- Purgatory Legend-PS2 Interface War