是德科技
直播中

孙燕冉

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

E444XA用于本地模式的频谱分析仪系列scpi命令找不到

你好,我正在使用上面描述的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)

何秀珍

2019-3-7 09:51:08
您好,您提到的段落专门用于与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
举报

李欢

2019-3-7 10:08:19
引用: ctwewer 发表于 2019-3-7 09:51
您好,您提到的段落专门用于与E444xA系列分析仪进行GPIB通信。
您是否也使用GPIB来控制分析仪?
该段的目的是解释PC上的GPIB接口应该为您提供一个命令/功能,以便将机器重新置于本地。

嗨 - 仅当通过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 -
举报

孙燕冉

2019-3-7 10:21:29
您好,感谢您的回复。
是的,我正在使用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
举报

更多回帖

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