完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,我正在编写C#软件,将s2p文件从PNA-X转移到PC,从PC转移到PNA-X使用GPIB,我的PNA-X没有通过以太网连接(我不被允许!),只有连接我有
是通过GPIB。 我真的很感激任何帮助!编辑:Waseem Ahmed于2014年10月2日上午10:30 以上来自于谷歌翻译 以下为原文 Hi, I am writing C# software to transfer s2p file from PNA-X to a PC and from PC to PNA-X using GPIB, my PNA-X is not connected thru ethernet (I am not allowed to!), only conection I have is thru GPIB. I would really appreciate any help in this! Edited by: Waseem Ahmed on Oct 2, 2014 10:30 AM |
|
相关推荐
5个回答
|
|
如果s2p数据在文件中(在PNA-X或PC中),则可以使用MMEM:TRANsfer命令来回移动数据。
这样做的一个例子是在帮助文件中也可以找到_ * HERE * _ online(抱歉这是一个VB示例而不是C#,但命令是相同的)。 如果pna-x上的S2P数据尚未存在于文件中,则可以使用命令“CALCulate:DATA:SNP:PORTs:SAVE”将其保存到文件中,然后将其传输到PC。 您的另一个选择是使用命令“CALCulate:DATA:SNP:PORTs?”使用数据传输(而不是文件传输)从PNA-X传输S2P数据。 阅读有关此命令的帮助,因为有一些关于正确使用的重要说明。 为了从您的PC获取S2P数据到PNA-X,最好的方法是先使用MMEM:TRANsfer传输文件,然后使用文件调用命令“MMEM:LOAD”将S2P数据调回 PNA-X上的一个频道。 以上来自于谷歌翻译 以下为原文 if the s2p data is in a file (either in the PNA-X or in the PC), then you can use the MMEM:TRANsfer command to move the data back and forth. an example for doing that is in the help file and can also be found _*HERE*_ online (sorry it is a VB example and not C#, but the commands are the same). if the S2P data on the pna-x is not already in a file, then you can save it to a file first using the command "CALCulate:DATA:SNP:PORTs:SAVE ," and then transfer it to your PC. Your other option is to transfer the S2P data from the PNA-X using data transfer (as opposed to file transfer) using the command "CALCulate:DATA:SNP:PORTs? ". read the help on this command, as there are some important notes on proper usage. for getting S2P data from your PC into the PNA-X, the best way to do it is to transfer the file first, using MMEM:TRANsfer and then use the file recall command, "MMEM:LOAD", to recall the S2P data into a channel on the PNA-X. |
|
|
|
Topcbpcba 发表于 2018-10-24 12:51 感谢daras的帮助! 我会尝试使用那种方法! 如果我使用pna-x GCA或FCA应用程序,我认为“CALCulate:DATA:SNP:PORTs:SAVE”命令对这些测量不起作用,有没有办法通过gpib使用thsoe应用程序保存文件? 作者:Waseem Ahmed于2014年10月2日上午10:30 以上来自于谷歌翻译 以下为原文 Thanks daras for your help! I will try using that method! What if I am using pna-x GCA or FCA application, I think "CALCulate:DATA:SNP:PORTs:SAVE ," command won't work for those measurements, is there a way to save files thru gpib using thsoe applications? Edited by: Waseem Ahmed on Oct 2, 2014 10:30 AM |
|
|
|
鹤壁华盛 发表于 2018-10-24 13:04 S2P指的是非常特定的数据集,即2端口线性s参数(S11,S21,S12和S22)。 在FCA和GCA中,我们可以保存S2P数据(稍微修改变频器的S2P定义),但这两种测量都可以测量其他参数,这些参数不会包含在S2P文件中,因为它们超出了定义的范围。 S2P文件。 因此,如果您想保存其他测量值,例如压缩时的输入功率(CompIn21),那么您无法使用SnP格式,为了保存屏幕上的每一条数据,最好保存.csv 文件。 GCA还有一个特殊的数据文件,可以保存您可能感兴趣的所有底层2-D电源和频率扫描数据。当您激活特定测量时,请转到“将数据另存为”对话框,您可以看到所有 该测量支持的不同数据文件格式:https://dl.dropboxusercontent.com/u/87949221/Forum/ThreadID_117000/SaveDataAs.jpg! 以上来自于谷歌翻译 以下为原文 S2P refers to a very specific set of data, namely the 2-port linear s-parameters (S11, S21, S12, and S22). in both FCA and GCA we can save S2P data (with a slight modification of the S2P definition for frequency converters), but both those measurements can measure other parameters that will not be included in an S2P file because they fall outside of the definition of an S2P file. so if you want to save other measurements, like input power at compression (CompIn21), then you can't use the SnP format, for saving every single trace of data that you have on the screen, you are better off saving a .csv file. GCA also has a special data file that saves all the underlying 2-D power and frequency sweep data that you may be interested in. When you have a particular measurement active, go to the "Save Data As" dialog and you can see all the different data file formats supported for that measurement: !https://dl.dropboxusercontent.com/u/87949221/Forum/ThreadID_117000/SaveDataAs.jpg! |
|
|
|
Topcbpcba 发表于 2018-10-24 13:15 是的,你是对的,我还需要保存其他测量,有没有办法在pna-x本地文件夹中保存常规csv文件或GCA csv文件通过gpib命令? 以上来自于谷歌翻译 以下为原文 Yes, You are right, I need to save other measurements as well, is there a way to save regular csv file or GCA csv file thru gpib command in pna-x local folder? |
|
|
|
鹤壁华盛 发表于 2018-10-24 13:22 是 - MEMory:STORe:DATA ,,,, 以上来自于谷歌翻译 以下为原文 yes - MMEMory:STORe:DATA ,,,, |
|
|
|
只有小组成员才能发言,加入小组>>
1215 浏览 0 评论
2345 浏览 1 评论
2149 浏览 1 评论
2018 浏览 5 评论
2898 浏览 3 评论
953浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
692浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
794浏览 0评论
1218浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-19 09:42 , Processed in 1.414257 second(s), Total 56, Slave 49 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号