完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,我正在使用上面描述的PSA频谱分析仪系列,我正在试图找出scpi命令将仪器从远程模式返回到本地模式。
我查看了E4440-90607.pdf文档,但找不到它的命令。 在页334,它讨论了此段落中的此类命令:一个本地函数,它是远程命令的补充,导致仪器返回到具有完全启用的前面板的本地控件(有时称为:local,resume)。 但我找不到这样的命令。 有人可以发布scpi命令吗? 谢谢,rok 以上来自于谷歌翻译 以下为原文 Hello, I'm using the PSA spectrum analyzer family described above and I'm trying to figure out the scpi command to return the instrument back to local mode from remote mode. I looked in the E4440-90607.pdf document, but could not find a command for it. On page 334, it talks about such a command from this paragraph: A local function that is the complement to the remote command, causing an instrument to return to local control with a fully enabled front panel (sometimes called: local, resume). But I could not find such a command. Can someone post the scpi command for that? Thanks, rok |
|
相关推荐
3个回答
|
|
您好,您提到的段落专门用于与E444xA系列分析仪进行GPIB通信。
您是否也使用GPIB来控制分析仪? 该段的目的是解释PC上的GPIB接口应该为您提供一个命令/功能,以便将机器重新置于本地。 如果您使用的是National Instruments 488.2软件层,则确实存在此功能。 您可以使用'ibloc'功能将机器重新置于本地模式。 这个'ibloc'功能不是SCPI命令,而是软件API中用于控制PC的GPIB卡的功能。 如果您使用的是“多设备NI-488.2呼叫”,则“EnableLocal”功能将与“ibloc”功能相同。 我希望这可以帮助您解决问题。 最诚挚的问候,约翰 以上来自于谷歌翻译 以下为原文 Hello rok, The paragraph that you mentioned is specifically targeted for GPIB communication with the E444xA series analyzers. Are you also using GPIB to control the analyzer? The goal of that paragraph is to explain that the GPIB interface on your PC should provide you with a command/function to put the machine back into local. If you are using the National Instruments 488.2 software layer, this function is indeed present. You can use the 'ibloc' function to put the machine back into local mode. This 'ibloc' function is not a SCPI command, but a function in the software API to control the GPIB card of your PC. If you are using the 'Multi-device NI-488.2 Calls', the 'EnableLocal' function wil do the same as the 'ibloc' function. I hope that this helps you to solve your problems. With best regards, John |
|
|
|
ctwewer 发表于 2019-3-7 09:51 嗨 - 仅当通过GPIB控制PSA时,仪器才会锁定前面板,直到按下[System / Local]按钮。 告诉分析仪转到本地(GTL)是一个总线级命令。 这在IO Suite随附的VISA文档中有记录。 总线级别命令是viGpibControlREN命令。 以下是执行此操作的示例代码段:stat = viGpibControlREN(viPSA,VI_GPIB_REN_ADDRESS_GTL); PSA还有一个特殊命令,允许前面板锁定和解锁。 当通过LAN控制仪器时,这尤其有用。 命令为“SYST:KLOCK 0 | 1”89601A / 89601B VSA软件只要控制PSA就发送命令“SYST:KLOCK 1”,它还发送SYST:MESS''命令写入消息 屏幕底部让用户知道它是在控制分析仪。 问候 - 以上来自于谷歌翻译 以下为原文 Hi - Only when controlling a PSA over GPIB does the instrument lock the front panel until the [System / Local] button is pressed. Telling the analyzer to Go to Local (GTL) is a bus level command. This is documented in the VISA documentation that comes with IO Suite. The bus level command is the viGpibControlREN command. Here is an example snippet of code to do this: stat = viGpibControlREN(viPSA, VI_GPIB_REN_ADDRESS_GTL); The PSA also has a special command to allow the front panel to be locked and unlocked. This is especially helpful when controlling the instrument via LAN. The command is “SYST:KLOCK 0|1” The 89601A/89601B VSA software send the command “SYST:KLOCK 1” whenever it takes control of the PSA, and it also sends the SYST:MESS ‘ ‘ command to write a message at the bottom of the screen to let users know that it is in control of the analyzer. Regards - |
|
|
|
您好,感谢您的回复。
是的,我正在使用GPIB来控制PSA仪器。 我找到了一个Local Button的代码片段,我适应了C#,它似乎有效。 谢谢,rok 以上来自于谷歌翻译 以下为原文 Hello, Thanks for the reply. Yes, I'm using GPIB to control the PSA instrument. I found a code snippet from Local Button which I adapted to C# and it seems to work. Thanks, rok |
|
|
|
只有小组成员才能发言,加入小组>>
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 01:12 , Processed in 1.465589 second(s), Total 82, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号