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.



我如何配置NI USB-6009/6501的数字操作为Open-Drain或Push-Pull?



硬件: Multifunction DAQ (MIO)>>Portable>>USB-6009, Digital I/O (DIO)>>Static>>USB-6501, Multifunction DAQ (MIO)>>Portable>>USB-6009, Digital I/O (DIO)>>Static>>USB-6501

问题:
我有一块NI USB-6009/6501,我从手册中读到可以配置DIO线为Open-Drain (+5V 操作) 或 Push-Pull (+3.3V 操作)。我如何才能办到?

解答:
这取决于您正在使用的NI USB-6009/6501的操作系统的情况,您可以有不同的选择。

Windows 2000/XP 和 DAQmx

您可以在以下的知识库文章中找到关于如何可编程的设置数字输出驱动类型具体的信息,"使用 LabVIEW 来配置NI USB-6009/6501的数字输出口为Open-Drain 或 Push-Pull。"



Mac OS X 或 Linux 和 DAQmx Base

您可以在NI-DAQmx Base配置工具中设置这个属性。这个工具可以在NI-DAQmx Base 文件夹中找到 (一般Mac中 Hard Drive->Applications->National Instruments->NI-DAQmx Base, 或者Linux中 /usr/local/natinst/nidaqmxbase/bin)。完成以下步骤来改变输出设置:

  1. 选择"Create New Task"
  2. 选择"Digital I/O"作为采集任务类型并为这个任务取个名字
  3. 在这个任务被创建后,选择电压。
  4. 在电压选项页中,有一个DIO的电压级选项。对于Open-Drain,使用0-5V选项。对于Push-Pull,使用0-3.3V。




*注释:这副图说明了在NI-DAQmx Base配置工具中选项的地方。

相关链接:
Knowledge Base 3TAC230F: Using LabVIEW to Configure the Digital Output Lines of the NI-USB 6009 or the NI-USB 6501 to be Open-Drain or Push-Pull
User Manual: USB 6008/9 User Guide


附件:


Open-DrainPushPull.gif


报告日期: 08/18/2006
最近更新: 08/23/2006
文档编号: 3KAFMFBH