是德科技
直播中

h1654155275.5614

8年用户 730经验值
私信 关注
[问答]

N9340B跟踪数据到Excel

我正在使用N9340B尝试从我的SA中的迹线1获取频率和幅度信息,以使用VBA进行优化。
使用命令:TRACe1:DATA?
仅返回Y轴信息。
什么是返回X& amp;的最佳方式
来自迹线1的Y轴(频率和振幅)数据?编辑:rcstotts@gmail.com于2014年11月25日上午3:58

以上来自于谷歌翻译


     以下为原文

  I am using a N9340B trying to get frequency and amplitude information from trace 1 in my SA to excel using VBA.  Using the command :TRACe1:DATA? is only returning the Y axis information.  What is the best way to return both X & Y axis (frequency and amplitude) data from trace 1?

Edited by: rcstotts@gmail.com on Nov 25, 2014 3:58 AM  

回帖(2)

李秀华

2018-10-23 16:44:48
您好,我正在努力做与您相同的事情,不同之处在于我正在尝试使用matlab打开跟踪文件.dat并且我没有得到任何相关但奇怪的符号,我知道它是二进制的并且我已经尝试过了
在matab中使用fread,但它返回没有逻辑的值。
你知道怎么做吗?
你知道从.dat到.csv的转换方式吗?
我可以使用matlab读取.csv没有问题。

以上来自于谷歌翻译


     以下为原文

  Hello,

I am trying to do the samething as you, the difference is because I am trying to open a trace file .dat using matlab and I am not getting anything relevant but weird symbols, I know it is in binary and I have already tried to use fread in matab, but it returned values with no logic. Do you have any idea how to do that? do you know a way to convert from .dat to .csv? I can read .csv with no problems using matlab.
举报

莫循虎

2018-10-23 16:55:04
嗨,命令:TRACe1:DATA?
仅在我的N9010A上返回振幅,但“CALC:DATA?”
命令返回频率和幅度......在N9340B上可能是相同的。

以上来自于谷歌翻译


     以下为原文

  Hi, 

command :TRACe1:DATA? return amplitude only on my N9010A, but  "CALC:DATA?" command return frequency and amplitude...maybe same thing on your N9340B.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分