完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您也可以使用Allocate Array对象underData> Allocate Array初始化它;
这个对象输出一个最多10个dims的数组,带有指定的值然后你用一个公式框或SetVariable.Reiner设置你的数组-----原始消息-----来自:Rodriguez,Patrick [mailto:RODRIGUP 发送时间:2002年8月15日星期四下午6:00到:VEE vrfSubject:[vrf] Array2D二维数组问题:1。 如何在声明后使用设置变量初始化它?.2。 如何将2D数组馈送到记录?3。 如何从Record和DataSet中提取相同的2D数组?提前谢谢. 以上来自于谷歌翻译 以下为原文 You can also initialize it with the Allocate Array object, under Data>Allocate Array; this object outputs an array of up to 10 dims with spec'd values which you then set your array to with a formula box or Set Variable. Reiner -----Original Message----- From: Rodriguez, Patrick [mailto:RODRIGUP@tycoelectronics.com] Sent: Thursday, August 15, 2002 6:00 PM To: VEE vrf Subject: [vrf] Array2D Two dimensions array problem: 1. How do I initialize it using Set Variable after being Declared?. 2. How can I feed a 2D array to a Record? 3. How can I extract the same 2D array from a Record and a DataSet? Thank you in advance. Patrick Rodriguez M/A-COM --- You are currently subscribed to vrf as: reiner.schlieker@siemens.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: r***@soco.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个回答
|
|
Pat - 这里是:> 1.如何在>声明后使用设置变量初始化> .1。
我不会。 我会使用这样的公式框:假设声明名称'ary',全局,Int32,num dims = 2:ary = [[1,2,3],[4,5,6]];> 2.如何 我可以将2D数组>送入记录吗?2。 定义所述记录的一个成员以包含两个维度的数组。但是要知道所述记录的集合。 所有阵列都必须是相同的形状*和*大小。 但是,也许最好的方法就是这样做。 我刚从列表中的folkson那里学到了很多关于写交易“TO CONTAINER”的知识。 检查该选项。 它是如此强大。> 3.如何从记录和>数据集中提取相同的> 2D数组?rec.ary(甚至rec.ary [0,2]我认为将适用于特定元素)。与...同 数据集 - 只是写& 读为正常记录。-SHAWN ----您目前订阅vrf为:r***@soco.agilent.com要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。发送 发送到此邮件列表的邮件,请发送电子邮件至“vrf@it.lists.it.agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Pat - Here goes: > 1. How do I initialize it > using Set Variable after > being Declared?. 1. I wouldn't. I'd use a formual box like so: Assume declared name 'ary', global, Int32, num dims = 2: ary = [[1, 2, 3], [4, 5, 6]]; > 2. How can I feed a 2D array > to a Record? 2. Define one member of said record to contain an array of two dimensions. Beware of collections of said record though. All arrays will have to be the same shape *and* size. However, maybe the best way to do this is simply not to. I just learned a lot about write transactions "TO CONTAINER" from folks on the list. Check that option out. It's WAY powerful. > 3. How can I extract the same > 2D array from a Record and > a DataSet? rec.ary (or even rec.ary[0,2] I think will work for a particular element). Same with dataset - just write & read as normal record. -SHAWN- --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] 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". |
|
|
|
二维数组问题:1。
如何在声明后使用设置变量初始化它?.2。 如何将2D数组馈送到记录?3。 如何从Record和DataSet中提取相同的2D数组?提前谢谢.Patrick RodriguezM / A-COM ---您目前订阅了vrf:r***@soco.agilent.com要取消订阅,请发送空白电子邮件至 “leave-vrf@it.lists.it.agilent.com”。要向此邮件列表发送消息,请发送电子邮件至“vrf@it.lists.it.agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Two dimensions array problem: 1. How do I initialize it using Set Variable after being Declared?. 2. How can I feed a 2D array to a Record? 3. How can I extract the same 2D array from a Record and a DataSet? Thank you in advance. Patrick Rodriguez M/A-COM --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] 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". |
|
|
|
只有小组成员才能发言,加入小组>>
1349 浏览 0 评论
2405 浏览 1 评论
2234 浏览 1 评论
2088 浏览 5 评论
2981 浏览 3 评论
1308浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
793浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
1095浏览 0评论
1349浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-1-31 09:57 , Processed in 1.135458 second(s), Total 49, Slave 43 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号