Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make pfi pins digital output pci-6602

Hello,

I have a NI PCI-6602 daq board and I am using Matlab xPC for the programming. In 660x user manual, It is written that  PFI <0..31> can be programmed as DIO. 8 pins (PFI<0..7> ) can  be used for simple DIO and the other pins (PFI<8..31> ) are shared  with counters. 
In my project, I am using Counter 0 and Counter 1 for timing   and STC-IO (
PFI<0..7> ) for digital input.  i would like to use other pins
(PFI<8..31> )
for  digital output. Since Matlab supports blocks for Simple IOs,  i have to write my own blocks for setting pfi pins as digital output. If i  can  do that i will not buy another card. I am reading manuals and  but it is not clear.

- I have configured IO Config registers as normal counter outputs, disarmed counters in command register and g0_load_a register. But i could not get a data. What should i do?
- Do i have to
use other registers?

Thanks
0 Kudos
Message 1 of 1
(6,575 Views)