From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI 6259 数字输出与模拟输入同步

Solved!
Go to solution
我将wait until done以外还需要修改ai任务中Read的等待时间都改为12s时,直接运行程序依然出现同样的错误。但我在highlight Excution下运行时,程序运行不会报错。
0 Kudos
Message 11 of 13
(362 Views)
Solution
Accepted by topic author shuai94

Hi shuai94,

 

你可以把超时时间设为-1,你看还有没有报错,-1是指等待时间无限。 这种错误通常是通过提高采样率解决的,也是推荐的方法。

 

Regards

Message 12 of 13
(351 Views)

非常感谢,现在改为-1以后,程序已经可以正常运行了

0 Kudos
Message 13 of 13
(333 Views)