完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
所有,我正在尝试捕捉技术人员选择的任何迹线(通过前面板)作为PNA-X上的Active Trace。
要通过GPIB读取跟踪,您必须首先选择它,如下所示。 在这种情况下,跟踪名为CH1_S11_1:“:CALCulate1:PARameter:SELect CH1_S11_1”现在可以这样读取://请求跟踪数据“:CALCulate1:DATA?SDATA”//接收跟踪数据READ BINBLOCK ... 麻烦的是,当技术选择不同的痕迹时,我无法知道它的名字是什么。 似乎没有GPIB / SCPI命令返回活动跟踪的名称。 我试过WRITE TEXT“:CALCulate1:PARameter:SELect?”,但它只返回之前通过GPIB而不是前面板选择的任何跟踪的名称。感谢任何帮助。谢谢, - Bill Drago高级工程师L3 Communications / Narda Microwave East 435 Moreland Road Hauppauge,NY 11788 631-272-5947 / William.Drago@L-3COM.com编辑:WDrago于2014年9月25日上午8:21 以上来自于谷歌翻译 以下为原文 All, I’m trying to capture whatever trace the technician has selected (via front panel) as his Active Trace on the PNA-X. In order to read a trace via GPIB you have to select it first as follows. In this case the trace is named CH1_S11_1: ":CALCulate1:PARameter:SELect CH1_S11_1" Now it can be read like this: // Ask for trace data ":CALCulate1:DATA? SDATA" // Receive trace data READ BINBLOCK.... The trouble is, when the tech chooses a different trace I have no way of knowing what its name is. The appears to be no GPIB/SCPI command to return the name of the Active Trace. I’ve tried WRITE TEXT ":CALCulate1:PARameter:SELect?, but that just returns the name of whatever trace was previously selected via GPIB, not the front panel. Any help is appreciated. Thanks, -- Bill Drago Senior Engineer L3 Communications / Narda Microwave East 435 Moreland Road Hauppauge, NY 11788 631-272-5947 / William.Drago@L-3COM.com Edited by: WDrago on Sep 25, 2014 8:21 AM |
|
相关推荐
4个回答
|
|
嗨,你试过这个命令吗?
系统:活动:测量? (只读)返回活动测量的名称。 在查看PNA显示时,活动测量是在跟踪状态区域中具有突出显示的Tr#的跟踪。 只有显示的测量值才能激活。 如果没有活动测量,则返回“”(空字符串)。 示例SYST:PRES SYST:ACT:MEAS? '返回'CH1_S11_1“可能有更好的方法:我认为你有一个带有GUI的软件来设置测量并获取数据。 为什么不提供一个对话框,其中包含技术人员选择和保存测量数据的参数列表? 您可以使用软件中显示的参数管理测量名称的映射。 因此,当技术人员在对话框中选择一个参数并单击“保存”时,您可以找到相应的测量名称并保存跟踪数据。 通过这种方式,技术人员无需在您的软件和PNA固件GUI之间切换。 以上来自于谷歌翻译 以下为原文 Hi, have you tried this command? SYSTem:ACTive:MEASurement? (Read-only) Returns the name of the active measurement. While looking at the PNA display, the active measurement is the trace that has a highlighted Tr# in the Trace Status area. Only displayed measurements can be active. If there is no active measurement, " " (empty string) is returned. Examples SYST:PRES SYST:ACT:MEAS? 'Returns "CH1_S11_1" There may be a better way of doing this: I think you have a software with GUI to set up the measurement and acquire the data. Why don't you provide a dialog with the list of parameters for the technician to choose and save the measurement data? You can manage the mapping of the measurement names with the displayed parameters in the software. So when the technician selects one parameter on the dialog and click Save, you can find the corresponding measurement name and save the trace data. In this way the technician doesn't need to switch between your software and the PNA firmware GUI. |
|
|
|
> {quote:title = ningchen写道:} {quote}>嗨,你试过这个命令吗? >> SYSTem:ACTive:MEASurement? 这样做,谢谢! >可能有更好的方法:我认为你有一个带有GUI的软件来设置测量并获取数据。 为什么不提供一个对话框,其中包含技术人员选择和保存测量数据的参数列表? 对于生产测试,我会这样做,但这是为了工程实验室,他们正在创建新的跟踪/测量,因为硬件问题决定。 如果我告诉他们“捕获”按钮将处理/保存他们正在使用的任何痕迹,他们会很高兴。 再次感谢, - 比尔 以上来自于谷歌翻译 以下为原文 > {quote:title=ningchen wrote:}{quote} > Hi, have you tried this command? > > SYSTem:ACTive:MEASurement? That does it, thanks! > There may be a better way of doing this: I think you have a software with GUI to set up the measurement and acquire the data. Why don't you provide a dialog with the list of parameters for the technician to choose and save the measurement data? For production test I would do that, but this is for the engineering lab where they're creating new traces/measurements as hardware problems dictate. If I tell them the "Capture" button will process/save whatever trace they're working with they'll be happy. thanks again, -Bill |
|
|
|
顺便说一下,有一种很好的方法可以帮助您找到所需的SCPI命令。
当您打开PNA帮助chm文件时,左侧有一个导航栏。 如果单击导航栏中的“编程”,右侧会有一个模拟的PNA用户界面。 要查找活动跟踪的命令,请单击菜单“Trace” - >“Trace / Chan” - >“Manage Meas”,然后您将看到设置/读取测量名称的命令。 以上来自于谷歌翻译 以下为原文 By the way, there is a good way to help you find the SCPI commands you need. When you open the PNA help chm file, there is a navigation bar on the left. If you click "Programming" in the navigation bar, there is a simulated PNA user interface on the right. To find the command for the active trace, click menu "Trace"->"Trace/Chan"->"Manage Meas", then you will see a command to Set/Read Measurement name. |
|
|
|
平凡的世界12 发表于 2018-10-23 15:42 > {quote:title = ningchen写道:} {quote}>顺便提一下,有一种很好的方法可以帮助你找到你需要的SCPI命令。 >当您打开PNA帮助chm文件时,左侧有一个导航栏。 如果单击导航栏中的“编程”,右侧会有一个模拟的PNA用户界面。 要查找活动跟踪的命令,请单击菜单“Trace” - >“Trace / Chan” - >“Manage Meas”,然后您将看到设置/读取测量名称的命令。 知道了谢谢。 让我偏离正轨的是,在PNA的前面板上,您可以执行“跟踪”>“选择跟踪”以选择“活动跟踪”。 我没有意识到前面板上的Active Trace对应于SCPI中的Measurement Name。 连接在哪里? 我在所有PNA文档中搜索Active Trace。 非常令人沮丧...再次感谢您的帮助。 -法案 以上来自于谷歌翻译 以下为原文 > {quote:title=ningchen wrote:}{quote} > By the way, there is a good way to help you find the SCPI commands you need. > When you open the PNA help chm file, there is a navigation bar on the left. If you click "Programming" in the navigation bar, there is a simulated PNA user interface on the right. To find the command for the active trace, click menu "Trace"->"Trace/Chan"->"Manage Meas", then you will see a command to Set/Read Measurement name. Got it, thanks. What was throwing me off course is, on the front panel of the PNA you do Trace > Select Trace to select the Active Trace. I did not realize that Active Trace on the front panel corresponds to Measurement Name in SCPI. Where's the connection? I was searching for Active Trace in all the PNA documentation that I have. Very frustrating... Thanks again for your help. -Bill |
|
|
|
只有小组成员才能发言,加入小组>>
1215 浏览 0 评论
2345 浏览 1 评论
2149 浏览 1 评论
2018 浏览 5 评论
2898 浏览 3 评论
953浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
694浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
794浏览 0评论
1218浏览 0评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-19 12:36 , Processed in 1.489262 second(s), Total 84, Slave 68 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号