10-03-2007 12:22 AM
10-03-2007 06:38 PM
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.