是德科技
直播中

向珍

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

DSO-X 3054A怎么下载和上传文件到PC

我刚开始使用DSO-X 3054A。
我可以使用“Agilent Connection Expert”程序将掩码文件从PC上传(调用)到示波器。
我可以使用该程序将屏幕图像从示波器下载(保存)到PC。
我正在使用NI LabWindows CVI / TestStand软件。
我正在使用“AgInfiniiVision.dll”中的函数来命令范围。
我有一些命令正在工作,所以我知道我正在讨论范围并理解一些函数及其属性。
我似乎无法确定我是否有正确的DLL来执行文件传输。
如果它是正确的DLL,那么要么我没有使用正确的函数,要么我必须执行一系列我不执行的函数。
我在示波器上使用USB驱动器来存储几个掩码文件。
然后我将USB驱动器带到PC来存储文件。
我现在需要确定如何将这些掩码文件从PC上传到范围。
我们将在多个客户位置设置测试站。
客户无法选择USB驱动器上的信息。
掩码文件必须位于控制测试的PC上。
如果你们有人知道DLL,以及用于上传掩码文件然后在测试波形时使用的函数和属性序列,我将不胜感激。
我相信,一旦我上传工作,我应该能够确定如何执行将显示任何失败的屏幕图像的下载。
现在我考虑一下,我用什么函数和属性来表明掩码测试应该在出错时停止。
我设置的属性不起作用。
预先感谢您的帮助。

以上来自于谷歌翻译


     以下为原文

  I just started working with a DSO-X 3054A. I can use the program "Agilent Connection Expert" to upload (recall) mask files from the PC to the scope. I can use the program to download (save) screen images from the scope to the PC.

I am working with NI LabWindows CVI / TestStand software. I am using the functions within "AgInfiniiVision.dll" to command the scope. I have some commands working so I know that I am talking to the scope and understand some functions and their attributes.

I cannot seem to determine if I have the correct DLL to perform the file transfers. If it is the correct DLL, then either I am not using the correct functions or there is a sequence of functions that must be executed to which I am not performing.

I used a USB drive on the scope to store a couple of mask files. I then took the USB drive to the PC to store the files. I now need to determine how to upload those mask files from the PC to the scope. We will have test stations at multiple customer locations. Having the information on a USB drive is not an option with the customers. The mask files must be on the PC that control the test.

If you anyone knows the DLL, and the sequence of functions and attributes to use to have the mask files uploaded and then used when testing a waveform, I would appreciate the help. I believe that once I get the upload working, I should be able to determine how to perform the download of the screen images that will show any failures. Now that I think about it, what function(s) and attributes do I use to indicate that a mask test should stop on error. The attributes that I set did not work.

Thank you in advance for your help.  

回帖(7)

周菊

2019-1-23 06:34:16
我不做LabWindows,但是...我建议尝试使用Agilent Command Expert。
它将允许您构建序列并帮助您解决语法问题。
可从以下网址获取:http://www.home.agilent.com/agilent/product.jspx?nid = -33002.992473.00&amp ;lc = eng& cc = US免责声明:为了获得更可靠的响应,您应该考虑打电话给您
当地的安捷伦技术呼叫中心
安捷伦论坛在“可用”的基础上进行监控,并不一定是解决技术问题的最快方式。

以上来自于谷歌翻译


     以下为原文

  I don't do LabWindows, but...

I would recommend trying Agilent Command Expert. It will allow you to build sequences and help you through the syntax issues. It is available at:
http://www.home.agilent.com/agilent/product.jspx?nid=-33002.992473.00&lc=eng&cc=US

Al

Disclaimer: For more reliable response, you should consider calling your local Agilent Technical Call Center. The Agilent Forums are monitored on an "as available" basis, and aren't necessarily the fastest way to get technical questions answered.
举报

向珍

2019-1-23 06:43:12
引用: nvywyerwer 发表于 2019-1-23 06:34
我不做LabWindows,但是...我建议尝试使用Agilent Command Expert。
它将允许您构建序列并帮助您解决语法问题。
可从以下网址获取:http://www.home.agilent.com/agilent/product.jspx?nid = -33002.992473.00&amp ;lc = eng& cc = US免责声明:为了获得更可靠的响应,您应该考虑打电话给您

所有程序都是显示函数调用。
我相信我的代码正在工作,我在示波器屏幕上看到一个条形图,看起来像上传文件剩余时间,显示文件正在上传。
它快速然后消失。
然后有一条消息指示“大容量存储错误”。
然后那条消息就消失了。
我认为问题在于我没有正确设置其他内容以使上传工作。
我需要知道“Agilent Connection Expert”用于上传文件的函数调用序列。
谢谢。

以上来自于谷歌翻译


     以下为原文

  All the program does is to display the function call.

I believe that my code is working in that I see a bar appear on the scope screen that looks like a upload file remaining time thing that shows the file is uploading. Its quick and then disappears. Then there is a message indicating "Mass Storage Error". Then that message disappears. I think the issue is that I am not setting something else up correctly to make the upload work.

I need to know the sequence of function calls that the "Agilent Connection Expert" uses to upload the file.

Thank you.
举报

周菊

2019-1-23 06:52:34
引用: 60user16 发表于 2019-1-23 06:43
所有程序都是显示函数调用。
我相信我的代码正在工作,我在示波器屏幕上看到一个条形图,看起来像上传文件剩余时间,显示文件正在上传。
它快速然后消失。

1)Command Expert(CmdEx,用于此讨论)比“显示函数调用”做了很多。
它可以帮助您构建命令,并使语法正确。
它允许您将它们放在一个序列中,并逐行测试该序列。
然后,它允许您将该序列导出为各种语言。
我已经将它与MATLAB和C ++一起用于快速构建解决方案原型。
您还可以轻松搜索整个命令集,以找到可能符合您需要的命令。
2)据我所知,安捷伦连接专家(ACE)不会自行上传或下载任何内容,除了发送“* IDN”并显示结果。
你可能在谈论IntuiLink或其他一些程序吗?
您可以将CmdEx与作为ACE一部分的IO监视器一起使用,以使命令正确,并查看PC和仪器之间的所有流量。
至于掩模与示波器的实际传输,似乎掩模以“二进制块数据”格式传输。
这可能不是它们存储在USB记忆棒上的格式,所以做你原计划要做的事情可能行不通。
解决方案是在示波器上加载掩码,使用“:MTESt:DATA?”传输到PC,然后存储它。
如果要使用它,命令为“:MTESt:DATA”。
存储在PC上的二进制块数据可以传输到远程站点并在那里使用。
至于在错误时停止Mask Test,你可能想要“:MTESt:RMODe SIGMa”命令,或类似的东西。
免责声明:为了获得更可靠的响应,您应该考虑致电当地的安捷伦技术呼叫中心。
安捷伦论坛在“可用”的基础上进行监控,并不一定是解决技术问题的最快方式。

以上来自于谷歌翻译


     以下为原文

  1) Command Expert (CmdEx, for this discussion) does a lot more than "display the function call". It helps you build the commands, and get the syntax right. It allows you to put them in a sequence, and test that sequence, line by line. Then it allows you to export that sequence into various languages. I have used it with MATLAB and C++ to quickly prototype a solution. You can also easily search through the entire set of commands to find one that might do what you want.

2) Agilent Connection Expert (ACE) does not, to my knowledge do any uploading or downloading of anything on its own, except send "*IDN" and display the results. Are you possibly talking about IntuiLink, or some other program?

You can use CmdEx along with the IO Monitor that is part of ACE to get your commands correct, and see all of the traffic between the PC and the instrument.

As for the actual transfer of the Masks to and from the scope, it appears that the masks get transferred in "binary block data" format. That may not be the format that they get stored in, on the USB stick, so doing what you had planned to do may not work. The solution is to load a mask on the scope, transfer to the PC using ":MTESt:DATA?", and store it. When you want to use it, the command is ":MTESt:DATA". The binary block data that you store on the PC could be transferred to the remote sites and used there.

As for stopping the Mask Test on errors, you probably want the ":MTESt:RMODe SIGMa" command, or something like it.

Al

Disclaimer: For more reliable response, you should consider calling your local Agilent Technical Call Center. The Agilent Forums are monitored on an "as available" basis, and aren't necessarily the fastest way to get technical questions answered.
举报

向珍

2019-1-23 06:57:58
引用: nvywyerwer 发表于 2019-1-23 06:52
1)Command Expert(CmdEx,用于此讨论)比“显示函数调用”做了很多。
它可以帮助您构建命令,并使语法正确。
它允许您将它们放在一个序列中,并逐行测试该序列。

感谢您尝试提供帮助。
我相信你是Command Expert的专家。
我来自旧学校,在那里我查看功能和文档,以确定完成任务所需的内容。
在存储空间的每个字节和每微秒处理时间都被认为是宝贵的时代,我就在身边。
正如我在第一篇文章中提到的,我正在使用“AgInfiniiVision.dll”来命令范围。
我正在使用它,因为我需要IVI函数调用。
在我看到这些函数的DLL中没有“:MTESt:DATA”或“:MTESt:RMODe SIGMa”命令。你显然不熟悉安捷伦连接专家,或者使用的是一个没有的老版本
最新的功能,如果它存在。该程序确实有一个调用和保存命令。它将采取掩码文件,我保存到示波器上的USB设备,然后从USB设备复制到我的电脑,并从上传它们
无论是用什么格式的文件都是由作用域写入USB的。我有多个掩码文件,每次使用ACE调用掩码文件时,我看到掩码更改了作用域。我不是
知道ACE将数据传输到范围之前将文件转换,这是我追求的地步。必须有一些ACE是做来获得上传的文件,我还没有确定如何从内AgInfiniiVision.dll功能做
也许简单的答案是DLL不合作
获得所需的功能。
也许这些函数包含在另一个DLL中。
如果我知道答案,我就不会在这里。
关于您的安捷伦技术呼叫中心免责声明,我没有使用过它们。
但我确实向他们的技术支持发送了一封电子邮件。
我有一个关于在PC上通过网络打印到文件的问题。
我得到的回应是在我的电脑上使用PDF远程打印机打印到网络打印机。
该人声称他们从未尝试过,所以他们不确定它是否有效。
我确实尝试过,经过许多令人沮丧的时间后决定它不起作用。
我终于发现,埋在400页的文档中,一句话给了安捷伦的链接,其中列出了该范围支持的有限数量的打印机。
此列表未提及任何PDF远程打印机。
这就是为什么它不起作用的原因。
那个功能不存在。
我在论坛,因为我相信我可以在这个小组中得到可靠的答案。
如果其他人已经完成了我想要完成的任务,即使它是使用类似的InfiniiVision支持的设备,我也会感激任何指针。
如果你解决这些问题我保证不会残忍。

以上来自于谷歌翻译


     以下为原文

  I appreciate your attempts to help.

I am sure that you are an expert in Command Expert. I am from the old school where I look at the functions and their documentation to determine what I need to accomplish my task. I was around in the days where every byte of storage space and every microsecond of processing time was consider precious.

As I mentioned in my first posting, I am using "AgInfiniiVision.dll" to command the scope. I am using that because I need the IVI function calls. There are NO ":MTESt:DATA” or ":MTESt:RMODe SIGMa" commands within that DLL that I can see looking at the functions.

You obviously are not knowledgeable in Agilent Connection Expert or are using a really old version that does not have the latest capabilities if that ever existed. The program does have a recall and save command. It will take the mask files, that I saved to USB device on the scope and then copied from the USB device to my pc, and upload them from the pc to the scope. That is in whatever format the files are written to the USB by the scope. I have multiple mask files and each time that I recall the mask files using ACE, I see the mask change on the scope. I am not sure if ACE converts the files before transferring the data to the scope. That is the point of my quest. There must be something that ACE is doing to get the files uploaded that I have not determined how to do from the functions within AgInfiniiVision.dll . Perhaps the simple answer is that the DLL does not contain the required functionality that is needed. Perhaps the functions are contained within another DLL. If I knew the answers I would not be here.

In regards to your Agilent Technical Call Center disclaimer, I have not used them. I did however send an email to their technical support. I had a question about printing to a file over the network on the PC. The response that I got was to print to a network printer using a PDF remote printer on my PC. The person claimed that they had never tried it so they were not sure if it worked. I did try it and after many frustrating hours decided it would not work. I finally found, buried in the 400 pages of the documentation, one sentence that gave the link to Agilent which listed the limited number of printers supported by the scope. This list did not mention any PDF remote printer. That must be why it would not work. That functionality is not there. I am in the forum because I believed that I might be able to get reliable answers within this group.

If anyone else has done what I am trying to accomplish, even if it was with a similar InfiniiVision supported device, I would appreciate any pointers. I promise not be to be cruel if you address the issues.
举报

更多回帖

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