Reassigning PFI Lines for an Encoder Task on DIO Module

Updated Mar 15, 2018

Reported In

Hardware

  • NI-9401

Software

  • LabVIEW

Driver

  • NI-DAQmx

Issue Details

I would like to use all of my counter inputs for encoder measurements on my digital input/output card. However, some of the PFI lines are assigned to the same pins by default. How do I reassign these pins?

Solution

NI Measurement and Automation Explorer:

You can change the Input Terminal A & B to the preferred line as seen in the screenshot below:
 

LabVIEW:

You can find an example VI in LabVIEW under Help >> Find Examples >> Hardware Input and Output >> DAQmx >> Counter Input >> Counter - Read Encoder.vi

The Input Terminals can then be set on the Front Panel, as seen in the screenshot below:

 

WAS THIS ARTICLE HELPFUL?

Not Helpful