LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ABOUT THE TWO COUNTERS OF THE AT-MIO-16-E

This is my question.I've an AT-MIO-16-E and I need the two counters to work simultaneously to acqquire two frequencies countinously.I can't find a way to let them work countinously:they always stop after an acquisition.I've tried to use a while loop in the example "Measure period" but while they are resetted and rearmed I loose some values.Is there a way to solve this problem?Can the counters of an AT-MIO-16-E count countinously?
Please help me.
0 Kudos
Message 1 of 4
(2,922 Views)
Have you tried "while" loop with shift registers?

Victor


"luiart" wrote in message
news:506500000008000000B4300000-1004225886000@exchange.ni.com...
> This is my question.I've an AT-MIO-16-E and I need the two counters to
> work simultaneously to acqquire two frequencies countinously.I can't
> find a way to let them work countinously:they always stop after an
> acquisition.I've tried to use a while loop in the example "Measure
> period" but while they are resetted and rearmed I loose some
> values.Is there a way to solve this problem?Can the counters of an
> AT-MIO-16-E count countinously?
> Please help me.
0 Kudos
Message 2 of 4
(2,922 Views)
Hello;

The counters at that board of yours can do event count continuously but not period/frequency measurement continuously. To do that, you will need either the PCI-6601 or PCI-6602 boards. I'm attaching an example VI which does that, but this VI only works for those two types of boards.
Hope this helps.
Filipe
0 Kudos
Message 3 of 4
(2,922 Views)
What kind of continuous ctr acquisition are you trying to do:
double-buffered interrupt driven so that you do not lose a single count
(use of circualr buffer)?
Well, It seems that you can only use a single gpctr with an AT MIO 16E for
this kind of continuous acquisition, what I have been doing for 11/2 year
as soon as nidaq 6.1 and upward allowed it. At the time, I remember
reading that AT MIO E and MIO E series in general could sustain this
continuous dbl-buffered circular buffer for only one ctr. Otherwise you
ought to use a dedicated counter card.

Also be careful with HF rebound from any home-made trigger unit. Could
tell you more about it. The NI drivers and associated hardware are
merciless in case of such rebounds.

luiart wrote:

> This is my question
.I've an AT-MIO-16-E and I need the two counters to
> work simultaneously to acqquire two frequencies countinously.I can't
> find a way to let them work countinously:they always stop after an
> acquisition.I've tried to use a while loop in the example "Measure
> period" but while they are resetted and rearmed I loose some
> values.Is there a way to solve this problem?Can the counters of an
> AT-MIO-16-E count countinously?
> Please help me.

--
Regards
Gerard D'Ans (gerard.dans@laborelec.be)
Laborelec Rodestraat,125 B-1630 Linkebeek
tel 32 2 382 0568
fax 32 2 282 0241
ULB SMA (gdans@ulb.ac.be)
Blvd F D Roosevelt CP165 B-1050 Brussels
Tel 32 2 650 2515
http://www.ulb.ac.be/polytech/laborulb/index.htm
0 Kudos
Message 4 of 4
(2,922 Views)