当前位置:网站首页>Labview--- signal generator
Labview--- signal generator
2022-07-20 17:26:00 【Hua Weiyun】
Preface :
*️ Author's brief introduction : A bowl of soybean paste *️ What brings happiness to everyone is aja me !
Shanglan village programming expert !
motto : Success is not only in the future , It's from the moment you decide to do it , It's accumulated over time .
🧙 Due to the limited knowledge reserve , If there is a problem in the article , Please correct !thanks!
If you like aja's article, you can give it to Sanlian Or often come to see a sauce lying 🥺
Series index :
Series name | link |
---|---|
labview experiment — Temperature detection system | |
labview experiment – Signal generator | |
labview experiment — Dual channel oscilloscope | A sauce will wait for a few more days 🧑 |
labview experiment — Sound card acquisition and wavelet analysis | Brothers, let's take a few days off |
labview experiment — Greedy Snake games | A sauce wants to lie flat for a few days 🧒 |
labview experiment —pid Control water tank | Asahi will update immediately after taking a rest |
Preface
A sauce's private teaching ! To see is to earn !*️
Compared with the previous experiment, the knowledge points of this experiment are significantly increased , Everyone must practice more by themselves
This time, I hope you can achieve the following achievements :
1. Learn and master the use of charts and graphs , Understand the difference ;
2. master Express VI Technology to quickly and easily build a professional testing system ;
3. Learn and master LabVIEW Documents in I/O operation .
If you need source code, click this link :
Experiment two
One 、 The experimental requirements
== requirement :== Design a signal generator , So that it can have a variety of waveform display forms ( such as , Sine wave 、 Triangle wave 、 Custom waveform, etc ), At the same time, the waveform frequency 、 Adjust parameters such as amplitude . The maximum value of the waveform signal can be calculated 、 Minimum and average . It can save and read various waveform data .
Beautiful interface is required !
A sauce designed front panel :
Two 、 Operation steps
Experimental principle :
Experimental principle :
(1)LabVIEW Contains many graphical display controls : Waveform chart 、 Waveform 、XY chart 、 Intensity diagram / Chart 、 Digital oscillogram 、 Three dimensional graphics
Oscillogram and oscillogram —— Display data with constant sampling rate . Waveforms usually collect data into an array first , Then draw the data into the graph ( Draw block by block ); The waveform chart adds new data points to the displayed data points to form a historical record ( Draw point by point ).
XY chart —— Display data with non-uniform sampling rate and data of multivalued function .
Intensity diagram / Chart —— Display the value of the third dimension in color on the two-dimensional diagram , Display three-dimensional data on a two-dimensional diagram .
Digital oscillogram —— Display data in the form of pulses or groups of digital lines .
Three dimensional graphics —— On the front panel ActiveX Display three-dimensional data on the three-dimensional diagram of the object .
(2)abVIEW The readable and writable file formats mainly include : text file 、 Binary 、 Data record file .
(3)LabVIEW Medium “ file I/O” The sub selection board has multiple file operation functions ( Such as writing / Read spreadsheet file 、 write in / Read text file 、 write in / Read binary 、 write in / Read data record file, etc ), Reasonable selection will realize new construction 、 open 、 close 、 read / Write 、 Delete 、 Copy 、 Move and other file operations .
The design idea of a sauce :
Follow the sauce step by step !
Waveform generation
First, the module of waveform generation is realized .
The waveform generation module is opened according to the following steps :
Next, we create an enumeration constant . set an option : Sine wave 、 Triangle wave 、 Custom waveform, etc :
Right click to set properties :
Then establish a conditional structure , Connect the enumeration constant to the branch selector .
Next, we will show the schematic diagram of each waveform generation one by one .
== white Gaussian noise :==
== Sine wave :==
== square wave :==
== Uniform white noise :==
== Sawtooth wave :==
== Triangle wave :==
== Custom formula :==
Parameter display
Next, display parameters 🧒
The control we use here is == Statistics ==, His opening method is as follows :
Then connect according to the following figure :
Waveform display
Create a waveform chart after the window after the waveform generation in the first step to realize the image :
We need to add a program stop button , Connect to cycle condition .
So far, the waveform creation and display have been completed !
file save
Next we save the file !
First introduce the basic steps :
Just follow this order , You can save the waveform .
The location of these controls is :
We use conditional structure to save waveform files , Select the above enumeration constant as the branch selection condition .
Schematic diagram is as follows :
== white Gaussian noise :==
== Custom formula :==
== Sawtooth wave :==
== Sine wave :==
== square wave :==
== Uniform white noise :==
== Triangle wave :==
Innovation and interface
A sauce's innovation time !
Look at the interface designed by ajiang :
summary
End of the flower !
If you like this article or feel helpful , Give a sauce == Three companies support == Well !
边栏推荐
- [JDBC] encapsulation of database addition, deletion, modification and query operations
- review第1遍,220616,数据仓库DWD层,视频,
- Deeply analyze the underlying implementation principle of serialization and deserialization
- Leetcode57-插入区间详解
- 11. Concept and level of processor scheduling
- Enhanced aggregation, theme, data warehouse DWB, DWS layer dimensionality reduction, video, review for the first time, 220620,
- Review 1, 220619, Data Warehouse DWB Layer downsize, video,
- Renderdoc frame debugger
- OCR相关资源
- How does redis expire and delete?
猜你喜欢
The advantages and disadvantages of the implementation of ID generator and the principle analysis of the optimal ID generator
One-vs-rest network-based deep probability model for open set recognition解读
Acquisition and pretreatment of vibration signal
不是我说,不掌握这些坑,你敢用BigDecimal吗?
# 搭建用户行为分析系统(一)——概述
大华海康摄像头视频拉流
Judge whether the two time ends contain intersection
二进制、八进制、十进制、十六进制之间的转换
Detailed explanation of parental delegation model and destructive parental delegation model
Eureka强制下线服务
随机推荐
9. Process communication
C2ae: class conditioned auto encoder for open set recognition cvpr2019 open set recognition paper interpretation
Explain output analysis of MySQL
tensorRT
Review 1, 220619, Data Warehouse DWB Layer downsize, video,
requests模块用法举例
Roommates master binary tree while playing cloud top (super detailed)
Swagger(或Postman)关于日期类型的传参方式
二进制、八进制、十进制、十六进制之间的转换
Open-set recognition with gradient-based representations
OpenGAN: Open-Set Recognition via Open Data Generation
ThreadLocal的脏数据、内存泄露
google chrome卸载之后无法安装成功
220617, data warehouse DWD,
Oracle笔记
Review the first time, 220619, data warehouse DWB layer dimensionality reduction, video,
舍友一边玩云顶一边掌握二叉树(超详细)
Learning Placeholders for Open-Set Recognition
review第2遍,220614,视频,Day03_数据仓库设计,
review第1遍,220619,数据仓库dwb层降维,视频,