是德科技
直播中

李泓翔

7年用户 209经验值
私信 关注
[问答]

SCPI怎么知道在读取格式化数据之前选择了哪个通道

有没有办法查询ENA以确定哪个频道是活动的。
我想为用户通过前面板激活的通道获取跟踪数据,而不是以编程方式。
问题是我需要知道在读取格式化数据之前选择了哪个通道。
谢谢你的帮助。
小号

以上来自于谷歌翻译


     以下为原文

  Is there a way to query the ENA to determine what channel is active. I want to take trace data for a channel that has been activated by the user through the front panel, not programmatically. The issue is that I need to know which channel is selected before I read the formatted data.
Thanks for your help.
S  

回帖(2)

孙燕冉

2019-1-21 08:11:23
您好,对于ENA不确定,但对于具有正确固件的PNA,您可以使用这些SCPI命令查找活动通道或测量:SYST:ACT:CHAN?
SYST:ACT:MEAS?
这在PNA帮助文件的“使用SCPI参考跟踪,测量,通道和Windows”部分中进行了描述。或者访问此Web链接:http://na.tm.agilent.com/pna/help/latest
/Programming/Learning_about_GPIB/Referring_to_Traces_Measurements_Channels_Windows_Using_SCPI.htm希望有所帮助,rok

以上来自于谷歌翻译


     以下为原文

  Hello,

Not sure for an ENA, but for a PNA with the right firmware, you can use these SCPI commands to find the active channel or measurement:

SYST:ACT:CHAN?
SYST:ACT:MEAS?

This is described in the PNA help file under the section: 'Referring to Traces, Measurements, Channels, and Windows Using SCPI' Or go to this web link:

http://na.tm.agilent.com/pna/help/latest/Programming/Learning_about_GPIB/Referring_to_Traces_Measurements_Channels_Windows_Using_SCPI.htm

Hope that helps,
rok
举报

吴纯英

2019-1-21 08:17:48
您好,我认为这不会起作用,因为ENA不存在此命令(至少我在程序员指南中找不到它)。
试试:SERV:CHAN:ACT?
此命令的描述:读出活动通道编号(仅查询)请参阅程序员指南:http://cp.literature.agilent.com/litweb/pdf/E5070-90412.pdf#I16.5.3408369

以上来自于谷歌翻译


     以下为原文

  Hello,

I don't think this will work as this command doesn't exist for the ENA (at least I couldn't find it in the programmers guide).
Try :SERV:CHAN:ACT?
Description to this command: Reads out the active channel number (Query only)
See programmers guide:
http://cp.literature.agilent.com/litweb/pdf/E5070-90412.pdf#I16.5.3408369
举报

更多回帖

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