Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

PFI 10

Hi,

 

I am trying to use cntr0 in my USB 6251 Mass Term, but it seems that only Ch. A is getting pulses. I have checked the entire wiring from my quadrature encoder all the way through SCXI 139 connector and to the 6251 terminal. Everything is OK. When I connect my encoder to cntr1 it works fine, but I need two counters for two different tasks. I also tried to monitor PFI lines individually as digital inputs. I could check PFI 8 (Ch. A, cntr0), PFI 3 (Ch. A, cntr1) and PFI 11 (Ch. B, cntr1) successfully, but when I tried PFI 10 (Ch. B, cntr0) the Measurement and Automation Explorer gave me error that PFI 10 is reserved for another task! I don't run any other task.

 

Do I need to do some initializations or configurations to have access to cntr0 or PFI 10?

 

For reference:

Hardware:

USB 6251 Mass Term ---> 68-pin cable ----> SCXI 1349 -----> SCXI 1520

                                                                                | ----> SCXI 1000-DC (Chassis)

                                                                                | ----> 50-pin connector --(lines 33,34,36,41,42)---> quadrature encoder 1

                                                                                                                |---(lines 24,35,37,47,48)---> quadrature encoder 2

 

M-Series and X-Series Breakout Pin Translations for the SCXI-1349 and SCXI-1346:

http://digital.ni.com/public.nsf/allkb/598A68C99373CF0886256F4600721018

 

- Javad

0 Kudos
Message 1 of 2
(5,510 Views)

Hi Javad,

 

PFI 10 and several other lines are reserved by SCXI: Using the Digital I/O Lines on an E or M Series DAQ Board While Controlling an SCXI Chassis

 

Through the DAQmx API, you can specify a different B terminal for your encoder task, such as PFI12: use a DAQmx Channel property node to set the CI.Encoder.BInputTerm property. Unfortunately, I don't think the DAQ Assistant supports this.

 

Brad

---
Brad Keryan
NI R&D
0 Kudos
Message 2 of 2
(5,506 Views)