LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I setup DAQmx to count the pluses on the PFI0 pin

Solved!
Go to solution

I'm trying to monitor the analog input lines on a NI PCI-MIO-16XE-10 while at the same time count the number of trigger pluses I receive at the PFI0 pin I'm using LabView 2011 any help would be appreciated.

0 Kudos
Message 1 of 4
(2,607 Views)

You have to setup a 2nd Task for counting the edges at PFIO. It should be as easy as attached VI.

You will also have to route the PFI0 to the counter input check the DAQmx details for counter inputs of your device.

LV 2011, Win7
0 Kudos
Message 2 of 4
(2,606 Views)
Solution
Accepted by topic author cjp1

For your device the counter inputs are by default as:

PFI 8 for Counter0

PFI 3 for Counter1

 

Just route it to PFI0 instead, see attached.

LV 2011, Win7
Message 3 of 4
(2,603 Views)

Thanks for your help!

It worked as expected.

0 Kudos
Message 4 of 4
(2,593 Views)