完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我刚开始使用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个回答
|
|
我不做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. |
|
|
|
nvywyerwer 发表于 2019-1-23 06:34 所有程序都是显示函数调用。 我相信我的代码正在工作,我在示波器屏幕上看到一个条形图,看起来像上传文件剩余时间,显示文件正在上传。 它快速然后消失。 然后有一条消息指示“大容量存储错误”。 然后那条消息就消失了。 我认为问题在于我没有正确设置其他内容以使上传工作。 我需要知道“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. |
|
|
|
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. |
|
|
|
nvywyerwer 发表于 2019-1-23 06:52 感谢您尝试提供帮助。 我相信你是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. |
|
|
|
Bill,您遇到的是使用IVI驱动程序的固有限制。 仅支持任何给定仪器的可用功能的子集。 有一组核心命令可以支持给定类型的所有仪器,例如示波器。 除此之外,还有一组扩展,如您下载的特定驱动程序的文档中所列。 如果它不在核心命令集或扩展名中,则不受支持。 这是我设法避免使用IVI驱动程序并且坚持使用SCPI的原因之一。 至于我的免责声明和呼叫中心......总的来说,我认为获得安捷伦设备答案的最佳位置来自安捷伦人,而非论坛。 安捷伦技术呼叫中心(TCC)的人员不断回答技术问题,并且有专门的小组回答有关范围的问题。 他们倾向于不看论坛,因为免责声明说,这实际上是针对点对点的答案。 我有时间看论坛。 通过电话关闭后发出的客户反馈电子邮件,不断对TCC的人员进行评估。 对于您之前使用TCC的经历,我感到很遗憾。 我相信这是一种不寻常的经历。 我真的建议你在TCC打电话。 我会为你打开一个,但我不确定你所在的国家,所以我不能这样做。 美国的电话号码是800-829-4444。 人 以上来自于谷歌翻译 以下为原文 Bill, What you have run into are the inherent limitations of using an IVI driver. Only a subset of the available capabilities for any given instrument are supported. There is a core set of commands that all instruments of a given type, such as an oscilloscope, support. Beyond that there are a set of extensions, as listed in the documentation for the specific driver that you download. If it's not in the core set of commands or in the extensions, it's not supported. This is one of the reasons that I have managed to mostly avoid using IVI drivers, and have stuck with SCPI. As to my disclaimer, and the Call Center... In general, I believe the best place to get answers about Agilent equipment is from Agilent people, rather than from the forums. The folks in the Agilent Technical Call Center (TCC) answer technical questions constantly, and there is a dedicated group that answers questions about scopes. They tend to not watch the forums since, as the disclaimers say, this is really for peer-to-peer answers. I watch the forums when I get time. The folks at the TCC are constantly evaluated, via customer feedback emails that get sent out after a call is closed. I'm sorry about your previous experience with the TCC. I believe that's an uncommon experience. I would really recommend that you open a call at the TCC. I would open one for you, but I don't know for sure what country you are in, so I can't do that. The phone number in the U.S. is 800-829-4444. Al |
|
|
|
Al,我按照你的建议切换到VISA接口使用“:MTESt:DATA”。直到我最终打电话给安捷伦,我仍然遇到问题。问题已经解决,“:MTESt:DATA”命令有效。
我最近购买了我使用的范围。 该范围暂时启用了所有功能。 当我第一次查看示波器时,使用Agilent Connection Expert,一切正常。 然后我去开发我的代码。 在某些时候,在我第一次查看范围并完成代码之间,MASK功能的许可证以及其他功能已经过期。 该范围确实有30天免费试用,可以使这些功能持续30天。 通过启用30天试用,我能够完成我的软件测试。 我已通知管理层购买现在和将来需要的许可证。 谢谢你的帮助。 法案 以上来自于谷歌翻译 以下为原文 Al, I switched to a VISA interface to use the ":MTESt:DATA” as you recommended. I still had problems until I finally called Agilent. The problem has been solved and the ":MTESt:DATA” command works. The scope that I am using was recently purchased. The scope had all of their features temporarily enabled. When I first looked at the scope, using the Agilent Connection Expert, everything worked fine. Then I went off to develop my code. At some point, between when I first looked at the scope and I finished my code, the license for the MASK feature, along with the other features, had expired. The scope did have a free 30 day trial that would enable the features for 30 days. By enabling the 30 day trial, I was able to finish testing my software. I have notified management to purchase the required license(s) that will be needed now and in the future. Thanks for your help. Bill |
|
|
|
60user16 发表于 2019-1-23 07:30 比尔,谢谢你让我知道你的问题的解决方案。 对于这个帖子开头的错过沟通,我很抱歉。 我很高兴与呼叫中心的互动很愉快。 人 以上来自于谷歌翻译 以下为原文 Bill, Thanks for letting me know about the resolution of your problem. I'm sorry for the missed communication at the start of this thread. I'm glad the interaction with the Call Center was a pleasant one. Al |
|
|
|
只有小组成员才能发言,加入小组>>
1212 浏览 0 评论
2344 浏览 1 评论
2146 浏览 1 评论
2017 浏览 5 评论
2897 浏览 3 评论
948浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
690浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
793浏览 0评论
1213浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-16 16:26 , Processed in 1.643337 second(s), Total 89, Slave 72 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号