完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好,我正在运行一个for循环,它激活VEE中定时器的终端T2。
在for循环开始之前首先激活终端T1。 当我运行它时,在for循环的每次运行中激活通常应该增加为T2的计时器输出值,不知何故似乎显示出一些差异。 就像我一样,我希望输出值逐渐增加,如1.1us,3.9us,6.5us,7.9us,..我得到的值似乎表现出类似的趋势,但有时我会得到偶尔的错误,比如1.1us ,0.9us,3.9us,6.5us,....这在我正在努力开发的应用程序中尤为重要。你可以帮助我吗? 根据帮助,计时器忽略T2在T1之前到达的情况并且我已经验证了这一点。 所以,我认为没有任何理由可以解决这种情况。 我附上了我的意思快照,谢谢苏布 以上来自于谷歌翻译 以下为原文 Hello, I am running a for loop which activates the terminal T2 of the timer in VEE. The terminal T1 is first activated before the for loop starts. When I run it, the timer output values which are normally supposed to be increasing as T2 is activated in each run of the for loop, somehow seem to show some discrepancies. Like for eg, I would expect the output value to be gradually increasing like 1.1us, 3.9us, 6.5us, 7.9us,.. The values I get seem to show a similar trend but sometimes I get this occasional error like say 1.1us, 0.9us, 3.9us, 6.5us,.... This is particularly very important in the app I am trying to develop.Can you help me out? According to the help, the timer ignores a case when T2 arrives before T1 and I have verified this. So, I don't see any reason as to how this would happen. I have attached a snapshot of what I mean Thanks Subu 附件
|
|
相关推荐
2个回答
|
|
嗨,我也很困惑。
我不知道这是怎么发生的。 第一个情节是我期望的,但程序产生这样的结果只有一次是10次。 但大多数情况总是存在问题,并且在第二个图中显示了典型的情况。 看起来某些数据点因常数y偏移而不同。 定时器使用高精度时钟,具体取决于操作系统。 这可能取决于系统或VEE版本(我使用的是ver.8)? ThanksSubu 以上来自于谷歌翻译 以下为原文 Hi, I am confused too. I don't see how this is can happen. The first plot is something that I would expect but the program produces such a result only about once is 10 times. But mostly there is always a problem and a typical case is shown in the second plot. It looks like certain data points differ by a constant y offset. The timer uses a high precision clock depending on the OS. Could this then depend on the system or VEE version (I'm using ver.8 )? Thanks Subu |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
1223 浏览 0 评论
2347 浏览 1 评论
2157 浏览 1 评论
2022 浏览 5 评论
2902 浏览 3 评论
964浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
700浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
801浏览 0评论
1223浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-23 02:06 , Processed in 1.338035 second(s), Total 80, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号