完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好,我使用33522A波形发生器,我想知道是否可以创建频率列表以启动频率扫描。
我认为我可以使用“选择列表”按钮并从外部加载列表(USB数据存储)。 问题是我不知道要加载的文件格式。提前告诉你,Guillaume 以上来自于谷歌翻译 以下为原文 Hello, I work with the 33522A Waveform Generator and I'm wondering if it's possible to create a frequency list in order to launch a frequency sweep. I think that I can use "Select list" button and load a list from and external peripheral (USB datastorage). The problem is that I do not know the file format to load. Thanking you in advance, Guillaume |
|
相关推荐
2个回答
|
|
您总是可以使用scpi通过总线发送频率列表:LIST:FREQuencySyntax [SOURce [1 | 2]:] LIST:FREQuency [,等] [SOURce [1 | 2]:] LIST:FREQuency?说明此命令
指定指定通道的频率列表中的频率值(通道1是默认值)。 除了指定输出通道外,您不需要包含可选的“SOURce”关键字和通道号(“1”或“2”)。•如果省略“SOURce”,则使用通道1(默认值)。 •使用“SOURce”,“SOUR”,“SOURce1”或“SOUR1”指定通道1.•使用“SOURce2”或“SOUR2”指定通道2(仅限33522A)。 ParametersNameTypeRange of ValuesDefaultValueNumeric1μHz至30 MHzValues取决于所选的功能。 正弦波,方波和脉冲:1μHz至30 MHz三角形和斜坡:1μHz至200 kHz这是必需参数。 上电默认值是三个频率的列表:100 Hz,1000 Hz和550 Hz。注释•当收到LIST:FREQ命令时,函数发生器清除该通道上任何活动的列表并启动新列表。 返回格式查询返回频率列表中频率的逗号分隔列表。示例以下命令将波形发生器的频率LIST通道1设置为三个频率值。列表:FREQ 2.718E6,3.14E3,6.28318E6以下命令设置 频率LIST波形发生器的通道2为4个频率值.SOUR2:LIST:FREQ 3.580E6,7.072E6,14.330E6,10.113E6,27.185E6以下查询返回通道2的频率列表,如上例所示。 SOUR2:LIST:FREQ?典型回应:3.5800000000000E + 06,7.0720000000000E + 06,14.3300000000000E + 06,1.0113000000000E + 07,2.7185000000000E + 07 以上来自于谷歌翻译 以下为原文 You could always send the frequency list over the bus with scpi: LIST:FREQuency Syntax [SOURce[1|2]:]LIST:FREQuency [, , etc.] [SOURce[1|2]:]LIST:FREQuency? Description This command specifies the frequency values in a frequency list for the specified channel (channel 1 is the default). You need not include the optional "SOURce" keyword and channel number ("1" or "2") except to specify the output channel. • If "SOURce" is omitted, channel 1 (the default) is used. • Use "SOURce", "SOUR", "SOURce1", or "SOUR1" to specify channel 1. • Use "SOURce2" or "SOUR2" to specify channel 2 (33522A only). Parameters Name Type Range of Values Default Value Numeric 1 μHz to 30 MHz Values depend on the function selected. Sine , Square and Pulse: 1 μHz to 30 MHz Triangle and Ramp: 1 µHz to 200 kHz This is a required parameter. The power-on default value is a list of three frequencies: 100 Hz, 1000 Hz, and 550 Hz. Remarks • When the LIST:FREQ command is received, the function generator clears any list active on that channel and starts a new list. Return Format The query returns a comma separated list of the frequencies in the frequency list. Examples The following command sets the frequency LIST channel 1 of the waveform generator to three frequency values. LIST:FREQ 2.718E6, 3.14E3, 6.28318E6 The following command sets the frequency LIST channel 2 of the waveform generator to four frequency values. SOUR2:LIST:FREQ 3.580E6, 7.072E6, 14.330E6, 10.113E6, 27.185E6 The following query returns the frequency list for channel 2, as set in the previous example. SOUR2:LIST:FREQ? Typical response: 3.5800000000000E+06,7.0720000000000E+06,14.3300000000000E+06,1.0113000000000E+07, 2.7185000000000E+07 |
|
|
|
好的,您可以使用记事本创建.lst文件。
格式必须如下所示,然后将其保存为您想要的任何名称.lst5,200.000000,100.000000,1000.000000,550.000000,10000.00000,第一个数字是列表中的频率数,后跟频率本身用逗号分隔 一切都在一条线上。 我要提醒的是,从文件中读取列表的代码非常不能容忍这种格式的变化。 它几乎需要看起来像上面的例子。 它可能接受频率的工程符号,但我知道它不希望在值之间看到额外的空格或换行符。为方便起见,我附上了一个示例。 由于论坛不喜欢.lst extensionfreqtest.zip,我不得不拉上它 以上来自于谷歌翻译 以下为原文 Ok you can create a .lst file using notepad. The format must look something like this, and then save it as whatever name you want.lst 5,200.000000,100.000000,1000.000000,550.000000,10000.00000, The first number is the number of frequencies in the list, followed by the frequencies themselves separated by commas and all on one line. I would caution that the code that reads lists from the file is quite intolerant of variations from this format. It pretty much needs to look like the above example. It might accept engineering notation for the frequencies, but I know that it does not want to see extra spaces or newlines between the values. I have attached an example for your convenience. I had to zip it up since the forum did not like the .lst extension freqtest.zip 附件
|
|
|
|
只有小组成员才能发言,加入小组>>
1231 浏览 0 评论
2351 浏览 1 评论
2161 浏览 1 评论
2026 浏览 5 评论
2910 浏览 3 评论
976浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
709浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
809浏览 0评论
1233浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-27 11:18 , Processed in 1.429070 second(s), Total 78, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号