Why Do I Get a Counter Output Signal Only on Channel 0 on My NI-9402?

Updated Sep 18, 2018

Reported In

Hardware

  • NI-9402
  • cDAQ-9179

Issue Details

I am trying to output digital counter signals simultaneously on all the channels of my NI-9402 Digital Module using the test panel on NI Max and I only get the correct duty-cycle output on channel 0. The other channels just get set to high regardless what is the duty-cycle I preset.

Solution

The Programmable Function Interface (PFI) lines of the NI-9402 module are not connected in a corresponding numeric order with the channel controls.

Table 1 below shows how the signal connection for counters is set on the module:
 
Table 1: Signal Connections for Counters
Ctr0Ctr1Ctr3Ctr3FreqOut
PFI 0PFI 3PFI 1PFI 2PFI 1

The PFI is the physical line that we test/use on the module. Thus, in the Counter I/O tab of the test panel on NI Max, if we select counter 1 (ctr1) in the channel name list, the pulse terminal will be the PFI3 (equivalent to the physical channel 3 of the module) as shown in the picture below:



Therefore, in this example, by testing the output signal on the physical line 3 of the NI-9402, we will be reading the correct output.
 

WAS THIS ARTICLE HELPFUL?

Not Helpful