完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
早上好,我是这个论坛的新手,希望这是提出这个问题的合适场所。
我正在尝试使用labview 2011 over Ethernet从N5245A PNA-X获取数据。 我找到了这个论坛并下载了一个名为PNA Binary Data Read的程序(2011年10月31日发布),并且能够让它运行起来。 做了我正在寻找的,很棒的小程序。 但是当我第二次尝试运行它时,所有我回来的数据都是零。 它使用viScanf格式化分析仪的数据。 为了让它再次运行,我需要关闭Labview并重新启动它,然后程序才能再次收集和显示数据。 我是使用VISA的新手,无法弄清楚为什么这只能使用一次。 在每次重新运行程序之前,是否需要重置某些内容? 谢谢你 以上来自于谷歌翻译 以下为原文 Good morning I am new to this forum and hope this is the right place to ask this question. I am trying to obtain data from a N5245A PNA-X using Labview 2011 over Ethernet. I found this forum and downloaded a program called PNA Binary Data Read (posted Oct 31, 2011) and was able to get it running. Did just what I was looking for, great little program. But when I try running it the second time all I get back for data is zero's. It uses the viScanf to format the data from the analyzer. In order to get this to work again, I need to close out Labview and restart it before the program is able to collect and display the data again. I am new to using VISA and can't figure out why this only works one time. Do I need to reset something before I rerun the program each time? Thanks mark |
|
相关推荐
3个回答
|
|
我不熟悉那个特定的示例程序(如果您将链接发布到您找到该程序的原始帖子,它可能会有所帮助),但无论问题是什么,它都必须在示例程序中。
一旦读取,PNA就不会清除它的数据缓冲区。 换句话说,您可以进行扫描,然后反复从同一条迹线中重复读取相同的数据。 以上来自于谷歌翻译 以下为原文 I am not familiar with that particular example program (it might help if you post the link to the original post where you found the program), but whatever the problem is, it has to be in the example program. the PNA does not clear it's data buffers once they are read. in other words, you can take a sweep and then repeatedly read the same data from the same trace over and over again. |
|
|
|
Topcbpcba 发表于 2019-8-2 11:31 感谢您查看此问题。 PNA-X N5245A和以太网上的LabVIEW(S-Paremeters)可找到原始帖子 我所指的程序是PNA二进制数据读取SCPI 2。 任何有关这方面的帮助将不胜感激。 谢谢你 以上来自于谷歌翻译 以下为原文 Thanks for looking at this issue. The original post is found here PNA-X N5245A and LabVIEW over Ethernet (S-Paremeters) The program I was referring to is the PNA Binary Data Read SCPI 2 one. Any help on this would be greatly appreciated. thanks mark |
|
|
|
YOYOOO 发表于 2019-8-2 11:40 更新.....我能够通过在程序中放置签证清除功能来实现它。 不确定这是否是最有效的方式,但它的工作原理。 谢谢 以上来自于谷歌翻译 以下为原文 Update..... I was able to get it working by placing a visa clear function in the program. Not sure if this is the most efficient way but it works. thanks |
|
|
|
只有小组成员才能发言,加入小组>>
1193 浏览 0 评论
2335 浏览 1 评论
2137 浏览 1 评论
2009 浏览 5 评论
2882 浏览 3 评论
927浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
682浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
785浏览 0评论
1193浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-9 03:30 , Processed in 1.502171 second(s), Total 83, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号