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

How Do I Use the Digital Input/Output Lines on my 7330, 7340, or 7350 Motion Controller Card?

Primary Software: Driver Software>>NI-Motion/FlexMotion
Primary Software Version: 4.5
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>Full Development System
Hardware: Compact FieldPoint>>Controllers

Problem:
How do I program the Digital Input/Output (DIO) lines on my NI 7330, 7340, or 7350 Motion Controller card?

Solution:
The NI 7330 and NI 7340 series boards have 32 DIO lines and the NI 7350 series boards have 64 lines available for use. These lines are bi-directional, meaning that they can be configured as both input and output, and have configurable polarity.

In LabVIEW, you can use Set I/O Port MOMO.flx or Write Digital I/O Data.vi to change the state of a digital output line.  You can use Read I/O Port.flx or Read Digital I/O Data.vi to read the state of a digital input line.  Refer to the NI-Motion VI Help (accessible from the shortcut menu that appears when you right-click on one of these VIs) for more information on how to use each VI.

The NI Example Finder includes at least two examples that demonstrate how to program DIO lines on an NI Motion Controller card.  To access these examples, select Help»Find Examples.  When the NI Example Finder opens, choose "Browse according to: Directory Structure."  Then, navigate the folders to Motion»FlexMotion»Miscellaneous.llb.  Within this library, refer to Auxilliary Digital Output.vi and Write 1 Point to Digital Line.vi.

Refer to the manual for your motion controller card for more information on the DIO signal connections.  For the 7330, this information can be found on page 5-14.  For the 7340 and 7350, this information can be found on page 5-15.

Related Links:
Product Manuals: NI 7330 User Manual (October 2003)
Product Manuals: NI 7340 User Manual (November 2003)
Product Manuals: NI 7350 User Manual (July 2006)

Attachments:





Report Date: 12/03/2007
Last Updated: 02/25/2008
Document ID: 4G2GLUQ7

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