1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
亲爱的,我想研究VEE,但我没有任何VEE编码实验。
我有一台N9340A并将其连接到PC,在VEE 9.0中,找到了标题为“newInstrument(agn9340a @ USBInstrument1)”的仪器,我已将其添加到主窗口中。 接下来我该怎么做让程序将测量数据读取到计算机然后动态显示(我创建了一个显示窗口XY跟踪)? 如何将控制命令发送到N9340A以使测量范围从1~2 GHz?我在哪里可以找到这些命令? 谢谢张宏堂 以上来自于谷歌翻译 以下为原文 Dear all, I want to study the VEE but I have no any experiment of VEE coding. I have an N9340A and have connected it to the PC and in VEE 9.0, the instrument was found with the title "newInstrument (agn9340a @USBInstrument1)", I have added it into the Main window. What should I do next to let the program read the measured data to the computer and then display it dynamically (I have created a display window XY trace)? What should I do to send the control commands to the N9340A to let the measured range from 1~2 GHz? Where can I find these commands? Thanks, Zhanghong Tang |
|
相关推荐
10个回答
|
|
我附上了程序,有没有人能指出问题并告诉我如何让它工作?谢谢张宏堂
以上来自于谷歌翻译 以下为原文 I attached the program, could anyone point out the problem and tell me how to let it work? Thanks, Zhanghong Tang 附件
|
|
|
|
从N9340A用户手册,我没有看到Trace:data?
SCPI命令。运行程序时是否收到任何错误按摩? 以上来自于谷歌翻译 以下为原文 From N9340A user manual, i did not see Trace:data? SCPI command. Is there any error massage received when you ran the program? |
|
|
|
是。
错误就在那条线上。 我搜索了以前的帖子,发现有一个人使用这个命令所以我用它:)我真的不知道我应该使用哪个命令。你有什么建议吗?谢谢,张宏堂 以上来自于谷歌翻译 以下为原文 Yes. The error is just at that line. I searched the former posts and found one people use this command so I use it:) I really don't know which command should I use. Do you have any suggestion? Thanks, Zhanghong Tang |
|
|
|
我相信你正在使用错误的SCPI命令。为了从仪器读取数据,你需要写适当的SCPI从你的仪器中提取所需的数据。在N9340A用户手册中,你能够在SCPI命令参考下找到N9340A的所有SCPI命令
通过该部分,并搜索适当的SCPI.N9340A用户手册路径:http://www.home.agilent.com/agilent/red ... 954.394740 以上来自于谷歌翻译 以下为原文 I am believe that u are using wrong SCPI command. In order to read data from instrument, u need write appropriate SCPI to withdraw desired data from your instrument. In N9340A User manual, you able to find all SCPI commands of N9340A under SCPI Command Reference section. Going through the Section, and search for appropriate SCPI. N9340A User manual path: http://www.home.agilent.com/agilent/red ... 954.394740 |
|
|
|
亲爱的PingWei博士,非常感谢你提出这么好的建议。
现在我已成功控制N9340A以设置起始频率和停止频率。 但是,如何将测量数据读取到计算机然后动态显示? 如果没有第三行,程序可以运行并设置启动频率和停止频率,但在添加第三行后,显示类似的错误消息。 我找了一些命令来拿起数据却没找到任何东西。你有什么建议吗?谢谢,张宏堂 以上来自于谷歌翻译 以下为原文 Dear Dr. PingWei, Thank you very much for your so good suggestion. Now I have successfully controlled the N9340A to set the start frequency and stop frequency. But how can I read the measured data to the computer and then display it dynamically? Without the third line, the program can run and the start frequency and stop frequency was set, but after added the third line, the similar error message displayed. I looked for some command to pick up data but didn't found anything. Do you have any suggestion? Thanks, Zhanghong Tang 附件
|
|
|
|
LoL ..我不是博士如果你在没有任何查询命令的情况下使用READ操作,这个错误肯定会提示出来。除非你是VEE中有经验的用户,否则绘制与频谱分析仪上的显示相同的显示是一项艰苦的工作。你是
需要了解如何在进入下一阶段之前从仪器中检索特定数据.Herewith附加示例。 不确定是否包含错误,因为我现在没有仪器。请在运行程序时告诉我是否有错误消息。 以上来自于谷歌翻译 以下为原文 LoL..I am not Dr. If you are using READ operation without any query command, this error will definitely prompt out. It's a hard job to draw the display same as display on spectrum analyzer, unless you are experienced user in VEE. You need to understand on how to retrieve particular data from instruments before move to next stage. Herewith attached example. Not sure whether consist of error or not because i dun have the instrument right now. please do let me know if there is error message when running the program. |
|
|
|
Ops ...忘了附上它,抱歉>刚加入程序中的一些SCPI供你参考..
以上来自于谷歌翻译 以下为原文 Ops...forgot to attach it, sorry > <" Just added in some SCPI inside the program for your reference.. 附件
|
|
|
|
非常感谢你的帮助。
我知道如何从仪器读取数据。但是,对于您的代码,它在第4行中断以读取数据。 机器上显示的信息是“在这种情况下无此功能”。此外,如何获得测量曲线? 我没有找到相关的功能。谢谢张宏堂 以上来自于谷歌翻译 以下为原文 Thank you very much for your kindly help. I got to know how read data from instrument. However, for your code, it breaks at the line 4 to read data. Information displayed on the machine is “No this function in this case” . In addition, how can I get the measured curve? I haven't found related function. Thanks, Zhanghong Tang |
|
|
|
实际上,我只是从用户手册中的SCPI Command Referencer >> MEASure Subsystem >> ACPR Subsection获取SCPI命令。不确定SCPI无法正常工作的原因我的观点是从仪器中检索数据,有两个步骤:1
。 使用WRITE操作发送查询SCPI,例如:“* IDN?”2。 使用READ操作撤消来自instrumnet的响应。在找到检索所需数据的方法后,我们将能够操纵数据。 以上来自于谷歌翻译 以下为原文 Actually , i just grab the SCPI command From SCPI Command Referencer>> MEASure Subsystem>>ACPR Subsection in the user manual. Not sure about the cause of SCPI not functioning My point is that to retrieve data from instrument, there are two steps: 1. Use WRITE operation to send query SCPI, eg: "*IDN?" 2. USe READ operation to withdraw respond from instrumnet. After find a way to retrieve desired data, we shall able to manipulate the data. |
|
|
|
亲爱的PingWei,非常感谢您的回复。
更新固件后问题得以解决。 数据可以通过命令“trace:data?”得到。谢谢,张宏红 以上来自于谷歌翻译 以下为原文 Dear PingWei, Thank you very much for your reply. The problem is solved after I update the Firmware. Data can got by the command "trace:data?". Thanks, Zhanghong Tang |
|
|
|
只有小组成员才能发言,加入小组>>
1283 浏览 0 评论
2371 浏览 1 评论
2189 浏览 1 评论
2062 浏览 5 评论
2946 浏览 3 评论
1104浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
751浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
922浏览 0评论
1284浏览 0评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 21:44 , Processed in 1.751897 second(s), Total 94, Slave 78 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号