matlab 数据 加载 AWG,matlab使用Tektronix®AWG5000和AWG7000系列生成波形–MATLAB®示例

Waveform Generation with Tektronix® AWG5000 and AWG7000 Series – MATLAB® Example

MATLAB® is a software environment and programming language with over 1,000,000 users and supports Tektronix® Arbitrary Waveform Generators through its Instrument Control Toolbox.

One of today’s most challenging design problems in RF technologies, as well as other wireless applications, is the creation of stimulus signals that can fully exercise a prototype. Complex high-frequency modulated signals with jitter, spread spectrum clocking, and other time-variant effects require a benchtop of pulse, function, modulation and RF generators. Using MATLAB® to generate such a signal and output it through a Tektronix® Arbitrary Waveform Generator replaces the need for all that equipment.

The ‘generate_arb_waveform_Tektronix’ script connects to the Tektronix® AWG, resets it, puts the waveform onto channel 1 of the instrument by calling the ‘chirp_signal’ function, enables channel 1 output, and disconnects the instrument. This ‘generate_arb_waveform_Tektronix’ script was generated by Test & Measurement Tool, a graphical tool provided by Instrument Control Toolbox that allows the user to configure and control instruments in MATLAB®.

To execute this example, extract the files from the zip file and type ‘generate_arb_waveform_Tektronix’ in the MATLAB® command window. Notes: Change the IP address in the generate_arb_waveform_Tektronix.m file to the IP address of the AWG. If the Signal Processing Toolbox is not installed, replace the CHIRP function in chirp_signal.m with a different function.

Pre-requisites:

1. TekVISA 3.3 (or newer) – Available for download at:

http://www.tektronix.com

2. IVI Shared Components – Available for download on the IVI foundation website at: http://www.ivifoundation.org/Downloads/SharedComponents.htm

3. Tektronix® AWG5000 and AWG7000 IVI-COM instrument driver – Available for download at:

http://www2.tek.com/cmswpt/swfinder.lotr?cn=awg7000

4. MATLAB® instrument driver for the Tektronix® AWG5000 and AWG7000 Series – Created by Tektronix® and available for download on MATLAB Central at:

http://www.mathworks.com/matlabcentral/fileexchange/20153

This example was created and tested with a Tektronix® AWG7101 Arbitrary Waveform Generator but should work for other Tektronix® generators in the AWG5000 and AWG7000 series including the AWG5002, AWG5004, AWG5012, AWG5014, AWG7101, AWG7102, AWG7051, and AWG7052.

To download a Getting Started Guide for using MATLAB® with your Tektronix® instruments in 15 minutes, visit:

http://www.mathworks.com/tektronix/start

Information on using MATLAB® and Instrument Control Toolbox for configuring and controlling instruments is available at:

http://www.mathworks.com/products/instrument

For additional information on using MATLAB® with Tektronix® instruments, including MATLAB® examples, demos, drivers, and videos, visit:

http://www.mathworks.com/tektronix

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
基于USB的泰克示波器与MATLAB波形传输-泰克程序.pdf 我是今年刚毕业的测控学生,由于要分析驱动器上的各种性能参数,应师傅要求,要把泰克示波器上采集的数据传输到MATLAB上。我最早也是在论坛上找到一些帮助的,那位大虾上传了一份MATLAB官方的资料,只是找不到那篇文章了,在此先表示感谢。        闲话少叙,我说一下我的方法,再把我用到的资料上传一下,程序是单位要求写的不上传了。       1.检查你示波器有没有和PC通信的接口,是什么接口安,装示波器的PC机通信驱动。很重要的。不然下面都是白搭。       2 .利用Instrument control toolbox,建立USB接口和示波器器件,在Matlab_Instrument_Driver.pdf中有详细说明。       3.先通过Instrument control toolbox的工具连接器件和MATLAB,设置参数,读取波形。这个过程中你会得到一个有工具箱生成的M文件,理论上说,这样就可以完成参数的设置和波形的读取。但由于你的示波器有很多通信格式初始化好的参数不能用会发生很多问题,那你就只能做下一步。       4.对工具箱自动生成的M程序结合对应的示波器驱动程序(.MDD文件)阅读,了解M程序的本质,其实就是和示波器之间发指令和数据。期间你可能需要查阅很多MATLAB的HELP文件和泰克示波器相应型号的指令手册,我这里上传我用的泰克示波器TDS2024B指令手册《泰克程序.PDF》。       小弟也只是根据自己现在的一些经验写的这些,很多问题还没解决,比如说,示波器每个波形只能采2500个点吗?我从论坛中的到帮助,写这些做一些小小的回报,如需探讨,小弟QQ244907405。最后附一个实例论文《Matlab与数字示波器的通信.pdf》。还有一个很重要的文件提供示波器与MATLAB通信驱动tektronix_tds2024.mdd,论坛不支持MDD格式,不能上传。
基于USB的泰克示波器与MATLAB波形传输-Matlab与数字示波器的通信.pdf 我是今年刚毕业的测控学生,由于要分析驱动器上的各种性能参数,应师傅要求,要把泰克示波器上采集的数据传输到MATLAB上。我最早也是在论坛上找到一些帮助的,那位大虾上传了一份MATLAB官方的资料,只是找不到那篇文章了,在此先表示感谢。        闲话少叙,我说一下我的方法,再把我用到的资料上传一下,程序是单位要求写的不上传了。       1.检查你示波器有没有和PC通信的接口,是什么接口安,装示波器的PC机通信驱动。很重要的。不然下面都是白搭。       2 .利用Instrument control toolbox,建立USB接口和示波器器件,在Matlab_Instrument_Driver.pdf中有详细说明。       3.先通过Instrument control toolbox的工具连接器件和MATLAB,设置参数,读取波形。这个过程中你会得到一个有工具箱生成的M文件,理论上说,这样就可以完成参数的设置和波形的读取。但由于你的示波器有很多通信格式初始化好的参数不能用会发生很多问题,那你就只能做下一步。       4.对工具箱自动生成的M程序结合对应的示波器驱动程序(.MDD文件)阅读,了解M程序的本质,其实就是和示波器之间发指令和数据。期间你可能需要查阅很多MATLAB的HELP文件和泰克示波器相应型号的指令手册,我这里上传我用的泰克示波器TDS2024B指令手册《泰克程序.PDF》。       小弟也只是根据自己现在的一些经验写的这些,很多问题还没解决,比如说,示波器每个波形只能采2500个点吗?我从论坛中的到帮助,写这些做一些小小的回报,如需探讨,小弟QQ244907405。最后附一个实例论文《Matlab与数字示波器的通信.pdf》。还有一个很重要的文件提供示波器与MATLAB通信驱动tektronix_tds2024.mdd,论坛不支持MDD格式,不能上传。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值