LabVIEW Programming Real-time Control of KEITHLEY 6517A Electrometer
Based on the GPIB interface bus, the simplest button commands in 6517A are used to realize real-time control of 6517A panel operations and synchronous display of information on the LabVIEW5.1 platform.
Keywords: LabVIEW programming; computer simulation; 6517A electrometer
concise code and high execution efficiency; it can fully realize the functions of each button on the real panel, and can basically display the various information displayed by 6517A synchronously; independent window, does not visually interfere with the main program window, so as to facilitate user use.
For complex uncompiled LabVIEW programs, the code is required to be as concise as possible, which is beneficial to improve the running speed. In addition, considering that the adjustment of 6517A parameters is only a small part of the data acquisition and control of the experimental station, we did not use the LabVIEW subroutine provided by KEITHLEY with the instrument. For 6517A, there are three ways to realize the functions of the panel buttons: one is to use the function selection commands in its SCPI commands, such as using various commands in the SENSe command group to select the measurement content (voltage, current, resistance and charge) and various parameters related to the measurement of these quantities [1]. This method is comprehensive and can directly realize a certain function with a sufficiently long command, which may require pressing multiple keys to realize, and the user does not need to know the display information of the 6517A front panel (the LabVIEW subroutine provided by KEITHLEY is written in this way). The disadvantage is that the code command is long and complicated to write, and all SCPI commands must be very familiar. Another way is to use the SYSTem:KEY〈NRf〉 command in the SYSTem command group. Each function key on the 6517A function panel corresponds to a number. For example, executing: SYSTem:KEY 15 is equivalent to manually pressing the V (voltage) key once. Using this method basically "copies" the buttons on the front panel on the computer monitor. Although setting a parameter requires multiple button presses and the selection menu needs to be displayed synchronously on the computer, the code is concise and the interface function provided by LabVIEW can be used to completely simulate the front panel of 6517A in appearance. It is a good method. The third method is to use DDC language, which has a concise syntax, but is difficult to remember, difficult to maintain, and not powerful. We did not consider it when writing. ?
2.2 Buttons
Figure 1 is the interface of the 6517A subVI. The character "Ω" in the figure has been replaced by "Ohm". It tries to imitate the front panel of the actual instrument, except that the POWER switch of the 6517A is replaced by the RETURN button. The mechanical action of each button is set to "Latch when Released", so that every time the button in the figure is pressed, the program sends a corresponding command to the 6517A through the GPIB interface to complete the manual key press action. Then the button floats up and will not cause malfunction. The program corresponding to the button is a "true?false" case structure. Write the command in True CASE: SYSTem: KEY 〈NRf〉 (Figure 2), and leave it blank in False CASE. When you click the button with the mouse, 6517A will complete the corresponding key action according to the command. As shown in the command in the figure, the GPIB write control sends: SYST: KEY 15 to 6517A, and it is completed by pressing the "V" key once.
?
Previous article:Implementation methods of two check codes of Modbus protocol based on LabVIEW
Next article:Research on On-line Intermittent Turbidimeter
Recommended ReadingLatest update time:2024-11-16 19:55
- 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)
- High signal-to-noise ratio MEMS microphone drives artificial intelligence interaction
- Advantages of using a differential-to-single-ended RF amplifier in a transmit signal chain design
- ON Semiconductor CEO Appears at Munich Electronica Show and Launches Treo Platform
- ON Semiconductor Launches Industry-Leading Analog and Mixed-Signal Platform
- Analog Devices ADAQ7767-1 μModule DAQ Solution for Rapid Development of Precision Data Acquisition Systems Now Available at Mouser
- Domestic high-precision, high-speed ADC chips are on the rise
- Microcontrollers that combine Hi-Fi, intelligence and USB multi-channel features – ushering in a new era of digital audio
- Using capacitive PGA, Naxin Micro launches high-precision multi-channel 24/16-bit Δ-Σ ADC
- Fully Differential Amplifier Provides High Voltage, Low Noise Signals for Precision Data Acquisition Signal Chain
- 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
- SensorTile.box firmware upgrade first experience
- EPLAN P8 Advanced Tutorial (Chinese)
- [ESP32-Audio-Kit Audio Development Board Review] Part 3 play_mp3_control
- PCB manufacturing experience summary (2)
- [Telink B91 Universal Development Kit] Questions about the functions of TX and RX on the burning tool
- FPGA Design Process
- Power supply obstacles + power supply SBC selection and pitfalls
- Sharing of key points on the use of ADI passive components
- Four design considerations for telematics hardware in connected cars
- Wide voltage input USB-C, 5V/3A output adapter reference design