完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
Re:[vrf] Strange Thread Flow Example.veeI习惯了在我创建的每个并行线程的开头放置1mS延迟的习惯,以避免这种问题在某些时候发生.-----消息d
'origine ----- De:HILTON,GRAEME(A-England,ex1)[mailto:graeme_hilton@agilent.com]日期:16 mai 2003 11:52Hi Barrie,你可以尝试使用只有两个userobjects的Main。 第一个包含您的初始化例程,第二个包含程序的其余部分.-----原始消息-----来自:Barrie Walden [mailto:bwalden@whoi.edu]发送日期:2003年5月16日16:43我使用 很多独立的线程,由于它们的启动顺序,通常会有变量初始化问题。 最初我尝试使用左右,上下位置技术,但是很难让自己施加困难,导致我在每个线程的开头切换到带有相关测试代码的“初始化标志”。 即使这还不够 - 现在我在测试代码之前加上adelay以确保已经设置了初始化标志。 在任何其他线程开始之前,有一种方法可以强制特定线程先运行并完成tocompletion .----- Message d'origine ----- De:Andrew Fudge [mailto:AndrewF@genesysibs.com] 日期:16 mai 2003 04:34我注意到一些奇怪的线程流行为。 如果有人感到无聊,你可以玩这个。通过这个程序,你可以看到“UserFunction2”阻止所有其他线程的执行。 其他任何东西都无法运行。但是,如果“UserFunction2”序列输入引脚连接到“Delay”或“Until Break”对象,则所有线程都按预期运行。安捷伦的任何人都可以解释此行为。 首先运行哪个线程有什么优先级吗?奇怪......---您目前订阅了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”。 以上来自于谷歌翻译 以下为原文 Re: [vrf] Strange Thread Flow Example.veeI took the habit over the time to put a 1mS delay at the beginning of each parallel thread I create to avoid this kind of problem that were happening some times.-----Message d'origine-----De: HILTON,GRAEME (A-England,ex1) [mailto:graeme_hilton@agilent.com]Date: 16 mai 2003 11:52Hi Barrie,You could try have a Main with only two userobjects. The first contains your initialisation routines and the second, the rest of the program.-----Original Message-----From: Barrie Walden [mailto:bwalden@whoi.edu]Sent: 16 May 2003 16:43I use a lot of independent threads and routinely have variableinitialization problems due to the order in which they start. InitiallyI tried using the left-right, top-bottom position technique but hadenough self imposed difficulties to cause me to switch over to an"initialization flag" with associated test code at the beginning of eachthread. Even this wasn't enough - now I precede the test code with adelay to make sure the initialization flag has been set. It would benice to have a means for forcing a particular thread to run first and tocompletion before any other threads start.-----Message d'origine-----De: Andrew Fudge [mailto:AndrewF@genesysibs.com]Date: 16 mai 2003 04:34I have noticed some strange thread flow behaviour. If anyone is bored you can play with this.Step through this program and you can see that "UserFunction2" holds up execution of all other threads. Nothing else can run.However, if "UserFunction2" sequence input pin is connected to the "Delay" or "Until Break" objects, all threads run as expected.Could anyone at Agilent explain this behaviour. Are there any priorities on which thread runs first?Strange...---You are currently subscribed to vrf as: r***@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@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". |
|
相关推荐
4个回答
|
|
|
|
|
|
显示目录文件我知道这个问题之前已经发布但我在我的档案中找不到它。我想在目录中搜索文件以查看它是否存在。
我不想使用文件名选择提示,我想用我将作为变量提供的文件名进行搜索。谢谢提前罗斯---您目前订阅了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”。 以上来自于谷歌翻译 以下为原文 Display directory filesI know this question has been posted before but I cannot find it in my archives.I want to search for a file in a directory to see if it exists. I don't want to use the file name selection prompt, I want to search with a filename that I will supply as a variable.Thanks in advanceRoss---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". |
|
|
|
总而言之,我使用了很多独立的线程,并且由于它们的启动顺序而经常会出现变量初始化问题。
最初我尝试使用左右,上下位置技术,但是很难让自己施加困难,导致我在每个线程的开头切换到带有相关测试代码的“初始化标志”。 即使这还不够 - 现在我在测试代码之前加上adelay以确保已经设置了初始化标志。 在任何其他线程启动之前,有一种方法可以强制特定线程先运行并完成tocomple .Barrie ---您目前订阅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”。 以上来自于谷歌翻译 以下为原文 All, I use a lot of independent threads and routinely have variable initialization problems due to the order in which they start. Initially I tried using the left-right, top-bottom position technique but had enough self imposed difficulties to cause me to switch over to an "initialization flag" with associated test code at the beginning of each thread. Even this wasn't enough - now I precede the test code with a delay to make sure the initialization flag has been set. It would be nice to have a means for forcing a particular thread to run first and to completion before any other threads start. Barrie --- 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". |
|
|
|
嗨巴里,你可以尝试使用只有两个userobjects的Main。
第一个包含您的初始化程序,第二个包含程序的其余部分.-- Graeme Hilton -----原始消息-----来自:Barrie Walden [mailto:bwalden@whoi.edu]发送日期:2003年5月16日 16:43:VEE vrfSubject:[vrf] Re:Strange Thread Flow Example.veeAll,我使用了很多独立的线程,并且由于它们的启动顺序,通常会有变量初始化问题。 最初我尝试使用左右,上下位置技术,但是很难让自己施加困难,导致我在每个线程的开头切换到带有相关测试代码的“初始化标志”。 即使这还不够 - 现在我在测试代码之前加上adelay以确保已经设置了初始化标志。 在任何其他线程启动之前,有一种方法可以强制特定线程先运行并完成tocomple .Barrie ---您目前订阅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”。 以上来自于谷歌翻译 以下为原文 Hi Barrie, You could try have a Main with only two userobjects. The first contains your initialisation routines and the second, the rest of the program. -- Graeme Hilton -----Original Message----- From: Barrie Walden [mailto:bwalden@whoi.edu] Sent: 16 May 2003 16:43 To: VEE vrf Subject: [vrf] Re: Strange Thread Flow Example.vee All, I use a lot of independent threads and routinely have variable initialization problems due to the order in which they start. Initially I tried using the left-right, top-bottom position technique but had enough self imposed difficulties to cause me to switch over to an "initialization flag" with associated test code at the beginning of each thread. Even this wasn't enough - now I precede the test code with a delay to make sure the initialization flag has been set. It would be nice to have a means for forcing a particular thread to run first and to completion before any other threads start. Barrie --- 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". |
|
|
|
只有小组成员才能发言,加入小组>>
1271 浏览 0 评论
2371 浏览 1 评论
2187 浏览 1 评论
2061 浏览 5 评论
2943 浏览 3 评论
1083浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
744浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
903浏览 0评论
1271浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-18 21:44 , Processed in 1.399288 second(s), Total 52, Slave 45 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号