完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
目的是通过GPIB远程控制四台仪器。
其中包括Agilent 34401 Dmm。 - Windows_7 64bit - 我使用的应用程序,使用Win-Wrap BASIC。 与Visual BASIC 6非常相似。(据我所知,应用程序是32位,不确定是否与问题有关) - 我使用的接口卡是Agilent 82350b PCI卡和最新版本的Agilent IO库 套件16.3 - 驱动程序:driver_ivicom_ivic_Agilent34401_1_2_2_0.msi)另外对仪器(范围,RFSigGen,SPECAN)罗德与安培各自IVI-COM驱动的其余部分;施瓦茨。 IVI类驱动程序也已安装。 仍然没有手中的仪器,我下载了Agilent34401_1_2_2_0.msi仪器专用驱动程序,只是为了尝试模拟,按照VBasic 6的IVI启动指南的说明构建一个简单的可互换程序.http://www.ivifoundation.org /downloads/IVI%20GSG%202011/IVI%20GSG%20VBasic6%202011.pdf *问题:*从代码的一开始,就不可能创建使用驱动程序实例,例如昏暗的OBJ时新Agilent34401错误 代码:ActiveX-Automation:服务器无法创建对象。 当我尝试从其他两个驱动程序RsRFSigGen和RsSpecAn创建实例时的情况相同。 直到现在:我已经尝试使用命令promt - > regsvr等来查看驱动程序是否已在注册表中注册。所有这些似乎都是有序的。 编程coleague更有经验也试图创建一些简单的脚本,但这里也出现了类似的问题。 显然,我使用了对驱动程序的.dll文件的必要引用。但是不确定64位或32位符号在这里是否有所不同。 请注意,我已经尝试引用.dll文件的各种组合。 我怀疑应用程序与驱动程序不兼容。 如果有人能给我一些建议,我将不胜感激。 提前致谢。 以上来自于谷歌翻译 以下为原文 Objective is to remote control four instruments through GPIB. Among them an Agilent 34401 Dmm. - Windows_7 64bit - The aplication i use, uses Win-Wrap BASIC . Very similar to Visual BASIC 6. ( As far as i know the application is 32bit, not sure if has smthn to do with the problem) - The interface card i use, is an Agilent 82350b PCI card and the latest version of Agilent IO Libraries Suite 16.3 - Drivers : driver_ivicom_ivic_Agilent34401_1_2_2_0.msi) In addition for the rest of the instruments (Scope, RFSigGen, SpecAn) respective IVI-COM drivers from Rohde&Schwarz. IVI class drivers also installed. Still not having the instruments in hand, i downloaded the Agilent34401_1_2_2_0.msi instrument specific driver just to try to simulate, building a simple interchangeable program following the instructions from the IVI geting started guide for VBasic 6. http://www.ivifoundation.org/downloads/IVI%20GSG%202011/IVI%20GSG%20VBasic6%202011.pdf *The problem :* From the very start of the code, it is impossible to create a driver instance using , for example the Dim Obj As New Agilent34401 error code : ActiveX-Automation: Server cannot create object . Same situation when i try to create an instance from the other two drivers RsRFSigGen and RsSpecAn. Untill now: I have tried to see if the driver is registered in the registry using command promt -> regsvr etc. All seem to be in order. A more experienced in programming coleague has tried to create some simple scripts too but similar problem occured here too. Obviously i use the necessary references to the .dll files of the drivers .Not sure though if the 64bit or 32bit sign makes a difference here and how. Note that i've already tried to reference various combinations of .dll files. I suspect application's incompatibility to the drivers. I would be gratefull if someone could suggest me something . Thanks in advance. |
|
相关推荐
1个回答
|
|
嗨JDuke,我尝试了32和64版本的Win-Wrap基本版本并没有运气创建我们的任何COM对象(包括VISA COM)。
我们的驱动程序在VB6,VB.NET和VBA(excel)Microsoft开发环境中得到支持。 连接 以上来自于谷歌翻译 以下为原文 Hi JDuke, I tried both the 32 and 64 editions of Win-Wrap basic and had no luck creating any of our COM objects (including VISA COM). Our drivers are supported in VB6, VB.NET and VBA (excel) Microsoft development enviroments. Connectivity |
|
|
|
只有小组成员才能发言,加入小组>>
1287 浏览 0 评论
2375 浏览 1 评论
2194 浏览 1 评论
2064 浏览 5 评论
2951 浏览 3 评论
1111浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
753浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
926浏览 0评论
1287浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-24 04:16 , Processed in 1.655098 second(s), Total 78, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号