NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

Elapsed time如何精确到毫秒


:(
公司的Lab是7。0版本的,看不了篮球鬼哥给的例子,
不过在这里谢谢篮球和Yukee。
还有个问题,用"Elapsed time"能计算时间,可是我想
精确到毫秒,不知道如何是好。
试用了“tick count”,显示的是一堆数字,且无法清零,不能直观的
显示所耗时间,是不是哪里的设置错了。

0 项奖励
1 条消息(共 5 条)
5,796 次查看
You can use "VI Profile"
 
Tools->Advanced->Profile VIs...
0 项奖励
2 条消息(共 5 条)
5,776 次查看
有那功能吗?能说说具体怎么调吗?
——————————————
党教育我们要忠于人民
0 项奖励
3 条消息(共 5 条)
5,774 次查看
"The Profile window is a powerful tool for determining where your application is spending its time and how it is using
memory. The Profile window has an interactive tabular display of time and memory usage for each VI in your system.
Each row of the table contains information for a specific VI. The time spent by each VI is divided into several
categories and summarized. The Profile window calculates the minimum, maximum, and average time spent per run
of a VI."
 
Please read
NI Application Note 168
LabVIEW™ Performance and Memory Management
for detail.
0 项奖励
4 条消息(共 5 条)
5,770 次查看

tick count 是这样用的

程序开始的时候用一个tick count 然后在你需要的时候用一个tick count,把两个数值相减

可以得到比较精确的时间值

不过最后一位不可信

 

0 项奖励
5 条消息(共 5 条)
5,759 次查看