Thanks a lot, Benjamin,so I'd like to detail on my application:
I'am working at a robots with 3 axes(x,y,z) equiped with encoder,I need to collect the signals from the 3 encoders: sequences of pulses. I use the card SC-2345 in the environment of LabVIEW 7.0,NI,DAQ7, Windows NT . what I count to do is to use the two counters in the card to count the edges to find the positon(connection for counter0: PF18,DIO6, DGND), I need to mesure the frenquence to find out the velocity(the resolution is given: V= F(pulse/second)*Resolution(mm/pulse))=F*R(mm/pulse).
Actually I modified the count digital events.vi and it works with when I read only from one counter,When I tried to read from 2 counters at the same time, I can only get the results from one couter, in the
help document it says: to read from multiple counter simutaneously, use a separate task for each counter. but I don't understand well how to creat a separate task for each counter.
so I'am asking for help here for this kind of application.