Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

6602 Single-period measurement

I wish program my 6602 counter board as single-period measurement.

In 6601/6602 User Manual, page 3-6 figure 3-3, you can see it.

How can I program it with DAQmx? I don't know Gate triggered counter.

Thanks.
0 Kudos
Message 1 of 7
(4,365 Views)
DAQmx ships with examples that show you how to perform single point period measurements, using example finder, search for "Meas Dig Period Low Freq" and an example called "Meas Dig Period-Low Freq 1 Ctr.vi" will be listed. This will perform single period measurement in DAQmx.

For more information on period measurements in DAQmx, refer to NI-DAQmx Help >> Common Applications >> Period.

Hope this helps!
gus....
0 Kudos
Message 2 of 7
(4,365 Views)
Sorry.

I have been holidays so I didn't see your post.

Today, I see "Meas Dig Period-Low Freq 1 Ctr.vi" but this .vi haven't installed gate input as trigger.

And, this .vi measure period and I wish count pulse of source (input) in gate period.

Can you help me? 😞
Thanks!
Carlos.
0 Kudos
Message 3 of 7
(4,365 Views)
May be, I don't explain very good. Sorry.

I need my board count rising edges on SOURCE between two rising edges of the GATES.

In the user manual, chapter 3, page 3-5 and 3-6:

Time Measurement / Single-Period Measurement

"The counter uses SOURCE to measure the period of the signal present on the GATE input. The counter counts the number of rising edges that occur on SOURCE between two active edges of GATE"

How can I do it?

I have obtained my VI count between rising edges of GATE, but in the second rising edges counter no reset. You can see it in File Attachments.

Please, I need help!!

Thanks.
Carlos.
0 Kudos
Message 4 of 7
(4,365 Views)
From this description, it appears that you want to use the "Meas Dig Period-Low Freq 1 Ctr.vi", but you want to have an external timebase source. The attached VI demonstrates this and was tested with NI-DAQmx 7.3.
0 Kudos
Message 5 of 7
(4,365 Views)
Thanks gus!!!

It's ok!!

One more question: Is it posible configurate this VI to count 2, 3, 4 or more period of GATE?

Thanks again.
Thank you very much!
Carlos.
0 Kudos
Message 6 of 7
(4,365 Views)
This VI is configured to measure periods continuously. You can change the number of periods measured per loop using the "Samples to Read" attribute. To acquire a finite number of periods, change the "Sample Mode" to "Finite" and remove the while loop on the read VI.

Hope this helps!
gus....
0 Kudos
Message 7 of 7
(4,365 Views)