当我创建计数器任务时得到错误-200431?
硬件: Multifunction DAQ (MIO)
问题: 我使用M系列板卡和DAQmx创建计数器任务,得到如下错误:

Error -200431 occurred at DAQmx Create Channel
Possible reason(s): Selected physical channel does not support the measurement type required by the virtual channel you are creating.
Create a channel of a measurement type that is supported by the physical channel, or select a physical channel that supports the measurement type.
为了使用该任务,我该创建什么通道呢?
解答: 在DAQmx 9.0及以后的版本中,三种计数器任务仅被X系列和cDAQ系列板卡支持。如果你试图在不支持的硬件上创建这些任务,你将得到上述错误。
上述提及的三种计数器任务具体如下表所示:
Task Type |
Paired Measurement |
CI Pulse Freq |
Frequency and Duty Cycle |
CI Pulse Time |
High-Time Low-Time |
CI Pulse Ticks |
High Ticks Low Ticks |
这些任务与被大多数M系列板卡支持的半周期计数器测量任务类似。
相关链接: Developer Zone Community: Measure Duty Cycle - Buffered - FiniteDeveloper Zone Tutorial: Pulse Width Modulation (PWM) Using NI-DAQmx and LabVIEW
附件:
报告日期: 08/12/2010
最近更新: 08/02/2013
文档编号: 5CB9QT9K
Other Support Options
Ask the NI Community
Collaborate with other users in our discussion forums
Request Support from an Engineer
A valid service agreement may be required, and support options vary by country.