Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple counting simultaneously

hello,
i would like to know how i can count simultaneously multiple counters. im using PCI6602 counter card and labview 8.2.1.
i looked through examples on count digital events but not sure to count more than one counter .the counting must be simultaneously.
 
can i just copy paste the same program and change the counter no. thanks
0 Kudos
Message 1 of 2
(3,654 Views)

Hello Kokula,

Thank you for contacting National Instruments. 

To simultaneously count on multiple counters, you will need to create a separate counter task for each counter.  This can be done by copying the code and changing the counter number as you had asked.  However, this will not guarantee that the counters will start at the same time.  You can use triggering to ensure that all of the counter tasks will start at the same time.   This example shows how to have two counter tasks start and run at the same time.  It also allows for you to specify a pause trigger for each counter.

Please post back if you have any questions.

Regards,
Browning G
FlexRIO R&D
0 Kudos
Message 2 of 2
(3,635 Views)