完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
更新安捷伦IO套件16(v16.3.17914.4)更新2后,我们的GPIB连接应用程序不响应viEventHandler事件但仅针对某些用户。
应用程序很好,直到最近,可能Windows Update更改了系统DLL。 添加到本地Administrators组的用户没有任何区别。 当触发设备(EXT)到HP4278A时,受影响的用户得到错误-1073807280(十六进制FFFFFFFFBFFF0050),这在VISA错误代码中没有列出。 它似乎认识到第一次触发然后停止。 我们的应用程序似乎没有收到数据。 IO监视器显示:时间:GPIB:0:INSTR Agilent VISA VISA:viEventHandler [0x634dd510]上下文:uint32 259 eventType in:uint32 1073684491 status ref:uint32 -1073807280 userhandle in:uint32 112029376 vi in:unit32 1后跟第一个数据 处理命令* SRE0,* CLS,DATA? 之前调用了viInstallHandler和viEnableEvent处理程序,没有错误。 I / F卡是NI GPIB-488 PCI,我们在覆盖模式下使用Agilent VISA(旧的NI VISA32已删除)ivi.VISA.Interopt.dll日期为2013年10月7日应用程序是用MS VS2010 C#.NET 3.5编写的 以上来自于谷歌翻译 以下为原文 Following an update to Agilent IO Suite 16 (v16.3.17914.4) Update 2 our GPIB connected application is not responding to viEventHandler events BUT for only some users. Application was fine until recently, possible Windows Update changed a system DLL. Added users to local Administrators group makes no difference. When triggering device (EXT) to HP4278A the effected users get Error -1073807280 (hex FFFFFFFFBFFF0050) which is not listed in the VISA Error codes. It seems to recognize first trigger then stops. Our app doesnt seem to receive the data. IO Monitor shows: Time: GPIB:0:INSTR Agilent VISA VISA:viEventHandler[0x634dd510] context in:uint32 259 eventType in:uint32 1073684491 status ref:uint32 -1073807280 userhandle in:uint32 112029376 vi in:unit32 1 followed by the first data handling Commands *SRE0,*CLS,DATA? viInstallHandler and viEnableEvent handlers were previously called with no error. I/F card is an NI GPIB-488 PCI, we are using Agilent VISA in overwrite mode (old NI VISA32 removed) ivi.VISA.Interopt.dll is dated 07-Oct-2013 Application is written in MS VS2010 C# .NET 3.5 |
|
相关推荐
1个回答
|
|
UPDATE ======我设法通过对PC进行两次更改来解决这个问题,但我不知道哪一个修复了它。
1.修改系统PATH环境变量Agilent IO套件BIN路径夹在可能由NI 488驱动程序安装的原始IVI Foundation路径之间。 但是,我认为这最近没有改变,它在我们遇到问题之前都有效,而且我的PATH是相同的,它没有这个改变。 2.我删除了受影响的用户配置文件(暴力删除,取得所有权等)并强制他们重新登录以重新创建新的配置文件。 这似乎是最有可能解决的问题,因为它会创建一个包含最新安捷伦设置的新“本地/漫游配置文件”设置。 当我在我的帐户下运行软件更新时,我的个人资料可能已更新。 客户端是Windows 7 SP1(Windows更新的最新修复)和Windows AD域2008 R2服务器,组策略等。希望这有帮助吗? 请注意上面的错误代码未列出请参阅“visa_book.book - E2090-90040.pdf”附录A,第330页http://cp.literature.agilent.com/litweb/pdf/E2090-90040.pdf 以上来自于谷歌翻译 以下为原文 UPDATE ====== Ive managed to get around the issue by applying two changes to the PC effected but I don't know which one fixed it. 1. Modify system PATH Environment Variable The Agilent IO suite BIN path was sandwiched between the original IVI Foundation paths probably installed by the NI 488 drivers. However, I don't think this was changed recently and it both worked before we encountered the issue and my PATH was the same and it worked without this change. 2. I deleted the affected users profile (brute force delete, take ownership etc) and forced them to re-logon to recreate a new profile. This seems the most likely fix as it would have created a new Local/Roaming Profile set of 'keys' containing the latest Agilent settings. My profile possibly got updated as I ran the software Update under my account. Clients are Windows 7 SP1 (latest Fixes from Windows updates) and a Windows AD Domain 2008 R2 servers, group Policy etc. Hope this helps ? Note the Error Code above isnt listed See "visa_book.book - E2090-90040.pdf" Appendix A, page 330 http://cp.literature.agilent.com/litweb/pdf/E2090-90040.pdf |
|
|
|
只有小组成员才能发言,加入小组>>
1178 浏览 0 评论
2329 浏览 1 评论
2128 浏览 1 评论
1998 浏览 5 评论
2874 浏览 3 评论
908浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
676浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
772浏览 0评论
1179浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-2 15:17 , Processed in 1.221158 second(s), Total 77, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号