完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在尝试使用SCPI命令MMEM传输块数据到PNA-X:TRAN并且一致地获取错误消息以获取太多数据(错误代码-223)。
我能够使用命令的查询形式成功地将块数据从PNA-X传输到PC。 我正在使用labview并通过专用LAN与PNA-X进行通信。 以上来自于谷歌翻译 以下为原文 I am attempting to transfer block data to the PNA-X using the SCPI command MMEM:TRAN and consistent get an error message for too much data (error code -223). I am able to successfully tranfer block data from the PNA-X to the PC using the query form of the command. I am using LabVIEW and communicating to the PNA-X over a dedicated LAN. |
|
相关推荐
9个回答
|
|
您尝试将文件传输回PNA有多大?
我已经成功地做了大约1MB,但我没有尝试过大于此,但是应该适用于大约20 MB的大文件。 如果您可以共享一些代码,那可能会有所帮助。 此外,您必须确保正确创建标题信息,否则您可能会看到问题。 以上来自于谷歌翻译 以下为原文 How big of a file are you trying to transfer back to the PNA? I've successfully done around 1MB but I haven't tried larger than that, but is should work for larger files up to about 20 MB. If you can share a little of your code, that could help. Also you have to make sure the header information is created correctly otherwise you could see issues. |
|
|
|
yweyerwq 发表于 2018-11-23 15:30 文件大小约为50k。 我正在执行以验证命令是否成功的练习是使用命令的查询形式来获取S2P文件(从PNA传输到PC),复制文件(只是为了更改名称),然后使用 命令将S2P文件发送回PNA。 我附加了用于执行最后一次操作的LabVIEW VI。 我怀疑问题可能是LabVIEW没有正确格式化数据块,但我无法确认这一点,因为在PNA帮助中缺乏关于数据格式的详细信息。 请查看随附的VI并提供意见。 此外,有关:MMEM:TRAN命令的任何其他详细信息将不胜感激。 以上来自于谷歌翻译 以下为原文 The file size is about 50k. The exercise that I was performing to validate that the commands were successful was to use the query form of the command to obtain an S2P file (transfer from PNA to PC), copy the file (just to change the name), and then use the command to send the S2P file back to the PNA. I have attached the LabVIEW VI used to perform the last operation. I suspect that the problem may be that LabVIEW is not formatting the data block correctly but I cannot confirm this due to lack of sufficient detail in the PNA help about the format of the data. Please review the attached VI and provide comments. Also, any additional details about the :MMEM:TRAN command would be appreciated. 附件
|
|
|
|
fywyesfw 发表于 2018-11-23 15:49 如果这只是为了更改名称,那么您可以使用MMEM:COPY代替并保存相当多的编码。 您可以将其复制到新名称,然后使用MMEM:DEL删除原始文件。 我将在一两天内查看VI,并提供一些有关上传的建议。 以上来自于谷歌翻译 以下为原文 If this was just to change the name, then you could use MMEM:COPY instead and save quite a bit of coding on your part. You could copy it to the new name and then use MMEM:DEL to remove the original file. I'll take a look at the VI in a day or two and make some recommendations on uploading. |
|
|
|
yweyerwq 发表于 2018-11-23 15:56 不,这不只是改变名称。 我正在执行的示例是证明用于来回移动S2P数据的例程正常运行。 更准确地说,S2P数据将被保存在PNA之外,经过处理,然后在UUT测试期间提供,用于夹具去嵌入。 我只是试图证明数据的移动可以在稍后解决为什么去嵌入没有产生预期结果之前正确执行。 以上来自于谷歌翻译 以下为原文 No, this was not just to change the name. The example that I was performing was to prove that the routines for moving S2P data back and forth were functioning correctly. To be more precise, the S2P data will be saved off of the PNA, processed and then provided during UUT testing for fixture de-embedding. I was simply trying to prove that the movement of the data could be performed correctly prior to trying to figure out later on why the de-embedding was not producing the expected results. |
|
|
|
fywyesfw 发表于 2018-11-23 16:08 看看附件VI。 我不会说它是最干净的,但它的工作原理非常直接。 我用最多2 MB的文件测试了它,我很确定它可以用于更大的文件。 我使用LabView 2012 32位编写了这个。 以上来自于谷歌翻译 以下为原文 Take a look at the attached VI. I'm not going to say it is the cleanest, but it works and is pretty straight forward. I tested it with up to a 2 MB file and am pretty sure it will work with larger files. I wrote this using LabView 2012 32-bit. 附件 |
|
|
|
谢谢。 我将把它纳入我的日常工作并进行测试。 以上来自于谷歌翻译 以下为原文 Thanks. I will incorporate this into my routine and test it. |
|
|
|
MMEM:TRAN命令完成后,Touchstone(S2P)文件内容已损坏:文件中缺少所有' n r'个字符。 这导致PNA无法解释文件/内容。 有没有办法恢复这些控制字符? 这是PNA固件中的功能/错误吗? 我正在使用的PNA目前在版本A.09.90.05上运行。 以上来自于谷歌翻译 以下为原文 The Touchstone (S2P) file content is corrupted once the MMEM:TRAN command completes: all of the 'nr' characters are missing from the file. This causes the PNA to be unable to interpret the file/content. Is there any means to recover these control characters? Is this a feature/bug in the PNA firmware? The PNA that I am using is currently operating on version A.09.90.05. |
|
|
|
|
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
1223 浏览 0 评论
2347 浏览 1 评论
2157 浏览 1 评论
2022 浏览 5 评论
2902 浏览 3 评论
965浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
701浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
801浏览 0评论
1224浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-23 04:12 , Processed in 1.530761 second(s), Total 95, Slave 77 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号