肖恩,谢谢你的建议。
我按照你的想法尝试将显式参数打包到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".
肖恩,谢谢你的建议。
我按照你的想法尝试将显式参数打包到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".
举报