Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

如何将我的运动控制器上的触发输入作为通用DIO使用?

硬件: Motion Control>>Controllers

问题: 在阅读NI-Motion帮助后得知,我的运动控制器上的高速捕获输入(High Speed Capture inputs)能作为通用DIO使用。为了实现该功能,我该如何配置我的VI?

解答: 在运动控制器板卡上,触发输入常用于执行高速捕获(High Speed Capture)。因此,您需要使用High Speed Capture VIs来将触发输入设置为通用DIO使用。为了将一个轴上的触发线作为DIO使用,您必须不在该轴向控制电机。

按照如下步骤即可在LabVIEW中实现该功能:
  1. 插入Configure High-Speed Capture.flx,并确保为其输入端提供了正确的Board ID和Axis number。
  2. 设置Capture Mode输入端为Inverting Digital InputNon-Inverting Digital Input.。这会使触发线以通用DIO方式工作。
  3. 以上步骤设置好以后,您可以使用Read High Speed Capture Status VI来对输入端进行监测。此时不需要使能高速捕获,因为并没有进行实际的捕获。
以下链接的论坛中的例子展示了如何实现该操作。

相关链接: KnowledgeBase 32K7DM85:  What is the Maximum Rate of High Speed Capture for NI 7344 and 7350?
Developer Zone Community: Trigger Inputs Used as DIO on a NI-Motion Controller

附件:





报告日期: 02/24/2009
最近更新: 03/31/2009
文档编号: 4UNHBR6T

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit