完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好汉斯和所有我们有一些奇怪的错误,我们无法弄清楚。当一个库在面板上有一个ActiveX Controlwith VB Command Buttons时卸载一个库时出现一个错误,并且只有当其中一个Command Buttonshad焦点(突出显示)时才会发生。
我们发现,如果它没有焦点,它会表现得很好。 否则,VEE会崩溃并产生Dr.Watson错误。 我们使用了一个弹出消息框,其中包含最小的超时(我认为'1f')以从命令按钮中删除焦点,这解决了问题。启动我们的测试系统时发生了另一个错误。 如果使用输入的全名(在VEE文本框中),大约12个字符,程序将因Dr Watson错误而崩溃,但如果用户只输入2个字符,则工作正常。 我怀疑它是一个有趣的DLL和头文件组合。 它固定自己??? 但这是一个一贯的问题。希望这会让你感觉更好,奇怪的事情会发生。关注安德鲁FGenesys IBS -----原始信息-----来自:“ESF GmbH的VEE用户”致:“VRF”发送:星期三 ,2003年11月19日7:15 AMS主题:[vrf]再次VEE错误801亲爱的,特别是安捷伦的人,感谢所有给我提示的人。 不幸的是问题仍然没有解决。我请安捷伦评估我的问题!亲切的问候。 Hans-Joachim FischerESF GmbHBrennerweg 7D-89143 Blaubeurenhttp://www.esf-gmbh.de-----Urspr | ngliche Nachricht ----- Von:ESF GmbH的VEE用户[mailto:vee@esf-gmbh.de ] Gesendet:Mittwoch,2003年11月12日08:49安:用户组VEEBetreff:VEE错误801亲爱的VEE专家,我使用VEE 6.02设计了一个相当复杂的VEE程序。 它使用开发环境很好地运行。 它使用运行时版本几个月就可以在生产中运行,但程序的终止/中止会导致后续Dr. Watson的VEE错误801; 请参阅随附的pdf文档中的screendump。 (pdf文件和Error801.vee文件在zip存档中,因为附加到电子邮件的pdf文件经常被破坏。)VEE程序包含初始化StartUp用户对象,MainLoopUser对象和ShutDown用户功能; 请参阅附带的Error801.vee文件.MainLoop用户对象由三个UntilBreak循环组成。 一个用于后续任务的正常操作,另外两个用于终止和堕胎。在ShutDown用户功能中不调用指示的仪器B725。错误801在两种情况下都发生,即终止(F12)和堕胎(F11)。 您对运行时版本中仅出现错误801的原因有什么想法? 我已经与荷兰的Agilenthotline联系,但没有任何成功。感谢Hans-Joachim Fischer ---------------------------- -------------- ESF GmbHBrennerweg 7D-89143 Blaubeuren + 49-7344-919693 + 49-7344-919691(传真)+ 49-175-40 74 5 74(GSM)http:/ /www.esf-gmbh.de------------------------------------------ -------------------------------------------------- ------------------------------> --->您目前订阅了vrf:AndrewF@genesysibs.com> To 订阅发送空白电子邮件至“join-vrf@it.lists.it.agilent.com”。>要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。>发送消息 到这个邮件列表,请发送电子邮件至“vrf@agilent.com”。>如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。> ---您目前 订阅vrf为:r***@soco.agilent.com要订阅,请发送一封空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists”。 it.agilent.com“。发送m 发送到此邮件列表的电子邮件,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Hello Hans and all We have had some strange errors which we could not figure out. One error occured when unloading a library when it had an ActiveX Control with VB Command Buttons on a panel, and only if one of these Command Buttons had focus (was highlighted). We found that if it did not have focus it would behave fine. Otherwise, VEE would crash and would produce a Dr. Watson error. We used a pop-up message box with the smallest timeout possible ('1f' I think) to remove focus from the Command Buttons and this solved the problem. Another error occurred when starting our test system. If a used entered their full name (in a VEE text box), about 12 chars, the program would crash with a Dr Watson error, but if the user only entered 2 characters, it would work fine. I suspect it was a funny DLL and header file combination. It fixed itself??? but was a consistent problem. Hope this makes you feel better, strange things DO happen. Regards Andrew F Genesys IBS ----- Original Message ----- From: "VEE user at ESF GmbH" To: "VRF" Sent: Wednesday, November 19, 2003 7:15 AM Subject: [vrf] Again VEE Error 801 Dear all, especially those at Agilent, thanks to all who gave me hints. Unfortunately the problem still is not solved. I kindly ask Agilent to evaluate my problem! Kind regards Dr. Hans-Joachim Fischer ESF GmbH Brennerweg 7 D-89143 Blaubeuren http://www.esf-gmbh.de -----Urspr|ngliche Nachricht----- Von: VEE user at ESF GmbH [mailto:vee@esf-gmbh.de] Gesendet: Mittwoch, 12. November 2003 08:49 An: Usergroup VEE Betreff: VEE Error 801 Dear VEE experts, I designed a quite complex VEE program using VEE 6.02. It runs nicely using the development environment. It runs as well in production since several months using the runtime version, however termination / abortion of the program causes a VEE error 801 with subsequent Dr. Watson; see the screen dump in the attached pdf document. (The pdf file and the Error801.vee file are in a zip archive as very often pdf files attached to an e-mail are corrupted). The VEE program contains an initialization StartUp User Object, a MainLoop User Object and a ShutDown User Function; see attached Error801.vee file. The MainLoop User Object consists of three UntilBreak loops. One is for normal operation of subsequent tasks, and the other two are for termination and abortion. The indicated instrument B725 is not called in the ShutDown User Function. The error 801 occurs in both cases, i.e. termination (F12) and abortion (F11). Do you have any ideas on what is the reason for the error 801 that occurs only in the runtime version? I already was in contact with the Agilent hotline in The Netherlands, but without any success. Kind regards Hans-Joachim Fischer ------------------------------------------ ESF GmbH Brennerweg 7 D-89143 Blaubeuren +49-7344-919693 +49-7344-919691 (fax) +49-175-40 74 5 74 (GSM) http://www.esf-gmbh.de ------------------------------------------ ---------------------------------------------------------------------------- ---- > --- > You are currently subscribed to vrf as: AndrewF@genesysibs.com > To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". > To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". > To send messages to this mailing list, email "vrf@agilent.com". > If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". > --- You are currently subscribed to vrf as: r***@soco.agilent.com To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". |
|
相关推荐
1个回答
|
|
嗨,谢谢(再次)肖恩的出色建议。
没有下载,但我遵循了你的建议,并得到了更多。 但是,似乎myMSCOMM没有在我的机器上获得许可(我是从VRF推荐的VRF链接上获得的)。 因此我下载了XMComm(见下面的链接),这似乎让我更进一步。 我现在只需要suss所有的theActiveX命令。 我发现我可以用标准的VEE通信做我需要的东西。 但是现在我已经达到了这个目的,开始更多地了解Active X似乎是一个不错的车型,而不必非常简单,也不知道我在做什么.P.S。 如果您想拥有MSCOMM的许可副本,您是否必须购买VB或Visual Studio?http://ourworld.compuserve.com/homepages/richard_grier/xmcomm.htm-----原始消息-----来自:“ Shawn Fessenden“To:”VRF“发送时间:2003年11月18日星期二8:39 PMS主题:[vrf] Re:ActiveX使用中的错误445> Hi Ashley。>>>抱歉,如果我提出愚蠢的问题。>>大家都知道 唯一愚蠢的问题是那些没有被问到的问题,所以请不要觉得“不好”!>>>附上是一个例子>>啊是的,我看到了几个问题。 你声明了一个名为MSComm的变量,然后>尝试执行“set MSComm1 = CreateObject(MSComm)。”首先,变量名必须匹配。其次,CreateObject>的参数是一个字符串,而不是另一种类型的字符串。这是 错误来自哪里。来自.VEE试图访问一个名为MSComm的变量将其传递给> CreateObject,并发现它尚未初始化。接下来,你要创建的对象的thename>是“MSCommLib.MSComm” 。将声明中的>你的变量的名称更改为MSComm1并更改CreateObject calland>它将起作用。> -SHAWN - >>> --->您目前订阅了vrf as:ashley@smartsolutions.karoo.co。 英国>要订阅,请发送一封空白电子邮件至“join-vrf@it.lists.it.agilent.com”。>要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。> 要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。>如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。> --- 您目前订阅了vrf as :r***@soco.agilent.com要订阅,请发送一封空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent”。 com。“要发送邮件到这个邮件列表,请发送电子邮件至”vrf@agilent.com“。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Hi, Thanks (once again) Shawn for the excellent Advice. There was no download attached but I followed your advice and got a lot further. However, seems my MSCOMM is not licenced on my machine ( I got it from the link recommended by Paco on the VRF). I therefore dowloaded XMComm (see link below) and this seems to be getting me a lot further. I now just need to suss all of the ActiveX commands. I have discovered that I can probably do what I need with the standard VEE comms. but now I have got this far it seems like a nice vehicle to start understanding the Active X more, without having to crib examples and not quite knowing what I am doing. P.S. If you want to havea licenced copy of MSCOMM do youi have to buy VB or Visual Studio? http://ourworld.compuserve.com/homepages/richard_grier/xmcomm.htm ----- Original Message ----- From: "Shawn Fessenden" To: "VRF" Sent: Tuesday, November 18, 2003 8:39 PM Subject: [vrf] Re: Error 445 in ActiveX usage > Hi Ashley. > > > Sorry If I am asking dumb questions. > > Everybody knows the only dumb questions are those not asked, so don't feel > bad about asking! > > > Attached is the example > > Ah yes, I see a couple problems. You declared a variable named MSComm and > then tried to execute "set MSComm1 = CreateObject(MSComm). > > First, the variable names must match. Second, the argument to CreateObject > is a string, not something of another type. This is where the error came > from. VEE tried to access a variable called MSComm to pass it to > CreateObject, and found that it hadn't been initialized yet. Next, the name > of the object you want to create is "MSCommLib.MSComm". Change the name of > your variable in the declare to MSComm1 and change the CreateObject call and > it will work. > -SHAWN- > > > --- > You are currently subscribed to vrf as: ashley@smartsolutions.karoo.co.uk > To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". > To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". > To send messages to this mailing list, email "vrf@agilent.com". > If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". > --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". |
|
|
|
只有小组成员才能发言,加入小组>>
915 浏览 0 评论
2208 浏览 1 评论
1991 浏览 1 评论
1858 浏览 5 评论
2727 浏览 3 评论
709浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
509浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
598浏览 0评论
2391浏览 0评论
1440浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-24 06:54 , Processed in 1.473151 second(s), Total 77, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191