Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

how to create a pulse counter using DAQ6009?

May i know which icon is available to create the pulse counter ?
May i know how to create the pulse counter using the DAQ6009?
 
thanks
 
 
0 Kudos
Message 1 of 4
(4,227 Views)
There isn't just one VI that you'll use for pulse counting.  You'll need to set up a DAQmx task for pulse width counter input and use it in conjunction with a couple VIs, including DAQmx read. 

If you've never setup a data acquisition application before, there are a lot of tutorials and examples available on our website and within LabView.  One very simple example I recommend you look at can be found in the Example Finder under LabVIEW's help menu.

When the Example Finder appears, check out "Hardware Input and Output >> DAQmx >> Counter Measurements >> Period or Pulse Width" and then open up the Meas Pulse Width example to start out with.  As you'll see, there are several other examples you can check out in that category also, and you'll find many more in the NI Developer Zone online.

This should be enough to get you started, but if you have anymore questions let us know!

Elijah Kerry
NI Director, Software Community
0 Kudos
Message 2 of 4
(4,202 Views)
Actually, you could use the DAQmx Assistant Express VI, which allows you to configure a simple pulse width task and is all contained within one VI.  It's a quick way of setting up DAQ tasks, but doesn't provide all the features and configuration options that actually building the code provides. 

Also, I wanted to clarify some nomenclature.  We call the "icons" in LabVIEW all "VI"s.  The DAQmx Assistant is a slightly different type of VI, known as an express VI.  I just didn't want you to be confused. 
Elijah Kerry
NI Director, Software Community
0 Kudos
Message 3 of 4
(4,201 Views)

Hi Republic-

To clarify Eli's earlier post- the only counter functionality that your USB-6009 supports is falling edge simple event counting.  The LabVIEW example you should look at is under Hardware Input and Output>>DAQmx>>Counter Measurements>>Count Digital Events>>Count Digital Events.vi.  Make sure you configure the Edge parameter as 'Falling'.

Hopefully this helps-

Tom W
National Instruments
0 Kudos
Message 4 of 4
(4,186 Views)