Benchtop Measurement and Test
Distributed Measurement and Control
High-Performance Test
Systems Engineering 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.
修改时间 07-15-2018 05:13 AM
想请教大家一个问题~~如何在两个并行的循环(循环A和循环B),将循环A中的值a(数值或者布尔值),在循环B中实时调用。值a在程序进行中是变化的。
跪谢!!
修改时间 07-15-2018 01:56 PM
哪有没有同步的要求?
修改时间 07-15-2018 09:51 PM
嗯嗯,希望循环B中调用的a值与循环A中的a值一起变化。这个问题的实际背景是:我把一个数据采集的程序和一个相机采集的程序放到了统一VI里面,希望数据采集(循环A)和相机采集(循环B)同时开始,10s后数据采集结束后,相机采集同时结束。
修改时间 07-15-2018 10:53 PM
那你用 "consumer-producer" 了吗?
修改时间 07-16-2018 12:50 AM
暂时没有~~不过我好像发现问题了。。。局部变量要套循环才能更新,还有就是循环A优先于局部变量,循环A停止了,最后一个a值是不会更新到局部变量的。。。
修改时间 07-16-2018 10:02 AM
> 暂时没有
噢, 那你还没入门.
先拿本书学一下.
What do you need our team of experts to assist you with?
Thanks!
We'll be in touch soon!