完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
>你不能这样做[使用> ActveX客户端/服务器从VEE呼叫> VEE]。哇!
太棒了。 我会让它通过,直到我能确切地知道为什么butuntil然后(如果真的发生过)我可以说它是我听过的最令人惊奇的东西之一。[变种阵列]>我明白它是> ActiveX> interface.ActiveX的条件仅传递一种类型:variant。 一种变体是任何一种变体。 甚至变种。 因此规范。 它几乎是传递未知数量的未知类型参数的唯一途径。 所以对于input参数,有一个名为Inputs的变量数组,对于输出参数,有一个名为Outputs的变量数组。 |
|
相关推荐
5个回答
|
|
大家好,自加入ADN专业版以来,我收到了两个VEE6.1更新套件。
我的问题是这个。 如果我在我的一个测试台上安装VEE6.1并加载使用VEE 6.0开发的应用程序,我会遇到任何问题吗?目前,我没有时间评估新的软件版本,但另一方面,我 不想落后。 任何智慧的话?提前感谢Dwayne EnsignEaton Aerospace,Vickers Fluid SystemsJackson,Mississippi ---您目前订阅了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”。 以上来自于谷歌翻译 以下为原文 Hello everyone, Since joining the ADN Professional I have received two update kits for VEE 6.1. My question is this. Will I experience any problems if I install VEE 6.1 on one of my test stands and load an application developed with VEE 6.0? At the present time, I do not have time to evaluate a new software version, but on the other hand, I don't want to fall behind. Any words of wisdom? Thanks in advance, Dwayne Ensign Eaton Aerospace, Vickers Fluid Systems Jackson, Mississippi --- 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". |
|
|
|
Bill - >声明一维VARIANT数组>函数的“输入”参数>“PassIn”>。不要把它作为福音(我没有版本6&所以不能测试这个)但是这条消息
似乎表明你必须明确地将参数包装到VARIANT数组并传递它。 像这样:vIn = asVariant([Param1,Param2]); lErr = rpcServer.RemoteFunctionName(vIn,vOut); iAnswer = asInt32(vOut [0]);这很有趣 - 这正是VeeGateway的工作方式.- 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”。 以上来自于谷歌翻译 以下为原文 Bill - > states that the a 1 dimensional VARIANT array > "Inputs" parameter of function > "PassIn" >. Don't take this as gospel (I don't have version 6 & so can't test this) but this message would seem to indicate that you must explicitly pack parameters into a VARIANT array and pass that. Something like this: vIn = asVariant([Param1, Param2]); lErr = rpcServer.RemoteFunctionName(vIn, vOut); iAnswer = asInt32(vOut[0]); It's funny - this is precisely the way VeeGateway was to work. -SHAWN- --- 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". |
|
|
|
肖恩,谢谢你的建议。
我按照你的想法尝试将显式参数打包到aVariant数组中,但我仍然得到相同的错误! 如果我探测传递给函数的数据,以验证数据类型和结构,它看起来正是错误消息告诉我应该传递的内容。几乎看起来VEE主程序没有正确地将Variantdata类型传递给 远程功能,也许是一个bug? 我很乐意让安捷伦有人来验证这个功能.....另一个有趣的事情是我已经验证了我称之为的VEE库。 我已经使用VBScripting测试它来执行callableVEE并访问我的所有库函数!问候,Bill Dyer -----原始消息-----来自:Shawn Fessenden [mailto:shawnf@ameritech.net]发送:9月2日星期二 24,2002 11:33 PMT:VEE vrfSubject:[vrf] RE:CallableVEE ProblemBill - >声明一维VARIANT数组>函数的“输入”参数>“PassIn”>。不要把它作为福音(I 没有版本6&所以不能测试这个)但是这条消息似乎表明你必须明确地将参数包装到VARIANT数组并传递它。 像这样:vIn = asVariant([Param1,Param2]); lErr = rpcServer.RemoteFunctionName(vIn,vOut); iAnswer = asInt32(vOut [0]);这很有趣 - 这正是VeeGateway的工作方式.- SHAWN ----您目前订阅了vrf:wwdyer@lucent.com要订阅,请发送一封空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送空白电子邮件至“ vrf@it.lists.it.agilent.com“。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@it.lists.it.agilent.com“。如果您需要有关邮件列表的帮助,请向”所有者“发送邮件 -vrf@it.lists.it.agilent.com“.---您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送空白电子邮件至”join-vrf@it.lists.it.agilent 。取消订阅发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要发送邮件到此邮件列表,请发送电子邮件至“vrf@it.lists.it.agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Shawn, Thanks for the suggestion. I tried out the explicit parameter packing into a Variant array as you outlined but I still get the same error! If I probe the data being passed into the Function, to verify the data type and structure, it looks to be exactly what the error message tells me I should be passing. It almost looks like the VEE Main program does not properly pass the Variant data type to the remote function, maybe a bug?? I'd love to have someone from Agilent verify this feature..... Another funny thing is that I have verified that the VEE library that I call is OK. I have tested it out using VBScripting to execute callableVEE and access all my library functions! Regards, Bill Dyer -----Original Message----- From: Shawn Fessenden [mailto:shawnf@ameritech.net] Sent: Tuesday, September 24, 2002 11:33 PM To: VEE vrf Subject: [vrf] RE: CallableVEE Problem Bill - > states that the a 1 dimensional VARIANT array > "Inputs" parameter of function > "PassIn" >. Don't take this as gospel (I don't have version 6 & so can't test this) but this message would seem to indicate that you must explicitly pack parameters into a VARIANT array and pass that. Something like this: vIn = asVariant([Param1, Param2]); lErr = rpcServer.RemoteFunctionName(vIn, vOut); iAnswer = asInt32(vOut[0]); It's funny - this is precisely the way VeeGateway was to work. -SHAWN- --- You are currently subscribed to vrf as: wwdyer@lucent.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". --- 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". |
|
|
|
威廉,你不能这样做[使用ActveX客户端/服务器从VEE调用VEE]。
这是安捷伦的官方消息; 显然这是'有点基础'。 你可以做一些事情,比如暴露函数,检查输入和输出类型等,但不能通过参数传递来调用调用位。但它确实可以从其他编程环境中获得良好的工作; 我从Delphi的早期版本和VB中得到了它,它是一块蛋糕。声明说,你必须将参数作为变量数据传递 - 我相信这个媒体上的其他人将能够给出一个更确定的声明 但我知道这是ActiveX接口的一个条件。我认为对于TestStand你必须为每个处理数据类型,返回变量等的测试函数构建一个“包装器”。你看过安捷伦的TestExec SL - 它可以调用VEE程序 希望对你有所帮助。请注意,Mike Watts,________________________________________________________________ Michael Watts,顾问PO Box 92网址:www.PreciselySo.Co.UK埃克塞特,德文电子邮件:MJWC@PreciselySo.Co.UK 英格兰电话:+44 7714 339 729 EX4 2YY _______________________________________________________________________---您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送空白电子邮件至“join-vrf@it.lists.it.agilent.com”。 要取消订阅 ibe发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要发送邮件到此邮件列表,请发送电子邮件至“vrf@it.lists.it.agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 William, You can't do it [call VEE from VEE using the ActveX client/server]. That's the official word from Agilent; apparently it is 'something fundamental'. You can do things like exposing the functions, examining input and output types etc. but not the call bit with parameter passing. It does work admirably from other programming environments though; I have tried it from an early version of Delphi and from VB and it is a piece of cake. The statement stands though, that you have to pass parameters as variant arrays - I'm sure some others on this medium will be able to give a more definitive statement but I understand it is a condition of the ActiveX interface. I think for TestStand you have to build a 'wrapper' for each test function which deals with the data types, return variables etc. Have you looked at Agilent's TestExec SL - it can call VEE programs out-of-the-box? Hope that is of some help. Regards, Mike Watts _______________________________________________________________________ Michael Watts, Consultant PO Box 92 on the web: www.PreciselySo.Co.UK Exeter,Devon e-mail: MJWC@PreciselySo.Co.UK England tel: +44 7714 339 729 EX4 2YY _______________________________________________________________________ --- 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". |
|
|
|
>你所概述的变体数组>但我仍然得到同样的错误!抱歉,我无法得到任何真正的帮助比尔。
我将尝试挖掘demoversion(6.0)并查看我是否可以获得任何地方。-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”。 以上来自于谷歌翻译 以下为原文 > Variant array as you outlined > but I still get the same error! Sorry I couldn't be of any real help Bill. I'll try to dig up the demo version (of 6.0) and see if I can get any where with that. -SHAWN- --- 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". |
|
|
|
只有小组成员才能发言,加入小组>>
1230 浏览 0 评论
2351 浏览 1 评论
2160 浏览 1 评论
2026 浏览 5 评论
2908 浏览 3 评论
974浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
707浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
808浏览 0评论
1230浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-26 20:32 , Processed in 1.404025 second(s), Total 64, Slave 54 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号