Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Different Counter Outputs with different number of samples

Solved!
Go to solution

I´m using an 6602 Timing I/O Board and/or a MIO 6281. For timing control of our measurements I use different counters from both boards triggered by a Digital Out for synchronization. The counters are set to CO Pulse Time, implicit timing, digital triggered and finite sample mode.

 

Lets assume I use two Ctr´s from the 6602 board. My problem is when setting the number of samples from only one CTR to another value then the second I´m getting an error. The rest works perfect, I can use different starting delays, low or high times, only different sample amounts don´t work. It´s regardless if I use the Timing I/O or Multi I/O board.

 

For example:

                             _ _       _ _

Ctr 0 / 6602 _ _ |     |_ _|     |_ _  --> 2 samples

                             _ _

Ctr 1 / 6602 _ _ |     |_ _

 

Somebody any idea or advice?

 

0 Kudos
Message 1 of 4
(6,445 Views)

Here is my currently used code, perhalps it helps you understanding the problem. Both are doing the same but one is a bit optimized. Hopefully someone can help.

.

Download All
0 Kudos
Message 2 of 4
(6,425 Views)
Solution
Accepted by IngoH

Hi,

 

two counters are used for a fenite pulse generation. Please see the link below.

 

Link:
http://digital.ni.com/public.nsf/allkb/9D1780F448D10F4686257590007B15A8?OpenDocument

 

For example you could use Ctr0 and Ctr2.

 

Regards

Rüdiger

 

Message 3 of 4
(6,377 Views)

If all solutions would be so simple, thanks!

0 Kudos
Message 4 of 4
(6,287 Views)