是德科技
直播中

贾利利

7年用户 163经验值
私信 关注
[问答]

怎么将任意二进制文件下载到PNA-X硬盘驱动器?

是否有基于COM或基于SCPI的方法将任意二进制文件从外部计算机传输到PNA-X硬盘?
我需要将* .ckt文件从测试控制器传输到PNA-X硬盘。
我已经尝试了正常的内存传输SCPI命令(MMEM:TRAN),但它失败了* .ckt文件。
映射驱动器不是一种选择,因为所有这些都必须在没有任何手动用户交互的情况下进行。

以上来自于谷歌翻译


     以下为原文

  Is there a COM based or SCPI based method to transfer an arbitrary binary file from an external computer to the PNA-X harddrive?

I need to transfer *.ckt files from a test controller to a PNA-X harddrive. I have tried the normal memory transfer SCPI command (MMEM:TRAN), but it fails with *.ckt files.

Mapping the drive is not an option, since all this must take place without any manual user interaction.  

回帖(2)

张博

2019-10-14 10:15:20
您好,您能否提供更多详细信息,例如您的编程语言,您尝试过的内容,失败指示,代码片段以及示例* .ckt文件?
真诚的,tsilchia

以上来自于谷歌翻译


     以下为原文

  Hello,

Can you provide more details such as your programming language, what you have tried, what is the failure indication, a snippet of the code, and a sample *.ckt file?

Sincerely,
tsilchia
举报

卢兰凤

2019-10-14 10:34:12
您可以以编程方式映射驱动器,然后移动文件或将文件移动到共享文件夹。
我过去没有成功使用过MMEM:过去使用的是带有COM SCPI解析器的TRAN。
由于您使用的是DCOM(通过LAN),因此可以使用Windows API映射驱动器并将其移至PNA。
由于存在LAN连接,您可以退回并打开VXI-11(SICL-LAN)VISA会话并在此模式下使用MMEM:TRAN,这应该可以工作。

以上来自于谷歌翻译


     以下为原文

  You could programmatically map the drive and then move the file or move the file to a shared folder.  I've not been successful in the past using MMEM:TRAN in the past with the COM SCPI parser.  Since you are using DCOM (over LAN), you could use the Windows API to map the drive and move it to the PNA.

Since there is a LAN connection, you could fall back and open a VXI-11 (SICL-LAN) VISA session and use MMEM:TRAN in this mode which should work.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分