labview过USB控制agilent33220.docVIP

  • 6
  • 0
  • 约10.61万字
  • 约 33页
  • 2016-12-04 发布于河南
  • 举报
labview过USB控制agilent33220

Labview的仪器控制程序设计 摘要 LabVIEW(Laboratory Virtual instrument Engineering)是一种图形化的编程语言,它广泛地被工业界、学术界和研究实验室所接受,视为一个标准的数据采集和仪器控制软件。 通过USB接口直接连接PC和agilent33220任意波形发生器,运用labview来控制agilent33220,产生任意波形。 第一部分,通过labview实现了对指定波形如:直流波(DC),sin三角正弦函数波(sine),矩形波(square),三角波(triangle),斜波(ramp),脉冲(pulse),噪声(noise),SinX/X (sinc)等波形的频率(HZ,KHZ,MHZ),幅值(mV,V)的控制。 第二部分, 对于任意波形。首先,打开画图,手写随意画一个波形,保存为单色位图。打开matlab,读取这张图,并转化为矩阵,编写一个简单的m程序,读取每列中0的高度。并产生一个记录每列0高度的矩阵。输出这个矩阵数据到txt文档。其次,打开labview,读取txt,转化为矩阵。输入给产生任意波形的元件,再输出到33220上,从而产生一个和手写波形一样的波形了。 关键词:labview ,agilent33220 ,matlab Labview instrument control programming Abstract LabVIEW (Laboratory Virtual instrument Engineering) is a graphical programming language, it is widely in industry, academia and research laboratories accepted as a standard data acquisition and instrument control software. Directly connected to PC through USB interface, and agilent33220 arbitrary waveform generator, using labview to control the agilent33220, generate arbitrary waveforms. The first part, through labview achieve the specified waveform such as: DC wave (DC), sin triangular sine wave (sine), rectangular wave (square), triangle (triangle), ramp (ramp), pulse (pulse), noise (noise), SinX / X (sinc) such as the frequency of the waveform (HZ, KHZ, MHZ), amplitude (mV, V) control. The second part, for any waveform. First, open the drawing, handwriting free to draw a waveform, save for the monochrome bitmap. Open matlab, read this map, and into the matrix, write a simple m program to read the height of each column 0. And produce a record height of each column matrix 0. Output of the matrix data to the txt document.Second, open labview, read txt, into a matrix. Input device to generate arbitrary waveforms, and then output to 33,220, and to produce one and the same wave of the hand wave. Keywords: labview ,agilent33220 ,matlab 目录 摘要1 Abstract2TOC \o 1-3 \h \u HYPERLINK \l _Toc797 第一章 引言 4 HYPERLINK \l _Toc18945 1.1 Labview概述 4 HYPE

文档评论(0)

1亿VIP精品文档

相关文档