发 帖  
原厂入驻New
申请华秋企业认证 多层板首单免费打样!
30s提交资料,10分钟通过审核(免费赔付+顺丰包邮)>>立即报名
[问答] 可调用的VEE服务器,Matlab无法识别
167 matlab VEE
分享
Hi Qi,是的,我尝试过多种排列...例如:Outputs = myFunc.Call(Inputs)AndOutput = myFunc.Call()对于没有输入参数的函数。
我相信如果一个函数没有显式返回一个值,它将返回一个零回到调用系统。
有趣的是,matlab似乎无法识别这种回归 - 它总是将其显示为NaN。
我无法使用Matlab ActX客户端 - > VEE服务器,能够在函数之间来回传递数据。
我已经使用文件读/写来传递参数。
我认为问题在于Matlab而不是Callable VEE,因为VBScript / VBAThanks的建议很好-----原始消息-----来自:qi_gao@agilent.com [mailto:qi_gao@agilent.com
发送时间:2006年2月16日,星期四,上午1:54:街道,Andy MSubject:RE:[vRF] Callable VEE ServerAndy,你有没有试过做类似的事情:Outputs = myFunc.Call(Inputs)这是因为第二个参数
在COM中定义[in,out]。
Qi -----原帖-----来自:Street,Andy M [mailto:andy.street@tycoelectronics.com]发送时间:2006年1月10日星期二上午6:00至:VRFS主题:[vrf] Callable VEE
ServerHello VRF,我试图使用可调用的VEE服务器(使用VEE Rev 7.51)和Matlab(版本7)作为ActiveX客户端。
我可以实例化服务器,加载库(vee文件),并确定输入和输出参数属性等。我不能做的一件事是调用任何函数。换句话说:myFunc.Call(输入,输出)
在Matlab中抛出一个错误。
Matlab / VEE抱怨参数的数量(它表示该方法只能接受一个输入参数)或者当我希望它返回一个数字时返回NaN(用户函数现在已经输入并且被设计为返回一个Real64)。
我已经能够使用Callable VEE服务器非常愉快地使用VBScript和Excel VBA,所以我认为我的VEE安装很好。
有没有人知道你是否可以使用Matlab成功地使用VEE服务器作为ActiveX客户端,如果是这样,我缺少什么。感谢安迪---您目前订阅vrf为:qi_gao@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”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”.---
要订阅,请向“join-vrf@lists.it.agilent.com”发送空白电子邮件请求。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要向此发送消息
邮件列表,请发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  Hi Qi,

Yes, I have tried a number of permutations...

For example:

Outputs=myFunc.Call(Inputs)

And also

Output=myFunc.Call()

For a function with no input arguments.  I believe that IF a function does not explicitly return a value, it will return a zero back to the calling system.  Interestingly, Matlab, does not seem to be able to recognize this return - it always shows it as NaN.  I have got nowhere with the Matlab ActX Client -> VEE Server in terms of being able to pass data back and forth to and from the functions.  I have resorted to file reads/writes for passing of parameters.  I believe that the problem lies with Matlab rather than Callable VEE as things are good in VBScript/VBA

Thanks for the suggestion

Andy

-----Original Message-----
From: qi_gao@agilent.com [mailto:qi_gao@agilent.com]
Sent: Thursday, February 16, 2006 1:54 AM
To: Street, Andy M
Subject: RE: [vrf] Callable VEE Server

Andy,
Have you tried to do something like:

Outputs = myFunc.Call(Inputs)

This is because the second parameter is defined [in, out] in COM.  

Qi

-----Original Message-----
From: Street, Andy M [mailto:andy.street@tycoelectronics.com]
Sent: Tuesday, January 10, 2006 6:00 AM
To: VRF
Subject: [vrf] Callable VEE Server

Hello VRF,

I am trying to use the Callable VEE Server (using VEE Rev 7.51) with Matlab (Version 7) as the ActiveX client.  I can instantiate the server, load a library (vee file), and determine the input and output argument properties etc.  The one thing that I cannot do is call any of the functions.

In other words:

myFunc.Call(Inputs,Outputs)

throws an error in Matlab.  Matlab/VEE complains about either the number of arguments (it says that the method can only accept one input
argument) or returns NaN when I am hoping it would return a number (user function has now inputs and is designed to return a Real64).  I have been able to use VBScript and Excel VBA quite happily with the Callable VEE Server, so I think my VEE install is good.  Does anyone know if you can work the VEE server successfully using Matlab as the ActiveX client and if so, what am I missing.

Thanks

Andy

---
You are currently subscribed to vrf as: qi_gao@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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

---
To subscribe send a blank email request to "join-vrf@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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
0
2019-9-6 13:33:07   评论 分享淘帖 邀请回答

相关问题

5个回答
你好VRF,我试图使用Callable VEE服务器(使用VEE Rev 7.51)和Matlab(版本7)作为ActiveX客户端。
我可以实例化服务器,加载库(vee文件),并确定输入和输出参数属性等。我不能做的一件事就是调用任何函数。换句话说:myFunc.Call(Inputs,Outputs)抛出一个
Matlab中的错误。
Matlab / VEE抱怨数量的参数(它表示该方法只能接受一个输入参数)或者当我希望它返回一个数字时返回NaN(用户函数现在有输入并且被设计为返回一个Real64)。
我已经能够使用CallableVEE服务器非常愉快地使用VBScript和Excel VBA,所以我认为我的VEE安装很好。
有没有人知道你是否可以使用Matlab作为ActiveX客户端成功地使用VEE服务器,如果是这样,我错过了什么。谢谢安迪---您目前订阅了vrf:rsb@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”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  Hello VRF,

I am trying to use the Callable VEE Server (using VEE Rev 7.51) with
Matlab (Version 7) as the ActiveX client.  I can instantiate the server,
load a library (vee file), and determine the input and output argument
properties etc.  The one thing that I cannot do is call any of the
functions.

In other words:

myFunc.Call(Inputs,Outputs)

throws an error in Matlab.  Matlab/VEE complains about either the number
of arguments (it says that the method can only accept one input
argument) or returns NaN when I am hoping it would return a number (user
function has now inputs and is designed to return a Real64).  I have
been able to use VBScript and Excel VBA quite happily with the Callable
VEE Server, so I think my VEE install is good.  Does anyone know if you
can work the VEE server successfully using Matlab as the ActiveX client
and if so, what am I missing.

Thanks

Andy

---
You are currently subscribed to vrf as: rsb@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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2019-9-6 13:38:20 评论

举报

大家好我有一些程序员在C#工作,并通过Agilent T& M框架vee包装向导访问veefunctions。
我们在一些目标机器上遇到了一些问题,当第一次运行时C#代码掉了,因为它似乎找不到可调用的vee服务器。
这是奇怪的,因为所有的机器都有相同版本的vee运行时间运行干净安装。我很欣赏这是非常模糊,但是有没有任何经验分发利用可调用vee服务器的应用程序可能能够阐明这一点?谢谢你
advance.Nick ---您目前订阅了vrf:rsb@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”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  Hi Everyone I have some programmers working in C# and accessing veefunctions via the Agilent T&M framework vee wrapper wizard.    We areseeing some problem on some target machines that the C# code falls over whenfirst run because it can’t seem to find the callable vee server.   This isstrange, because all machines have the same version of vee run time runningafter clean installs. I appreciate this is very vague but does anyone have anyexperience of distributing applications that utilise the callable vee serverand may be able to shed some light on this? Thanks in advance. Nick---You are currently subscribed to vrf as: rsb@soco.agilent.comTo 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".Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2019-9-6 13:44:47 评论

举报

Hi Qi,是的,我尝试过多种排列...例如:Outputs = myFunc.Call(Inputs)AndOutput = myFunc.Call()对于没有输入参数的函数。
我相信如果一个函数没有显式返回一个值,它将返回一个零回到调用系统。
有趣的是,Matlab似乎无法识别这种回报 - 它总是将其显示为NaN。
我无法使用Matlab ActX客户端 - > VEE服务器,能够在函数之间来回传递数据。
我已经使用文件读/写来传递参数。
我认为问题在于Matlab而不是Callable VEE,因为VBScript / VBAThanks中的东西很好用于建议Andy -----原始消息-----来自:qi_gao@agilent.com [mailto:qi_gao@agilent.com]
发送时间:2006年2月16日,星期四,上午1:54:街道,Andy MSubject:RE:[vrf] Callable VEE ServerAndy,你有没有试过像:Outputs = myFunc.Call(Inputs)这是因为第二个参数是
在COM中定义[in,out]。
Qi -----原帖-----来自:Street,Andy M [mailto:andy.street@tycoelectronics.com]发送时间:2006年1月10日星期二上午6:00至:VRFS主题:[vrf] Callable VEE
ServerHello VRF,我试图使用Callable VEE服务器(使用VEE Rev 7.51)和Matlab(版本7)作为ActiveX客户端。
我可以实例化服务器,加载库(vee文件),并确定输入和输出参数属性等。我不能做的一件事就是调用任何函数。换句话说:myFunc.Call(Inputs,Outputs)抛出一个
Matlab中的错误。
Matlab / VEE抱怨数量的参数(它表示该方法只能接受一个输入参数)或者当我希望它返回一个数字时返回NaN(用户函数现在有输入并且被设计为返回一个Real64)。
我已经能够使用CallableVEE服务器非常愉快地使用VBScript和Excel VBA,所以我认为我的VEE安装很好。
有没有人知道你是否可以使用Matlab作为ActiveX客户端成功地使用VEE服务器,如果是这样,我缺少什么。感谢安迪---您目前订阅了vrf:qi_gao@agilent.com要订阅一封空白电子邮件,请“加入 -
vrf@it.lists.it.agilent.com“。要取消订阅,请发送一封空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要发送邮件到此邮件列表,请发送电子邮件至”vrf @ agilent。
COM”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”.---
您目前订阅vrf为:rsb@soco.agilent.com要订阅,请向“join-vrf@lists.it.agilent.com”发送空白电子邮件请求。要取消订阅,请发送空白电子邮件至“leave-vrf @ it。
lists.it.agilent.com“。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@agilent.com“。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  Hi Qi,

Yes, I have tried a number of permutations...

For example:

Outputs=myFunc.Call(Inputs)

And also

Output=myFunc.Call()

For a function with no input arguments.  I believe that if a function
does not explicitly return a value, it will return a zero back to the
calling system.  Interestingly, Matlab, does not seem to be able to
recognize this return - it always shows it as NaN.  I have got nowhere
with the Matlab ActX Client -> VEE Server in terms of being able to pass
data back and forth to and from the functions.  I have resorted to file
reads/writes for passing of parameters.  I believe that the problem lies
with Matlab rather than Callable VEE as things are good in VBScript/VBA

Thanks for the suggestion

Andy

-----Original Message-----
From: qi_gao@agilent.com [mailto:qi_gao@agilent.com]
Sent: Thursday, February 16, 2006 1:54 AM
To: Street, Andy M
Subject: RE: [vrf] Callable VEE Server

Andy,
Have you tried to do something like:

Outputs = myFunc.Call(Inputs)

This is because the second parameter is defined [in, out] in COM. 

Qi

-----Original Message-----
From: Street, Andy M [mailto:andy.street@tycoelectronics.com]
Sent: Tuesday, January 10, 2006 6:00 AM
To: VRF
Subject: [vrf] Callable VEE Server

Hello VRF,

I am trying to use the Callable VEE Server (using VEE Rev 7.51) with
Matlab (Version 7) as the ActiveX client.  I can instantiate the server,
load a library (vee file), and determine the input and output argument
properties etc.  The one thing that I cannot do is call any of the
functions.

In other words:

myFunc.Call(Inputs,Outputs)

throws an error in Matlab.  Matlab/VEE complains about either the number
of arguments (it says that the method can only accept one input
argument) or returns NaN when I am hoping it would return a number (user
function has now inputs and is designed to return a Real64).  I have
been able to use VBScript and Excel VBA quite happily with the Callable
VEE Server, so I think my VEE install is good.  Does anyone know if you
can work the VEE server successfully using Matlab as the ActiveX client
and if so, what am I missing.

Thanks

Andy

---
You are currently subscribed to vrf as: qi_gao@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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email request to "join-vrf@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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2019-9-6 13:51:50 评论

举报

Hi Qi,是的,我尝试过多种排列...例如:Outputs = myFunc.Call(Inputs)AndOutput = myFunc.Call()对于没有输入参数的函数。
我相信如果一个函数没有显式返回一个值,它将返回一个零回到调用系统。
有趣的是,Matlab似乎无法识别这种回报 - 它总是将其显示为NaN。
我无法使用Matlab ActX客户端 - > VEE服务器,能够在函数之间来回传递数据。
我已经使用文件读/写来传递参数。
我认为问题在于Matlab而不是Callable VEE,因为VBScript / VBAThanks中的东西很好用于建议Andy -----原始消息-----来自:qi_gao@agilent.com [mailto:qi_gao@agilent.com]
发送时间:2006年2月16日,星期四,上午1:54:街道,Andy MSubject:RE:[vrf] Callable VEE ServerAndy,你有没有试过像:Outputs = myFunc.Call(Inputs)这是因为第二个参数是
在COM中定义[in,out]。
Qi -----原帖-----来自:Street,Andy M [mailto:andy.street@tycoelectronics.com]发送时间:2006年1月10日星期二上午6:00至:VRFS主题:[vrf] Callable VEE
ServerHello VRF,我试图使用Callable VEE服务器(使用VEE Rev 7.51)和Matlab(版本7)作为ActiveX客户端。
我可以实例化服务器,加载库(vee文件),并确定输入和输出参数属性等。我不能做的一件事就是调用任何函数。换句话说:myFunc.Call(Inputs,Outputs)抛出一个
Matlab中的错误。
Matlab / VEE抱怨数量的参数(它表示该方法只能接受一个输入参数)或者当我希望它返回一个数字时返回NaN(用户函数现在有输入并且被设计为返回一个Real64)。
我已经能够使用CallableVEE服务器非常愉快地使用VBScript和Excel VBA,所以我认为我的VEE安装很好。
有没有人知道你是否可以使用Matlab作为ActiveX客户端成功地使用VEE服务器,如果是这样,我缺少什么。感谢安迪---您目前订阅了vrf:qi_gao@agilent.com要订阅一封空白电子邮件,请“加入 -
vrf@it.lists.it.agilent.com“。要取消订阅,请发送一封空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要发送邮件到此邮件列表,请发送电子邮件至”vrf @ agilent。
COM”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”.---
您目前订阅vrf为:rsb@soco.agilent.com要订阅,请向“join-vrf@lists.it.agilent.com”发送空白电子邮件请求。要取消订阅,请发送空白电子邮件至“leave-vrf @ it。
lists.it.agilent.com“。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@agilent.com“。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  Hi Qi,

Yes, I have tried a number of permutations...

For example:

Outputs=myFunc.Call(Inputs)

And also

Output=myFunc.Call()

For a function with no input arguments.  I believe that if a function
does not explicitly return a value, it will return a zero back to the
calling system.  Interestingly, Matlab, does not seem to be able to
recognize this return - it always shows it as NaN.  I have got nowhere
with the Matlab ActX Client -> VEE Server in terms of being able to pass
data back and forth to and from the functions.  I have resorted to file
reads/writes for passing of parameters.  I believe that the problem lies
with Matlab rather than Callable VEE as things are good in VBScript/VBA

Thanks for the suggestion

Andy

-----Original Message-----
From: qi_gao@agilent.com [mailto:qi_gao@agilent.com]
Sent: Thursday, February 16, 2006 1:54 AM
To: Street, Andy M
Subject: RE: [vrf] Callable VEE Server

Andy,
Have you tried to do something like:

Outputs = myFunc.Call(Inputs)

This is because the second parameter is defined [in, out] in COM. 

Qi

-----Original Message-----
From: Street, Andy M [mailto:andy.street@tycoelectronics.com]
Sent: Tuesday, January 10, 2006 6:00 AM
To: VRF
Subject: [vrf] Callable VEE Server

Hello VRF,

I am trying to use the Callable VEE Server (using VEE Rev 7.51) with
Matlab (Version 7) as the ActiveX client.  I can instantiate the server,
load a library (vee file), and determine the input and output argument
properties etc.  The one thing that I cannot do is call any of the
functions.

In other words:

myFunc.Call(Inputs,Outputs)

throws an error in Matlab.  Matlab/VEE complains about either the number
of arguments (it says that the method can only accept one input
argument) or returns NaN when I am hoping it would return a number (user
function has now inputs and is designed to return a Real64).  I have
been able to use VBScript and Excel VBA quite happily with the Callable
VEE Server, so I think my VEE install is good.  Does anyone know if you
can work the VEE server successfully using Matlab as the ActiveX client
and if so, what am I missing.

Thanks

Andy

---
You are currently subscribed to vrf as: qi_gao@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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email request to "join-vrf@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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2019-9-6 13:59:40 评论

举报

Hi Qi,是的,我尝试过多种排列...例如:Outputs = myFunc.Call(Inputs)AndOutput = myFunc.Call()对于没有输入参数的函数。
我相信如果一个函数没有显式返回一个值,它将返回一个零回到调用系统。
有趣的是,Matlab似乎无法识别这种回归 - 它总是将其显示为NaN。
我无法使用Matlab ActX客户端 - > VEE服务器,能够在函数之间来回传递数据。
我已经使用文件读/写来传递参数。
我认为问题在于Matlab而不是Callable VEE,因为VBScript / VBAThanks的建议很好-----原始消息-----来自:qi_gao@agilent.com [mailto:qi_gao@agilent.com
发送时间:2006年2月16日,星期四,上午1:54:街道,Andy MSubject:RE:[vrf] Callable VEE ServerAndy,你有没有试过做类似的事情:Outputs = myFunc.Call(Inputs)这是因为第二个参数
在COM中定义[in,out]。
Qi -----原帖-----来自:Street,Andy M [mailto:andy.street@tycoelectronics.com]发送时间:2006年1月10日星期二上午6:00至:VRFS主题:[vrf] Callable VEE
ServerHello VRF,我试图使用可调用的VEE服务器(使用VEE Rev 7.51)和Matlab(版本7)作为ActiveX客户端。
我可以实例化服务器,加载库(vee文件),并确定输入和输出参数属性等。我不能做的一件事是调用任何函数。换句话说:myFunc.Call(输入,输出)
在Matlab中抛出一个错误。
Matlab / VEE抱怨参数的数量(它表示该方法只能接受一个输入参数)或者当我希望它返回一个数字时返回NaN(用户函数现在已经输入并且被设计为返回一个Real64)。
我已经能够使用Callable VEE服务器非常愉快地使用VBScript和Excel VBA,所以我认为我的VEE安装很好。
有没有人知道你是否可以使用Matlab成功地使用VEE服务器作为ActiveX客户端,如果是这样,我缺少什么。感谢安迪---您目前订阅vrf为:qi_gao@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”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”.---
要订阅,请向“join-vrf@lists.it.agilent.com”发送空白电子邮件请求。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要向此发送消息
邮件列表,请发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  Hi Qi,

Yes, I have tried a number of permutations...

For example:

Outputs=myFunc.Call(Inputs)

And also

Output=myFunc.Call()

For a function with no input arguments.  I believe that if a function does not explicitly return a value, it will return a zero back to the calling system.  Interestingly, Matlab, does not seem to be able to recognize this return - it always shows it as NaN.  I have got nowhere with the Matlab ActX Client -> VEE Server in terms of being able to pass data back and forth to and from the functions.  I have resorted to file reads/writes for passing of parameters.  I believe that the problem lies with Matlab rather than Callable VEE as things are good in VBScript/VBA

Thanks for the suggestion

Andy

-----Original Message-----
From: qi_gao@agilent.com [mailto:qi_gao@agilent.com]
Sent: Thursday, February 16, 2006 1:54 AM
To: Street, Andy M
Subject: RE: [vrf] Callable VEE Server

Andy,
Have you tried to do something like:

Outputs = myFunc.Call(Inputs)

This is because the second parameter is defined [in, out] in COM. 

Qi

-----Original Message-----
From: Street, Andy M [mailto:andy.street@tycoelectronics.com]
Sent: Tuesday, January 10, 2006 6:00 AM
To: VRF
Subject: [vrf] Callable VEE Server

Hello VRF,

I am trying to use the Callable VEE Server (using VEE Rev 7.51) with Matlab (Version 7) as the ActiveX client.  I can instantiate the server, load a library (vee file), and determine the input and output argument properties etc.  The one thing that I cannot do is call any of the functions.

In other words:

myFunc.Call(Inputs,Outputs)

throws an error in Matlab.  Matlab/VEE complains about either the number of arguments (it says that the method can only accept one input
argument) or returns NaN when I am hoping it would return a number (user function has now inputs and is designed to return a Real64).  I have been able to use VBScript and Excel VBA quite happily with the Callable VEE Server, so I think my VEE install is good.  Does anyone know if you can work the VEE server successfully using Matlab as the ActiveX client and if so, what am I missing.

Thanks

Andy

---
You are currently subscribed to vrf as: qi_gao@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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

---
To subscribe send a blank email request to "join-vrf@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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2019-9-6 14:12:26 评论

举报

只有小组成员才能发言,加入小组>>

67个成员聚集在这个小组

加入小组

创建小组步骤

关闭

站长推荐 上一条 /10 下一条

快速回复 返回顶部 返回列表