10-14-2014 10:59 AM
I am using a 6221 DAQ and will use both counters. One to read a pulsed signal sent by a brushless motor and the other to send a pulsed signal to control a pwm circuit on the same motor. These may or may not run parallel depending on the product being tested.
To use the counters, the connections are made to two DIO channels (PFI x). What I am having a hard time finding out without doing a lot of trial and error work is which, if any, of the other DIO lines on the respective port are no accessable whle the counter task is active. I use nearly all the open DIO's and if any them are rendered unuseable whie the counter is being used, it will cause me some problems.
If someone has a straight up answer that would be great but I am really wanting to find some reference material so that I can better wrap my head around the use of counters.
Thanks.....
10-14-2014 01:59 PM
According to the datasheet, digital lines are individually programmable as either input or output. Other than the two you need to reserve for your counter tasks, all the other digital lines should be available in the normal way.
Note too that while certain specific PFI lines are the defaults for the counters, you can program the counter tasks to use different PFI lines instead. This may help if either of the defaults conflict with DIO that's already been wired up.
-Kevin P