完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
>使用所讨论的用户功能的名称调用'PanelSize'函数。太棒了。
那明显的滑倒是怎么回事? -SHAWN ----您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送一封空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送空白电子邮件至 “leave-vrf@it.lists.it.agilent.com”。要向此邮件列表发送消息,请发送电子邮件至“vrf@it.lists.it.agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 > call the 'PanelSize' function with the > name of the userfunction in question. Awesome. How's that for the obvious slipping by? -SHAWN- --- 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@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". |
|
相关推荐
2个回答
|
|
此外,您需要调用一个函数来知道它是否退出,以及是否执行它会产生意外结果。但是,如果它存在,则仅在具有相同输入/输出值的情况下执行。
因此,这种方法可能适用于具有输入和输出的函数,因为在这种情况下会产生错误,但在这种情况下可能是603“未找到变量:| name>”。 如果它不存在将产生错误代码517“功能或用户功能:'|名称>'未知”。 但是这种方法看起来并不是很优雅。我能看到的最好方法是以原始方式(ASCII)读取已加载的VEE库的vee文件,并根据VEE标记检测所需的用户函数。 我很久以前开发了一个程序来了解一个vee文件的所有用户函数名称。 正如我所说,应该很容易修改使用。 如果您有兴趣,我可以尝试找到它。 此致,----- Mensaje原创----- De:Schlieker,Reiner [mailto:reiner.schlieker@siemens.com] Enviado el:jueves,10 de julio de 2003 21:26Para:VEE vrfAsunto:[vrf] Re:获取可用功能列表/检查是否存在功能。 是的,错误引脚是检查你的函数是否存在的方法,但是你必须调用它来查找(当然它会执行它)。 Reiner -----原始消息-----来自:Michael Ruff [mailto:mruff@hotmail.com]发送时间:2003年7月10日星期四下午3:04到:VEE vrfSubject:[vrf] Re:获取清单 可用功能/检查是否存在功能。 安德鲁,嗨,我是另一个新人,但我对你的问题有一个想法。 我附加了一个我刚创建的文件,它有2个函数,而Main调用它们然后调用一个不存在的文件。 如果在调用中添加错误引脚,如果出现问题,如果该函数首先不存在,则会生成带有问题状态的消息。 这样的东西可以在一个设置例程中用来检查一些IF状态与状态517相比的状态(我认为)。我的ide唯一的问题是我不知道这是否可以用于函数 对他们有一些勇气。 如果该功能确实存在,它可能会尝试做一些你不想要的东西。 无论如何,错误引脚是我尝试解决方案的好运------------------------------------- ----------- Michael Ruff项目工程师经理 挑战环境系统700研究中心。 大道。 Fayetteville AR 72701(479)575-2136 ----------------------------------------- -------新的MSN 8:智能垃圾邮件保护和2个月免费* ---您目前订阅了vrf:jcmartin@indra.es订阅时发送空白电子邮件至“join-vrf@it.lists .it.agilent.com“。要取消订阅,请发送空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要发送邮件到此邮件列表,请发送电子邮件至”vrf@it.lists.it.agilent .COM”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 ---您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送一封空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送空白电子邮件至“ vrf@it.lists.it.agilent.com“。要向此邮件列表发送邮件,请发送电子邮件至”vrf@it.lists.it.agilent.com“。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Moreover, you need to call one function to know if it exits or not, and if it is executed that could produce unexpected results. However, if it exists, it is executed only in case of having the same input/output values. Therefore this method could be good for functions with input and output because in that case a error will be produced, but in this case could be 603 "Variable was not found: |name>". If it does not exist will produce the error code 517 "Function or User Function: '|name>' is unknown". But this method seems not to be very elegant. The best way I can see is by reading the vee files of the VEE libraries you have loaded, in a raw way (ASCII) and detecting a user function called like you want according to VEE tags. I developed time ago a program to know all the User Functions names of a vee file. It should be very easy to modify to be used as I have said. If you are interested I can try to find it. Regards, -----Mensaje original-----De: Schlieker, Reiner [mailto:reiner.schlieker@siemens.com]Enviado el: jueves, 10 de julio de 2003 21:26Para: VEE vrfAsunto: [vrf] Re: Get a list of available functions/check if a functi on exists. Yes, the error pin is the way to check whether your function exists, but you have to call it to find out (and it will execute it if it does, of course). Reiner -----Original Message-----From: Michael Ruff [mailto:mruff@hotmail.com]Sent: Thursday, July 10, 2003 3:04 PMTo: VEE vrfSubject: [vrf] Re: Get a list of available functions/check if a function exists. Andrew, Hi, I am another one of the new guys, but I do have one idea for your problem. I have attached a file that I just created that has 2 functions with it and the Main calls both and then calls one that does not exist. If you add an error pin on the call a message will generate with the status of the a problem in the function if there is a problem like the function does not exist in the first place. Something like this might be able to be used in a setup routine to check status with some IF statememts comparing to the flag 517 (I think). The Only problem with my ides is that I don't know if this can be used with functions that have some guts to them. If the function does exist, it might try make something happen that you do not want. anyway, the error pin is my attempt to a solution good luck ------------------------------------------------ Michael Ruff Project Engineer Mgr. Challenge Environmental Systems 700 Research Ctr. Blvd. Fayetteville AR 72701 (479)575-2136 ------------------------------------------------ The new MSN 8: smart spam protection and 2 months FREE* ---You are currently subscribed to vrf as: jcmartin@indra.esTo 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@it.lists.it.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@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". |
|
|
|
我知道如果函数存在,最简单的方法是使用相关用户函数的名称调用'PanelSize'函数。
如果该功能不存在,则会引发错误517(找不到功能),但如果确实存在,则只获得功能面板的当前大小,如果没有面板,则为(0,0)。 只需将错误引脚添加到您所在的calland.Bst问候,G。 尼德------------------------------------------------- ------------------------ GeorgNied - 软件开发 - Hansestr.7 - 51149科隆 - 德国电话:+49 2203 9770915 - 传真:+49 2203 9770924 - 电子邮件:info@gn-software.de ---------------------------------------- ------------------------------------您目前订阅了vrf:r***@soco.agilent。 com订阅时发送一封空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要发送消息给 这个邮件列表,请发送电子邮件至“vrf@it.lists.it.agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 The easiest way I know tocheck if a function exists is to call the 'PanelSize' function with the name ofthe userfunction in question. If the function does not exist it raises error 517(Function not found), but if it does exist you only get the current size of thefunctions panel or (0,0) if it has no panel. Just add an error pin to the calland you're there.best regards, G. Nied -------------------------------------------------------------------------GeorgNied - Software-Development - Hansestr.7 - 51149 Cologne - GermanyTel:+49 2203 9770915 - Fax: +49 2203 9770924 -eMail:info@gn-software.de----------------------------------------------------------------------------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@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". |
|
|
|
只有小组成员才能发言,加入小组>>
1296 浏览 0 评论
2378 浏览 1 评论
2199 浏览 1 评论
2068 浏览 5 评论
2955 浏览 3 评论
1136浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
759浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
943浏览 0评论
1296浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-27 15:41 , Processed in 1.336945 second(s), Total 78, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号