Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Timebase for 6251 counter

Hi we are doing an edge count of a 10Mhz signal. I'm using the on demand mode of edge count. What is the timebase(Frequency  of counter clock)  the counter and how is it selected.
 
-Charles
0 Kudos
Message 1 of 7
(5,475 Views)

In LabVIEW, there are DAQmx property nodes that will let you set or query the timebase.  Probably available in a Channel nodes if you dig down a ways in the menus.

I've gotta ask though, ahat do you intend to do with this timebase once you learn how to select it?   Because the notion of a timebase doesn't really make sense to me for an edge-counting task.  You're simply incrementing a count as edges come in.  The timebase doesn't get involved. 

-Kevin P.

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 7
(5,470 Views)

Hi we are using Labwindows. The purpose to know the timebase is to ensure that it's a higher frequency than

that of the signal whose are being counted. In our case the signal frequency is 10Mhz. We are using the M series 6251

DAQ card. So if the timebase of the counter is 20Mhz or 80Mhz we should be ok.

-Charles

0 Kudos
Message 3 of 7
(5,469 Views)

It sounds like you're thinking "Nyquist", which doesn't really apply to TTL edge-counting operations.  The board isn't trying to digitally sample the incoming 10 MHz signal.  It simply has circuitry that increments a count register on every incoming TTL edge. 

The speed spec that matters is named something like "maximum external source frequency".   Hmmm, I couldn't find any such spec in the M-series detailed specs or online manual.  Best guess is that it's around 80 MHz to match the max available internal freq.   I surmise this based on the datasheet for the similarly functioning counters of the 6602.

-Kevin P.

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 4 of 7
(5,462 Views)

Hi Charles,

The PCI-6251’s specifications manual is a great resource. On page 9 it indicates that the internal base clocks are 80MHz, 20MHz, and 100kHz. The last two are just divide-downs of the master 80MHz clock. Post again if you have further questions.

Mark E.
Precision DC Product Support Engineer
National Instruments

0 Kudos
Message 5 of 7
(5,456 Views)

I'm just hoping if you could confirm that the default timebase for the counter of a 6251 device

is 80Mhz. The documentation is ambiguous in this regard.

 

-Charles

0 Kudos
Message 6 of 7
(5,452 Views)

Yes, the maximum timebase is 80MHz for an M-series card. It is selected automatically based on some different parameters such as the input frequency. You can read what value it is currently set to with a property node. A list of the property nodes available are found in the NILabWindows/CVI Help (Start -> All Programs -> National Instruments -> LabWindows CVI X.X -> LabWindows CVI Help) under “list of timing properties”. Look under Sample Clock -> Timebase.

There are also a few different counter methods. A good resource for learning about what they are and when to use them is the NI-DAQmx Help (Start -> All Programs -> National Instruments -> NI-DAQ -> NI-DAQmx Help). Look under NI-DAQmx Key Concepts -> Counters.

If you have other questions, let me know.

Mark E.
Precision DC Product Support Engineer
National Instruments

0 Kudos
Message 7 of 7
(5,435 Views)