Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How count with DAQmx counter as long as PFI Input HIGH?

Hello,

could anybody tell me: How is it possible to configure the DAQmx X Series device PCIe-6323 to count events (from stepper encoder) with simple counter input as long as one (other) PFI line is HIGH.

When the PFI line goes to LOW, the counting should be stopped (on the NI card hardware, independent of Windows) (and perhaps send me a notification or sth like that). Then I would like to get the count when the PFI line went to LOW.

 

Is this possible?

 

Thanks a lot.

-------------------------------------------------------------------
Eugen Wiebe
Bernstein AG
CLAD - Certified LabView Associate Developer
0 Kudos
Message 1 of 2
(2,625 Views)

I think, I have found the solution:

Open LV2012->search examples->open

C:\Program Files (x86)\National Instruments\LabVIEW 2012\examples\DAQmx\Counter Input\Counter - Read Encoder.vi

 

There you see, that it is possible to pause the counting.

 

I will try it out on real hardware...

 

BR

-------------------------------------------------------------------
Eugen Wiebe
Bernstein AG
CLAD - Certified LabView Associate Developer
0 Kudos
Message 2 of 2
(2,622 Views)