完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
嗨,正如Shawn简要建议的那样,我也有同样的麻烦。我仍然无法将数组的指针传递给VEE的dotNet操作。
我现在正在搜索dotNet软件以便在他的系统中使用ILDASM。注意,FUKUI Yutaka -----原始消息----->主题:RE:[vrf]将指针传递给数组>日期: 周五,2008年3月7日09:43:56 -0500>来自:“Warren,Rufus”>致:VRF >>>也许我问错了问题。 我正在使用一个使用> byref而不是byval的.Net对象。 因此,当我将对象放入VEE时,我无法通过参数传递数组。 可以这样做吗?>>> Rufus >> -----原帖----->来自:Shawn Fessenden [mailto:shawn@vrfarchive.com]>发送时间:2008年3月5日星期三下午5:44 >收件人:VRF>主题:RE:[vrf]将指针传递给数组>>>有没有人知道如何将指针>>传递给数组到VEE中的DLL。>>只需命名数组:>> import: int __stdcall DoSomething(float * pArray,int size); >> VEE:> ary = AsReal32(ramp(10,0,9));> result = DoSomething(ary,10);> - SHAWN - >>>信息 此消息中包含的内容是保密的,可能具有法律特权。 如果您不是此电子邮件及其附件的预定收件人,则必须不对其进行任何操作,也不得将其复制或显示给任何人。>如果您认为错误地收到了此电子邮件,请与发件人联系。> >>>>> --->您目前订阅了vrf:fukui.yutaka@jp.fujitsu.com>如欲订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com” 单击订阅邮件正文。>要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。>要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。 >如果您需要有关邮件列表的帮助,请发送邮件至>“owner-vrf@it.lists.it.agilent.com”。>在“http://www.vrfarchive.com/”搜索“非官方vrf档案” vrf_archive“。>在”http://vee.engineering.agilent.com“上搜索Agilent vrf存档。> ==? ================================================== =================== FUJITSU ???(?)???? [?9-432] ????????? ?????????)??·?????????? ? ?? ? (FUKUI Yutaka)INTERNET电子邮件:fukui.yutaka@jp.fujitsu.comTEL:044-754-2238(分机:711-5-3153)传真:044-754-2434(分机:711-5-3178)= =? ================================================== =================== ---您目前订阅了vrf:ming_meng@agilent.com要订阅,请发送电子邮件至:“vrf-request@lists.it .agilent.com“在邮件正文中单词subscribe。要取消订阅,请发送一封空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要向此邮件列表发送邮件,请发送电子邮件至”vrf @ agilent .COM”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“http://www.vrfarchive.com/vrf_archive”上搜索“非官方vrf档案”。 在“http://vee.engineering.agilent.com”上搜索Agilent vrf存档。 以上来自于谷歌翻译 以下为原文 Hi, As Shawn briefly suggests, I have the same trouble. I still can not pass pointer of an array to VEE's dotNet operation. I am now searching for a dotNet softee in order to use the ILDASM in his system. Regards, FUKUI Yutaka ----- Original Message ----- >Subject: RE: [vrf] Passing Pointer to an array >Date: Fri, 7 Mar 2008 09:43:56 -0500 >From: "Warren, Rufus" >To: VRF > > >Maybe I asked the wrong question. I'm using a .Net object that uses a >byref instead of a byval. So when I drop the object into VEE I cannot >pass the array byref. Can this be done? > > >Rufus > >-----Original Message----- >From: Shawn Fessenden [mailto:shawn@vrfarchive.com] >Sent: Wednesday, March 05, 2008 5:44 PM >To: VRF >Subject: RE: [vrf] Passing Pointer to an array > >> Does anyone know how to pass a pointer >> to an array to a DLL within VEE. > >Just name the array: > >import: int __stdcall DoSomething(float *pArray, int size); > >VEE: >ary = AsReal32(ramp(10, 0, 9)); >result = DoSomething(ary, 10); >-SHAWN- > > >The information contained in this message is confidential and may be legally privileged. If you are not the intended recipient of this email and its attach ments, you must take no action based upon them, nor must you copy or show them to anyone. >Please contact the sender if you believe you have received this email in erro r. > > > > > >--- >You are currently subscribed to vrf as: fukui.yutaka@jp.fujitsu.com >To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body. >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 "http://www.vrfarchive.com/vrf_archive ". >Search the Agilent vrf archive at "http://vee.engineering.agilent.com". > == ? ===================================================================== FUJITSU ???(?)????[?9-432] ????????? ?????????)??·?????????? ? ?? ? (FUKUI Yutaka) INTERNET E-Mail: fukui.yutaka@jp.fujitsu.com TEL: 044-754-2238(ext:711-5-3153) FAX: 044-754-2434(ext:711-5-3178) == ? ===================================================================== --- You are currently subscribed to vrf as: ming_meng@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body. 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 "http://www.vrfarchive.com/vrf_archive". Search the Agilent vrf archive at "http://vee.engineering.agilent.com". |
|
相关推荐
7个回答
|
|
有没有人知道如何将指向数组的指针传递给VEE内的DLL.Rufus _____此消息中包含的信息是保密的,可能具有法律特权。
如果您不是此电子邮件及其附件的预定收件人,则您必须不对其进行任何操作,也不得将其复制或显示给任何人。如果您认为错误地收到了此电子邮件,请与发件人联系.-- - 您目前订阅了vrf:ming_meng@agilent.com要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。 要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。 要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 在“http://www.vrfarchive.com/vrf_archive”上搜索“unofficial vrf archive”。 在“http://vee.engineering.agilent.com”上搜索Agilent vrf存档。 以上来自于谷歌翻译 以下为原文 Does anyone know how to pass a pointer to an array to a DLL within VEE. Rufus _____ The information contained in this message is confidential and may be legally privileged. If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Please contact the sender if you believe you have received this email in error. --- You are currently subscribed to vrf as: ming_meng@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body. 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 "http://www.vrfarchive.com/vrf_archive". Search the Agilent vrf archive at "http://vee.engineering.agilent.com". |
|
|
|
>有没有人知道如何将指向数组的指针传递给> VEE内的DLL。只需将数组命名为:import:int __stdcall DoSomething(float * pArray,int size); VEE:ary = AsReal32(ramp(10,0,
9));结果= DoSomething(ary,10); - SHAWN- 以上来自于谷歌翻译 以下为原文 > Does anyone know how to pass a pointer to an array to a DLL within > VEE. Just name the array: import: int __stdcall DoSomething(float *pArray, int size); VEE: ary = AsReal32(ramp(10, 0, 9)); result = DoSomething(ary, 10); -SHAWN- |
|
|
|
也许我问错了问题。
我正在使用一个使用byref而不是byval的.Net对象。 因此,当我将对象放入VEE时,我无法通过数组传递。 这可以吗?Rufus -----原始消息-----来自:Shawn Fessenden [mailto:shawn@vrfarchive.com]发送时间:2008年3月5日星期三下午5点44分:VRFS主题:RE:[vrf ]将指针传递给数组>有没有人知道如何将指向数组的指针传递给> VEE内的DLL。只需命名数组:import:int __stdcall DoSomething(float * pArray,int size); VEE:ary = AsReal32( ramp(10,0,9)); result = DoSomething(ary,10); - SHAWN-此消息中包含的信息是保密的,可能具有法律特权。 如果您不是此电子邮件及其附件的预定收件人,则您必须不对其进行任何操作,也不得将其复制或显示给任何人。如果您认为错误地收到了此电子邮件,请与发件人联系。 ---您目前订阅了vrf:ming_meng@agilent.com要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。要取消订阅,请发送给我们 空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要向此邮件列表发送邮件,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“http://www.vrfarchive.com/vrf_archive”上搜索“非官方vrf档案”。 在“http://vee.engineering.agilent.com”上搜索Agilent vrf存档。 以上来自于谷歌翻译 以下为原文 Maybe I asked the wrong question. I'm using a .Net object that uses a byref instead of a byval. So when I drop the object into VEE I cannot pass the array byref. Can this be done? Rufus -----Original Message----- From: Shawn Fessenden [mailto:shawn@vrfarchive.com] Sent: Wednesday, March 05, 2008 5:44 PM To: VRF Subject: RE: [vrf] Passing Pointer to an array > Does anyone know how to pass a pointer to an array to a DLL within > VEE. Just name the array: import: int __stdcall DoSomething(float *pArray, int size); VEE: ary = AsReal32(ramp(10, 0, 9)); result = DoSomething(ary, 10); -SHAWN- The information contained in this message is confidential and may be legally privileged. If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Please contact the sender if you believe you have received this email in error. --- You are currently subscribed to vrf as: ming_meng@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body. 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 "http://www.vrfarchive.com/vrf_archive". Search the Agilent vrf archive at "http://vee.engineering.agilent.com". |
|
|
|
Rufus / Fukui,你们每个人都找到了解决方案吗?
我有一个类似的问题,我有一个使用.net程序集引用导入的DLL。 当我使用.net操作构建器访问库中的函数时,有一个函数可以向SPI模块发送数据和从SPI模块接收数据。 您传递DataTx(您要发送的数据)和DataRx(收到的数据)我可以将数据发送到模块但我无法从中接收数据。 我相信通过引用传递你必须在公式框中执行它,你无法在.net操作构建器中直接编辑它。 我知道它在VEE语法中的一些东西,我可能做错了,我已经用这个追了几天我的尾巴,我没有得到任何地方。 我发布了一个pdf文件来展示我想要完成的任务,非常感谢任何人的帮助。 我将在另一篇文章中更详细地发布此问题,看看是否有其他人有任何建议。 谢谢达米安。 以上来自于谷歌翻译 以下为原文 Rufus/Fukui, Did you guys every find a solution to this? I have a similar problem where I have a dll that I have imported using the .net assembly reference. When I use the .net operation builder to access the functions inside the library, there is a function where you can send data to and receive data from a SPI module. You pass the DataTx (data you want to send) and DataRx (data received) I can send data to the module but I can not receive data from it. I beleive to pass by reference byref you have to do it inside a formula box you cannot directly edit it in .net operation builder. I know its something in the VEE syntax that Im probably doing wrong, I have been chasing my tail with this for a few days now and I have not gotten anywhere. I have posted a pdf file to show what I am trying to accomplish, any help from anyone is greatly appreciated. I am going to post this issue in more detail in another post to see if anyone else has any suggestions. thanks Damian. 附件
|
|
|
|
比吥匕卟 发表于 2019-4-4 15:49 Damian,你正在做什么在常规公式框中工作,所以在那里尝试而不是在操作构建器中。 或者,您可以使用ByRef来指示指针。 见附件。 祝你好运,-BillEdited:WDrago于2015年8月13日下午3:08 以上来自于谷歌翻译 以下为原文 Damian, What you're doing works in a regular formula box, so try it there instead of in the operation builder. Alternatively you can use ByRef to indicate a pointer. See attached. Good luck, -Bill Edited by: WDrago on Aug 13, 2015 3:08 PM 附件
|
|
|
|
如果您使用VEE反射器电子邮件列表,您可以获得更快的帮助:要订阅,请发送电子邮件至:“vrf-request@general.lists.keysight.com”,邮件正文中包含单词subscribe(没有长签名和简单 纯文本)。 -法案 以上来自于谷歌翻译 以下为原文 You can get much faster help if you use the VEE reflector email list: To subscribe please send an email to: "vrf-request@general.lists.keysight.com" with the word subscribe in the message body (no long signatures and plain text only). -Bill |
|
|
|
derek88 发表于 2019-4-4 16:09 感谢WDrago,我改为公式框,因为我很快发现在.net操作构建器中,您无法编辑它并使其返回ByRef。 我找到了解决方案。 我犯了一个简单但微妙的错误:该函数正在寻找DataTx和DataRx变量参数的Uint8数组声明。 我在宣布他们是UInt32。 DataTx变量接受Uint32但DataRx不接受。 由于DataTx部分正常工作,我错误地认为UInt32没问题。 在阅读帮助之后,它明确指出当使用ByRef时,变量声明必须完全匹配。 我的编程很草率,并没有看到明显的。 在我宣布两个Uint8后,该功能运行良好! 我会再次报名参加vrf ...我已经开始了,但是已经有好几年了,我退订了一段时间,我有一个大脑****我会再次上场。 感谢您的示例代码。编辑:DGODERICH于2015年8月16日上午9:17 以上来自于谷歌翻译 以下为原文 Thanks WDrago, I changed to a formula box because I quickly found out that in the .net operation builder you can not edit it and make it return ByRef. I found the solution. I made a simple but subtle mistake: The function was looking for Uint8 array declaration for both DataTx, and DataRx variable parameters. I was declaring them UInt32. The DataTx variable was accepting the Uint32 but the DataRx was not. I made the mistake of assuming that UInt32 was ok since the DataTx portion was working. After reading the help it clearly states that when using ByRef the variable declarations have to match exactly. I got sloppy in my programming and did not look at the obvious. After I declared both Uint8, the function worked great! I will sign up to vrf again... I use to be on but it has been years and I unsubscribed awhile back, I had a brain **** I will get on again. Thanks for the sample code. Edited by: DGODERICH on Aug 16, 2015 9:17 AM |
|
|
|
只有小组成员才能发言,加入小组>>
1203 浏览 0 评论
2340 浏览 1 评论
2142 浏览 1 评论
2013 浏览 5 评论
2892 浏览 3 评论
941浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
687浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
789浏览 0评论
1203浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-13 03:48 , Processed in 1.364979 second(s), Total 89, Slave 72 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号