Driver of Universal Data Acquisition Card Based on LabVIEW

Publisher:TechGuru123Latest update time:2011-11-30 Keywords:LabVIEW Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Driver of Universal Data Acquisition Card Based on LabVIEW

This paper introduces a method of calling a dynamic link library (DLL) through the Call Library Function Node provided by LabVIEW, completing the driver of a universal data acquisition card and realizing the combination of LabVIEW and a universal data acquisition card. ?
Keywords: LabVIEW; driver; data acquisition

Baoding 071003, China)
There are three ways to drive a general data acquisition card in LabVIEW.
First, use the Port I/O icon in the Advanced sub-template in the Function template of LabVIEW to program directly, and read data directly from a specific address memory by manually setting the base address. If the sampling speed requirement is not high, it is a very convenient and intuitive method; second, use the CIN (Code Interface Node) icon in the Advanced sub-template in the Functions template of LabVIEW, which is suitable for directly calling codes written in text programming languages ​​(such as VC). The method of using the CIN node to generate the subVI of the A/D driver can give full play to the high conversion speed of A/D and obtain a high sampling rate. However, the programming is more complicated and cannot be directly modified by LabVIEW; third, use the Call Library Function Node icon in the Advanced sub-template in the Functions template of LabVIEW to dynamically link the DLL library function of the data acquisition card. DLL is actually a function library. The functions in the DLL are called and connected at any time only when the application is running. Compared with static link libraries, DLL can share functions and resources in the library with other applications. Many data acquisition card manufacturers provide drivers in the form of DLL library functions. Users can use some DLL link library programming tools, such as VC and VB, to write applications to call it. Similarly, LabVIEW also provides this function, which is the icon Call Library Function Node, which is placed in the Advanced sub-template within the Function template. By setting this node, the DLL can be directly called. ?
The third method is used in this research system to realize online cutting force data acquisition. The ISA bus-based data acquisition card ACL-8111 is used, and the DLL is directly provided by the manufacturer. ?
Input signal range: ±5V, ±2.5V, ±1.25V, ±0.625V, ±0.3125V (software programming selection); maximum sampling frequency: 30kHz; trigger mode: software, on-board programmable timer or external trigger; data transmission: program control, interrupt control; IRQ level: programmable IRQ2, 3, 4, 5, 6, 7; number of channels: 8 single-ended channels.
The input signal range of this system is ±5V, the sampling frequency is 2000Hz, the A/D data conversion trigger mode uses on-board programmable timer trigger, the data transmission uses interrupt control, the interrupt level is set to 5, the number of channels is 3, and the three channels collect and transmit the X, Y, and Z cutting forces respectively.
The analog signal to be collected is amplified by the charge amplifier, and different gains are selected according to the pre-set; the output signal is A/D converted. After the conversion is completed, the 12-bit conversion result is automatically stored in the data register, and then the data is taken out through the interrupt control and sent to the computer memory for processing. When in use, insert the acquisition card directly into the computer's ISA slot and use its pre-set base address 220H.

Keywords:LabVIEW Reference address:Driver of Universal Data Acquisition Card Based on LabVIEW

Previous article:Long-term analysis of bridge operation status based on LabVIEW
Next article:MCU Control Program Design for Intelligent Instrument Power Supply

Recommended ReadingLatest update time:2024-11-16 17:33

LED bulbs with non-isolated drivers can reduce size and cost
The price of LED bulbs is falling. A year ago, you could buy a Philips 60W dimmable LED bulb to replace an old-fashioned bulb for about $50 , but today, you can buy its home-brand 8W, 800-lumen Insignia bulb, which can replace a 60W incandescent bulb, for only $17 at Best Buy. What changes in the design of LED bulbs
[Power Management]
LED bulbs with non-isolated drivers can reduce size and cost
How to control BLDC motor without Hall? Is the wiring phase of BLDC motor and driver arbitrary?
How to control bldc without Hall In the absence of Hall sensors, the BLDC motor can be controlled using the Sensorless BLDC Control method, which mainly determines the position and speed of the motor based on the back EMF of the motor and drives the motor through an appropriate control strategy. The
[Embedded]
Driver technology is the key to LED reliability and long life
  Under the global trend of energy conservation and carbon reduction, LED lighting is highly anticipated. As the luminous efficiency of high-brightness LEDs has continued to improve in recent years, the unit cost has also declined, prompting the application of high-brightness LEDs to no longer be limited to small an
[Power Management]
Application principles of modulation and demodulation and how to use LabVIEW to implement system design
introduction With the rapid development of the information age, information science and technology has become a powerful driving force for the development of the international society and world economy in the 21st century. Modulation and demodulation systems have been widely used in information transmission systems su
[Test Measurement]
Application principles of modulation and demodulation and how to use LabVIEW to implement system design
stm32 MCU 12864 driver
/**************************************************************** 【File name】lcd12864.h 【Function description】lcd12864 header file 【Author】shifu *****************************************************************/ #ifndef __LCD12864_H #define __LCD12864_H //*************************************************************
[Microcontroller]
Simple analysis of the principles of various drive motors on new energy vehicles
The drive motor system is one of the three core systems of electric vehicles and is the main drive system for the vehicle. Its characteristics determine the main performance indicators of the vehicle and directly affect the vehicle's power, economy and user driving experience. Electric vehicles have diffe
[Embedded]
Simple analysis of the principles of various drive motors on new energy vehicles
Stan Technology launches Micro-LED driver for XR
Recently, at the "2023 Songshan Lake China IC Innovation Summit Forum", Liu Zhaojun, chairman of Sitan Technology, introduced the current status of the Micro-LED industry and the products of Sitan Technology. Display is one of the most important parts of XR applications. On the one hand, the BOM cost is the largest
[Mobile phone portable]
Stan Technology launches Micro-LED driver for XR
Research and design of high-speed and high-precision ADC driving circuit
Introduction In the process of data acquisition, high-frequency interference signals are inevitable. When the frequency of these signals exceeds the Nyquist frequency, unpredictable interference will appear in the digital signal, namely frequency aliasing. In order to minimize or eliminate the impact of
[Analog Electronics]
Latest Analog Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号