完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,我对SCPI很新。
我正在使用KeySight的专家连接并在其中使用命令。 该仪器是53131A。 我不知所措,因为我对SCPI不太熟悉。 我有SCPI文档和操作手册,编程指南。 这个编程指南对我来说很混乱。 您是否有关于如何使用SCPI逐步与之通信的任何教程或示例? 我曾尝试过技术帮助,但只是一点一滴。 使用PC,53131A,GPIB打开并连接并运行专家连接。 它是连接的。 并准备编程..我键入如下:FUNC'FRE1' - >按下发送命令按钮 - >确定:READ:FREQ? - >发送& 按下读取按钮 - > OK:FUNC'FREQ2' - >按下发送命令按钮 - > OK:READ:FREQ? - >发送& 按下读取按钮 - >错误---“CH2”未启用,如仪器中指示的LCD为什么不起作用? 什么命令用于选择CH2? 克莱门特 以上来自于谷歌翻译 以下为原文 Hi I am very new to SCPI. I am using KeySight's Expert Connection and using command in it. the instrument is 53131A. I am at a loss as i am not very familiar with SCPI. I have SCPI documents as as operating manual, programming guide. this programming guide is quite confusing to me. Do you have any tutorials or examples as to how to use SCPI to communicate with it step by step? I have tried with help from technical help but only bit by bit. With PC, 53131A, GPIB on and connected and Expert Connection running. It is connected. and ready for programming.. I keyed in like :FUNC 'FRE1' -> send command button pressed -> Ok :READ:FREQ? -> send & read button pressed -> OK :FUNC 'FREQ2' -> send command button pressed -> OK :READ:FREQ? -> send & read button pressed -> Error --- "CH2" is not enabled as indicated LCD in the instrument Why does it not work? What command is used to select CH2? Clement |
|
相关推荐
1个回答
|
|
嗨,Clement,SCPI命令可能令人困惑,但是有几个命令你可以从那里开始然后从那里构建。
在与仪器通信后(例如通过Keysight Connection Expert),用于进行测量的最佳命令是MEASure? 命令:MEAS:FREQ? (@ 2)此命令配置计数器(将各个计数器参数设置为预定义值),启动计数器(准备接收触发器),并在触发(内部)发生时返回测量值。 (@ 2)选择通道2.通过按交互式IO'发送&发送此命令。 读'钥匙。 要从那里构建,应使用的下一个命令是CONFigure命令:CONF:FREQ(@ 2)此命令以与MEASure命令相同的方式配置计数器,但不会自动启动计数器以开始测量。 CONFigure使您可以使用“低级”命令更改CONFigure设置的默认值中的各个参数。 例如,CONFigure将输入阻抗设置为1 Mohm。 如果要将阻抗更改为50欧姆,可以发送:CONF:FREQ(@ 2)INP2:IMP 50要在CONF命令后启动计数器,您可以使用READ吗? 或INIT后跟FETCh?。 读? 与发送INIT和FETC相同? 背靠背。 您发送的命令可能是:CONF:FREQ(@ 2)INP2:IMP 50 READ? 使用Interactive IO,您可以将命令发送到一个字符串中:CONF:FREQ(@ 2);: INP2:IMP 50;:READ? 然后按发送& 读。 请注意,来自不同子系统的多个命令(另一个SCPI术语)必须用分号(;)和冒号(:)分隔。 再次,从MEASure开始? 和CONFigure然后使用低级命令(例如INP2:IMP)根据需要更改特定参数。 希望这能让你开始。 以上来自于谷歌翻译 以下为原文 Hi Clement, SCPI commands can be confusing, but there are a couple of commands you can start with and then build from there. The best command to use to make a measurement after you have communication with the instrument (e.g. through Keysight Connection Expert) is the MEASure? command: MEAS:FREQ? (@2) This command configures the counter (sets individual counter parameters to predefined values), initiates the counter (prepares it to receive a trigger), and returns the measurement when the trigger (internal) occurs. (@2) selects channel 2. Send this command by pressing the Interactive IO 'Send & Read' key. To build from there, the next command that should be used is the CONFigure command: CONF:FREQ (@2) This command configures the counter in the same manner as the MEASure command, but does not automatically initiate the counter to start the measurement. CONFigure enables you to use 'low-level' commands to change individual parameters from their defaults set by CONFigure. For example, CONFigure sets the input impedance to 1 Mohm. If you want to change the impedance to 50 ohms you can send: CONF:FREQ (@2) INP2:IMP 50 To initiate the counter following the CONF command you can use READ? or INIT followed by FETCh?. READ? is the same as sending INIT and FETC? back to back. The commands you send could then be: CONF:FREQ (@2) INP2:IMP 50 READ? Using Interactive IO you can send the commands in a single string as: CONF:FREQ (@2);:INP2:IMP 50;:READ? And then pressing Send & Read. Note that multiple commands from different subsystems (another SCPI term) must be separated by a semicolon (;) and a colon (:). Again, start with MEASure? and CONFigure and then use the low-level commands (e.g.INP2:IMP) to change specific parameters as needed. Hope this gets you started. |
|
|
|
只有小组成员才能发言,加入小组>>
1271 浏览 0 评论
2371 浏览 1 评论
2187 浏览 1 评论
2061 浏览 5 评论
2943 浏览 3 评论
1085浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
744浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
906浏览 0评论
1271浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-19 05:14 , Processed in 1.202074 second(s), Total 76, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号