Modular Data Acquisition
Distributed Measurement and Control
High-Performance Test
Automated Test System Development Software
Perspectives showcases how NI sees what’s next in the world of test and technology.
You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
修改时间 04-15-2021 03:10 AM
这是其中的信号输出部分的框图,这个循环每次以采样频率1kHz输出1000个采样点,按理说每次循环就执行1s左右。但是很奇怪的是,i=0这个循环很快(肯定没有1s)一下子就跳到了i=1,往后继续执行的时候就正常了。所以我的疑问是为什么在i=0的这个循环为什么会这么快?
首先我怀疑在i=0的这个循环里没有执行信号输出的操作,所以在循环里放置了定时函数,然后再检测对应通道的信号生成,发现在i=0这个循环一样是有信号输出的。
这就令我更加疑惑了,所以请教各位大佬帮我分析一下究竟是什么原因,谢谢!
修改时间 04-15-2021 07:41 PM
一般刷新率超过60hz 我们就分辨不出来了,所以呢靠感觉去评估是不准的。你可以使用Elapsed time函数实际测试一下每次循环周期时间,如果确实时第一个周期时间很短还有输出,那就查找一下第一个循环都做了使什么周期短,第二个都做了什么使周期长。
What do you need our team of experts to assist you with?
Thanks!
We'll be in touch soon!