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.



通过HSDIO板卡生成和获取波形在niTCLK初始化时报错-250034.



主要软件: Driver Software>>NI-HSDIO
主要软件版本: N/A
主要软件修正版本: N/A
次要软件: N/A

问题:
我正在运行一个范例Multi-Device Dynamic Generation and Acquisition-Source Synchronous (TClk).vi 或者说一个差不多的程序。当我尝试在同一块板卡上使用板载时钟进行生成和采集时,我得到了如下的报错信息:
Error 250034 occurred at niTClk Initiate.vi. Resource requested by this session has already been reserved by a different session.
为什么会发生这个错误?


解答:
有两种情况会发生这个错误。第一种情况是采集的会话使用了Strobe作为采样时钟源,并且一个参考时钟同样在这个会话中使用了。如果Strobe被用作采样时钟,你必须对参考时钟不做任何设置或者在niHSDIO Configure Ref Clock.vi配置时设置为none。
这个问题也可能因为你没有配置参考时钟而使用了板载时钟作为采样时钟。如果使用了板载时钟,你必须确保防置niHSDIO Configure Ref Clock.vi这个vi在采集任务中,并且设置源输入为固定的PXI时钟(PXI_CLK10),如下图所示。



相关链接: Developer Zone Tutorial: National Instruments NI-TClk Technology for Timing and Synchronization of Modular Instruments

附件:





报告日期: 01/22/2014
最近更新: 03/02/2015
文档编号: 6HLD1M52